mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
All credits to the author for this handy little script. I Committed the modified python script to tool directory. Although it needs to be in the root folder of your repo to work. To notice the improved compile times, in dreammaker go to Build > Preferences > and untick "automatically set file_dir for subfolders" If this commit inteferes with any large projects just revert it, do your thing, then rerun the script. Easy-peasy. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4488 316c924e-a436-60f5-8080-3fe189b3f50e
160 lines
3.0 KiB
Plaintext
160 lines
3.0 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"
|
|
|
|
|
|
|
|
// We can maybe make these controllable via some console or something
|
|
/obj/effect/critter/manhack
|
|
name = "viscerator"
|
|
desc = "A small, twin-bladed machine capable of inflicting very deadly lacerations."
|
|
icon_state = "viscerator"
|
|
pass_flags = PASSTABLE
|
|
health = 15
|
|
max_health = 15
|
|
aggressive = 1
|
|
opensdoors = 1
|
|
defensive = 1
|
|
wanderer = 1
|
|
atkcarbon = 1
|
|
atksilicon = 1
|
|
atkmech = 1
|
|
firevuln = 0 // immune to fire
|
|
brutevuln = 1
|
|
ventcrawl = 1
|
|
melee_damage_lower = 10
|
|
melee_damage_upper = 15
|
|
attacktext = "cuts"
|
|
attack_sound = 'sound/weapons/bladeslice.ogg'
|
|
chasestate = "viscerator_attack"
|
|
deathtext = "is smashed into pieces!"
|
|
|
|
Die()
|
|
..()
|
|
for(var/mob/O in viewers(src, null))
|
|
O.show_message("\red <b>[src]</b> is smashed into pieces!", 1)
|
|
del(src)
|