Hivebot Spawn Effect Tweak (#19600)

* Most hivebots now create sparks when they teleport in, instead of
smoke. The smokescreen created by beacons remain.
* Smoke now renders over mobs again.
This commit is contained in:
Geeves
2024-07-17 21:11:13 +00:00
committed by GitHub
parent 51028a67ac
commit f7930c2524
5 changed files with 11 additions and 7 deletions
@@ -55,8 +55,7 @@
linked_parent = hivebotbeacon
if(!mapload)
new /obj/effect/effect/smoke(src.loc,30)
playsound(src.loc, 'sound/effects/EMPulse.ogg', 25, 1)
spark(get_turf(src), 2, GLOB.alldirs)
/mob/living/simple_animal/hostile/hivebot/Destroy()
if(linked_parent)
@@ -52,15 +52,13 @@
.=..()
set_light(3,2,LIGHT_COLOR_RED)
if(!mapload)
new /obj/effect/effect/smoke(src.loc,30)
playsound(src.loc, 'sound/effects/EMPulse.ogg', 25, 1)
spark(get_turf(src), 3, GLOB.alldirs)
/mob/living/simple_animal/hostile/retaliate/hivebotharvester/death()
..(null,"teleports away!")
if(linked_parent)
linked_parent.harvester_amt --
new /obj/effect/effect/smoke(src.loc,30)
playsound(src.loc, 'sound/effects/EMPulse.ogg', 25, 1)
spark(get_turf(src), 3, GLOB.alldirs)
qdel(src)
/mob/living/simple_animal/hostile/retaliate/hivebotharvester/Destroy()