Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

tables.c File Reference

#include <sys/types.h>
#include <stdio.h>
#include <time.h>
#include "merc.h"
#include "tables.h"

Include dependency graph for tables.c:

Go to the source code of this file.

Variables

const struct flag_type ac_type []
const struct flag_type act_flags []
const struct flag_type affect_flags []
const struct flag_type apply_flags []
const struct flag_type apply_types []
const struct flag_type area_flags []
const struct bit_type bitvector_type []
clan_data_1 clan_data [MAX_CLAN]
const struct clan_type clan_table [MAX_CLAN]
const struct flag_type comm_flags []
const struct flag_type container_flags []
const struct flag_type door_resets []
const struct dragon_type dragon_table [2]
const struct flag_type exit_flags []
const struct flag_type extra_flags []
const struct flag_type form_flags []
const struct flag_type furniture_flags []
const struct flag_type imm_flags []
kingdom_data_1 kingdom_data [MAX_KINGDOM]
const struct kingdom_type kingdom_table [MAX_KINGDOM]
const struct flag_type mprog_flags []
const struct flag_type off_flags []
const struct flag_type part_flags []
const struct flag_type plr_flags []
const struct flag_type portal_flags []
const struct flag_type position_flags []
const struct position_type position_table []
const struct flag_type res_flags []
const struct flag_type room_flags []
const struct flag_type room_flags_extra []
const struct flag_type sector_flags []
const struct flag_type sex_flags []
const struct sex_type sex_table []
const struct flag_type size_flags []
const struct size_type size_table []
const struct flag_type type_flags []
const struct flag_type vuln_flags []
const struct flag_type weapon_class []
const struct flag_type weapon_type2 []
const struct flag_type wear_flags []
const struct flag_type wear_loc_flags []
const struct flag_type wear_loc_strings []


Variable Documentation

const struct flag_type ac_type[]
 

Initial value:

 {
    {"pierce", AC_PIERCE, TRUE},
    {"bash", AC_BASH, TRUE},
    {"slash", AC_SLASH, TRUE},
    {"exotic", AC_EXOTIC, TRUE},
    {NULL, 0, 0}
}

Definition at line 692 of file tables.c.

const struct flag_type act_flags[]
 

Initial value:

 {
    {"npc", A, FALSE},
    {"sentinel", B, TRUE},
    {"scavenger", C, TRUE},
    {"aggressive", F, TRUE},
    {"mountable", D, TRUE}, 
    {"stay_area", G, TRUE},
    {"wimpy", H, TRUE},
    {"pet", I, TRUE},
    {"train", J, TRUE},
    {"practice", K, TRUE},
    {"undead", O, TRUE},
    {"cleric", Q, TRUE},
    {"mage", R, TRUE},
    {"thief", S, TRUE},
    {"warrior", T, TRUE},
    {"noalign", U, TRUE},
    {"nopurge", V, TRUE},
    {"outdoors", W, TRUE},
    {"indoors", Y, TRUE},
    {"healer", aa, TRUE},
    {"gain", bb, TRUE},
    {"update_always", cc, TRUE},
    {"changer", dd, TRUE},
    {NULL, 0, FALSE}
}

Definition at line 173 of file tables.c.

Referenced by act_bit_name(), cmd_eval(), do_flag(), and MEDIT().

const struct flag_type affect_flags[]
 

Initial value:

 {
    {"blind", A, TRUE},
    {"invisible", B, TRUE},
    {"detect_evil", C, TRUE},
    {"detect_invis", D, TRUE},
    {"detect_magic", E, TRUE},
    {"detect_hidden", F, TRUE},
    {"detect_good", G, TRUE},
    {"sanctuary", H, TRUE},
    {"faerie_fire", I, TRUE},
    {"infrared", J, TRUE},
    {"curse", K, TRUE},
    {"poison", M, TRUE},
    {"protect_evil", N, TRUE},
    {"protect_good", O, TRUE},
    {"sneak", P, TRUE},
    {"hide", Q, TRUE},
    {"sleep", R, TRUE},
    {"charm", S, TRUE},
    {"flying", T, TRUE},
    {"pass_door", U, TRUE},
    {"haste", V, TRUE},
    {"calm", W, TRUE},
    {"plague", X, TRUE},
    {"weaken", Y, TRUE},
    {"dark_vision", Z, TRUE},
    {"berserk", aa, TRUE},
    {"swim", bb, TRUE},
    {"regeneration", cc, TRUE},
    {"slow", dd, TRUE},
    {NULL, 0, 0}
}

Definition at line 222 of file tables.c.

Referenced by cmd_eval(), do_flag(), and MEDIT().

