medbot
![code/modules/mob/living/simple_animal/bot/medbot.dm 12](git.png)
Vars | |
declare_cooldown | Prevents spam of critical patient alerts. |
---|---|
declare_crit | If active, the bot will transmit a critical patient alert to MedHUD users. |
firstaid | drop determining variable |
heal_amount | How much healing do we do at a time? |
heal_threshold | Start healing when they have this much damage in a category |
healthanalyzer | drop determining variable |
last_newpatient_speak | Don't spam the "HEY I'M COMING" messages |
last_tipping_action_voice | The last time we were tipped/righted and said a voice line, to avoid spam |
linked_techweb | techweb linked to the medbot |
shut_up | silences the medbot if TRUE |
stationary_mode | If enabled, the Medibot will not move automatically. |
tending | Is the medbot currently tending wounds |
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 |
Var Details
declare_cooldown
![code/modules/mob/living/simple_animal/bot/medbot.dm 54](git.png)
Prevents spam of critical patient alerts.
declare_crit
![code/modules/mob/living/simple_animal/bot/medbot.dm 52](git.png)
If active, the bot will transmit a critical patient alert to MedHUD users.
firstaid
![code/modules/mob/living/simple_animal/bot/medbot.dm 40](git.png)
drop determining variable
heal_amount
![code/modules/mob/living/simple_animal/bot/medbot.dm 48](git.png)
How much healing do we do at a time?
heal_threshold
![code/modules/mob/living/simple_animal/bot/medbot.dm 50](git.png)
Start healing when they have this much damage in a category
healthanalyzer
![code/modules/mob/living/simple_animal/bot/medbot.dm 38](git.png)
drop determining variable
last_newpatient_speak
![code/modules/mob/living/simple_animal/bot/medbot.dm 46](git.png)
Don't spam the "HEY I'M COMING" messages
last_tipping_action_voice
![code/modules/mob/living/simple_animal/bot/medbot.dm 69](git.png)
The last time we were tipped/righted and said a voice line, to avoid spam
linked_techweb
![code/modules/mob/living/simple_animal/bot/medbot.dm 61](git.png)
techweb linked to the medbot
shut_up
![code/modules/mob/living/simple_animal/bot/medbot.dm 59](git.png)
silences the medbot if TRUE
stationary_mode
![code/modules/mob/living/simple_animal/bot/medbot.dm 56](git.png)
If enabled, the Medibot will not move automatically.
tending
![code/modules/mob/living/simple_animal/bot/medbot.dm 63](git.png)
Is the medbot currently tending wounds
tipped_status
![code/modules/mob/living/simple_animal/bot/medbot.dm 65](git.png)
How panicked we are about being tipped over (why would you do this?)
tipper_name
![code/modules/mob/living/simple_animal/bot/medbot.dm 67](git.png)
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