From: "Sandi Fallon" <[EMAIL PROTECTED]>
> That comes into play in skill.c, where it's used as a factor in
> pricing the skills/groups for gain, and as a divisor in practicing.

Ahh I think I'm begining to understand some of this now looking over more of
the code and making logical leaps of faith. So in const.c in the struct
'group_type group_table' It defines the classs that can utilize that group
and the cost of said group. While in the struct in the same file 'skill_type
skill_table' defines the level needed for each class to gain said
skill/spell as well as the other stuff with the handy commentary in merc.h
where the struct is defined.

But where I'm getting the most confusion from right now is the corrolation
between class_type and group_type in a un-edited version of the file in
class_type (const.c) there is at the bottom of each class a basics and a
default (i.e., "warrior basics", "warrior default" ) which, once again on a
un-edited merc.h file, is stored in base_group and default_group
respectively. However in both const.c and skills.c there is no mention of
base_group or default_group and they're both only mentioned once in merc.h.
Nor is there any refrence to class_table[gn].base_group (Which I would think
would be necessary to make sure that only the skills and spells available
that class are shown)

I see in 'list_group_costs' in skills.c that it get's the name value (
group_table[gn].name ) but I don't see where it differentiates between
allowable skills and non-allowable skills.

>
> From your letter, I think you're messing with things you need to
> understand first. Note, I didn't say you shouldn't... just sit down
> and learn how what's there works before changing it. Take your time
> because it's incredibly convoluted with effects all through the code
> and no one else can really explain it, you have to make your own mental
> shorthand. In the process, you'll see how to do what you want in
> terms you understand.

I totally agree with you on this. I actually havn't added a single thing
since I sent in the first e-mail, all I've been doing is pouring over the
different files in hopes of sudden comprehention. However I do believe I am
picking some of this up and most of the things I was once confused about now
make a lot of sense. Thanks for the advice I am trying to put it to good
use.

>
> I use accordion paper printouts, taped to the wall side by side, with
> colored magic marker lines going everywhere.

That's a good idea, gonna have to run down to the 'ol store today and stock
up on some extra paper :)

Thanks again

John


Reply via email to