const struct flag_type apply_flags[]
 

Initial value:

 {
    {"none", APPLY_NONE, TRUE},
    {"strength", APPLY_STR, TRUE},
    {"dexterity", APPLY_DEX, TRUE},
    {"intelligence", APPLY_INT, TRUE},
    {"wisdom", APPLY_WIS, TRUE},
    {"constitution", APPLY_CON, TRUE},
    {"sex", APPLY_SEX, TRUE},
    {"class", APPLY_CLASS, TRUE},
    {"level", APPLY_LEVEL, TRUE},
    {"age", APPLY_AGE, TRUE},
    {"height", APPLY_HEIGHT, TRUE},
    {"weight", APPLY_WEIGHT, TRUE},
    {"mana", APPLY_MANA, TRUE},
    {"hp", APPLY_HIT, TRUE},
    {"move", APPLY_MOVE, TRUE},
    {"gold", APPLY_GOLD, TRUE},
    {"experience", APPLY_EXP, TRUE},
    {"ac", APPLY_AC, TRUE},
    {"hitroll", APPLY_HITROLL, TRUE},
    {"damroll", APPLY_DAMROLL, TRUE},
    {"saves", APPLY_SAVES, TRUE},
    {"savingpara", APPLY_SAVING_PARA, TRUE},
    {"savingrod", APPLY_SAVING_ROD, TRUE},
    {"savingpetri", APPLY_SAVING_PETRI, TRUE},
    {"savingbreath", APPLY_SAVING_BREATH, TRUE},
    {"savingspell", APPLY_SAVING_SPELL, TRUE},
    {"spellaffect", APPLY_SPELL_AFFECT, FALSE},
    {NULL, 0, 0}
}

Definition at line 591 of file tables.c.

Referenced by OEDIT().

const struct flag_type apply_types
 

Initial value:

 {
    {"affects", TO_AFFECTS, TRUE},
    {"object", TO_OBJECT, TRUE},
    {"immune", TO_IMMUNE, TRUE},
    {"resist", TO_RESIST, TRUE},
    {"vuln", TO_VULN, TRUE},
    {"weapon", TO_WEAPON, TRUE},
    {NULL, 0, TRUE}
}

Definition at line 835 of file tables.c.

Referenced by OEDIT().

const struct flag_type area_flags[]
 

Initial value:

 {
    {"none", AREA_NONE, FALSE},
    {"changed", AREA_CHANGED, TRUE},
    {"added", AREA_ADDED, TRUE},
    {"loading", AREA_LOADING, FALSE},
    {NULL, 0, 0}
}

Definition at line 410 of file tables.c.

Referenced by AEDIT(), and aedit().

const struct bit_type bitvector_type[]
 

Initial value:

 {
    {affect_flags, "affect"},
    {apply_flags, "apply"},
    {imm_flags, "imm"},
    {res_flags, "res"},
    {vuln_flags, "vuln"},
    {weapon_type2, "weapon"}
}

Definition at line 845 of file tables.c.

Referenced by OEDIT().

struct clan_data_1 clan_data[MAX_CLAN]
 

Initial value:

 {
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}},
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}} 
}

Definition at line 41 of file tables.c.

Referenced by load_clan_data(), and save_clan_data().

const struct clan_type clan_table[MAX_CLAN]
 

Initial value:

 {
    
    
    {"", "", ROOM_VNUM_ALTAR, TRUE, NULL, "", ""},
    {"Independant", "[ {WIndependant{x ] ", ROOM_VNUM_ALTAR, TRUE, NULL, 
        "claims their Independance", ""},
    {"Seekers", "[ {YSeekers{x ] ", ROOM_VNUM_ALTAR, FALSE, "seekers.cla", 
        "has joined the clan", "was kicked out of the Seekers!"},
    {"Thorbardin", "[ {yThorbardin{x ] ", ROOM_VNUM_ALTAR, FALSE, 
        "thorb.cla", "has joined the clan of Thorbardin", "was kicked out of Thorbardin!"},
    {"White Robes", "[ {WWhite Robes{x ] ", ROOM_VNUM_ALTAR, FALSE,"white_robe.cla", 
        "has joined the tower of white.", "has been kicked out of the White Robes!"},
    {"Red Robes", "[ {RRed Robes{x ] ", ROOM_VNUM_ALTAR, FALSE,"red_robe.cla", 
        "has joined the tower of red.", "has been kicked out of the Red Robes!"},
    {"Black Robes", "[ {DBlack Robes{x ] ", ROOM_VNUM_ALTAR, FALSE, "black_robe.cla", 
        "has joined the tower of the black.", "has been kicked out of the Black Tower!"},
    {"Skull", "[ {DSkull{x ] ", ROOM_VNUM_ALTAR, FALSE,"skull.cla", 
        "has joined the joined Skull.","has been kicked out of Skull!"},
    {"Solamnia", "[ {BSolamnia{x ] ", ROOM_VNUM_ALTAR,FALSE,"solmania.cla", 
        "has joined the clan of Solmania", "has been kicked out of Solmania"},
    {"Dragon Army", "[ {cDragon Army{x ] ", ROOM_VNUM_ALTAR, FALSE,"dragonarmy.cla", 
        "has joined the clan of Dragonarmy", "was kicked out of Dragonarmy!"},
    {"R_Dragon", "({GDragon{x) ", ROOM_VNUM_VOID, FALSE, "dragon.cla", 
        "has joined the Dragon forces.", "has been removed from the Dragon forces!"},
    {"Que-Shu", "[ {RQue-{RShu{x ] ", ROOM_VNUM_ALTAR, FALSE, "que.cla", 
        "has joined the clan of Que-Shu", "has been kicked out of Que-Shu!"}
    
}

