byond - Modules - TypesVar Details - Proc Details

human

Vars

ability_listList of abilities to consider doing every Process()
acid_avoid_chatChat lines for avoiding acid
ai_chat_cooldownCooldown on chat lines, to reduce spam
ai_damage_cooldownCooldown on taking any damage (this could include DOT etc)
ai_heal_after_dam_cooldownCooldown on being attacked by something with a source, so we don't try heal right next to enemies
ai_retreat_cooldownCooldown on retreating, so we don't get stuck running forever if pursued
ai_run_cooldownCooldown on running, so we can recover stam and make the most of it
cas_avoid_chatChat lines for avoiding cas
dead_target_chatChat lines when target dies or is destroyed
default_avoid_chatChat lines for avoiding uncategorized hazards
fire_avoid_chatChat lines for avoiding fire
friendly_blocked_chatChat lines when some asshole on your team is in the way
gunCurrently equipped and ready firearm
hazard_listassoc list of hazards to avoid and the range to stay away from them
heal_listA list of mobs that might need healing
healing_chatChat lines for trying to heal
human_ai_behavior_flagsFlags that dictate this AI's behavior
human_ai_state_flagsFlags about what the AI is current doing or wanting
medical_ratingTo what level they will handle healing others
melee_weaponCurrently equipped and ready melee weapon - could also be the gun
mob_inventoryInventory datum so the mob_parent can manage its inventory
nade_avoid_chatChat lines for avoiding a live nade
nade_throw_chatChat lines for throwing a nade
nade_throw_probProbability of trying to throw a grenade during process
new_follow_chatChat lines when following a new target
new_move_chatChat lines when moving to a new target
new_target_chatChat lines when engaging a new target
no_los_chatChat lines when LOS broken
out_range_chatChat lines when target goes out of range
reloading_chatChat lines when reloading
retreating_chatChat lines for retreating on low health
self_heal_chatChat lines for trying to heal
shuttle_avoid_chatChat lines for avoiding shuttles
start_fire_chatChat lines when opening fire
unrevivable_chatChat lines for someone being perma
xeno_avoid_chatChat lines for avoiding xeno warnings

Procs

add_hazardAdds a hazard to watch for
add_to_heal_listAdds mob to list
after_equip_meleeHandles signals for equip melee
check_hazardsChecks if we are in range of any hazards
check_path_ffReturns true is a path is clear of friendlies
do_defibTries to revive a dead dude
do_equip_weaponryTries to equip weaponry, and updates behavior appropriately
do_splintTries to splint a limb
equip_gunEquips a gun
equip_meleeEquips a melee weapon
equip_weaponryTries to equip weaponry from inventory, or find some if none are available
find_weaponSearches for a weapon to pickup
get_grenadeFinds a suitable grenade to throw
grenade_processDecides if we should throw a grenade
heal_by_typeTries to heal damage of a given type
heal_damageCycles through and heals the normal damage types
heal_organsAddresses organ damage
heal_secondariesHeal other ailments
medic_processChecks if we should be healing somebody
melee_interactSig handler for physical interactions, like attacks
mob_need_healChecks if a hurt AI human needs healing
on_change_zClear the hazard list if we change z
on_heal_endOur healing ended, successfully or otherwise
on_interactee_stat_changeUnregisters a friendly target when their stat changes
on_move_toggleSets behavior on move toggle
on_other_mob_critDecides if we should do something when another mob goes crit
on_take_damageReacts if the mob is below the min health threshold
parent_being_healedSomeone is healing us
recieve_messageReacts to a heard message
refresh_abilitiesRefresh abilities-to-consider list
reload_gunTries to reload our gun
remove_from_heal_listRemoves mob from list
remove_hazardRemoves a hazard
set_runSets run move intent if able
stop_fireStops gunfire
store_handsTries to store any items in hand
throw_grenadeThrows the grenade
try_healTries healing themselves
try_heal_otherTries to heal another mob
try_interactTries to interact with something, usually nonharmfully
try_speakSays an audible message
try_store_itemTries to store an item
unequip_weaponUnequips a weapon
weapon_processWeapon stuff that happens during process

Var Details

ability_list

List of abilities to consider doing every Process()

acid_avoid_chat

Chat lines for avoiding acid

