mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
Merge pull request #13356 from Thunder12345/guards!guards!
Adds summon_backup() to hostile animals
This commit is contained in:
@@ -218,6 +218,14 @@
|
||||
LoseTarget()
|
||||
..(gibbed)
|
||||
|
||||
/mob/living/simple_animal/hostile/proc/summon_backup(distance)
|
||||
do_alert_animation(src)
|
||||
playsound(loc, 'sound/machines/chime.ogg', 50, 1, -1)
|
||||
for (var/mob/living/simple_animal/hostile/M in oview(distance, src))
|
||||
var/list/L = M.faction&faction
|
||||
if(L.len)
|
||||
M.Goto(src,M.move_to_delay,M.minimum_distance)
|
||||
|
||||
/mob/living/simple_animal/hostile/proc/OpenFire(atom/A)
|
||||
|
||||
visible_message("<span class='danger'><b>[src]</b> [ranged_message] at [A]!</span>")
|
||||
|
||||
@@ -102,6 +102,16 @@
|
||||
return
|
||||
|
||||
|
||||
/mob/living/simple_animal/hostile/syndicate/civilian
|
||||
minimum_distance = 10
|
||||
retreat_distance = 10
|
||||
environment_smash = 0
|
||||
|
||||
/mob/living/simple_animal/hostile/syndicate/civilian/Aggro()
|
||||
..()
|
||||
summon_backup(15)
|
||||
say("GUARDS!!")
|
||||
|
||||
|
||||
/mob/living/simple_animal/hostile/viscerator
|
||||
name = "viscerator"
|
||||
|
||||
Reference in New Issue
Block a user