Merge pull request #4825 from VOREStation/pol-mob-glow

Extend mob 'glow' capabilities
This commit is contained in:
Anewbe
2018-02-16 12:50:54 -06:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -207,7 +207,7 @@
return TRUE
else if(glow_toggle)
set_light(2, l_color = glow_color) //2 is PDA brightness, so neutral in terms of balance
set_light(glow_range, glow_intensity, glow_color)
else
set_light(0)
+3 -1
View File
@@ -47,8 +47,10 @@
var/evasion = 0 // Makes attacks harder to land. Negative numbers increase hit chance.
var/force_max_speed = 0 // If 1, the mob runs extremely fast and cannot be slowed.
var/image/dsoverlay = null //Overlay used for darksight eye adjustments
var/glow_toggle = 0 // If they're glowing!
var/glow_range = 2
var/glow_intensity = null
var/glow_color = "#FFFFFF" // The color they're glowing!