SKILLS.H
LIB3/INCLUDE/SKILLS.H · 6.1 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#define SKILL_NAM 0
#define SKILL_LVL 1
#define SKILL_EXP 2
#define SKILL_BIT 3
#define SKILL_ARR_SIZE 4
#define SKILL_OB "/std/skills"
/*
* These are used in /std/living/skills.c for the training/learning of skills.
*/
#define O_SKILL 0
#define O_NUM 1
#define O_LVL 2
#define O_XP 3
#define O_OTHER_PER 4
#define NEW_COMBAT \
"combat", 0, 0, \
({ "offence", 0, 0, \
({ "slashing", 0, 0, \
({ "swords", 0, 0, ({ }), \
"axes", 0, 0, ({ }), \
"cleavers", 0, 0, ({ }), \
}), \
"concussion", 0, 0, \
({ "maces", 0, 0, ({ }), \
"clubs", 0, 0, ({ }), \
"staves", 0, 0, ({ }), \
}), \
"piercing", 0, 0, \
({ "blades", 0, 0, ({ }), \
"pikes", 0, 0, ({ }), \
"daggers", 0, 0, ({ }), \
}), \
"projectile", 0, 0, \
({ "thrown", 0, 0, ({ }), \
"bows", 0, 0, ({ }), \
"handguns", 0, 0, ({ }), \
"rifles", 0, 0, ({ }), \
"other", 0, 0, ({ }), \
}), \
"unarmed", 0, 0, \
({ "punching", 0, 0, ({ }), \
"wrestling", 0, 0, ({ }), \
"martial-arts", 0, 0, ({ }), \
}), \
}), \
"defence", 0, 0, \
({ "armours", 0, 0, ({ }), \
"shields", 0, 0, ({ }), \
"parrying", 0, 0, ({ }), \
"dodging", 0, 0, \
({ "blow", 0, 0, ({ }), \
"projectile", 0, 0, ({ }), \
}), \
}), \
"special", 0, 0, \
({ "leadership", 0, 0, ({ }), \
"berserk", 0, 0, ({ }), \
"protection", 0, 0, ({ }), \
}), \
"stamina", 0, 0, ({ }), \
"tactics", 0, 0, ({ }), \
})
#define NEW_MAGIC \
"magic", 0, 0, \
({ "spells", 0, 0, \
({ "elemental", 0, 0, \
({ "fire", 0, 0, ({ }), \
"water", 0, 0, ({ }), \
"earth", 0, 0, ({ }), \
"air", 0, 0, ({ }), \
}), \
"abjuration", 0, 0, \
({ "protection", 0, 0, ({ }), \
"dispelling", 0, 0, ({ }), \
"circles", 0, 0, ({ }), \
}), \
"alteration", 0, 0, \
({ "living", 0, 0, ({ }), \
"objects", 0, 0, ({ }), \
"immaterial", 0, 0, ({ }), \
}), \
"manipulation", 0, 0, \
({ "charm", 0, 0, ({ }), \
"summoning", 0, 0, ({ }), \
"conjuration", 0, 0, ({ }), \
"divination", 0, 0, ({ }), \
}), \
"black", 0, 0,\
({ "necromancy", 0, 0, ({ }), \
"deathmagic", 0, 0, ({ }), \
"demonology", 0, 0, ({ }), \
"occultism", 0, 0, ({ }), \
}), \
}), \
"items", 0, 0, \
({ "rods", 0, 0, ({ }), \
"staves", 0, 0, ({ }), \
"wands", 0, 0, ({ }), \
"scrolls", 0, 0, ({ }), \
"miscellaneous", 0, 0, ({ }), \
}), \
"alchemy", 0, 0, ({ }), \
"mana", 0, 0, ({ }), \
}), \
"worship", 0, 0, \
({ "spells", 0, 0, \
({ "elemental", 0, 0, \
({ "fire", 0, 0, ({ }), \
"water", 0, 0, ({ }), \
"earth", 0, 0, ({ }), \
"air", 0, 0, ({ }), \
}), \
"healing", 0, 0, \
({ "wounds", 0, 0, ({ }), \
"diseases", 0, 0, ({ }), \
"poisons", 0, 0, ({ }), \
"curses", 0, 0, ({ }), \
"exorcism", 0, 0, ({ }), \
}), \
"manipulation", 0, 0, \
({ "protection", 0, 0, ({ }), \
"auguration", 0, 0, ({ }), \
"druidic", 0, 0, ({ }), \
"shamanism", 0, 0, ({ }), \
}), \
"servitude", 0, 0, \
({ "summoning", 0, 0, ({ }), \
"controlling", 0, 0, ({ }), \
"dismissal", 0, 0, ({ }), \
}), \
}), \
"rituals", 0, 0, \
({ "sacrifices", 0, 0, ({ }), \
"prayers", 0, 0, ({ }), \
"blessing", 0, 0, ({ }), \
}), \
"items",0,0, \
({ "amulets", 0 , 0, ({ }), \
"weapons", 0 , 0, ({ }), \
"miscellaneous", 0 , 0, ({ }), \
}), \
"faith", 0, 0, ({ }), \
})
#define NEW_PHYSICAL \
"covert", 0, 0, \
({ "movement", 0, 0, \
({ "sneaking", 0, 0, ({ }), \
"hiding", 0, 0, ({ }), \
"stalking" , 0, 0, ({ }), \
"burglary", 0, 0, ({ }), \
}), \
"manipulation", 0, 0, \
({ "stealing", 0, 0, ({ }), \
"palming", 0, 0, ({ }), \
"passing", 0, 0, ({ }), \
"sleight-of-hand", 0, 0, ({ }), \
}), \
"mechanics", 0, 0, \
({ "lockpicking", 0, 0, ({ }), \
"traps", 0, 0, ({ }), \
"sabotage", 0, 0, ({ }), \
}), \
"information", 0, 0, \
({ "spying", 0, 0, ({ }), \
"bribing", 0, 0, ({ }), \
"rumours", 0, 0, ({ }), \
"valueing", 0, 0, ({ }), \
}), \
"slyness", 0, 0, ({ }), \
}), \
"general", 0, 0, \
({ "movement", 0, 0, \
({ "riding", 0, 0, ({ }), \
"swimming", 0, 0, ({ }), \
"climbing", 0, 0, ({ }), \
"boating", 0, 0, ({ }), \
}), \
"instinct", 0, 0, \
({ "awareness", 0, 0, ({ }), \
"survival", 0, 0, ({ }), \
"searching", 0, 0, ({ }), \
}), \
"crafts", 0, 0, \
({ "smithing", 0, 0, ({ }), \
"repairing", 0, 0, ({ }), \
"brewing", 0, 0, ({ }), \
"cooking & baking", 0, 0, ({ }), \
"healing & herbs", 0, 0, ({ }), \
}), \
"knowledge", 0, 0, \
({ "weapons", 0, 0, ({ }), \
"religion", 0, 0, ({ }), \
"streetwise", 0, 0, ({ }), \
"trading", 0, 0, ({ }), \
"arcance & history", 0, 0, ({ }), \
}), \
"communication", 0, 0, \
({ "reading", 0, 0, ({ }), \
"writing", 0, 0, ({ }), \
"talking", 0, 0, ({ }), \
}), \
"entertainment", 0, 0, \
({ "instruments", 0, 0, ({ }), \
"impersonating", 0, 0, ({ }), \
"storytelling", 0, 0, ({ }), \
"singing & dancing", 0, 0, ({ }), \
}), \
"sense", 0, 0, ({ }), \
})
#define STD_SKILLS ({ NEW_COMBAT, NEW_MAGIC, NEW_PHYSICAL })