mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
-Redid icons to be more optimized at compile by setting icon = 'icons/folder/icon.dmi' instead of just icon = 'icon.dmi', meaning that Dream Maker doesn't have to search through every single file for every single .dmi. This shouldn't lead to any errors because of how I went about it, plus the fact that Dream Maker would have freaked out if I screwed something up. Also moved around 2 icons that weren't sorted well. r4146 compile time: 1 minute, 40 seconds r4147 compile time: 45 seconds [VGTG] git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4147 316c924e-a436-60f5-8080-3fe189b3f50e
34 lines
507 B
Plaintext
34 lines
507 B
Plaintext
/obj/effect/blob/node
|
|
name = "blob node"
|
|
icon = 'icons/mob/blob.dmi'
|
|
icon_state = "blob_node"
|
|
health = 100
|
|
brute_resist = 1
|
|
fire_resist = 2
|
|
|
|
|
|
New(loc, var/h = 100)
|
|
blobs += src
|
|
blob_nodes += src
|
|
processing_objects.Add(src)
|
|
..(loc, h)
|
|
|
|
|
|
Del()
|
|
blob_nodes -= src
|
|
processing_objects.Remove(src)
|
|
..()
|
|
return
|
|
|
|
|
|
update_icon()
|
|
if(health <= 0)
|
|
playsound(src.loc, 'splat.ogg', 50, 1)
|
|
del(src)
|
|
return
|
|
return
|
|
|
|
|
|
run_action()
|
|
Pulse(0,0)
|
|
return 0 |