Crossfire Server, Branches 1.12
R18729
|
Macros | |
#define | ALTAR 18 |
#define | AMULET 39 |
#define | ARMOUR 16 |
#define | ARMOUR_IMPROVER 123 |
#define | ARROW 13 |
#define | BATTLEGROUND 58 |
#define | BLINDNESS 49 |
#define | BOOK 8 |
#define | BOOTS 99 |
#define | BOW 14 |
#define | BRACERS 104 |
#define | BUILDER 160 |
#define | BUTTON 92 |
#define | CF_HANDLE 93 |
#define | CHECK_INV 64 |
#define | CLASS 37 |
#define | CLOAK 87 |
#define | CLOCK 9 |
#define | CLOSE_CON 121 |
#define | CONTAINER 122 |
#define | CONVERTER 103 |
#define | CORPSE 157 |
#define | CREATOR 42 |
#define | DEAD_OBJECT 53 |
#define | DEEP_SWAMP 138 |
#define | DETECTOR 51 |
#define | DIRECTOR 112 |
#define | DISEASE 158 |
#define | DOOR 23 |
#define | DRINK 54 |
#define | DUPLICATOR 83 |
#define | EARTHWALL 45 |
#define | ENCOUNTER 67 |
#define | EVENT_CONNECTOR 116 |
#define | EXIT 66 |
#define | EXPERIENCE 44 |
#define | FIREWALL 62 |
#define | FLESH 72 |
#define | FLOOR 71 |
#define | FOOD 6 |
#define | FORCE 114 |
#define | GATE 91 |
#define | GEM 60 |
#define | GIRDLE 113 |
#define | GLOVES 100 |
#define | GOD 50 |
#define | GOLEM 46 |
#define | GRIMREAPER 28 |
#define | HELMET 34 |
#define | HOLE 94 /* When open, objects fall through */ |
#define | HOLY_ALTAR 56 |
#define | HORN 35 |
#define | IDENTIFY_ALTAR 139 |
#define | INORGANIC 73 |
#define | KEY 24 |
#define | LAMP 82 |
#define | LIGHTER 75 |
#define | LOCKED_DOOR 20 |
#define | MAGIC_EAR 29 |
#define | MAP 22 |
#define | MARKER 55 |
#define | MATERIAL 161 |
#define | MISC_OBJECT 79 |
#define | MONEY 36 |
#define | MONSTER 80 |
#define | MOOD_FLOOR 65 |
#define | OBJECT_TYPE_MAX 162 |
#define | PEACEMAKER 59 |
#define | PEDESTAL 17 |
#define | PLAYER 1 |
#define | PLAYER_CHANGER 57 |
#define | PLAYERMOVER 40 |
#define | POISON 7 |
#define | POISONING 105 |
#define | POTION 5 |
#define | POTION_EFFECT 115 |
#define | POWER_CRYSTAL 156 |
#define | RING 70 |
#define | ROD 3 |
#define | RUNE 154 |
#define | SAVEBED 106 |
#define | SCROLL 111 |
#define | SHIELD 33 |
#define | SHOP_FLOOR 68 |
#define | SHOP_INVENTORY 150 |
#define | SHOP_MAT 69 |
#define | SIGN 98 |
#define | SKILL 43 |
#define | SKILL_TOOL 74 |
#define | SKILLSCROLL 130 |
#define | SPECIAL_KEY 21 |
#define | SPELL 101 |
#define | SPELL_EFFECT 102 |
#define | SPELLBOOK 85 |
#define | SPINNER 90 |
#define | SYMPTOM 159 |
#define | TELEPORTER 41 |
#define | THROWN_OBJ 48 |
#define | TIMED_GATE 26 |
#define | TRANSPORT 2 |
#define | TRAP 155 |
#define | TRAPDOOR 95 |
#define | TREASURE 4 |
#define | TRIGGER 27 |
#define | TRIGGER_ALTAR 31 |
#define | TRIGGER_BUTTON 30 |
#define | TRIGGER_MARKER 52 |
#define | TRIGGER_PEDESTAL 32 |
#define | WALL 77 |
#define | WAND 109 |
#define | WEAPON 15 |
#define | WEAPON_IMPROVER 124 |
Only add new values to this list if somewhere in the program code, it is actually needed. Just because you add a new monster does not mean it has to have a type defined here. That only needs to happen if in some .c file, it needs to do certain special actions based on the monster type, that can not be handled by any of the numerous flags. Also, if you add new entries, try and fill up the holes in this list. Additionally, when you add a new entry, include it in the table in common/item.c
type 0 is undefined and indicates non-valid type information.
ALTAR 18 |
See Altar
Definition at line 130 of file define.h.
Referenced by cast_detection(), do_auto_apply(), fix_auto_apply(), init_type_altar(), initConstants(), local_check_loaded_object(), and trigger_connected().
AMULET 39 |
See Amulet
Definition at line 153 of file define.h.
Referenced by apply_special(), calc_item_power(), check_pick(), command_dropall(), describe_item(), fix_generated_item(), fix_object(), hit_with_one_attacktype(), initConstants(), is_magical(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), need_identify(), query_base_name(), query_flags(), query_name(), query_short_name(), set_ring_bonus(), skill_ident(), and unapply_special().
ARMOUR 16 |
Definition at line 128 of file define.h.
Referenced by adj_stealchance(), apply_special(), armour_improver_type_apply(), become_follower(), calc_item_power(), check_pick(), command_dropall(), describe_item(), fix_generated_item(), fix_object(), initConstants(), is_magical(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), meditate(), need_identify(), query_flags(), query_name(), set_abs_magic(), skill_ident(), and unapply_special().
#define ARMOUR_IMPROVER 123 |
Definition at line 307 of file define.h.
Referenced by command_dropall(), init_type_armour_improver(), and initConstants().
ARROW 13 |
See Projectile
Definition at line 125 of file define.h.
Referenced by arrow_type_process(), check_pick(), command_dropall(), describe_item(), find_arrow(), find_better_arrow(), fix_stopped_item(), init_type_arrow(), initConstants(), is_aimed_missile(), legacy_ob_describe(), monster_can_pick(), monster_check_apply(), need_identify(), ok_to_put_more(), skill_ident(), and stop_item().
BATTLEGROUND 58 |
battleground, by Andreas Vogl
See Battleground
Definition at line 195 of file define.h.
Referenced by initConstants(), and op_on_battleground().
#define BLINDNESS 49 |
Definition at line 171 of file define.h.
Referenced by blind_living(), init_type_blindness(), and initConstants().
BOOK 8 |
See Book
Definition at line 120 of file define.h.
Referenced by become_follower(), can_build_over(), cast_detection(), change_book(), check_pick(), command_dropall(), determine_holy_arch(), examine(), fix_generated_item(), get_msg_book(), god_intervention(), init_type_book(), initConstants(), need_identify(), new_text_name(), skill_ident(), tailor_readable_ob(), write_note(), and write_on_item().
BOOTS 99 |
See Boots
Definition at line 281 of file define.h.
Referenced by apply_special(), armour_improver_type_apply(), become_follower(), calc_item_power(), check_pick(), command_dropall(), describe_item(), fix_object(), initConstants(), is_magical(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), meditate(), need_identify(), query_flags(), query_name(), skill_ident(), and unapply_special().
BOW 14 |
See Shooting Weapon
Definition at line 126 of file define.h.
Referenced by adj_stealchance(), apply_special(), can_apply_object(), cast_create_missile(), change_abil(), check_pick(), command_dropall(), describe_item(), fire_bow(), fix_object(), god_enchants_weapon(), initConstants(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), monster_can_pick(), monster_check_apply(), need_identify(), ok_to_put_more(), query_flags(), query_name(), rangetostring(), set_materialname(), skill_ident(), unapply_special(), and weapon_improver_type_apply().
BRACERS 104 |
See Bracers
Definition at line 286 of file define.h.
Referenced by apply_special(), armour_improver_type_apply(), calc_item_power(), command_dropall(), describe_item(), fix_generated_item(), fix_object(), initConstants(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), need_identify(), query_flags(), query_name(), skill_ident(), and unapply_special().
#define BUILDER 160 |
Generic item builder, see subtypes below
Definition at line 334 of file define.h.
Referenced by apply_special(), initConstants(), legacy_ob_apply(), and unapply_special().
BUTTON 92 |
See Button
Definition at line 274 of file define.h.
Referenced by apply_builder_item(), apply_builder_remove(), can_build_over(), cast_detection(), init_type_button(), initConstants(), trigger_connected(), update_button(), and update_buttons().
CF_HANDLE 93 |
See Handle
Definition at line 275 of file define.h.
Referenced by apply_builder_item(), apply_builder_remove(), can_build_over(), cast_detection(), init_type_cf_handle(), initConstants(), monster_apply_below(), and trigger_connected().
CHECK_INV 64 |
b.t. thoma s@no mad.a stro .psu. edu
Definition at line 206 of file define.h.
Referenced by blocked_link(), init_type_check_inv(), initConstants(), and is_slaying().
CLASS 37 |
Object for applying character class modifications to someone
See Class Changer
Definition at line 149 of file define.h.
Referenced by apply_changes_to_player(), build_class_list_reply(), do_auto_apply(), fix_auto_apply(), and initConstants().
CLOAK 87 |
See Cloak
Definition at line 268 of file define.h.
Referenced by apply_special(), armour_improver_type_apply(), calc_item_power(), check_pick(), command_dropall(), decay_objects(), describe_item(), fix_generated_item(), fix_object(), initConstants(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), need_identify(), query_flags(), query_name(), set_materialname(), skill_ident(), transmute_materialname(), and unapply_special().
CLOCK 9 |
See Clock
Definition at line 121 of file define.h.
Referenced by init_type_clock(), and initConstants().
#define CLOSE_CON 121 |
Eneq((at)csd.uu.se): Id for close_container archetype.
Definition at line 303 of file define.h.
Referenced by examine(), fix_object(), initConstants(), legacy_ob_apply(), and need_identify().
CONTAINER 122 |
See Container
Definition at line 306 of file define.h.
Referenced by add_slaying(), add_weight(), apply_container(), cancellation(), command_dropall(), command_empty(), common_pre_ob_move_on(), do_auto_apply(), esrv_get_ob_from_count(), esrv_move_object(), examine(), find_arrow(), find_better_arrow(), find_key(), fix_auto_apply(), fix_generated_item(), fix_object(), init_type_container(), initConstants(), insert_ob_in_ob(), inventory(), is_slaying(), legacy_ob_apply(), look_at(), loot_object(), need_identify(), pay_for_amount(), pay_for_item(), pay_from_container(), pick_up(), put_object_in_sack(), query_flags(), query_money(), query_name(), remove_ob(), sack_can_hold(), sell_item(), skill_ident(), START_TEST(), sub_weight(), and sum_weight().
CONVERTER 103 |
See Converter
Definition at line 285 of file define.h.
Referenced by init_type_converter(), initConstants(), and local_check_loaded_object().
#define CORPSE 157 |
Definition at line 329 of file define.h.
Referenced by cast_raise_dead_spell(), examine(), and initConstants().
CREATOR 42 |
See Creator
Definition at line 156 of file define.h.
Referenced by init_type_creator(), initConstants(), and local_check_loaded_object().
#define DEAD_OBJECT 53 |
Definition at line 186 of file define.h.
Referenced by initConstants(), and leave().
DEEP_SWAMP 138 |
See Swamp
Definition at line 316 of file define.h.
Referenced by init_type_deep_swamp(), and initConstants().
DETECTOR 51 |
peterm: detector is an object which notices the presense of another object and is triggered like buttons.
See Detector
Definition at line 174 of file define.h.
Referenced by apply_builder_item(), apply_builder_remove(), can_build_over(), init_type_detector(), and initConstants().
DIRECTOR 112 |
See Director
Definition at line 294 of file define.h.
Referenced by init_type_director(), initConstants(), legacy_ob_process(), and trigger_connected().
DISEASE 158 |
See Disease
Definition at line 331 of file define.h.
Referenced by attack_message(), check_physically_infect(), cure_disease(), fix_object(), friendly_fire(), infect_object(), initConstants(), legacy_ob_process(), and rune_attack().
DOOR 23 |
See Door
Definition at line 135 of file define.h.
Referenced by apply_builder_item(), apply_builder_remove(), attack_message(), blocked_link(), can_build_over(), check_doors(), door_in_square(), find_key(), hit_player(), hit_with_one_attacktype(), initConstants(), kill_object(), legacy_ob_process(), move_player_attack(), pick_lock(), player_attack_door(), remove_adjacent_doors(), remove_door(), retrofit_joined_wall(), and try_fit().
#define DRINK 54 |
Definition at line 187 of file define.h.
Referenced by cast_create_food(), check_pick(), command_dropall(), describe_item(), food_type_apply(), init_type_food(), initConstants(), legacy_ob_describe(), need_identify(), and skill_ident().
DUPLICATOR 83 |
Duplicator/multiplier object
See Duplicator
Definition at line 264 of file define.h.
Referenced by init_type_duplicator(), and initConstants().
#define EARTHWALL 45 |
Definition at line 167 of file define.h.
Referenced by check_earthwalls(), initConstants(), and legacy_ob_process().
ENCOUNTER 67 |
EVENT_CONNECTOR 116 |
Lauwenmark: an invisible object holding a plugin event hook
See Event
Definition at line 300 of file define.h.
Referenced by cftimer_create(), execute_event(), hit_with_arrow(), and initConstants().
EXIT 66 |
See Exit
Definition at line 228 of file define.h.
Referenced by cast_detection(), common_pre_ob_move_on(), do_exit_map(), eventListener(), examine(), init_type_exit(), initConstants(), is_legal_2ways_exit(), is_suitable_exit(), place_exits(), process_map(), and retrofit_joined_wall().
#define EXPERIENCE 44 |
This is basically obsolete now. It used to contain experience for broad skill categories. This value is now automatically converted at load time.
Definition at line 158 of file define.h.
Referenced by attempt_steal(), become_follower(), change_abil(), fix_object(), initConstants(), is_true_undead(), and loot_object().
FIREWALL 62 |
See Magic Wall
Definition at line 204 of file define.h.
Referenced by cast_spell(), do_auto_apply(), fix_auto_apply(), initConstants(), legacy_ob_process(), local_check_loaded_object(), and trigger_connected().
FLESH 72 |
animal 'body parts' -b.t.
See Flesh
Definition at line 234 of file define.h.
Referenced by check_pick(), command_dropall(), describe_item(), describe_resistance(), dragon_eat_flesh(), dump_monster_treasure_rec(), fix_flesh_item(), food_type_apply(), init_type_food(), initConstants(), kill_player(), legacy_ob_describe(), look_at(), need_identify(), and skill_ident().
#define FLOOR 71 |
Floor tile -> native layer 0
Definition at line 233 of file define.h.
Referenced by apply_builder_floor(), apply_builder_item(), apply_builder_remove(), and initConstants().
FOOD 6 |
See Food
Definition at line 118 of file define.h.
Referenced by alchemy_failure_effect(), cast_create_food(), check_pick(), command_dropall(), decay_objects(), describe_item(), food_type_apply(), init_type_food(), initConstants(), legacy_ob_describe(), monster_can_pick(), monster_check_apply(), need_identify(), polymorph_item(), and skill_ident().
#define FORCE 114 |
Definition at line 296 of file define.h.
Referenced by attempt_recipe(), become_follower(), cast_bless(), cast_change_ability(), cast_curse(), cast_heal(), check_login(), command_resistances(), confuse_living(), describe_item(), dragon_ability_gain(), dragon_eat_flesh(), dragon_level_gain(), enter_exit(), find_or_create_connection_for_map(), fix_object(), give_initial_items(), initConstants(), legacy_ob_process(), move_detector(), move_marker(), op_on_battleground(), and perceive_self().
GATE 91 |
See Gate
Definition at line 273 of file define.h.
Referenced by apply_builder_item(), apply_builder_remove(), can_build_over(), cast_detection(), init_type_gate(), initConstants(), and trigger_connected().
GEM 60 |
See Jewel
Definition at line 202 of file define.h.
Referenced by alchemy_object(), check_pick(), command_dropall(), initConstants(), monster_can_pick(), need_identify(), query_cost(), and skill_ident().
GIRDLE 113 |
See Girdle
Definition at line 295 of file define.h.
Referenced by apply_special(), calc_item_power(), command_dropall(), decay_objects(), describe_item(), fix_object(), hit_with_one_attacktype(), initConstants(), is_magical(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), need_identify(), query_flags(), query_name(), set_materialname(), skill_ident(), transmute_materialname(), and unapply_special().
GLOVES 100 |
See Gloves
Definition at line 282 of file define.h.
Referenced by adj_stealchance(), apply_special(), armour_improver_type_apply(), become_follower(), calc_item_power(), check_pick(), command_dropall(), decay_objects(), describe_item(), fix_object(), initConstants(), is_magical(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), meditate(), need_identify(), query_flags(), query_name(), set_materialname(), skill_ident(), transmute_materialname(), and unapply_special().
#define GOD 50 |
Definition at line 172 of file define.h.
Referenced by init_gods(), and initConstants().
#define GOLEM 46 |
Definition at line 168 of file define.h.
Referenced by animate_weapon(), check_enemy(), do_mood_floor(), fix_summon_pet(), hit_with_one_attacktype(), initConstants(), legacy_ob_process(), ok_to_put_more(), and summon_golem().
GRIMREAPER 28 |
Definition at line 140 of file define.h.
Referenced by hit_player(), and initConstants().
HELMET 34 |
See Helmet
Definition at line 146 of file define.h.
Referenced by apply_special(), armour_improver_type_apply(), become_follower(), calc_item_power(), check_pick(), command_dropall(), describe_item(), fix_generated_item(), fix_object(), initConstants(), is_magical(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), meditate(), need_identify(), query_flags(), query_name(), skill_ident(), and unapply_special().
HOLE 94 /* When open, objects fall through */ |
See Pit
Definition at line 276 of file define.h.
Referenced by cast_detection(), init_type_hole(), initConstants(), legacy_ob_process(), and trigger_connected().
HOLY_ALTAR 56 |
See Holy Altar
Definition at line 193 of file define.h.
Referenced by cast_consecrate(), cast_detection(), initConstants(), and pray().
HORN 35 |
See Horn
Definition at line 147 of file define.h.
Referenced by add_abilities(), apply_special(), can_apply_object(), cast_spell(), check_pick(), command_create(), command_dropall(), describe_item(), do_auto_apply(), fire_misc_object(), fix_auto_apply(), fix_generated_item(), fix_object(), hit_with_one_attacktype(), initConstants(), legacy_ob_apply(), legacy_ob_process(), local_check_loaded_object(), monster_can_pick(), monster_check_apply(), monster_use_range(), need_identify(), query_flags(), query_name(), skill_ident(), START_TEST(), and unapply_special().
#define IDENTIFY_ALTAR 139 |
Definition at line 317 of file define.h.
Referenced by init_type_identify_altar(), and initConstants().
INORGANIC 73 |
metals, minerals, dragon scales
See Inorganic
Definition at line 235 of file define.h.
Referenced by initConstants(), need_identify(), and skill_ident().
KEY 24 |
See Key
Definition at line 136 of file define.h.
Referenced by check_pick(), command_dropall(), find_key(), and initConstants().
#define LAMP 82 |
Lamp
Definition at line 263 of file define.h.
Referenced by change_object(), describe_item(), init_type_lamp(), initConstants(), insert_ob_in_map(), legacy_ob_describe(), and unapply_special().
#define LIGHTER 75 |
Definition at line 237 of file define.h.
Referenced by init_type_lighter(), and initConstants().
LOCKED_DOOR 20 |
See Locked Door
Definition at line 132 of file define.h.
Referenced by add_slaying(), cast_detection(), door_in_square(), initConstants(), is_slaying(), legacy_ob_process(), move_player_attack(), pick_lock(), player_attack_door(), remove_locked_door(), retrofit_joined_wall(), skill_attack(), and unblock_exits().
MAGIC_EAR 29 |
See Magic Ear
Definition at line 141 of file define.h.
Referenced by apply_builder_item(), apply_builder_remove(), can_build_over(), do_talk_npc(), and initConstants().
#define MAP 22 |
Definition at line 134 of file define.h.
Referenced by init_dynamic(), initConstants(), and process_events().
MARKER 55 |
inserts an invisible, weightless force into a player with a specified string.
See Marker
Definition at line 188 of file define.h.
Referenced by init_type_marker(), and initConstants().
#define MATERIAL 161 |
Material for building
Definition at line 337 of file define.h.
Referenced by apply_map_builder(), and initConstants().
#define MISC_OBJECT 79 |
misc. objects are for objects without a function in the engine. Like statues, clocks, chairs... If perhaps we create a function where we can sit on chairs, we create a new type and remove all chairs from here.
Definition at line 248 of file define.h.
Referenced by initConstants().
MONEY 36 |
See Money
Definition at line 148 of file define.h.
Referenced by alchemy_object(), check_pick(), command_dropall(), convert_item(), drop_object(), fix_generated_item(), identify_altar_type_move_on(), initConstants(), matches_sacrifice(), monster_can_pick(), pay_from_container(), query_cost(), query_cost_string(), query_money(), and real_money_value().
#define MONSTER 80 |
A real, living creature
Definition at line 261 of file define.h.
Referenced by initConstants(), and process_events().
MOOD_FLOOR 65 |
b.t. thoma values of last_sp set how to change: 0 = furious, all monsters become aggressive 1 = angry, all but friendly become aggressive 2 = calm, all aggressive monsters calm down 3 = sleep, all monsters fall asleep 4 = charm, monsters become pets s@no mad.a stro .psu. edu
See Mood Floor
Definition at line 207 of file define.h.
Referenced by init_type_mood_floor(), and initConstants().
#define OBJECT_TYPE_MAX 162 |
Update if you add new types
Definition at line 339 of file define.h.
Referenced by init_ob_types(), main(), START_TEST(), and write_type_file().
#define PEACEMAKER 59 |
Object owned by a player which can convert a monster into a peaceful being incapable of attack.
Definition at line 197 of file define.h.
Referenced by init_type_peacemaker(), and initConstants().
PEDESTAL 17 |
See Pedestal
Definition at line 129 of file define.h.
Referenced by apply_builder_item(), apply_builder_remove(), can_build_over(), init_type_pedestal(), initConstants(), trigger_connected(), update_button(), and update_buttons().
#define PLAYER 1 |
Definition at line 113 of file define.h.
Referenced by add_death(), add_map_event(), adj_stealchance(), alchemy(), altar_type_move_on(), animate_object(), animate_one(), animate_weapon(), apply_container(), apply_map_builder(), apply_special(), armour_improver_type_apply(), attack_melee_weapon(), attack_message(), attack_ob_simple(), attempt_do_alchemy(), attempt_hide(), attempt_jump(), attempt_steal(), blocked_link(), book_type_apply(), build_race_list_reply(), calc_skill_exp(), can_apply_object(), can_detect_enemy(), can_pay(), can_pick(), can_see_enemy(), cancellation(), cast_cause_disease(), cast_change_ability(), cast_cone(), cast_create_missile(), cast_curse(), cast_destruction(), cast_detection(), cast_dust(), cast_earth_to_dust(), cast_identify(), cast_invisible(), cast_spell(), cast_word_of_recall(), caster_level(), cfapi_object_drop(), cfapi_object_say(), cfapi_object_set_property(), cfapi_object_teleport(), change_abil(), change_exp(), change_skill(), check_enemy(), check_inv(), check_login(), check_move_on(), check_race_restrictions(), check_spell_expiry(), check_trigger(), check_weapon_power(), clear_skill(), clock_type_apply(), command_drop(), command_dropall(), command_insert_into(), command_possess(), command_remove(), command_setgod(), command_use(), communicate(), confuse_living(), container_type_move_on(), convert_item(), copy_owner(), create_aura(), Crossfire_Object_wrap(), deep_swamp_type_move_on(), deep_swamp_type_process(), describe_item(), describe_monster(), describe_shop(), determine_god(), die_roll(), dimension_door(), do_auto_apply(), do_forget_spell(), do_harvest(), do_hidden_move(), do_learn_spell(), do_mood_floor(), do_skill(), do_skill_attack(), do_skill_ident2(), do_throw(), do_turn(), dragon_ability_gain(), draw_client_map(), draw_ext_info(), draw_magic_map(), drop(), drop_object(), enter_exit(), enter_map(), execute_word_of_recall(), exit_type_apply(), exit_type_move_on(), find_dir(), find_enemy(), find_nearest_living_creature(), find_target_for_friendly_spell(), find_traps(), fire(), fire_arch_from_position(), fire_bow(), fix_auto_apply(), fix_object(), fix_summon_pet(), follow_owner(), food_type_apply(), friendly_fire(), gate_type_process(), get_jail_exit(), get_living_id(), get_payment(), get_pet_enemy(), get_player_archetype(), get_player_container(), give_initial_items(), god_enchants_weapon(), god_removes_curse(), gravestone_text(), hide(), hit_map(), hit_player(), hit_with_one_attacktype(), identify(), identify_altar_type_move_on(), improve_armour(), improve_weapon(), improve_weapon_magic(), infect_object(), initConstants(), insert_ob_in_map(), is_dragon_pl(), is_old_wraith_pl(), is_true_undead(), is_wraith_pl(), item_matched_string(), kill_object(), legacy_ob_apply(), lighter_type_apply(), make_visible(), makes_invisible_to(), manual_apply(), matches_sacrifice(), meditate(), mood_change(), move_detector(), move_marker(), move_ob(), move_player_attack(), move_player_mover(), move_teleporter(), ok_to_put_more(), pay_from_container(), pet_move(), pick_up(), pick_up_object(), play_sound_player_only(), player_apply(), player_can_view(), player_changer_type_process(), player_lvl_adj(), player_mover_type_move_on(), poison_living(), poison_type_apply(), poisoning_type_process(), polymorph(), potion_type_apply(), power_crystal_type_apply(), pray(), print_message(), probe(), process_events(), process_object(), push_ob(), put_object_in_sack(), query_cost(), query_money(), random_roll(), random_roll64(), remove_all_pets(), remove_curse(), remove_ob(), remove_trap(), runapply(), runmovement(), save_objects(), save_player(), savebed_type_apply(), scroll_type_apply(), sell_item(), send_changed_object(), share_exp(), shop_inventory_type_apply(), shop_mat_type_move_on(), should_arena_attack(), sign_type_move_on(), singing(), skill_attack(), skill_ident(), skill_throw(), skillscroll_type_apply(), spell_find_dir(), spellbook_type_apply(), spring_trap(), stand_near_hostile(), start_animation(), START_TEST(), steal(), summon_golem(), summon_object(), teleport(), transfer_ob(), transport_type_apply(), trap_disarm(), treasure_type_apply(), turn_one_transport(), unapply_special(), update_button(), update_object(), update_position(), use_oratory(), weapon_improver_type_apply(), and write_on_item().
#define PLAYER_CHANGER 57 |
Definition at line 194 of file define.h.
Referenced by do_auto_apply(), fix_auto_apply(), init_type_player_changer(), initConstants(), and process_map().
PLAYERMOVER 40 |
See Mover
Definition at line 154 of file define.h.
Referenced by init_type_player_mover(), initConstants(), legacy_ob_process(), and move_player_mover().
POISON 7 |
See Poison Food
Definition at line 119 of file define.h.
Referenced by check_pick(), fix_flesh_item(), init_type_poison(), initConstants(), need_identify(), skill_ident(), and thrown_item_effect().
#define POISONING 105 |
Definition at line 287 of file define.h.
Referenced by attack_message(), examine_monster(), friendly_fire(), init_type_poisoning(), and initConstants().
POTION 5 |
See Potion
Definition at line 117 of file define.h.
Referenced by add_abilities(), can_be_transmuted(), cast_dust(), cast_spell(), change_abil(), check_pick(), command_dropall(), do_auto_apply(), do_throw(), fix_auto_apply(), fix_generated_item(), fix_object(), identify(), init_type_potion(), initConstants(), is_magical(), local_check_loaded_object(), need_identify(), query_cost(), skill_ident(), and thrown_item_effect().
#define POTION_EFFECT 115 |
A force, holding the effect of a potion
Definition at line 297 of file define.h.
Referenced by fix_object(), initConstants(), legacy_ob_process(), and potion_type_apply().
POWER_CRYSTAL 156 |
See Power Crystal
Definition at line 328 of file define.h.
Referenced by describe_item(), init_type_power_crystal(), initConstants(), is_magical(), and need_identify().
RING 70 |
See Ring
Definition at line 232 of file define.h.
Referenced by apply_special(), calc_item_power(), can_apply_object(), check_pick(), command_dropall(), describe_item(), fix_generated_item(), fix_object(), hit_with_one_attacktype(), initConstants(), is_magical(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), monster_can_pick(), monster_check_apply(), need_identify(), polymorph_item(), query_base_name(), query_flags(), query_name(), query_short_name(), skill_ident(), and unapply_special().
ROD 3 |
See Rod
Definition at line 115 of file define.h.
Referenced by apply_special(), can_apply_object(), can_be_transmuted(), cast_spell(), check_pick(), command_create(), command_dropall(), describe_item(), do_auto_apply(), fire_misc_object(), fix_auto_apply(), fix_generated_item(), fix_object(), god_gives_present(), hit_with_one_attacktype(), initConstants(), is_magical(), is_special_equipment(), legacy_ob_apply(), legacy_ob_process(), local_check_loaded_object(), monster_can_pick(), monster_check_apply(), monster_use_range(), need_identify(), query_base_name(), query_flags(), query_name(), query_short_name(), skill_ident(), and unapply_special().
RUNE 154 |
See Rune
Definition at line 325 of file define.h.
Referenced by attempt_pick_lock(), calc_skill_exp(), cast_cone(), cast_detection(), cast_spell(), counterspell(), dispel_rune(), find_target_for_friendly_spell(), find_traps(), fix_generated_item(), free_object2(), friendly_fire(), hit_player(), init_type_rune(), initConstants(), local_check_loaded_object(), player_attack_door(), remove_trap(), save_throw_object(), treasure_type_apply(), and write_rune().
SAVEBED 106 |
See Savebed
Definition at line 288 of file define.h.
Referenced by init_type_savebed(), and initConstants().
SCROLL 111 |
See Scroll
Definition at line 293 of file define.h.
Referenced by can_be_transmuted(), can_merge(), cast_spell(), check_pick(), command_create(), command_dropall(), do_auto_apply(), fix_auto_apply(), fix_generated_item(), init_type_scroll(), initConstants(), is_magical(), local_check_loaded_object(), monster_can_pick(), monster_check_apply(), monster_use_scroll(), need_identify(), query_base_name(), query_short_name(), skill_ident(), write_on_item(), and write_scroll().
SHIELD 33 |
See Shield
Definition at line 145 of file define.h.
Referenced by adj_stealchance(), apply_special(), armour_improver_type_apply(), become_follower(), calc_item_power(), can_apply_object(), check_pick(), command_dropall(), describe_item(), fix_generated_item(), fix_object(), initConstants(), is_magical(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), meditate(), need_identify(), query_flags(), query_name(), skill_ident(), unapply_for_ob(), and unapply_special().
SHOP_FLOOR 68 |
See Shop Floor
Definition at line 230 of file define.h.
Referenced by auto_apply(), coords_in_shop(), and initConstants().
#define SHOP_INVENTORY 150 |
Mark Wedel (mark@) Shop inventories pyra mid.c om
Definition at line 319 of file define.h.
Referenced by init_type_shop_inventory(), and initConstants().
SHOP_MAT 69 |
See Shop Mat
Definition at line 231 of file define.h.
Referenced by init_type_shop_mat(), initConstants(), shop_mat_type_move_on(), and teleport().
SIGN 98 |
Definition at line 280 of file define.h.
Referenced by apply_builder_item(), apply_builder_remove(), apply_map_builder(), can_build_over(), cast_detection(), common_pre_ob_move_on(), dispel_rune(), do_symptoms(), get_connection_rune(), grant_immunity(), infect_object(), init_type_sign(), initConstants(), remove_marking_runes(), spring_trap(), and trigger_connected().
SKILL 43 |
Also see SKILL_TOOL (74) below
See Skill
Definition at line 157 of file define.h.
Referenced by add_player_exp(), apply_death_exp_penalty(), apply_special(), become_follower(), calc_skill_exp(), change_abil(), check_weapon_power(), CREFormulaePanel::CREFormulaePanel(), deep_swamp_type_process(), describe_item(), describe_monster(), determine_god(), do_hidden_move(), do_skill(), find_best_player_hth_skill(), find_skill_by_name(), find_skill_by_number(), fix_object(), get_item_from_body_location(), give_initial_items(), give_skill_by_name(), god_examines_priest(), init_skills(), initConstants(), insert_ob_in_ob(), kill_object(), learn_skill(), legacy_ob_apply(), legacy_ob_describe(), link_player_skills(), monster_can_pick(), monster_check_apply(), monster_use_skill(), need_identify(), query_base_name(), query_flags(), query_name(), query_short_name(), ring_desc(), show_skills(), START_TEST(), subtract_player_exp(), unapply_special(), use_skill(), and write_on_item().
#define SKILL_TOOL 74 |
Allows the use of a skill
Definition at line 236 of file define.h.
Referenced by apply_special(), describe_item(), dragon_ability_gain(), find_skill_by_name(), find_skill_by_number(), fix_object(), initConstants(), legacy_ob_apply(), legacy_ob_describe(), need_identify(), unapply_special(), and use_skill().
SKILLSCROLL 130 |
can add a skill to player's inventory -bt.
See Skill Scroll
Definition at line 313 of file define.h.
Referenced by check_pick(), init_type_skillscroll(), initConstants(), need_identify(), and START_TEST().
SPECIAL_KEY 21 |
See Special Key
Definition at line 133 of file define.h.
Referenced by add_slaying(), cast_detection(), check_pick(), command_dropall(), find_key(), initConstants(), is_slaying(), move_detector(), sack_can_hold(), and update_button().
SPELL 101 |
See Spell
Definition at line 283 of file define.h.
Referenced by altar_type_move_on(), attempt_steal(), become_follower(), cast_spell(), cast_wonder(), check_special_prayers(), check_spell_known(), check_spells(), command_cast_spell(), command_create(), describe_monster(), determine_god(), do_auto_apply(), dragon_ability_gain(), dump_spells(), esrv_add_spells(), esrv_update_spells(), find_random_spell_in_ob(), fix_auto_apply(), fix_generated_item(), friendly_fire(), get_spell_by_name(), give_initial_items(), god_intervention(), has_ability(), initConstants(), lookup_spell_by_name(), magic_wall(), monster_choose_random_spell(), move_swarm_spell(), polymorph_living(), put_treasure(), scroll_type_apply(), show_matching_spells(), spellpath_msg(), spring_trap(), tailor_god_spell(), and write_rune().
#define SPELL_EFFECT 102 |
Definition at line 284 of file define.h.
Referenced by attack_message(), cast_smite_spell(), cast_word_of_recall(), counterspell(), determine_god(), explode_bullet(), init_type_spell_effect(), initConstants(), insert_ob_in_map(), is_aimed_missile(), kill_player(), magic_wall(), and tailor_god_spell().
SPELLBOOK 85 |
See Spellbook
Definition at line 266 of file define.h.
Referenced by become_follower(), check_pick(), command_create(), command_dropall(), do_auto_apply(), dragon_ability_gain(), examine(), fix_auto_apply(), fix_generated_item(), give_initial_items(), has_ability(), init_type_spellbook(), initConstants(), is_magical(), local_check_loaded_object(), monster_can_pick(), monster_cast_spell(), monster_check_apply(), monster_choose_random_spell(), need_identify(), query_base_name(), query_short_name(), and skill_ident().
SPINNER 90 |
See Spinner
Definition at line 272 of file define.h.
Referenced by init_type_spinner(), and initConstants().
#define SYMPTOM 159 |
Definition at line 332 of file define.h.
Referenced by attack_message(), find_symptom(), fix_object(), initConstants(), and legacy_ob_process().
TELEPORTER 41 |
See Teleporter
Definition at line 155 of file define.h.
Referenced by cast_detection(), do_exit_map(), init_type_teleporter(), initConstants(), move_teleporter(), process_map(), and retrofit_joined_wall().
#define THROWN_OBJ 48 |
Definition at line 170 of file define.h.
Referenced by cancellation(), init_type_thrown_object(), initConstants(), is_aimed_missile(), make_throw_ob(), stop_item(), and thrown_object_type_process().
TIMED_GATE 26 |
See Timed Gate
Definition at line 138 of file define.h.
Referenced by apply_builder_item(), apply_builder_remove(), do_auto_apply(), fix_auto_apply(), init_type_gate(), initConstants(), and trigger_connected().
TRANSPORT 2 |
see doc/Developers/objects
See Transport
Definition at line 114 of file define.h.
Referenced by blocked_link(), find_target_for_friendly_spell(), hit_map(), init_type_transport(), initConstants(), move_ob(), ob_blocked(), player_apply_below(), put_object_in_sack(), turn_one_transport(), and turn_transport().
TRAP 155 |
See Trap
Definition at line 326 of file define.h.
Referenced by attempt_pick_lock(), calc_skill_exp(), dispel_rune(), find_traps(), fix_generated_item(), free_object2(), hit_player(), init_type_trap(), initConstants(), player_attack_door(), remove_trap(), and treasure_type_apply().
TRAPDOOR 95 |
See Trapdoor
Definition at line 277 of file define.h.
Referenced by cast_detection(), init_type_trapdoor(), and initConstants().
TREASURE 4 |
See Treasure
Definition at line 116 of file define.h.
Referenced by auto_apply(), cast_detection(), do_auto_apply(), fix_auto_apply(), init_type_treasure(), initConstants(), monster_apply_below(), monster_check_apply(), and polymorph().
TRIGGER 27 |
See Handle Trigger
Definition at line 139 of file define.h.
Referenced by check_trigger(), init_type_trigger(), initConstants(), and monster_apply_below().
TRIGGER_ALTAR 31 |
See Altar Trigger
Definition at line 143 of file define.h.
Referenced by check_trigger(), init_type_trigger_altar(), initConstants(), and legacy_ob_process().
TRIGGER_BUTTON 30 |
See Button Trigger
Definition at line 142 of file define.h.
Referenced by check_trigger(), do_auto_apply(), fix_auto_apply(), init_type_trigger_button(), initConstants(), and legacy_ob_process().
TRIGGER_MARKER 52 |
inserts an invisible, weightless force into a player with a specified string WHEN TRIGGERED.
See Trigger Marker
Definition at line 181 of file define.h.
Referenced by init_type_marker(), and initConstants().
#define TRIGGER_PEDESTAL 32 |
Definition at line 144 of file define.h.
Referenced by cast_detection(), check_trigger(), do_auto_apply(), fix_auto_apply(), init_type_trigger_pedestal(), initConstants(), and legacy_ob_process().
#define WALL 77 |
Wall. Put it always in layer 1 if not set is_floor
Definition at line 244 of file define.h.
Referenced by apply_builder_floor(), apply_builder_remove(), apply_builder_wall(), apply_builder_window(), fix_walls(), get_wall(), and initConstants().
WAND 109 |
See Wand & Staff
Definition at line 291 of file define.h.
Referenced by apply_special(), can_apply_object(), can_be_transmuted(), cast_spell(), check_pick(), command_create(), command_dropall(), describe_item(), do_auto_apply(), drain_wand_charge(), examine(), fire_misc_object(), fix_auto_apply(), fix_generated_item(), fix_object(), god_gives_present(), hit_with_one_attacktype(), initConstants(), is_magical(), is_special_equipment(), legacy_ob_apply(), local_check_loaded_object(), monster_can_pick(), monster_check_apply(), monster_use_range(), need_identify(), query_base_name(), query_cost(), query_flags(), query_name(), query_short_name(), recharge(), skill_ident(), and unapply_special().
WEAPON 15 |
See Weapon
Definition at line 127 of file define.h.
Referenced by adj_stealchance(), animate_weapon(), apply_special(), attack_hth(), become_follower(), calc_item_power(), can_apply_object(), can_be_transmuted(), cast_detection(), check_pick(), command_dropall(), describe_item(), do_skill_attack(), find_throw_ob(), fix_generated_item(), fix_object(), god_enchants_weapon(), initConstants(), legacy_ob_apply(), legacy_ob_describe(), local_check_loaded_object(), monster_check_apply(), need_identify(), ok_to_put_more(), query_flags(), query_name(), skill_ident(), unapply_for_ob(), unapply_special(), and weapon_improver_type_apply().
#define WEAPON_IMPROVER 124 |
Definition at line 308 of file define.h.
Referenced by command_dropall(), init_type_weapon_improver(), and initConstants().