ai_chat_cooldown

Cooldown on chat lines, to reduce spam

ai_damage_cooldown

Cooldown on taking any damage (this could include DOT etc)

ai_heal_after_dam_cooldown

Cooldown on being attacked by something with a source, so we don't try heal right next to enemies

ai_retreat_cooldown

Cooldown on retreating, so we don't get stuck running forever if pursued

ai_run_cooldown

Cooldown on running, so we can recover stam and make the most of it

cas_avoid_chat

Chat lines for avoiding cas

dead_target_chat

Chat lines when target dies or is destroyed

default_avoid_chat

Chat lines for avoiding uncategorized hazards

fire_avoid_chat

Chat lines for avoiding fire

friendly_blocked_chat

Chat lines when some asshole on your team is in the way

gun

Currently equipped and ready firearm

hazard_list

assoc list of hazards to avoid and the range to stay away from them

heal_list

A list of mobs that might need healing

healing_chat

Chat lines for trying to heal

human_ai_behavior_flags

Flags that dictate this AI's behavior

human_ai_state_flags

Flags about what the AI is current doing or wanting

medical_rating

To what level they will handle healing others

melee_weapon

Currently equipped and ready melee weapon - could also be the gun

mob_inventory

Inventory datum so the mob_parent can manage its inventory

nade_avoid_chat

Chat lines for avoiding a live nade

nade_throw_chat

Chat lines for throwing a nade

nade_throw_prob

Probability of trying to throw a grenade during process

new_follow_chat

Chat lines when following a new target

new_move_chat

Chat lines when moving to a new target

new_target_chat

Chat lines when engaging a new target

no_los_chat

Chat lines when LOS broken

out_range_chat

Chat lines when target goes out of range

reloading_chat

Chat lines when reloading

retreating_chat

Chat lines for retreating on low health

self_heal_chat

Chat lines for trying to heal

shuttle_avoid_chat

Chat lines for avoiding shuttles

start_fire_chat

Chat lines when opening fire

unrevivable_chat

Chat lines for someone being perma

xeno_avoid_chat

Chat lines for avoiding xeno warnings

Proc Details

add_hazard

Adds a hazard to watch for

add_to_heal_list

Adds mob to list

after_equip_melee

Handles signals for equip melee

check_hazards

Checks if we are in range of any hazards

check_path_ff

Returns true is a path is clear of friendlies

do_defib

Tries to revive a dead dude

do_equip_weaponry

Tries to equip weaponry, and updates behavior appropriately

do_splint

Tries to splint a limb

equip_gun

Equips a gun

equip_melee

Equips a melee weapon

equip_weaponry

Tries to equip weaponry from inventory, or find some if none are available

find_weapon

Searches for a weapon to pickup

get_grenade

Finds a suitable grenade to throw

grenade_process

Decides if we should throw a grenade

heal_by_type

Tries to heal damage of a given type

heal_damage

Cycles through and heals the normal damage types

heal_organs

Addresses organ damage

heal_secondaries

Heal other ailments

medic_process

Checks if we should be healing somebody

melee_interact

Sig handler for physical interactions, like attacks

mob_need_heal

Checks if a hurt AI human needs healing

on_change_z

Clear the hazard list if we change z

on_heal_end

Our healing ended, successfully or otherwise

on_interactee_stat_change

Unregisters a friendly target when their stat changes

on_move_toggle

Sets behavior on move toggle

on_other_mob_crit

Decides if we should do something when another mob goes crit

on_take_damage

Reacts if the mob is below the min health threshold

parent_being_healed

Someone is healing us

recieve_message

Reacts to a heard message

refresh_abilities

Refresh abilities-to-consider list

reload_gun

Tries to reload our gun

remove_from_heal_list

Removes mob from list

remove_hazard

Removes a hazard

set_run

Sets run move intent if able

stop_fire

Stops gunfire

store_hands

Tries to store any items in hand

throw_grenade

Throws the grenade

try_heal

Tries healing themselves

try_heal_other

Tries to heal another mob

try_interact

Tries to interact with something, usually nonharmfully

try_speak

Says an audible message

try_store_item

Tries to store an item

unequip_weapon

Unequips a weapon

weapon_process

Weapon stuff that happens during process