mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Ported viscerators over to simple_animal Updated spawning grenades to match. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5180 316c924e-a436-60f5-8080-3fe189b3f50e
128 lines
2.3 KiB
Plaintext
128 lines
2.3 KiB
Plaintext
/obj/effect/critter/creature
|
|
name = "creature"
|
|
desc = "A sanity-destroying otherthing."
|
|
icon_state = "otherthing"
|
|
health = 80
|
|
max_health = 80
|
|
aggressive = 1
|
|
defensive = 1
|
|
wanderer = 1
|
|
opensdoors = 1
|
|
atkcarbon = 1
|
|
atksilicon = 1
|
|
atkcritter = 1
|
|
atkmech = 1
|
|
atksame = 1
|
|
firevuln = 1
|
|
brutevuln = 1
|
|
melee_damage_lower = 25
|
|
melee_damage_upper = 50
|
|
angertext = "runs"
|
|
attacktext = "chomps"
|
|
attack_sound = 'sound/weapons/bite.ogg'
|
|
|
|
|
|
/obj/effect/critter/roach
|
|
name = "cockroach"
|
|
desc = "An unpleasant insect that lives in filthy places."
|
|
icon_state = "roach"
|
|
health = 5
|
|
max_health = 5
|
|
aggressive = 0
|
|
defensive = 1
|
|
wanderer = 1
|
|
atkcarbon = 1
|
|
atksilicon = 0
|
|
attacktext = "bites"
|
|
|
|
Die()
|
|
..()
|
|
del(src)
|
|
|
|
/obj/effect/critter/spore
|
|
name = "plasma spore"
|
|
desc = "A barely intelligent colony of organisms. Very volatile."
|
|
icon_state = "spore"
|
|
density = 1
|
|
health = 1
|
|
max_health = 1
|
|
aggressive = 0
|
|
defensive = 0
|
|
wanderer = 1
|
|
atkcarbon = 0
|
|
atksilicon = 0
|
|
firevuln = 2
|
|
brutevuln = 2
|
|
|
|
|
|
/* process()
|
|
if(prob(50))
|
|
TakeDamage(1)
|
|
..()*/
|
|
|
|
|
|
Die()
|
|
src.visible_message("<b>[src]</b> ruptures and explodes!")
|
|
src.alive = 0
|
|
var/turf/T = get_turf(src.loc)
|
|
if(T)
|
|
T.hotspot_expose(700,125)
|
|
explosion(T, -1, -1, 2, 3)
|
|
del src
|
|
|
|
|
|
ex_act(severity)
|
|
src.Die()
|
|
|
|
|
|
/obj/effect/critter/blob
|
|
name = "blob"
|
|
desc = "Some blob thing."
|
|
icon_state = "blob"
|
|
pass_flags = PASSBLOB
|
|
health = 20
|
|
max_health = 20
|
|
aggressive = 1
|
|
defensive = 0
|
|
wanderer = 1
|
|
atkcarbon = 1
|
|
atksilicon = 1
|
|
firevuln = 2
|
|
brutevuln = 0.5
|
|
melee_damage_lower = 2
|
|
melee_damage_upper = 8
|
|
angertext = "charges"
|
|
attacktext = "hits"
|
|
attack_sound = 'sound/weapons/genhit1.ogg'
|
|
var/obj/effect/blob/factory/factory = null
|
|
|
|
New(loc, var/obj/effect/blob/factory/linked_node)
|
|
if(istype(linked_node))
|
|
factory = linked_node
|
|
factory.spores += src
|
|
..(loc)
|
|
return
|
|
|
|
Die()
|
|
if(factory)
|
|
factory.spores -= src
|
|
..()
|
|
del(src)
|
|
|
|
|
|
|
|
/obj/effect/critter/lizard
|
|
name = "Lizard"
|
|
desc = "A cute tiny lizard."
|
|
icon_state = "lizard"
|
|
health = 5
|
|
max_health = 5
|
|
aggressive = 0
|
|
defensive = 1
|
|
wanderer = 1
|
|
opensdoors = 0
|
|
atkcarbon = 1
|
|
atksilicon = 1
|
|
attacktext = "bites"
|
|
|