#include "prop.h"
#include "permonst.h"
#include "mondata.h"
#include "pm.h"
Go to the source code of this file.
Defines | |
#define | maybe_polyd(if_so, if_not) (Upolyd ? (if_so) : (if_not)) |
#define | HFire_resistance u.uprops[FIRE_RES].intrinsic |
#define | EFire_resistance u.uprops[FIRE_RES].extrinsic |
#define | Fire_resistance |
#define | HCold_resistance u.uprops[COLD_RES].intrinsic |
#define | ECold_resistance u.uprops[COLD_RES].extrinsic |
#define | Cold_resistance |
#define | HSleep_resistance u.uprops[SLEEP_RES].intrinsic |
#define | ESleep_resistance u.uprops[SLEEP_RES].extrinsic |
#define | Sleep_resistance |
#define | HDisint_resistance u.uprops[DISINT_RES].intrinsic |
#define | EDisint_resistance u.uprops[DISINT_RES].extrinsic |
#define | Disint_resistance |
#define | HShock_resistance u.uprops[SHOCK_RES].intrinsic |
#define | EShock_resistance u.uprops[SHOCK_RES].extrinsic |
#define | Shock_resistance |
#define | HPoison_resistance u.uprops[POISON_RES].intrinsic |
#define | EPoison_resistance u.uprops[POISON_RES].extrinsic |
#define | Poison_resistance |
#define | HDrain_resistance u.uprops[DRAIN_RES].intrinsic |
#define | EDrain_resistance u.uprops[DRAIN_RES].extrinsic |
#define | Drain_resistance |
#define | HSick_resistance u.uprops[SICK_RES].intrinsic |
#define | Sick_resistance |
#define | Invulnerable u.uprops[INVULNERABLE].intrinsic |
#define | EAntimagic u.uprops[ANTIMAGIC].extrinsic |
#define | Antimagic |
#define | EAcid_resistance u.uprops[ACID_RES].extrinsic |
#define | Acid_resistance (EAcid_resistance || resists_acid(&youmonst)) |
#define | EStone_resistance u.uprops[STONE_RES].extrinsic |
#define | Stone_resistance (EStone_resistance || resists_ston(&youmonst)) |
#define | Punished (uball) |
#define | HStun u.uprops[STUNNED].intrinsic |
#define | Stunned |
#define | HConfusion u.uprops[CONFUSION].intrinsic |
#define | Confusion HConfusion |
#define | Blinded u.uprops[BLINDED].intrinsic |
#define | Blindfolded (ublindf && ublindf->otyp != LENSES) |
#define | Blind |
#define | Sick u.uprops[SICK].intrinsic |
#define | Stoned u.uprops[STONED].intrinsic |
#define | Strangled u.uprops[STRANGLED].intrinsic |
#define | Vomiting u.uprops[VOMITING].intrinsic |
#define | Glib u.uprops[GLIB].intrinsic |
#define | Slimed u.uprops[SLIMED].intrinsic |
#define | HHallucination u.uprops[HALLUC].intrinsic |
#define | EHalluc_resistance u.uprops[HALLUC_RES].extrinsic |
#define | Halluc_resistance |
#define | Hallucination (HHallucination && !Halluc_resistance) |
#define | HFumbling u.uprops[FUMBLING].intrinsic |
#define | EFumbling u.uprops[FUMBLING].extrinsic |
#define | Fumbling (HFumbling || EFumbling) |
#define | HWounded_legs u.uprops[WOUNDED_LEGS].intrinsic |
#define | EWounded_legs u.uprops[WOUNDED_LEGS].extrinsic |
#define | Wounded_legs (HWounded_legs || EWounded_legs) |
#define | HSleeping u.uprops[SLEEPING].intrinsic |
#define | ESleeping u.uprops[SLEEPING].extrinsic |
#define | Sleeping (HSleeping || ESleeping) |
#define | HHunger u.uprops[HUNGER].intrinsic |
#define | EHunger u.uprops[HUNGER].extrinsic |
#define | Hunger (HHunger || EHunger) |
#define | HSee_invisible u.uprops[SEE_INVIS].intrinsic |
#define | ESee_invisible u.uprops[SEE_INVIS].extrinsic |
#define | See_invisible |
#define | HTelepat u.uprops[TELEPAT].intrinsic |
#define | ETelepat u.uprops[TELEPAT].extrinsic |
#define | BTelepat u.uprops[TELEPAT].blocked |
#define | Blind_telepat |
#define | Unblind_telepat (ETelepat && !BTelepat) |
#define | HWarning u.uprops[WARNING].intrinsic |
#define | EWarning u.uprops[WARNING].extrinsic |
#define | Warning (HWarning || EWarning) |
#define | HWarn_of_mon u.uprops[WARN_OF_MON].intrinsic |
#define | EWarn_of_mon u.uprops[WARN_OF_MON].extrinsic |
#define | Warn_of_mon (HWarn_of_mon || EWarn_of_mon) |
#define | HUndead_warning u.uprops[WARN_UNDEAD].intrinsic |
#define | Undead_warning (HUndead_warning) |
#define | HSearching u.uprops[SEARCHING].intrinsic |
#define | ESearching u.uprops[SEARCHING].extrinsic |
#define | Searching (HSearching || ESearching) |
#define | HClairvoyant u.uprops[CLAIRVOYANT].intrinsic |
#define | EClairvoyant u.uprops[CLAIRVOYANT].extrinsic |
#define | BClairvoyant u.uprops[CLAIRVOYANT].blocked |
#define | Clairvoyant |
#define | HInfravision u.uprops[INFRAVISION].intrinsic |
#define | EInfravision u.uprops[INFRAVISION].extrinsic |
#define | Infravision |
#define | HDetect_monsters u.uprops[DETECT_MONSTERS].intrinsic |
#define | EDetect_monsters u.uprops[DETECT_MONSTERS].extrinsic |
#define | Detect_monsters (HDetect_monsters || EDetect_monsters) |
#define | Adornment u.uprops[ADORNED].extrinsic |
#define | HInvis u.uprops[INVIS].intrinsic |
#define | EInvis u.uprops[INVIS].extrinsic |
#define | BInvis u.uprops[INVIS].blocked |
#define | Invis |
#define | Invisible (Invis && !See_invisible) |
#define | EDisplaced u.uprops[DISPLACED].extrinsic |
#define | Displaced EDisplaced |
#define | HStealth u.uprops[STEALTH].intrinsic |
#define | EStealth u.uprops[STEALTH].extrinsic |
#define | BStealth u.uprops[STEALTH].blocked |
#define | Stealth ((HStealth || EStealth) && !BStealth) |
#define | HAggravate_monster u.uprops[AGGRAVATE_MONSTER].intrinsic |
#define | EAggravate_monster u.uprops[AGGRAVATE_MONSTER].extrinsic |
#define | Aggravate_monster (HAggravate_monster || EAggravate_monster) |
#define | HConflict u.uprops[CONFLICT].intrinsic |
#define | EConflict u.uprops[CONFLICT].extrinsic |
#define | Conflict (HConflict || EConflict) |
#define | HJumping u.uprops[JUMPING].intrinsic |
#define | EJumping u.uprops[JUMPING].extrinsic |
#define | Jumping (HJumping || EJumping) |
#define | HTeleportation u.uprops[TELEPORT].intrinsic |
#define | ETeleportation u.uprops[TELEPORT].extrinsic |
#define | Teleportation |
#define | HTeleport_control u.uprops[TELEPORT_CONTROL].intrinsic |
#define | ETeleport_control u.uprops[TELEPORT_CONTROL].extrinsic |
#define | Teleport_control |
#define | HLevitation u.uprops[LEVITATION].intrinsic |
#define | ELevitation u.uprops[LEVITATION].extrinsic |
#define | Levitation |
#define | Lev_at_will |
#define | EFlying u.uprops[FLYING].extrinsic |
#define | Flying (EFlying || is_flyer(youmonst.data)) |
#define | Wwalking |
#define | HSwimming u.uprops[SWIMMING].intrinsic |
#define | ESwimming u.uprops[SWIMMING].extrinsic |
#define | Swimming |
#define | HMagical_breathing u.uprops[MAGICAL_BREATHING].intrinsic |
#define | EMagical_breathing u.uprops[MAGICAL_BREATHING].extrinsic |
#define | Amphibious |
#define | Breathless |
#define | Underwater (u.uinwater) |
#define | HPasses_walls u.uprops[PASSES_WALLS].intrinsic |
#define | EPasses_walls u.uprops[PASSES_WALLS].extrinsic |
#define | Passes_walls |
#define | HSlow_digestion u.uprops[SLOW_DIGESTION].intrinsic |
#define | ESlow_digestion u.uprops[SLOW_DIGESTION].extrinsic |
#define | Slow_digestion (HSlow_digestion || ESlow_digestion) |
#define | HHalf_spell_damage u.uprops[HALF_SPDAM].intrinsic |
#define | EHalf_spell_damage u.uprops[HALF_SPDAM].extrinsic |
#define | Half_spell_damage (HHalf_spell_damage || EHalf_spell_damage) |
#define | HHalf_physical_damage u.uprops[HALF_PHDAM].intrinsic |
#define | EHalf_physical_damage u.uprops[HALF_PHDAM].extrinsic |
#define | Half_physical_damage (HHalf_physical_damage || EHalf_physical_damage) |
#define | HRegeneration u.uprops[REGENERATION].intrinsic |
#define | ERegeneration u.uprops[REGENERATION].extrinsic |
#define | Regeneration |
#define | HEnergy_regeneration u.uprops[ENERGY_REGENERATION].intrinsic |
#define | EEnergy_regeneration u.uprops[ENERGY_REGENERATION].extrinsic |
#define | Energy_regeneration (HEnergy_regeneration || EEnergy_regeneration) |
#define | HProtection u.uprops[PROTECTION].intrinsic |
#define | EProtection u.uprops[PROTECTION].extrinsic |
#define | Protection (HProtection || EProtection) |
#define | HProtection_from_shape_changers u.uprops[PROT_FROM_SHAPE_CHANGERS].intrinsic |
#define | EProtection_from_shape_changers u.uprops[PROT_FROM_SHAPE_CHANGERS].extrinsic |
#define | Protection_from_shape_changers |
#define | HPolymorph u.uprops[POLYMORPH].intrinsic |
#define | EPolymorph u.uprops[POLYMORPH].extrinsic |
#define | Polymorph (HPolymorph || EPolymorph) |
#define | HPolymorph_control u.uprops[POLYMORPH_CONTROL].intrinsic |
#define | EPolymorph_control u.uprops[POLYMORPH_CONTROL].extrinsic |
#define | Polymorph_control (HPolymorph_control || EPolymorph_control) |
#define | HUnchanging u.uprops[UNCHANGING].intrinsic |
#define | EUnchanging u.uprops[UNCHANGING].extrinsic |
#define | Unchanging (HUnchanging || EUnchanging) |
#define | HFast u.uprops[FAST].intrinsic |
#define | EFast u.uprops[FAST].extrinsic |
#define | Fast (HFast || EFast) |
#define | Very_fast ((HFast & ~INTRINSIC) || EFast) |
#define | EReflecting u.uprops[REFLECTING].extrinsic |
#define | Reflecting |
#define | Free_action u.uprops[FREE_ACTION].extrinsic |
#define | Fixed_abil u.uprops[FIXED_ABIL].extrinsic |
#define | Lifesaved u.uprops[LIFESAVED].extrinsic |
#define Acid_resistance (EAcid_resistance || resists_acid(&youmonst)) |
Referenced by dip(), eatcorpse(), edibility_prompts(), enlightenment(), explode(), get_wet(), gulpmu(), hitmu(), passive(), peffects(), potionhit(), thitu(), and zhitu().
#define Adornment u.uprops[ADORNED].extrinsic |
Referenced by enlightenment(), and steal().
#define Aggravate_monster (HAggravate_monster || EAggravate_monster) |
Referenced by abuse_dog(), disturb(), and enlightenment().
#define Amphibious |
(HMagical_breathing || EMagical_breathing || \ amphibious(youmonst.data))
Referenced by badpos(), drown(), e_survives_at(), enlightenment(), experience(), goodpos(), gulpmu(), and hitmu().
#define Antimagic |
(EAntimagic || \ (Upolyd && resists_magm(&youmonst)))
Referenced by angrygods(), cancel_monst(), cast_cleric_spell(), cast_wizard_spell(), castmu(), cursed_book(), dotrap(), enlightenment(), explode(), hitmu(), level_tele_trap(), Mb_hit(), mbhitm(), passive(), potionhit(), rndcurse(), spec_applies(), tele_trap(), touch_artifact(), zapyourself(), and zhitu().
#define BClairvoyant u.uprops[CLAIRVOYANT].blocked |
Referenced by exerper(), moveloop(), and spelleffects().
#define BInvis u.uprops[INVIS].blocked |
Referenced by arti_invoke(), cpostfx(), eataccessory(), enlightenment(), nh_timeout(), peffects(), Ring_off_or_gone(), Ring_on(), and zapyourself().
#define Blind |
((Blinded || Blindfolded || !haseyes(youmonst.data)) && \ !(ublindf && ublindf->oartifact == ART_EYES_OF_THE_OVERWORLD))
Referenced by activate_statue_trap(), angry_guards(), angrygods(), Armor_off(), Armor_on(), arti_invoke(), artifact_hit(), at_your_feet(), attack_checks(), attrcurse(), bagotricks(), bhitm(), Blindf_off(), Blindf_on(), bot2(), boulder_hits_pool(), breaks(), burn_object(), buzz(), cancel_item(), cancel_monst(), cast_cleric_spell(), cast_protection(), catch_lit(), check_special_room(), chest_shatter_msg(), chest_trap(), chwepon(), Cloak_off(), Cloak_on(), consume_offering(), convert_arg(), cpostfx(), cursed_book(), damageum(), demon_talk(), destroy_item(), dig(), dig_up_grave(), dip(), dipfountain(), djinni_from_bottle(), doaltarobj(), doapply(), dochat(), doclose(), dofindgem(), dofiretrap(), dogaze(), dokick(), domagictrap(), domove(), done(), dopay(), dopickup(), dopray(), doread(), dorub(), dosacrifice(), dosearch0(), dotrap(), dowaterdemon(), dowaternymph(), dowatersnakes(), dowrite(), dozap(), drinkfountain(), drop_ball(), dropy(), eataccessory(), engrave(), erode_obj(), explmu(), fall_through(), fig_transform(), final_level(), find_trap(), findtravelpath(), fire_damage(), fix_worst_trouble(), flooreffects(), fpostfx(), gazemu(), gem_accept(), get_wet(), ghost_from_bottle(), givit(), god_zaps_you(), goto_level(), gulpmu(), Helmet_on(), hero_breaks(), hitmsg(), hitmu(), hmon_hitmon(), hold_another_object(), inside_gas_cloud(), intemple(), intervene(), invocation_message(), kick_object(), level_tele_trap(), light_cocktail(), litroom(), look_here(), lookaround(), lookat(), m_throw(), make_blinded(), make_corpse(), make_hallucinated(), maybe_tutorial(), mbag_item_gone(), mkcavepos(), move_bc(), moveloop(), moverock(), mpickobj(), mswings(), mswingsm(), nh_timeout(), nohandglow(), openit(), opentin(), outrumor(), p_glow1(), p_glow2(), passive(), passiveum(), peffects(), pick_lock(), pickup_object(), pleased(), polyman(), polymon(), potionbreathe(), punish(), read_engr_at(), ready_weapon(), recharge(), resists_blnd(), revive_corpse(), Ring_off_or_gone(), Ring_on(), rndcurse(), rottenfood(), rust_dmg(), seffects(), setuwep(), slime_dialogue(), slip_or_trip(), snuff_candle(), snuff_lit(), spoteffects(), steal(), stumble_onto_mimic(), summon_minion(), test_move(), thitu(), throwit(), toss_up(), u_entered_shop(), under_water(), unplacebc(), untrap(), untrap_prob(), use_candelabrum(), use_cream_pie(), use_crystal_ball(), use_lamp(), use_mirror(), use_stethoscope(), use_stone(), use_trap(), ustatusline(), uwepgone(), vision_recalc(), water_prayer(), will_feel_cockatrice(), x_monnam(), xkilled(), xname(), zap_dig(), zap_over_floor(), zap_updown(), zapnodir(), and zapyourself().
#define Blind_telepat |
Referenced by attack_checks(), attrcurse(), Blindf_off(), Blindf_on(), dochug(), dopay(), enlightenment(), hitmu(), make_blinded(), stumble_onto_mimic(), and xkilled().
#define Blinded u.uprops[BLINDED].intrinsic |
Referenced by arti_invoke(), cast_cleric_spell(), chest_shatter_msg(), cursed_book(), distant_name(), dosit(), enlightenment(), fix_attributes_and_properties(), gulpmu(), hitmu(), in_trouble(), m_throw(), make_blinded(), nh_timeout(), peffects(), polyman(), polymon(), potionbreathe(), spell_would_be_useless(), tele(), toss_up(), use_cream_pie(), use_crystal_ball(), use_towel(), ustatusline(), and wipeoff().
Referenced by can_blnd(), in_trouble(), make_blinded(), and ustatusline().
#define Breathless |
(HMagical_breathing || EMagical_breathing || \ breathless(youmonst.data))
Referenced by choke(), choke_dialogue(), dopickup(), enlightenment(), floorfood(), gulpmu(), and inside_gas_cloud().
#define BStealth u.uprops[STEALTH].blocked |
Referenced by Boots_off(), and Boots_on().
#define Clairvoyant |
((HClairvoyant || EClairvoyant) &&\ !BClairvoyant)
Referenced by enlightenment(), and moveloop().
#define Cold_resistance |
(HCold_resistance || ECold_resistance || \ resists_cold(&youmonst))
Referenced by castmu(), domove(), dosit(), enlightenment(), explmu(), explode(), gulpmu(), hitmu(), passive(), spec_applies(), zapyourself(), and zhitu().
#define Conflict (HConflict || EConflict) |
Referenced by abuse_dog(), dochug(), dog_move(), domove(), enlightenment(), final_level(), goto_level(), jump(), m_move(), mattackm(), mattacku(), movemon(), pri_move(), and shk_move().
#define Confusion HConfusion |
Referenced by attack_checks(), bot2(), cast_cleric_spell(), do_improvisation(), dochugw(), dogaze(), doloot(), domove(), doread(), dotele(), doturn(), e_jumps(), engrave(), enlightenment(), exerper(), fix_attributes_and_properties(), food_detect(), gazemu(), getdir(), hitmu(), learn(), level_tele(), losespells(), maybe_tutorial(), peffects(), potionbreathe(), seffects(), show_map_spot(), spelleffects(), study_book(), test_move(), throw_obj(), throwit(), unfixable_trouble_count(), untrap(), untrap_prob(), use_pick_axe2(), use_stethoscope(), use_whip(), and ustatusline().
#define Detect_monsters (HDetect_monsters || EDetect_monsters) |
Referenced by enlightenment(), lookat(), newsym(), and peffects().
#define Disint_resistance |
(HDisint_resistance || EDisint_resistance || \ resists_disint(&youmonst))
Referenced by enlightenment(), explode(), god_zaps_you(), gulpmu(), gulpum(), hitmu(), and zhitu().
#define Displaced EDisplaced |
Referenced by cast_cleric_spell(), cast_wizard_spell(), castmu(), cursetxt(), enlightenment(), mfndpos(), pri_move(), set_apparxy(), shk_move(), and wildmiss().
#define Drain_resistance |
(HDrain_resistance || EDrain_resistance || \ resists_drli(&youmonst))
Referenced by enlightenment(), hitmu(), spec_applies(), and zapyourself().
#define EAcid_resistance u.uprops[ACID_RES].extrinsic |
Referenced by Cloak_off(), and Cloak_on().
#define EAggravate_monster u.uprops[AGGRAVATE_MONSTER].extrinsic |
#define EAntimagic u.uprops[ANTIMAGIC].extrinsic |
Referenced by set_artifact_intrinsic().
#define EClairvoyant u.uprops[CLAIRVOYANT].extrinsic |
#define ECold_resistance u.uprops[COLD_RES].extrinsic |
Referenced by set_artifact_intrinsic().
#define EConflict u.uprops[CONFLICT].extrinsic |
Referenced by gethungry().
#define EDetect_monsters u.uprops[DETECT_MONSTERS].extrinsic |
#define EDisint_resistance u.uprops[DISINT_RES].extrinsic |
Referenced by god_zaps_you(), and set_artifact_intrinsic().
#define EDisplaced u.uprops[DISPLACED].extrinsic |
Referenced by set_artifact_intrinsic().
#define EDrain_resistance u.uprops[DRAIN_RES].extrinsic |
#define EEnergy_regeneration u.uprops[ENERGY_REGENERATION].extrinsic |
Referenced by set_artifact_intrinsic().
#define EFast u.uprops[FAST].extrinsic |
#define EFire_resistance u.uprops[FIRE_RES].extrinsic |
Referenced by set_artifact_intrinsic().
#define EFlying u.uprops[FLYING].extrinsic |
#define EFumbling u.uprops[FUMBLING].extrinsic |
Referenced by Boots_off(), and Gloves_off().
#define EHalf_physical_damage u.uprops[HALF_PHDAM].extrinsic |
Referenced by set_artifact_intrinsic().
#define EHalf_spell_damage u.uprops[HALF_SPDAM].extrinsic |
Referenced by set_artifact_intrinsic().
#define EHalluc_resistance u.uprops[HALLUC_RES].extrinsic |
Referenced by make_hallucinated(), and x_monnam().
#define EHunger u.uprops[HUNGER].extrinsic |
#define EInfravision u.uprops[INFRAVISION].extrinsic |
#define EInvis u.uprops[INVIS].extrinsic |
Referenced by Cloak_on(), eataccessory(), and enlightenment().
#define EJumping u.uprops[JUMPING].extrinsic |
Referenced by jump().
#define ELevitation u.uprops[LEVITATION].extrinsic |
Referenced by dodown(), and float_down().
#define EMagical_breathing u.uprops[MAGICAL_BREATHING].extrinsic |
#define Energy_regeneration (HEnergy_regeneration || EEnergy_regeneration) |
Referenced by moveloop().
#define EPasses_walls u.uprops[PASSES_WALLS].extrinsic |
#define EPoison_resistance u.uprops[POISON_RES].extrinsic |
Referenced by set_artifact_intrinsic().
#define EPolymorph u.uprops[POLYMORPH].extrinsic |
#define EPolymorph_control u.uprops[POLYMORPH_CONTROL].extrinsic |
#define EProtection u.uprops[PROTECTION].extrinsic |
#define EProtection_from_shape_changers u.uprops[PROT_FROM_SHAPE_CHANGERS].extrinsic |
#define EReflecting u.uprops[REFLECTING].extrinsic |
Referenced by god_zaps_you(), set_artifact_intrinsic(), and ureflects().
#define ERegeneration u.uprops[REGENERATION].extrinsic |
Referenced by gethungry(), and set_artifact_intrinsic().
#define ESearching u.uprops[SEARCHING].extrinsic |
Referenced by set_artifact_intrinsic().
#define ESee_invisible u.uprops[SEE_INVIS].extrinsic |
Referenced by eataccessory().
#define EShock_resistance u.uprops[SHOCK_RES].extrinsic |
Referenced by set_artifact_intrinsic().
#define ESleep_resistance u.uprops[SLEEP_RES].extrinsic |
#define ESleeping u.uprops[SLEEPING].extrinsic |
Referenced by Amulet_off().
#define ESlow_digestion u.uprops[SLOW_DIGESTION].extrinsic |
#define EStealth u.uprops[STEALTH].extrinsic |
#define EStone_resistance u.uprops[STONE_RES].extrinsic |
#define ESwimming u.uprops[SWIMMING].extrinsic |
#define ETelepat u.uprops[TELEPAT].extrinsic |
Referenced by set_artifact_intrinsic().
#define ETeleport_control u.uprops[TELEPORT_CONTROL].extrinsic |
Referenced by set_artifact_intrinsic().
#define ETeleportation u.uprops[TELEPORT].extrinsic |
#define EUnchanging u.uprops[UNCHANGING].extrinsic |
#define EWarn_of_mon u.uprops[WARN_OF_MON].extrinsic |
Referenced by set_artifact_intrinsic().
#define EWarning u.uprops[WARNING].extrinsic |
Referenced by set_artifact_intrinsic().
#define EWounded_legs u.uprops[WOUNDED_LEGS].extrinsic |
Referenced by dokick(), heal_legs(), set_wounded_legs(), and weight_cap().
#define Fast (HFast || EFast) |
Referenced by Boots_off(), enlightenment(), moveloop(), nh_timeout(), peffects(), potionbreathe(), shk_move(), u_entered_shop(), u_slow_down(), ustatusline(), and zapyourself().
#define Fire_resistance |
(HFire_resistance || EFire_resistance || \ resists_fire(&youmonst))
Referenced by boulder_hits_pool(), cast_cleric_spell(), castmu(), destroy_item(), dofiretrap(), dosit(), enlightenment(), explmu(), explode(), gazemu(), gulpmu(), hitmu(), lava_effects(), passive(), peffects(), seffects(), spec_applies(), use_offensive(), zapyourself(), and zhitu().
#define Fixed_abil u.uprops[FIXED_ABIL].extrinsic |
Referenced by adjattrib(), enlightenment(), and peffects().
#define Flying (EFlying || is_flyer(youmonst.data)) |
Referenced by badpos(), Boots_off(), digactualhole(), dighole(), do_earthquake(), domove(), dopickup(), dotrap(), e_survives_at(), enlightenment(), fall_through(), float_down(), flooreffects(), floorfood(), goodpos(), goto_level(), hitmu(), invocation_message(), level_tele(), lookaround(), minliquid(), polymon(), polyself(), readobjnam(), seffects(), spoteffects(), test_move(), and weight_cap().
#define Free_action u.uprops[FREE_ACTION].extrinsic |
Referenced by cast_cleric_spell(), cast_wizard_spell(), chest_trap(), dogaze(), enlightenment(), hitmu(), passive(), peffects(), potionbreathe(), and use_mirror().
#define Fumbling (HFumbling || EFumbling) |
Referenced by boomhit(), dig(), dotrap(), e_jumps(), enlightenment(), exerper(), goto_level(), hold_another_object(), joust(), kick_monster(), kick_object(), nh_timeout(), set_trap(), test_move(), throwit(), untrap(), untrap_prob(), use_grease(), use_trap(), and use_whip().
#define Glib u.uprops[GLIB].intrinsic |
Referenced by can_twoweapon(), dip(), dowrite(), eatcorpse(), enlightenment(), moveloop(), opentin(), polymon(), select_off(), start_tin(), use_grease(), use_towel(), use_whip(), and ustatusline().
#define HAggravate_monster u.uprops[AGGRAVATE_MONSTER].intrinsic |
Referenced by attrcurse(), cprefx(), dosacrifice(), and maybe_cannibal().
#define Half_physical_damage (HHalf_physical_damage || EHalf_physical_damage) |
Referenced by bagotricks(), cast_cleric_spell(), corpse_chance(), doloot(), dotrap(), explmu(), explode(), gulpmu(), hitmu(), poisoned(), spoteffects(), thitu(), and toss_up().
#define Half_spell_damage (HHalf_spell_damage || EHalf_spell_damage) |
Referenced by cast_cleric_spell(), cast_wizard_spell(), castmu(), dochug(), mbhitm(), rndcurse(), use_offensive(), and zhitu().
#define Halluc_resistance |
Referenced by enlightenment(), and peffects().
#define Hallucination (HHallucination && !Halluc_resistance) |
Referenced by angrygods(), arti_invoke(), attack_checks(), attrcurse(), bagotricks(), bhitm(), bot2(), burn_object(), cast_cleric_spell(), cast_wizard_spell(), chest_trap(), consume_offering(), cpostfx(), create_camera_demon(), cuss(), destroy_drawbridge(), dig_up_grave(), dip(), display_monster(), display_warning(), distant_monnam(), do_entity(), do_genocide(), do_improvisation(), do_mname(), doaltarobj(), dochug(), dochugw(), dog_hunger(), dogaze(), doloot(), domagictrap(), domove(), done_in_by(), dopotion(), doread(), dosacrifice(), dosounds(), dotrap(), dowatersnakes(), drown(), e_died(), eataccessory(), eatcorpse(), eatspecial(), engrave(), enlightenment(), exerper(), explmu(), fix_attributes_and_properties(), fix_petrification(), fix_worst_trouble(), float_down(), float_up(), flooreffects(), fprefx(), gazemu(), ghost_from_bottle(), givit(), goto_level(), growl(), gulpmu(), halu_gname(), hcolor(), Helmet_on(), in_trouble(), intemple(), its_dead(), kick_object(), lantern_message(), launch_obj(), lookat(), make_blinded(), make_confused(), make_stunned(), maybe_tutorial(), Mb_hit(), mon_consume_unstone(), monkilled(), monster_detect(), monster_nearby(), moveloop(), new_were(), newuhs(), observe_quantum_cat(), opentin(), peffects(), pleased(), potionhit(), precheck(), priestname(), rndcolor(), rottenfood(), seffects(), self_invis_message(), sense_trap(), setmangry(), slime_dialogue(), slip_or_trip(), strange_feeling(), test_move(), throwit(), untrap(), untrap_prob(), use_cream_pie(), use_crystal_ball(), use_magic_whistle(), use_mirror(), use_misc(), use_stone(), water_prayer(), whimper(), x_monnam(), xkilled(), yelp(), and zap_updown().
#define HClairvoyant u.uprops[CLAIRVOYANT].intrinsic |
Referenced by exerper(), and priest_talk().
#define HCold_resistance u.uprops[COLD_RES].intrinsic |
Referenced by attrcurse(), and givit().
#define HConflict u.uprops[CONFLICT].intrinsic |
Referenced by gethungry().
#define HConfusion u.uprops[CONFUSION].intrinsic |
Referenced by cast_cleric_spell(), cpostfx(), cursed_book(), domagictrap(), dosit(), fix_attributes_and_properties(), gazemu(), hitmu(), in_trouble(), make_confused(), Mb_hit(), nh_timeout(), peffects(), potionbreathe(), rottenfood(), seffects(), use_crystal_ball(), use_mirror(), and vomiting_dialogue().
#define HDetect_monsters u.uprops[DETECT_MONSTERS].intrinsic |
Referenced by peffects().
#define HDisint_resistance u.uprops[DISINT_RES].intrinsic |
Referenced by givit().
#define HDrain_resistance u.uprops[DRAIN_RES].intrinsic |
#define HEnergy_regeneration u.uprops[ENERGY_REGENERATION].intrinsic |
#define HFast u.uprops[FAST].intrinsic |
Referenced by attrcurse(), Boots_on(), cpostfx(), gazemu(), hitmu(), peffects(), pleased(), potionbreathe(), slime_dialogue(), stoned_dialogue(), u_slow_down(), and zapyourself().
#define HFire_resistance u.uprops[FIRE_RES].intrinsic |
Referenced by attrcurse(), and givit().
#define HFumbling u.uprops[FUMBLING].intrinsic |
Referenced by Boots_off(), Boots_on(), domove(), Gloves_off(), Gloves_on(), and nh_timeout().
#define HHalf_physical_damage u.uprops[HALF_PHDAM].intrinsic |
#define HHalf_spell_damage u.uprops[HALF_SPDAM].intrinsic |
#define HHallucination u.uprops[HALLUC].intrinsic |
#define HHunger u.uprops[HUNGER].intrinsic |
#define HInfravision u.uprops[INFRAVISION].intrinsic |
#define HInvis u.uprops[INVIS].intrinsic |
Referenced by attrcurse(), Cloak_off(), Cloak_on(), cpostfx(), enlightenment(), peffects(), Ring_on(), and zapyourself().
#define HLevitation u.uprops[LEVITATION].intrinsic |
Referenced by badpos(), Boots_off(), Boots_on(), dodown(), eataccessory(), float_down(), goodpos(), peffects(), and Ring_on().
#define HMagical_breathing u.uprops[MAGICAL_BREATHING].intrinsic |
#define HPasses_walls u.uprops[PASSES_WALLS].intrinsic |
#define HPoison_resistance u.uprops[POISON_RES].intrinsic |
Referenced by attrcurse(), and givit().
#define HPolymorph u.uprops[POLYMORPH].intrinsic |
#define HPolymorph_control u.uprops[POLYMORPH_CONTROL].intrinsic |
#define HProtection u.uprops[PROTECTION].intrinsic |
Referenced by attrcurse(), eataccessory(), enlightenment(), find_ac(), pleased(), and priest_talk().
#define HProtection_from_shape_changers u.uprops[PROT_FROM_SHAPE_CHANGERS].intrinsic |
#define HRegeneration u.uprops[REGENERATION].intrinsic |
Referenced by exerper(), gethungry(), and Ring_on().
#define HSearching u.uprops[SEARCHING].intrinsic |
#define HSee_invisible u.uprops[SEE_INVIS].intrinsic |
Referenced by attrcurse(), cpostfx(), dosit(), drinkfountain(), peffects(), postadjabil(), and Ring_on().
#define HShock_resistance u.uprops[SHOCK_RES].intrinsic |
Referenced by givit().
#define HSick_resistance u.uprops[SICK_RES].intrinsic |
#define HSleep_resistance u.uprops[SLEEP_RES].intrinsic |
Referenced by eataccessory(), and givit().
#define HSleeping u.uprops[SLEEPING].intrinsic |
Referenced by Amulet_off(), Amulet_on(), eataccessory(), and nh_timeout().
#define HSlow_digestion u.uprops[SLOW_DIGESTION].intrinsic |
#define HStealth u.uprops[STEALTH].intrinsic |
Referenced by attrcurse(), Boots_off(), Boots_on(), and pleased().
#define HStun u.uprops[STUNNED].intrinsic |
#define HSwimming u.uprops[SWIMMING].intrinsic |
#define HTelepat u.uprops[TELEPAT].intrinsic |
Referenced by attrcurse(), givit(), pleased(), and xkilled().
#define HTeleport_control u.uprops[TELEPORT_CONTROL].intrinsic |
Referenced by givit().
#define HTeleportation u.uprops[TELEPORT].intrinsic |
Referenced by attrcurse(), and givit().
#define HUnchanging u.uprops[UNCHANGING].intrinsic |
Referenced by savelife().
#define HUndead_warning u.uprops[WARN_UNDEAD].intrinsic |
#define Hunger (HHunger || EHunger) |
Referenced by enlightenment(), and gethungry().
#define HWarn_of_mon u.uprops[WARN_OF_MON].intrinsic |
#define HWarning u.uprops[WARNING].intrinsic |
Referenced by postadjabil().
#define HWounded_legs u.uprops[WOUNDED_LEGS].intrinsic |
Referenced by heal_legs(), and set_wounded_legs().
#define Infravision |
(HInfravision || EInfravision || \ infravision(youmonst.data))
Referenced by Blindf_off(), Blindf_on(), enlightenment(), lookat(), and make_blinded().
#define Invis |
Referenced by block_door(), block_entry(), Cloak_off(), could_seduce(), cpostfx(), cursetxt(), distfleeck(), dogaze(), eataccessory(), enlightenment(), lookat(), m_move(), mattacku(), mfndpos(), nh_timeout(), passiveum(), pay_for_damage(), peffects(), potionbreathe(), pri_move(), Ring_off_or_gone(), Ring_on(), set_apparxy(), shk_move(), u_entered_shop(), ustatusline(), wildmiss(), and zapyourself().
#define Invisible (Invis && !See_invisible) |
Referenced by cast_cleric_spell(), cast_wizard_spell(), castmu(), drinkfountain(), end_engulf(), enlightenment(), lookat(), peffects(), Ring_off_or_gone(), start_engulf(), and use_mirror().
#define Invulnerable u.uprops[INVULNERABLE].intrinsic |
Referenced by enlightenment(), and explode().
#define Jumping (HJumping || EJumping) |
Referenced by enlightenment(), and jump().
#define Lev_at_will |
(((HLevitation & I_SPECIAL) != 0L || \ (ELevitation & W_ARTI) != 0L) && \ (HLevitation & ~(I_SPECIAL|TIMEOUT)) == 0L && \ (ELevitation & ~W_ARTI) == 0L && \ !is_floater(youmonst.data))
Referenced by enlightenment(), and float_up().
#define Levitation |
(HLevitation || ELevitation || \ is_floater(youmonst.data))
Referenced by at_your_feet(), Boots_off(), can_reach_floor(), digactualhole(), dighole(), dipfountain(), do_earthquake(), dodip(), dodown(), dodrink(), dokick(), domove(), dosit(), dospinweb(), dotrap(), drag_ball(), drinkfountain(), drop_ball(), dropy(), e_missed(), e_survives_at(), eataccessory(), engrave(), enlightenment(), fall_through(), feel_location(), float_down(), flooreffects(), goto_level(), hitmu(), invocation_message(), jump(), kick_monster(), level_tele(), level_tele_trap(), lookaround(), minliquid(), moverock(), nh_timeout(), peffects(), pick_lock(), polyman(), polymon(), polyself(), readobjnam(), recalc_mapseen(), Ring_off_or_gone(), rottenfood(), seffects(), spoteffects(), test_move(), throwit(), use_pick_axe2(), use_trap(), use_whip(), weight_cap(), and zap_updown().
#define Lifesaved u.uprops[LIFESAVED].extrinsic |
Referenced by done(), enlightenment(), and lava_effects().
#define maybe_polyd | ( | if_so, | |
if_not | |||
) | (Upolyd ? (if_so) : (if_not)) |
Referenced by damageum(), domonnoise(), find_roll_to_hit(), fprefx(), peffects(), potionbreathe(), and thitmonst().
#define Passes_walls |
(HPasses_walls || EPasses_walls || \ passes_walls(youmonst.data))
Referenced by automiss(), digactualhole(), dotrap(), drop_boulder_on_player(), e_survives_at(), enlightenment(), findtravelpath(), flooreffects(), hurtle_step(), in_trouble(), kick_object(), polyman(), polymon(), repair_damage(), test_move(), try_disarm(), and zap_over_floor().
#define Poison_resistance |
(HPoison_resistance || EPoison_resistance || \ resists_poison(&youmonst))
Referenced by cursed_book(), doeat(), drinkfountain(), eatcorpse(), edibility_prompts(), enlightenment(), explode(), givit(), inside_gas_cloud(), peffects(), poisoned(), and spec_applies().
#define Polymorph (HPolymorph || EPolymorph) |
Referenced by enlightenment(), and moveloop().
#define Polymorph_control (HPolymorph_control || EPolymorph_control) |
Referenced by enlightenment(), newman(), polyself(), you_unwere(), and you_were().
#define Protection (HProtection || EProtection) |
Referenced by enlightenment().
#define Protection_from_shape_changers |
Referenced by attack_checks(), display_monster(), doclose(), domove(), enlightenment(), hitmu(), makemon(), potionhit(), restore_cham(), untrap(), use_whip(), were_change(), and were_summon().
#define Punished (uball) |
Referenced by angrygods(), attack(), Blindf_off(), Blindf_on(), chest_trap(), clear_fcorr(), domove(), doremove(), dotrap(), drown(), emergency_disrobe(), feel_location(), float_down(), forget(), goto_level(), gulpmu(), hurtle(), in_trouble(), litroom(), make_blinded(), move_into_trap(), movebubbles(), polymon(), punish(), repair_damage(), seffects(), teleds(), unstuck(), and zapyourself().
#define Reflecting |
(EReflecting || \ (youmonst.data == &mons[PM_SILVER_DRAGON]))
Referenced by buzz(), enlightenment(), find_offensive(), gazemu(), and god_zaps_you().
#define Regeneration |
(HRegeneration || ERegeneration || \ regenerates(youmonst.data))
Referenced by enlightenment(), and moveloop().
#define Searching (HSearching || ESearching) |
Referenced by enlightenment(), and moveloop().
#define See_invisible |
(HSee_invisible || ESee_invisible || \ perceives(youmonst.data))
Referenced by cast_wizard_spell(), Cloak_off(), Cloak_on(), could_seduce(), dip(), do_mname(), does_block(), dogaze(), eataccessory(), enlightenment(), find_misc(), look_here(), lookaround(), lookat(), m_dowear_type(), newsym(), nh_timeout(), pickup_object(), potionbreathe(), remove_monster(), Ring_off_or_gone(), rnd_misc_item(), self_invis_message(), set_mimic_blocking(), set_mimic_sym(), spell_would_be_useless(), stumble_onto_mimic(), use_mirror(), and use_misc().
#define Shock_resistance |
(HShock_resistance || EShock_resistance || \ resists_elec(&youmonst))
Referenced by cast_cleric_spell(), chest_trap(), destroy_item(), dosit(), enlightenment(), explmu(), explode(), god_zaps_you(), gulpmu(), hitmu(), passive(), spec_applies(), zapyourself(), and zhitu().
#define Sick u.uprops[SICK].intrinsic |
Referenced by arti_invoke(), bot2(), diseasemu(), eatcorpse(), enlightenment(), exerper(), fix_attributes_and_properties(), fpostfx(), hitmu(), hmonas(), in_trouble(), make_sick(), maybe_tutorial(), newman(), polymon(), savelife(), spelleffects(), unfixable_trouble_count(), use_mirror(), and ustatusline().
#define Sick_resistance |
(HSick_resistance || \ youmonst.data->mlet == S_FUNGUS || \ youmonst.data == &mons[PM_GHOUL] || \ defends(AD_DISE,uwep))
Referenced by diseasemu(), eatcorpse(), edibility_prompts(), enlightenment(), hmonas(), make_sick(), and polymon().
#define Sleep_resistance |
(HSleep_resistance || ESleep_resistance || \ resists_sleep(&youmonst))
Referenced by breamu(), dotrap(), eataccessory(), enlightenment(), gazemu(), hitmu(), nh_timeout(), peffects(), potionbreathe(), zapyourself(), and zhitu().
#define Sleeping (HSleeping || ESleeping) |
Referenced by e_jumps(), e_missed(), enlightenment(), and nh_timeout().
#define Slimed u.uprops[SLIMED].intrinsic |
Referenced by Amulet_on(), arti_invoke(), artifact_hit(), bite_monster(), bot2(), burn_away_slime(), cprefx(), damageum(), enlightenment(), fix_worst_trouble(), gulpum(), hitmu(), in_trouble(), maybe_tutorial(), newman(), nh_timeout(), polymon(), slime_dialogue(), spelleffects(), unfixable_trouble_count(), and ustatusline().
#define Slow_digestion (HSlow_digestion || ESlow_digestion) |
Referenced by enlightenment(), gethungry(), gulpmu(), and gulpum().
#define Stealth ((HStealth || EStealth) && !BStealth) |
Referenced by check_special_room(), disturb(), enlightenment(), and noisy_hit().
#define Stone_resistance (EStone_resistance || resists_ston(&youmonst)) |
Referenced by can_twoweapon(), cprefx(), damageum(), eatcorpse(), edibility_prompts(), enlightenment(), fpostfx(), gazemu(), gulpum(), help_monster_out(), hitmu(), in_container(), kick_object(), m_throw(), mon_break_armor(), out_container(), passive(), pickup_object(), polymon(), ready_weapon(), selftouch(), spec_applies(), throw_obj(), toss_up(), use_tinning_kit(), use_whip(), and will_feel_cockatrice().
#define Stoned u.uprops[STONED].intrinsic |
#define Strangled u.uprops[STRANGLED].intrinsic |
Referenced by Amulet_off(), Amulet_on(), choke(), choke_dialogue(), dobreathe(), dochat(), dodrink(), doeat(), enlightenment(), fix_worst_trouble(), in_trouble(), invault(), nh_timeout(), unfixable_trouble_count(), and ustatusline().
#define Stunned |
Referenced by attack_checks(), bot2(), cast_wizard_spell(), chest_trap(), domove(), e_jumps(), engrave(), enlightenment(), getdir(), joust(), level_tele(), maybe_tutorial(), passive(), tele(), test_move(), throw_obj(), throwit(), untrap_prob(), use_pick_axe2(), use_stethoscope(), use_trap(), use_whip(), ustatusline(), and zapyourself().
#define Swimming |
(HSwimming || ESwimming || \ is_swimmer(youmonst.data))
Referenced by Amulet_off(), badpos(), drown(), e_survives_at(), enlightenment(), float_down(), goodpos(), hitmu(), polymon(), polyself(), and water_friction().
#define Teleport_control |
Referenced by drown(), enlightenment(), level_tele(), seffects(), and tele().
#define Teleportation |
(HTeleportation || ETeleportation || \ can_teleport(youmonst.data))
Referenced by dotele(), drown(), enlightenment(), and moveloop().
#define Unblind_telepat (ETelepat && !BTelepat) |
Referenced by attack_checks(), hitmu(), lookat(), and moveloop().
#define Unchanging (HUnchanging || EUnchanging) |
Referenced by Amulet_on(), bite_monster(), cancel_monst(), cpostfx(), cprefx(), damageum(), do_class_genocide(), do_genocide(), dotrap(), drown(), eataccessory(), edibility_prompts(), enlightenment(), fix_worst_trouble(), gulpum(), hitmu(), in_trouble(), losehp_how(), moveloop(), nh_timeout(), peffects(), potionhit(), rehumanize(), you_unwere(), you_were(), and zapyourself().
#define Undead_warning (HUndead_warning) |
Referenced by enlightenment().
#define Underwater (u.uinwater) |
Referenced by Amulet_off(), attack_checks(), cast_protection(), ceiling(), close_drawbridge(), do_mapping(), do_play_instrument(), do_vicinity_map(), dochat(), docrt(), dodrink(), does_block(), dofiretrap(), dog_eat(), domove(), dopickup(), dosit(), dosounds(), dospinweb(), engrave(), feel_location(), flooreffects(), food_detect(), gold_detect(), hitmu(), light_cocktail(), litroom(), look_here(), mattacku(), melt_ice(), monster_detect(), moveloop(), newsym(), object_detect(), pick_lock(), pickup(), polymon(), seffects(), set_apparxy(), spoteffects(), surface(), throw_gold(), throwit(), trap_detect(), use_bell(), use_candelabrum(), use_candle(), use_lamp(), use_mirror(), use_pick_axe2(), use_stethoscope(), use_trap(), use_whip(), vision_recalc(), wildmiss(), zap_dig(), and zap_updown().
#define Very_fast ((HFast & ~INTRINSIC) || EFast) |
Referenced by Boots_off(), enlightenment(), moveloop(), nh_timeout(), peffects(), and ustatusline().
#define Vomiting u.uprops[VOMITING].intrinsic |
#define Warn_of_mon (HWarn_of_mon || EWarn_of_mon) |
Referenced by enlightenment(), and moveloop().
#define Warning (HWarning || EWarning) |
Referenced by dochugw(), enlightenment(), and moveloop().
#define Wounded_legs (HWounded_legs || EWounded_legs) |
Referenced by dokick(), enlightenment(), exerper(), heal_legs(), in_trouble(), jump(), peffects(), set_wounded_legs(), unfixable_trouble_count(), and ustatusline().
#define Wwalking |
Referenced by badpos(), dighole(), dopickup(), e_survives_at(), enlightenment(), float_down(), floorfood(), goodpos(), lava_effects(), seffects(), and spoteffects().