megafauna ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 1](git.png)
Vars | |
achievement_type | Achievement given to surrounding players when the megafauna is killed |
---|---|
anger_modifier | Modifies attacks when at lower health |
attack_action_types | Attack actions, sets chosen_attack to the number in the action |
chosen_attack | The chosen attack by the megafauna |
crusher_achievement_type | Crusher achievement given to players when megafauna is killed |
crusher_loot | Crusher loot dropped when the megafauna is killed with a crusher |
elimination | If the megafauna was actually killed (not just dying, then transforming into another type) |
gps_name | Name for the GPS signal of the megafauna |
recovery_time | Next time the megafauna can use a melee attack |
score_achievement_type | Score given to players when megafauna is killed |
summon_line | Summoning line, said when summoned via megafauna vents. |
true_spawn | If this is a megafauna that is real (has achievements, gps signal) |
Procs | |
devour | Devours a target and restores health to the megafauna |
grant_achievement | Grants medals and achievements to surrounding players |
make_virtual_megafauna | Removes all the loot and achievements from megafauna for bitrunning related |
spawn_crusher_loot | Spawns crusher loot instead of normal loot |
update_cooldowns | Sets/adds the next time the megafauna can use a melee or ranged attack, in deciseconds. It is a list to allow using named args. Use the ignore_staggered var if youre setting the cooldown to ranged_cooldown_time. |
Var Details
achievement_type ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 38](git.png)
Achievement given to surrounding players when the megafauna is killed
anger_modifier ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 46](git.png)
Modifies attacks when at lower health
attack_action_types ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 56](git.png)
Attack actions, sets chosen_attack to the number in the action
chosen_attack ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 54](git.png)
The chosen attack by the megafauna
crusher_achievement_type ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 40](git.png)
Crusher achievement given to players when megafauna is killed
crusher_loot ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 36](git.png)
Crusher loot dropped when the megafauna is killed with a crusher
elimination ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 44](git.png)
If the megafauna was actually killed (not just dying, then transforming into another type)
gps_name ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 48](git.png)
Name for the GPS signal of the megafauna
recovery_time ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 50](git.png)
Next time the megafauna can use a melee attack
score_achievement_type ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 42](git.png)
Score given to players when megafauna is killed
summon_line ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 58](git.png)
Summoning line, said when summoned via megafauna vents.
true_spawn ![code/modules/mob/living/simple_animal/hostile/megafauna/_megafauna.dm 52](git.png)
If this is a megafauna that is real (has achievements, gps signal)
Proc Details
devour
Devours a target and restores health to the megafauna
grant_achievement
Grants medals and achievements to surrounding players
make_virtual_megafauna
Removes all the loot and achievements from megafauna for bitrunning related
spawn_crusher_loot
Spawns crusher loot instead of normal loot
update_cooldowns
Sets/adds the next time the megafauna can use a melee or ranged attack, in deciseconds. It is a list to allow using named args. Use the ignore_staggered var if youre setting the cooldown to ranged_cooldown_time.