mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-07-20 20:22:20 +01:00
@@ -66,4 +66,36 @@
|
||||
icon_state = "critter"
|
||||
icon_living = "critter"
|
||||
icon_dead = "critter_dead"
|
||||
attackv = "swoops"
|
||||
attackv = "swoops"
|
||||
|
||||
// Holographic carp for the holodeck
|
||||
|
||||
/mob/living/simple_animal/hostile/carp/hologram
|
||||
name = "space carp"
|
||||
desc = "A solid light image of a ferocious, fang-bearing creature resembling a fish. It flickers inconsistently but appears to be able to affect solid matter."
|
||||
icon_state = "holocarp"
|
||||
icon_living = "holocarp"
|
||||
icon_dead = "carp_dead"
|
||||
icon_gib = "carp_gib"
|
||||
meat_type = null
|
||||
var/datum/effect/effect/system/spark_spread/spark_system // for when they die
|
||||
|
||||
|
||||
/mob/living/simple_animal/hostile/carp/hologram/New(loc)
|
||||
. = ..(loc)
|
||||
spark_system = new /datum/effect/effect/system/spark_spread()
|
||||
spark_system.set_up(5, 0, src)
|
||||
spark_system.attach(src)
|
||||
|
||||
|
||||
/mob/living/simple_animal/hostile/carp/hologram/death()
|
||||
src.spark_system.start() // sparks for holograms! Hurray!
|
||||
stat = DEAD
|
||||
density = 0
|
||||
. = ..()
|
||||
src.visible_message("[src] sparks and then flickers out of existence.")
|
||||
del(src)
|
||||
|
||||
|
||||
/mob/living/simple_animal/hostile/carp/hologram/gib()
|
||||
return death()
|
||||
Reference in New Issue
Block a user