Definition at line 75 of file tables.c.

Referenced by check_enhanced_disabled(), check_parse_name(), clan_lookup(), do_banish(), do_clan_guild(), do_clantalk(), do_enhanced_disable(), do_guild(), do_kcshow(), do_recall(), do_remove_leader(), do_remove_recruiter(), do_score2(), do_set_guild(), do_set_leader(), do_who_clan(), do_whois(), fwrite_char(), fwrite_pet(), is_note_to(), is_same_clan(), load_clan_data(), raw_kill(), REDIT(), save_clan_data(), and save_rooms().

const struct flag_type comm_flags[]
 

Initial value:

 {
    {"quiet", COMM_QUIET, TRUE},
    {"deaf", COMM_DEAF, TRUE},
    {"nowiz", COMM_NOWIZ, TRUE},
    {"noclangossip", COMM_NOAUCTION, TRUE},
    {"nogossip", COMM_NOGOSSIP, TRUE},
    {"noquestion", COMM_NOQUESTION, TRUE},
    {"nomusic", COMM_NOMUSIC, TRUE},
    {"noclan", COMM_NOCLAN, TRUE},
    {"noquote", COMM_NOQUOTE, TRUE},
    {"shoutsoff", COMM_SHOUTSOFF, TRUE},
    {"compact", COMM_COMPACT, TRUE},
    {"brief", COMM_BRIEF, TRUE},
    {"prompt", COMM_PROMPT, TRUE},
    {"combine", COMM_COMBINE, TRUE},
    {"telnet_ga", COMM_TELNET_GA, TRUE},
    {"show_affects", COMM_SHOW_AFFECTS, TRUE},
    {"nograts", COMM_NOGRATS, TRUE},
    {"noemote", COMM_NOEMOTE, FALSE},
    {"noshout", COMM_NOSHOUT, FALSE},
    {"notell", COMM_NOTELL, FALSE},
    {"nochannels", COMM_NOCHANNELS, FALSE},
    {"snoop_proof", COMM_SNOOP_PROOF, FALSE},
    {"afk", COMM_AFK, TRUE},
    {NULL, 0, 0}
}

Definition at line 363 of file tables.c.

Referenced by comm_bit_name(), and do_flag().

const struct flag_type container_flags[]
 

Initial value:

 {
    {"closeable", 1, TRUE},
    {"pickproof", 2, TRUE},
    {"closed", 4, TRUE},
    {"locked", 8, TRUE},
    {"puton", 16, TRUE},
    {NULL, 0, 0}
}

Definition at line 676 of file tables.c.

Referenced by set_obj_values(), and show_obj_values().

const struct flag_type door_resets[]
 

Initial value:

 {
    {"open and unlocked", 0, TRUE},
    {"closed and unlocked", 1, TRUE},
    {"closed and locked", 2, TRUE},
    {NULL, 0, 0}
}

Definition at line 447 of file tables.c.

Referenced by display_resets().

const struct dragon_type dragon_table[2]
 

Initial value:

 {
    
    {"", "", ROOM_VNUM_ALTAR, TRUE},
    {"evil", "black", ROOM_VNUM_ALTAR, TRUE}
}

Definition at line 133 of file tables.c.

Referenced by dragon_lookup().

const struct flag_type exit_flags[]
 

