Lattice is now removed when you create plating or floor, from Donkieyo.

Monkeys now take damage in crit, and cyborgs now have a supervisor defined, from Nodrak.
Removed borg RCD sparks, as per Donkieyo's suggestion.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2988 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2012-01-27 01:17:48 +00:00
parent e444ce8fc2
commit 79f42f5a6c
4 changed files with 19 additions and 17 deletions
+9 -15
View File
@@ -182,21 +182,21 @@
force = 5.0
w_class = 3.0
var
datum/effect/effect/system/spark_spread/spark_system
// datum/effect/effect/system/spark_spread/spark_system
working = 0
mode = 1
/*
New()
src.spark_system = new /datum/effect/effect/system/spark_spread
spark_system.set_up(5, 0, src)
spark_system.attach(src)
return
*/
proc/activate()
spark_system.set_up(5, 0, src)
src.spark_system.start()
// spark_system.set_up(5, 0, src)
// src.spark_system.start()
playsound(src.loc, 'Deconstruct.ogg', 50, 1)
@@ -206,17 +206,17 @@
if(mode == 1)
mode = 2
user << "Changed mode to 'Airlock'"
src.spark_system.start()
// src.spark_system.start()
return
if(mode == 2)
mode = 3
user << "Changed mode to 'Deconstruct'"
src.spark_system.start()
// src.spark_system.start()
return
if(mode == 3)
mode = 1
user << "Changed mode to 'Floor & Walls'"
src.spark_system.start()
// src.spark_system.start()
return
@@ -269,13 +269,7 @@
A:ReplaceWithPlating()
return
if(istype(A, /turf/simulated/wall/r_wall))
if(!cell.use(300)) return
user << "Deconstructing RWall..."
playsound(src.loc, 'click.ogg', 50, 1)
if(do_after(user, 60))
activate()
A:ReplaceWithWall()
if(istype(A, /turf/simulated/wall/r_wall)) //by order of muskets -pete
return
if(istype(A, /turf/simulated/floor))