Make drone light into verb

Removes the penlight and builds a low power LED into the chassis.
Already tested to work locally, won't ghost a light.
This commit is contained in:
Nerezza
2014-06-13 14:39:49 -05:00
parent 9896e44d8a
commit 52a76c0b0b
2 changed files with 12 additions and 3 deletions
@@ -33,6 +33,16 @@
layer = MOB_LAYER
src << text("\blue You have stopped hiding.")
/mob/living/silicon/robot/drone/verb/light()
set name = "Light On/Off"
set desc = "Activate a low power omnidirectional LED. Toggled on or off."
set category = "Drone"
if(luminosity)
SetLuminosity(0)
return
SetLuminosity(2)
//Actual picking-up event.
/mob/living/silicon/robot/drone/attack_hand(mob/living/carbon/human/M as mob)
@@ -232,7 +232,7 @@
R.add_reagent("beer2", 50)
src.emag.name = "Mickey Finn's Special Brew"
return
add_languages(var/mob/living/silicon/robot/R)
//full set of languages
R.add_language("Sol Common", 1)
@@ -307,7 +307,6 @@
)
New()
src.modules += new /obj/item/device/flashlight/drone(src)
src.modules += new /obj/item/weapon/weldingtool(src)
src.modules += new /obj/item/weapon/screwdriver(src)
src.modules += new /obj/item/weapon/wrench(src)
@@ -328,7 +327,7 @@
src.modules += W
return
add_languages(var/mob/living/silicon/robot/R)
return //not much ROM to spare in that tiny microprocessor!