Initial value:

 {
    {"door", EX_ISDOOR, TRUE},
    {"closed", EX_CLOSED, TRUE},
    {"locked", EX_LOCKED, TRUE},
    {"pickproof", EX_PICKPROOF, TRUE},
    {"nopass", EX_NOPASS, TRUE},
    {"easy", EX_EASY, TRUE},
    {"hard", EX_HARD, TRUE},
    {"infuriating", EX_INFURIATING, TRUE},
    {"noclose", EX_NOCLOSE, TRUE},
    {"nolock", EX_NOLOCK, TRUE},
    {NULL, 0, 0}
}

Definition at line 431 of file tables.c.

Referenced by change_exit(), REDIT(), set_obj_values(), and show_obj_values().

const struct flag_type extra_flags[]
 

Initial value:

 {
    {"glow", ITEM_GLOW, TRUE},
    {"hum", ITEM_HUM, TRUE},
    {"dark", ITEM_DARK, TRUE},
    {"lock", ITEM_LOCK, TRUE},
    {"evil", ITEM_EVIL, TRUE},
    {"invis", ITEM_INVIS, TRUE},
    {"magic", ITEM_MAGIC, TRUE},
    {"nodrop", ITEM_NODROP, TRUE},
    {"bless", ITEM_BLESS, TRUE},
    {"antigood", ITEM_ANTI_GOOD, TRUE},
    {"antievil", ITEM_ANTI_EVIL, TRUE},
    {"antineutral", ITEM_ANTI_NEUTRAL, TRUE},
    {"noremove", ITEM_NOREMOVE, TRUE},
    {"inventory", ITEM_INVENTORY, TRUE},
    {"nopurge", ITEM_NOPURGE, TRUE},
    {"rotdeath", ITEM_ROT_DEATH, TRUE},
    {"visdeath", ITEM_VIS_DEATH, TRUE},
    {"nonmetal", ITEM_NONMETAL, TRUE},
    {"meltdrop", ITEM_MELT_DROP, TRUE},
    {"hadtimer", ITEM_HAD_TIMER, TRUE},
    {"sellextract", ITEM_SELL_EXTRACT, TRUE},
    {"burnproof", ITEM_BURN_PROOF, TRUE},
    {"nouncurse", ITEM_NOUNCURSE, TRUE},
    {NULL, 0, 0}
}

Definition at line 536 of file tables.c.

Referenced by do_oflagall(), extra_bit_name(), and OEDIT().

const struct flag_type form_flags[]
 

Initial value:

 {
    {"edible", FORM_EDIBLE, TRUE},
    {"poison", FORM_POISON, TRUE},
    {"magical", FORM_MAGICAL, TRUE},
    {"instant_decay", FORM_INSTANT_DECAY, TRUE},
    {"other", FORM_OTHER, TRUE},
    {"animal", FORM_ANIMAL, TRUE},
    {"sentient", FORM_SENTIENT, TRUE},
    {"undead", FORM_UNDEAD, TRUE},
    {"construct", FORM_CONSTRUCT, TRUE},
    {"mist", FORM_MIST, TRUE},
    {"intangible", FORM_INTANGIBLE, TRUE},
    {"biped", FORM_BIPED, TRUE},
    {"centaur", FORM_CENTAUR, TRUE},
    {"insect", FORM_INSECT, TRUE},
    {"spider", FORM_SPIDER, TRUE},
    {"crustacean", FORM_CRUSTACEAN, TRUE},
    {"worm", FORM_WORM, TRUE},
    {"blob", FORM_BLOB, TRUE},
    {"mammal", FORM_MAMMAL, TRUE},
    {"bird", FORM_BIRD, TRUE},
    {"reptile", FORM_REPTILE, TRUE},
    {"snake", FORM_SNAKE, TRUE},
    {"dragon", FORM_DRAGON, TRUE},
    {"amphibian", FORM_AMPHIBIAN, TRUE},
    {"fish", FORM_FISH, TRUE},
    {"cold_blood", FORM_COLD_BLOOD, TRUE},
    {NULL, 0, 0}
}

Definition at line 307 of file tables.c.

Referenced by do_flag(), form_bit_name(), and MEDIT().

const struct flag_type furniture_flags[]
 

Initial value:

 {
    {"stand_at", STAND_AT, TRUE},
    {"stand_on", STAND_ON, TRUE},
    {"stand_in", STAND_IN, TRUE},
    {"sit_at", SIT_AT, TRUE},
    {"sit_on", SIT_ON, TRUE},
    {"sit_in", SIT_IN, TRUE},
    {"rest_at", REST_AT, TRUE},
    {"rest_on", REST_ON, TRUE},
    {"rest_in", REST_IN, TRUE},
    {"sleep_at", SLEEP_AT, TRUE},
    {"sleep_on", SLEEP_ON, TRUE},
    {"sleep_in", SLEEP_IN, TRUE},
    {"put_at", PUT_AT, TRUE},
    {"put_on", PUT_ON, TRUE},
    {"put_in", PUT_IN, TRUE},
    {"put_inside", PUT_INSIDE, TRUE},
    {NULL, 0, 0}
}

