Stops 0 force item paps turning borgs into pyrotechnical sparklers. (#4261)

* Stops 0 force item paps turning borgs into pyrotechnical sparklers.
-That's just too much of a silly thing to happen without damage.

* Adds verb for party sparks.

* Update robot.dm
This commit is contained in:
Verkister
2017-11-14 10:39:29 -06:00
committed by Anewbe
parent 3c151021c8
commit c7a3c92b1c
@@ -394,6 +394,11 @@
C.toggled = 1
src << "<font color='red'>You enable [C.name].</font>"
/mob/living/silicon/robot/verb/spark_plug() //So you can still sparkle on demand without violence.
set category = "Robot Commands"
set name = "Emit Sparks"
spark_system.start()
// this function displays jetpack pressure in the stat panel
/mob/living/silicon/robot/proc/show_jetpack_pressure()
// if you have a jetpack, show the internal tank pressure
@@ -637,7 +642,8 @@
else
if( !(istype(W, /obj/item/device/robotanalyzer) || istype(W, /obj/item/device/healthanalyzer)) )
spark_system.start()
if(W.force > 0)
spark_system.start()
return ..()
/mob/living/silicon/robot/attack_hand(mob/user)