Can attach limbs now. No preparations needed yet.

This commit is contained in:
Chinsky
2012-11-07 20:01:55 +04:00
parent 400263389a
commit 47db4eded3
4 changed files with 68 additions and 4 deletions

View File

@@ -378,8 +378,8 @@
if(!no_explode)
explosion(get_turf(owner),-1,-1,2,3)
var/datum/effect/effect/system/spark_spread/spark_system = new /datum/effect/effect/system/spark_spread()
spark_system.set_up(5, 0, src)
spark_system.attach(src)
spark_system.set_up(5, 0, owner)
spark_system.attach(owner)
spark_system.start()
spawn(10)
del(spark_system)
@@ -477,6 +477,17 @@
else
return name
proc/robotize()
src.status &= ~ORGAN_BROKEN
src.status &= ~ORGAN_BLEEDING
src.status &= ~ORGAN_SPLINTED
src.status &= ~ORGAN_ATTACHABLE
src.status &= ~ORGAN_DESTROYED
src.status |= ORGAN_ROBOT
for (var/datum/organ/external/T in children)
if(T)
T.robotize()
/datum/organ/external/chest
name = "chest"
icon_name = "chest"