Definition at line 815 of file tables.c.

Referenced by set_obj_values(), and show_obj_values().

const struct flag_type imm_flags
 

Initial value:

 {
    {"summon", A, TRUE},
    {"charm", B, TRUE},
    {"magic", C, TRUE},
    {"weapon", D, TRUE},
    {"bash", E, TRUE},
    {"pierce", F, TRUE},
    {"slash", G, TRUE},
    {"fire", H, TRUE},
    {"cold", I, TRUE},
    {"lightning", J, TRUE},
    {"acid", K, TRUE},
    {"poison", L, TRUE},
    {"negative", M, TRUE},
    {"holy", N, TRUE},
    {"energy", O, TRUE},
    {"mental", P, TRUE},
    {"disease", Q, TRUE},
    {"drowning", R, TRUE},
    {"light", S, TRUE},
    {"sound", T, TRUE},
    {"wood", X, TRUE},
    {"silver", Y, TRUE},
    {"iron", Z, TRUE},
    {NULL, 0, 0}
}

Definition at line 280 of file tables.c.

Referenced by cmd_eval(), do_flag(), imm_bit_name(), and MEDIT().

struct kingdom_data_1 kingdom_data[MAX_KINGDOM]
 

Initial value:

 {
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},0,0}, 
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},0,0}, 
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},0,0}, 
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},0,0}, 
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},0,0}, 
    {0,NULL,{NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},0,0} 
    
    
           

}

Definition at line 56 of file tables.c.

Referenced by do_banish(), do_kingdom_guild(), do_kingdom_set_rank(), do_kingdom_status(), do_tithe(), get_tithe(), kingdom_check_tithe(), load_kingdom_data(), and save_kingdom_data().

const struct kingdom_type kingdom_table[MAX_KINGDOM]
 

Initial value:

 {
    
    {"", "", ROOM_VNUM_ALTAR, TRUE, NULL, "", ""},
    {"Valmark", "{C({DValmark{C){x ", ROOM_VNUM_ALTAR, TRUE, "valmark.kin", 
        "has joined the kingdom of Valmark!", "was kicked out of Valmark!"},
    {"Ethiel", "{c({DEthiel{c){x ", ROOM_VNUM_ALTAR, TRUE, "ethiel.kin", 
        "has joined the kingdom of Ethiel", "was kicked out of Ethiel!"},
    {"Ellisgrad", "{c({DEllisgrad{c){x ", ROOM_VNUM_ALTAR, TRUE,"ellisgrad.kin", 
        "has joined the kingdom of Ellisgrad", "was kicked out of Ellisgrad"},
    {"New Mesana", "{c({DNew Mesana{c){x ", ROOM_VNUM_ALTAR, TRUE, "nm.kin", 
        "has joined the kingdom of New Mesana", "has been kicked out of New Mesana!"},
    {"Mesanopolis", "{c({DMesanopolis{c){x ", ROOM_VNUM_ALTAR, TRUE,"mesano.kin", 
        "has joined the kingdom of Mesanopolis", "has been kicked out of Mesanopolis!"}

}

Definition at line 104 of file tables.c.

Referenced by check_enhanced_disabled(), do_banish(), do_enhanced_disable(), do_kcshow(), do_kingdom_guild(), do_kingdom_recruiter(), do_score2(), do_who_kingdom(), do_whois(), fwrite_char(), kingdom_lookup(), load_kingdom_data(), raw_kill(), and save_kingdom_data().

const struct flag_type mprog_flags[]
 

Initial value:

 {
    {"act", TRIG_ACT, TRUE},
    {"bribe", TRIG_BRIBE, TRUE},
    {"death", TRIG_DEATH, TRUE},
    {"entry", TRIG_ENTRY, TRUE},
    {"fight", TRIG_FIGHT, TRUE},
    {"give", TRIG_GIVE, TRUE},
    {"greet", TRIG_GREET, TRUE},
    {"grall", TRIG_GRALL, TRUE},
    {"kill", TRIG_KILL, TRUE},
    {"hpcnt", TRIG_HPCNT, TRUE},
    {"random", TRIG_RANDOM, TRUE},
    {"speech", TRIG_SPEECH, TRUE},
    {"exit", TRIG_EXIT, TRUE},
    {"exall", TRIG_EXALL, TRUE},
    {"delay", TRIG_DELAY, TRUE},
    {"surr", TRIG_SURR, TRUE},
    {NULL, 0, TRUE}
}

