VS: Glowing Body Trait

This commit is contained in:
Arokha Sieyes
2018-01-24 02:01:05 -05:00
parent 9ff49b490b
commit 91e76145bb
3 changed files with 38 additions and 1 deletions
@@ -94,3 +94,12 @@
desc = "Allows you to dispose of the snack wrappings on the go instead of having to look for a bin or littering like an animal."
cost = 0
var_changes = list("trashcan" = 1)
/datum/trait/glowing_body
name = "Glowing Body"
desc = "Your body glows about as much as a PDA light! Settable color and toggle in Abilities tab ingame."
cost = 0
/datum/trait/glowing_body/apply(var/datum/species/S,var/mob/living/carbon/human/H)
..(S,H)
H.verbs |= /mob/living/proc/glow_toggle
H.verbs |= /mob/living/proc/glow_color
+5
View File
@@ -208,6 +208,11 @@
set_light(min(round(fire_stacks), 3), round(fire_stacks), l_color = "#FF9933")
return TRUE
//VOREStation Add - Glowy trait
else if(glow_toggle)
set_light(2, l_color = glow_color) //2 is PDA brightness, so neutral in terms of balance
//VOREStation Add End
else
set_light(0)
return FALSE