medbot

Vars | |
all_phrases | Compiled list of all the phrase lists. |
---|---|
damagetype_healer | What damage type does this bot support. Set to "all" for it to heal any of the 4 base damage types |
heal_threshold | Start healing when they have this much damage in a category |
heal_time | How long it takes to inject. |
healing_reagents | Reagents to use for each healing type. |
healthanalyzer | drop determining variable |
injection_amount | How many units of reagent to inject. |
last_found | Timestamp of the last time we found a patient. |
last_newpatient_speak | Last announced trying to catch up to a new patient |
last_patient_message | Last announced healing a person in critical condition |
last_tipping_action_voice | Last time we were tipped/righted and said a voice line |
medical_mode_flags | Flags Medbots use to decide how they should be acting. |
medkit_type | drop determining variable |
previous_patient | Weakref to the last patient. The last patient is ignored for a bit when finding a new target. |
repeat_patient_cooldown | Bots must wait this long before considering the previous patient a valid target. |
skin | based off medkit_X skins in aibots.dmi for your selection; X goes here IE medskin_tox means skin var should be "tox" |
tipped_status | How panicked we are about being tipped over (why would you do this?) |
tipper_name | The name we got when we were tipped |
Procs | |
handle_panic | if someone tipped us over, check whether we should ask for help or just right ourselves eventually |
is_viable_patient | Returns a reagent to inject, if we can treat the mob. |
try_medicate_patient | Attempt to inject a patient with the goods. |
Var Details
all_phrases

Compiled list of all the phrase lists.
damagetype_healer

What damage type does this bot support. Set to "all" for it to heal any of the 4 base damage types
heal_threshold

Start healing when they have this much damage in a category
heal_time

How long it takes to inject.
healing_reagents

Reagents to use for each healing type.
healthanalyzer

drop determining variable
injection_amount

How many units of reagent to inject.
last_found

Timestamp of the last time we found a patient.
last_newpatient_speak

Last announced trying to catch up to a new patient
last_patient_message

Last announced healing a person in critical condition
last_tipping_action_voice

Last time we were tipped/righted and said a voice line
medical_mode_flags

Flags Medbots use to decide how they should be acting.
medkit_type

drop determining variable
previous_patient

Weakref to the last patient. The last patient is ignored for a bit when finding a new target.
repeat_patient_cooldown

Bots must wait this long before considering the previous patient a valid target.
skin

based off medkit_X skins in aibots.dmi for your selection; X goes here IE medskin_tox means skin var should be "tox"
tipped_status

How panicked we are about being tipped over (why would you do this?)
tipper_name

The name we got when we were tipped
Proc Details
handle_panic
if someone tipped us over, check whether we should ask for help or just right ourselves eventually
is_viable_patient
Returns a reagent to inject, if we can treat the mob.
try_medicate_patient
Attempt to inject a patient with the goods.