Definition at line 390 of file tables.c.

Referenced by load_mobiles(), and MEDIT().

const struct flag_type off_flags[]
 

Initial value:

 {
    {"area_attack", A, TRUE},
    {"backstab", B, TRUE},
    {"bash", C, TRUE},
    {"berserk", D, TRUE},
    {"disarm", E, TRUE},
    {"dodge", F, TRUE},
    {"fade", G, TRUE},
    {"fast", H, TRUE},
    {"kick", I, TRUE},
    {"dirt_kick", J, TRUE},
    {"parry", K, TRUE},
    {"rescue", L, TRUE},
    {"tail", M, TRUE},
    {"trip", N, TRUE},
    {"crush", O, TRUE},
    {"assist_all", P, TRUE},
    {"assist_align", Q, TRUE},
    {"assist_race", R, TRUE},
    {"assist_players", S, TRUE},
    {"assist_guard", T, TRUE},
    {"assist_vnum", U, TRUE},
    {NULL, 0, 0}
}

Definition at line 255 of file tables.c.

Referenced by cmd_eval(), MEDIT(), and off_bit_name().

const struct flag_type part_flags[]
 

Initial value:

 {
    {"head", PART_HEAD, TRUE},
    {"arms", PART_ARMS, TRUE},
    {"legs", PART_LEGS, TRUE},
    {"heart", PART_HEART, TRUE},
    {"brains", PART_BRAINS, TRUE},
    {"guts", PART_GUTS, TRUE},
    {"hands", PART_HANDS, TRUE},
    {"feet", PART_FEET, TRUE},
    {"fingers", PART_FINGERS, TRUE},
    {"ear", PART_EAR, TRUE},
    {"eye", PART_EYE, TRUE},
    {"long_tongue", PART_LONG_TONGUE, TRUE},
    {"eyestalks", PART_EYESTALKS, TRUE},
    {"tentacles", PART_TENTACLES, TRUE},
    {"fins", PART_FINS, TRUE},
    {"wings", PART_WINGS, TRUE},
    {"tail", PART_TAIL, TRUE},
    {"claws", PART_CLAWS, TRUE},
    {"fangs", PART_FANGS, TRUE},
    {"horns", PART_HORNS, TRUE},
    {"scales", PART_SCALES, TRUE},
    {"tusks", PART_TUSKS, TRUE},
    {NULL, 0, 0}
}

Definition at line 337 of file tables.c.

Referenced by do_flag(), MEDIT(), and part_bit_name().

const struct flag_type plr_flags[]
 

Initial value:

 {
    {"npc", A, FALSE},
    {"autoassist", C, FALSE},
    {"autoexit", D, FALSE},
    {"autoloot", E, FALSE},
    {"autosac", F, FALSE},
    {"autogold", G, FALSE},
    {"autosplit", H, FALSE},
    {"holylight", N, FALSE},
    {"can_loot", P, FALSE},
    {"nosummon", Q, FALSE},
    {"nofollow", R, FALSE},
    {"colour", T, FALSE},
    {"permit", U, TRUE},
    {"log", W, FALSE},
    {"deny", X, FALSE},
    {"freeze", Y, FALSE},
    {"thief", Z, FALSE},
    {"killer", aa, FALSE},
    {NULL, 0, 0}
}

Definition at line 200 of file tables.c.

Referenced by do_flag().

const struct flag_type portal_flags[]
 

Initial value:

 {
    {"normal_exit", GATE_NORMAL_EXIT, TRUE},
    {"no_curse", GATE_NOCURSE, TRUE},
    {"go_with", GATE_GOWITH, TRUE},
    {"buggy", GATE_BUGGY, TRUE},
    {"random", GATE_RANDOM, TRUE},
    {NULL, 0, 0}
}

Definition at line 806 of file tables.c.

Referenced by set_obj_values(), and show_obj_values().

const struct flag_type position_flags[]
 

Initial value:

 {
    {"dead", POS_DEAD, FALSE},
    {"mortal", POS_MORTAL, FALSE},
    {"incap", POS_INCAP, FALSE},
    {"stunned", POS_STUNNED, FALSE},
    {"sleeping", POS_SLEEPING, TRUE},
    {"resting", POS_RESTING, TRUE},
    {"sitting", POS_SITTING, TRUE},
    {"fighting", POS_FIGHTING, FALSE},
    {"standing", POS_STANDING, TRUE},
    {NULL, 0, 0}
}

Definition at line 793 of file tables.c.

Referenced by MEDIT().

const struct position_type position_table[]
 

