#include <sys/types.h>
#include <stdio.h>
#include <time.h>
#include "merc.h"
#include "magic.h"
#include "interp.h"
Include dependency graph for const.c:

Go to the source code of this file.
Defines | |
| #define | SLOT(n) n |
Variables | |
| const struct attack_type | attack_table [MAX_DAMAGE_MESSAGE] |
| class_type | class_table [MAX_CLASS] |
| const struct con_app_type | con_app [101] |
| cont_table | conts_table [MAX_CONT] |
| const struct dex_app_type | dex_app [101] |
| const struct group_type | group_table [MAX_GROUP] |
| const struct int_app_type | int_app [101] |
| const struct item_type | item_table [] |
| const struct liq_type | liq_table [] |
| const struct pc_race_type | pc_race_table [] |
| const struct race_type | race_table [] |
| skill_type | skill_table [MAX_SKILL] |
| const struct str_app_type | str_app [101] |
| char *const | title_table [MAX_CLASS][MAX_LEVEL+1][2] |
| const struct weapon_type | weapon_table [] |
| const struct wis_app_type | wis_app [101] |
| const struct wiznet_type | wiznet_table [] |
|
|
|
|
|
Initial value: {
{"none", "hit", -1},
{"slice", "slice", DAM_SLASH},
{"stab", "stab", DAM_PIERCE},
{"slash", "slash", DAM_SLASH},
{"whip", "whip", DAM_SLASH},
{"claw", "claw", DAM_SLASH},
{"blast", "blast", DAM_BASH},
{"pound", "pound", DAM_BASH},
{"crush", "crush", DAM_BASH},
{"grep", "grep", DAM_SLASH},
{"bite", "bite", DAM_PIERCE},
{"pierce", "pierce", DAM_PIERCE},
{"suction", "suction", DAM_BASH},
{"beating", "beating", DAM_BASH},
{"digestion", "digestion", DAM_ACID},
{"charge", "charge", DAM_BASH},
{"slap", "slap", DAM_BASH},
{"punch", "punch", DAM_BASH},
{"wrath", "wrath", DAM_ENERGY},
{"magic", "magic", DAM_ENERGY},
{"divine", "divine power", DAM_HOLY},
{"cleave", "cleave", DAM_SLASH},
{"scratch", "scratch", DAM_PIERCE},
{"peck", "peck", DAM_PIERCE},
{"peckb", "peck", DAM_BASH},
{"chop", "chop", DAM_SLASH},
{"sting", "sting", DAM_PIERCE},
{"smash", "smash", DAM_BASH},
{"shbite", "shocking bite", DAM_LIGHTNING},
{"flbite", "flaming bite", DAM_FIRE},
{"frbite", "freezing bite", DAM_COLD},
{"acbite", "acidic bite", DAM_ACID},
{"chomp", "chomp", DAM_PIERCE},
{"drain", "life drain", DAM_NEGATIVE},
{"thrust", "thrust", DAM_PIERCE},
{"slime", "slime", DAM_ACID},
{"shock", "shock", DAM_LIGHTNING},
{"thwack", "thwack", DAM_BASH},
{"flame", "flame", DAM_FIRE},
{"chill", "chill", DAM_COLD},
{NULL, NULL, 0}
}
Definition at line 123 of file const.c. Referenced by attack_lookup(), dam_message(), do_envenom(), do_mstat(), do_ostat(), MEDIT(), one_hit(), save_mobile(), save_object(), show_damlist(), show_help(), and show_obj_values(). |
|
|
Initial value: {
}
Definition at line 495 of file const.c. Referenced by advance_level(), class_lookup(), do_cast(), do_group(), do_mset(), do_mstat(), do_save_class(), do_score(), do_score2(), do_setskill(), do_show_skill(), do_train(), do_who(), do_whois(), get_curr_stat(), get_max_train(), hit_gain(), load_char_obj(), load_classes(), mana_gain(), move_char(), nanny(), null_class(), one_hit(), saves_spell(), and show_classes(). |
|
|
Definition at line 1310 of file const.c. Referenced by advance_level(). |
|
|
Initial value: {
{
""},
{
"Vehicle"},
{
"Ocean"},
{
"Cartole"},
{
"None"},
{
"None"},
{
"None"},
{
"None"},
{
"None"},
{
"None"},
{
"None"},
{
"None"},
{
"None"},
{
"None"},
{
"None"}
}
Definition at line 458 of file const.c. Referenced by AEDIT(), cont_lookup(), and do_cshow(). |
|
|
|
|
|
Definition at line 2376 of file const.c. Referenced by do_gain(), do_groups(), fwrite_char(), gn_add(), gn_remove(), group_add(), group_lookup(), list_group_chosen(), list_group_costs(), and parse_gen_groups(). |
|
|
Definition at line 968 of file const.c. Referenced by check_improve(). |
|
|
Initial value: {
{ITEM_LIGHT, "light"},
{ITEM_SCROLL, "scroll"},
{ITEM_WAND, "wand"},
{ITEM_STAFF, "staff"},
{ITEM_WEAPON, "weapon"},
{ITEM_TREASURE, "treasure"},
{ITEM_ARMOR, "armor"},
{ITEM_POTION, "potion"},
{ITEM_CLOTHING, "clothing"},
{ITEM_FURNITURE, "furniture"},
{ITEM_TRASH, "trash"},
{ITEM_CONTAINER, "container"},
{ITEM_DRINK_CON, "drink"},
{ITEM_KEY, "key"},
{ITEM_FOOD, "food"},
{ITEM_MONEY, "money"},
{ITEM_BOAT, "boat"},
{ITEM_CORPSE_NPC, "npc_corpse"},
{ITEM_CORPSE_PC, "pc_corpse"},
{ITEM_FOUNTAIN, "fountain"},
{ITEM_PILL, "pill"},
{ITEM_PROTECT, "protect"},
{ITEM_MAP, "map"},
{ITEM_PORTAL, "portal"},
{ITEM_WARP_STONE, "warp_stone"},
{ITEM_ROOM_KEY, "room_key"},
{ITEM_GEM, "gem"},
{ITEM_JEWELRY, "jewelry"},
{ITEM_JUKEBOX, "jukebox"},
{TAILOR_LEAT, "tailor_leather"},
{0, NULL}
}
Definition at line 46 of file const.c. Referenced by item_lookup(), and item_name(). |
|
|
Initial value: {
{"water", "clear", {0, 1, 10, 0, 16}},
{"beer", "amber", {12, 1, 8, 1, 12}},
{"red wine", "burgundy", {30, 1, 8, 1, 5}},
{"ale", "brown", {15, 1, 8, 1, 12}},
{"dark ale", "dark", {16, 1, 8, 1, 12}},
{"whisky", "golden", {120, 1, 5, 0, 2}},
{"lemonade", "pink", {0, 1, 9, 2, 12}},
{"firebreather", "boiling", {190, 0, 4, 0, 2}},
{"local specialty", "clear", {151, 1, 3, 0, 2}},
{"slime mold juice", "green", {0, 2, -8, 1, 2}},
{"milk", "white", {0, 2, 9, 3, 12}},
{"tea", "tan", {0, 1, 8, 0, 6}},
{"coffee", "black", {0, 1, 8, 0, 6}},
{"blood", "red", {0, 2, -1, 2, 6}},
{"salt water", "clear", {0, 1, -2, 0, 1}},
{"coke", "brown", {0, 2, 9, 2, 12}},
{"root beer", "brown", {0, 2, 9, 2, 12}},
{"elvish wine", "green", {35, 2, 8, 1, 5}},
{"white wine", "golden", {28, 1, 8, 1, 5}},
{"champagne", "golden", {32, 1, 8, 1, 5}},
{"mead", "honey-colored", {34, 2, 8, 2, 12}},
{"rose wine", "pink", {26, 1, 8, 1, 5}},
{"benedictine wine", "burgundy", {40, 1, 8, 1, 5}},
{"vodka", "clear", {130, 1, 5, 0, 2}},
{"cranberry juice", "red", {0, 1, 9, 2, 12}},
{"orange juice", "orange", {0, 2, 9, 3, 12}},
{"absinthe", "green", {200, 1, 4, 0, 2}},
{"brandy", "golden", {80, 1, 5, 0, 4}},
{"aquavit", "clear", {140, 1, 5, 0, 2}},
{"schnapps", "clear", {90, 1, 5, 0, 2}},
{"icewine", "purple", {50, 2, 6, 1, 5}},
{"amontillado", "burgundy", {35, 2, 8, 1, 5}},
{"sherry", "red", {38, 2, 7, 1, 5}},
{"framboise", "red", {50, 1, 7, 1, 5}},
{"rum", "amber", {151, 1, 4, 0, 2}},
{"cordial", "clear", {100, 1, 5, 0, 2}},
{NULL, NULL, {0, 0, 0, 0, 0}}
}
Definition at line 1423 of file const.c. Referenced by do_drink(), do_fill(), do_look(), do_ostat(), do_pour(), liq_lookup(), save_object(), show_help(), show_liqlist(), show_obj_values(), and spell_identify(). |
|
|
Initial value: {
{"null race", "", 0, {100, 100, 100, 100},
{""}, {50, 50, 50, 50, 50}, {50, 50, 50, 50, 50}, 0},
{
"Human", "Human", 0, {100, 100, 100, 100,100,100, 300},
{"fast healing"},
{50, 50, 50, 50, 50}, {60, 60, 60, 60, 60}, SIZE_MEDIUM,-2},
{
"Kender", "Kender", 0, {100, 100, 100, 100, 300, 300, 300},
{"sneak", "staff", "steal", "dodge"},
{34, 45, 45, 58, 35}, {45, 52, 52, 75, 44}, SIZE_TINY,0},
{
"Elf", " Elf ", 5, {100, 125, 100, 120, 300, 300, 300},
{"sneak", "hide"},
{33, 52, 55, 50, 40}, {43, 70, 70, 58, 50}, SIZE_SMALL,-3},
{
"Dwarf", "Dwarf", 8, {150, 100, 125, 100, 300, 300, 300},
{"berserk"},
{55, 40, 40, 40, 60}, {62, 50, 50, 50, 70}, SIZE_MEDIUM, -2},
{
"Gnome", "Gnome", 6, {200, 150, 150, 105, 300, 300, 300},
{"bash", "fast healing"},
{30, 67, 67, 35, 30}, {39, 77, 77, 44, 40}, SIZE_LARGE,-4},
{
"Minotaur", "Mintr", 6, {200, 150, 150, 105, 300, 300, 300},
{"bash", "fast healing", "second attack", "kick"},
{70, 40, 40, 50, 65}, {80, 46, 46, 60, 77}, SIZE_LARGE, -1},
{
"Dragon", "Dragon", 60,{200, 200, 200, 200, 300, 300, 300},
{"bash", "fast healing", "second attack", "kick","third attack"},
{90, 90, 90, 90, 90}, {100, 100, 100, 100, 100}, SIZE_LARGE,-8}
}
Definition at line 410 of file const.c. Referenced by do_who_clan(), do_who_kingdom(), do_whois(), exp_per_level(), fwrite_char(), get_curr_stat(), get_max_train(), load_char_obj(), and nanny(). |
|
|
Definition at line 168 of file const.c. Referenced by check_enhanced_disabled(), do_enhanced_disable(), do_mset(), do_mstat(), do_score(), do_score2(), fwrite_pet(), handle_con_get_eye_color(), load_char_obj(), load_mobiles(), load_old_mob(), MEDIT(), nanny(), race_lookup(), raw_kill(), and save_mobile(). |
|
|
|
Definition at line 845 of file const.c. Referenced by affect_modify(), can_carry_w(), and wear_obj(). |
|
|
|
|
|
Initial value: {
{"sword", OBJ_VNUM_SCHOOL_SWORD, WEAPON_SWORD, &gsn_sword},
{"mace", OBJ_VNUM_SCHOOL_MACE, WEAPON_MACE, &gsn_mace},
{"dagger", OBJ_VNUM_SCHOOL_DAGGER, WEAPON_DAGGER, &gsn_dagger},
{"axe", OBJ_VNUM_SCHOOL_AXE, WEAPON_AXE, &gsn_axe},
{"staff", OBJ_VNUM_SCHOOL_STAFF, WEAPON_SPEAR, &gsn_spear},
{"flail", OBJ_VNUM_SCHOOL_FLAIL, WEAPON_FLAIL, &gsn_flail},
{"whip", OBJ_VNUM_SCHOOL_WHIP, WEAPON_WHIP, &gsn_whip},
{"polearm", OBJ_VNUM_SCHOOL_POLEARM, WEAPON_POLEARM, &gsn_polearm},
{NULL, 0, 0, NULL}
}
Definition at line 82 of file const.c. Referenced by do_outfit(), nanny(), weapon_lookup(), weapon_name(), and weapon_type(). |
|
|
Definition at line 1086 of file const.c. Referenced by advance_level(). |
|
|
Initial value: {
{"on", WIZ_ON, IM},
{"prefix", WIZ_PREFIX, IM},
{"ticks", WIZ_TICKS, IM},
{"logins", WIZ_LOGINS, IM},
{"sites", WIZ_SITES, L4},
{"links", WIZ_LINKS, L7},
{"newbies", WIZ_NEWBIE, IM},
{"spam", WIZ_SPAM, L5},
{"deaths", WIZ_DEATHS, IM},
{"resets", WIZ_RESETS, L4},
{"mobdeaths", WIZ_MOBDEATHS, L4},
{"flags", WIZ_FLAGS, L5},
{"penalties", WIZ_PENALTIES, L5},
{"saccing", WIZ_SACCING, L5},
{"levels", WIZ_LEVELS, IM},
{"load", WIZ_LOAD, L2},
{"restore", WIZ_RESTORE, L2},
{"snoops", WIZ_SNOOPS, L2},
{"switches", WIZ_SWITCHES, L2},
{"secure", WIZ_SECURE, L1},
{"memcheck", WIZ_MEMCHECK, ML},
{NULL, 0, 0}
}
Definition at line 97 of file const.c. Referenced by do_wiznet(), and wiznet_lookup(). |
1.4.0