mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 21:57:53 +01:00
VS: Glowing Body Trait
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user