Initial value:

 {
    {"dead", "dead"},
    {"mortally wounded", "mort"},
    {"incapacitated", "incap"},
    {"stunned", "stun"},
    {"sleeping", "sleep"},
    {"resting", "rest"},
    {"sitting", "sit"},
    {"fighting", "fight"},
    {"standing", "stand"},
    {NULL, NULL}
}

Definition at line 139 of file tables.c.

Referenced by do_mstat(), position_lookup(), and save_mobile().

const struct flag_type res_flags[]
 

Initial value:

 {
    {"summon", RES_SUMMON, TRUE},
    {"charm", RES_CHARM, TRUE},
    {"magic", RES_MAGIC, TRUE},
    {"weapon", RES_WEAPON, TRUE},
    {"bash", RES_BASH, TRUE},
    {"pierce", RES_PIERCE, TRUE},
    {"slash", RES_SLASH, TRUE},
    {"fire", RES_FIRE, TRUE},
    {"cold", RES_COLD, TRUE},
    {"lightning", RES_LIGHTNING, TRUE},
    {"acid", RES_ACID, TRUE},
    {"poison", RES_POISON, TRUE},
    {"negative", RES_NEGATIVE, TRUE},
    {"holy", RES_HOLY, TRUE},
    {"energy", RES_ENERGY, TRUE},
    {"mental", RES_MENTAL, TRUE},
    {"disease", RES_DISEASE, TRUE},
    {"drowning", RES_DROWNING, TRUE},
    {"light", RES_LIGHT, TRUE},
    {"sound", RES_SOUND, TRUE},
    {"wood", RES_WOOD, TRUE},
    {"silver", RES_SILVER, TRUE},
    {"iron", RES_IRON, TRUE},
    {NULL, 0, 0}
}

Definition at line 738 of file tables.c.

Referenced by MEDIT().

const struct flag_type room_flags[]
 

Initial value:

 {
    {"dark", ROOM_DARK, TRUE},
    {"no_mob", ROOM_NO_MOB, TRUE},
    {"indoors", ROOM_INDOORS, TRUE},
    {"private", ROOM_PRIVATE, TRUE},
    {"safe", ROOM_SAFE, TRUE},
    {"solitary", ROOM_SOLITARY, TRUE},
    {"pet_shop", ROOM_PET_SHOP, TRUE},
    {"no_recall", ROOM_NO_RECALL, TRUE},
    {"imp_only", ROOM_IMP_ONLY, TRUE},
    {"gods_only", ROOM_GODS_ONLY, TRUE},
    {"heroes_only", ROOM_HEROES_ONLY, TRUE},
    {"newbies_only", ROOM_NEWBIES_ONLY, TRUE},
    {"law", ROOM_LAW, TRUE},
    {"nowhere", ROOM_NOWHERE, TRUE},

  
    {"no_where", ROOM_NO_WHERE, TRUE},
    {"no_death", ROOM_NO_DEATH, TRUE},
    {NULL, 0, 0}
}

Definition at line 456 of file tables.c.

Referenced by do_flee(), do_rflagall(), and REDIT().

const struct flag_type room_flags_extra[]
 

Initial value:

 {
    {"no_where", ROOM_NO_WHERE, TRUE},
    {NULL, 0,0}

}

Definition at line 477 of file tables.c.

Referenced by REDIT().

const struct flag_type sector_flags[]
 

Initial value:

 {
    {"inside", SECT_INSIDE, TRUE},
    {"city", SECT_CITY, TRUE},
    {"field", SECT_FIELD, TRUE},
    {"forest", SECT_FOREST, TRUE},
    {"hills", SECT_HILLS, TRUE},
    {"mountain", SECT_MOUNTAIN, TRUE},
    {"swim", SECT_WATER_SWIM, TRUE},
    {"noswim", SECT_WATER_NOSWIM, TRUE},
    {"unused", SECT_UNUSED, TRUE},
    {"air", SECT_AIR, TRUE},
    {"desert", SECT_DESERT, TRUE},
    {"arena", SECT_ARENA, TRUE},
    {NULL, 0, 0}
}

Definition at line 484 of file tables.c.

Referenced by do_rflagall(), and REDIT().

const struct flag_type sex_flags[]
 

Initial value:

 {
    {"male", SEX_MALE, TRUE},
    {"female", SEX_FEMALE, TRUE},
    {"neutral", SEX_NEUTRAL, TRUE},
    {"random", 3, TRUE},        
    {"none", SEX_NEUTRAL, TRUE},
    {NULL, 0, 0}
}

Definition at line 420 of file tables.c.

Referenced by MEDIT().

const struct sex_type sex_table[]
 

Initial value:

 {
    {"none"},
    {"male"},
    {"female"},
    {"either"},
    {NULL}
}

Definition at line 153 of file tables.c.

Referenced by do_mstat(), save_mobile(), and sex_lookup().

const struct flag_type size_flags[]
 

Initial value:

 {
    {"tiny", SIZE_TINY, TRUE},
    {"small", SIZE_SMALL, TRUE},
    {"medium", SIZE_MEDIUM, TRUE},
    {"large", SIZE_LARGE, TRUE},
    {"huge", SIZE_HUGE, TRUE},
    {"giant", SIZE_GIANT, TRUE},
    {NULL, 0, 0},
}

Definition at line 701 of file tables.c.

Referenced by MEDIT().

const struct size_type size_table[]
 

Initial value:

 {
    {"tiny"},
    {"small"},
    {"medium"},
    {"large"},
    {"huge",},
    {"giant"},
    {NULL}
}

Definition at line 162 of file tables.c.

Referenced by do_mstat(), save_mobile(), and size_lookup().

const struct flag_type type_flags[]
 

Initial value:

 {
    {"light", ITEM_LIGHT, TRUE},
    {"scroll", ITEM_SCROLL, TRUE},
    {"wand", ITEM_WAND, TRUE},
    {"staff", ITEM_STAFF, TRUE},
    {"weapon", ITEM_WEAPON, TRUE},
    {"treasure", ITEM_TREASURE, TRUE},
    {"armor", ITEM_ARMOR, TRUE},
    {"potion", ITEM_POTION, TRUE},
    {"furniture", ITEM_FURNITURE, TRUE},
    {"trash", ITEM_TRASH, TRUE},
    {"container", ITEM_CONTAINER, TRUE},
    {"drinkcontainer", ITEM_DRINK_CON, TRUE},
    {"key", ITEM_KEY, TRUE},
    {"food", ITEM_FOOD, TRUE},
    {"money", ITEM_MONEY, TRUE},
    {"boat", ITEM_BOAT, TRUE},
    {"npccorpse", ITEM_CORPSE_NPC, TRUE},
    {"pc corpse", ITEM_CORPSE_PC, FALSE},
    {"fountain", ITEM_FOUNTAIN, TRUE},
    {"pill", ITEM_PILL, TRUE},
    {"protect", ITEM_PROTECT, TRUE},
    {"map", ITEM_MAP, TRUE},
    {"portal", ITEM_PORTAL, TRUE},
    {"warpstone", ITEM_WARP_STONE, TRUE},
    {"roomkey", ITEM_ROOM_KEY, TRUE},
    {"gem", ITEM_GEM, TRUE},
    {"jewelry", ITEM_JEWELRY, TRUE},
    {"jukebox", ITEM_JUKEBOX, TRUE},
    {"tailoring_leather", TAILOR_LEAT, TRUE},
    {NULL, 0, 0}
}

Definition at line 502 of file tables.c.

Referenced by do_oflagall(), MEDIT(), OEDIT(), and REDIT().

const struct flag_type vuln_flags[]
 

Initial value:

 {
    {"summon", VULN_SUMMON, TRUE},
    {"charm", VULN_CHARM, TRUE},
    {"magic", VULN_MAGIC, TRUE},
    {"weapon", VULN_WEAPON, TRUE},
    {"bash", VULN_BASH, TRUE},
    {"pierce", VULN_PIERCE, TRUE},
    {"slash", VULN_SLASH, TRUE},
    {"fire", VULN_FIRE, TRUE},
    {"cold", VULN_COLD, TRUE},
    {"lightning", VULN_LIGHTNING, TRUE},
    {"acid", VULN_ACID, TRUE},
    {"poison", VULN_POISON, TRUE},
    {"negative", VULN_NEGATIVE, TRUE},
    {"holy", VULN_HOLY, TRUE},
    {"energy", VULN_ENERGY, TRUE},
    {"mental", VULN_MENTAL, TRUE},
    {"disease", VULN_DISEASE, TRUE},
    {"drowning", VULN_DROWNING, TRUE},
    {"light", VULN_LIGHT, TRUE},
    {"sound", VULN_SOUND, TRUE},
    {"wood", VULN_WOOD, TRUE},
    {"silver", VULN_SILVER, TRUE},
    {"iron", VULN_IRON, TRUE},
    {NULL, 0, 0}
}

Definition at line 766 of file tables.c.

Referenced by MEDIT().

const struct flag_type weapon_class[]
 

Initial value:

 {
    {"exotic", WEAPON_EXOTIC, TRUE},
    {"sword", WEAPON_SWORD, TRUE},
    {