Merge pull request #116 from unusualcrow/ok-whats-going-on-here

Fix lumcount issues - let's see if it works now edition
This commit is contained in:
LetterJay
2017-01-07 13:42:14 -05:00
committed by GitHub
5 changed files with 8 additions and 8 deletions
@@ -218,7 +218,7 @@ effective or pretty fucking useless.
var/turf/T = get_turf(src)
if(on)
var/lumcount = T.get_lumcount()
if(lumcount > 3)
if(lumcount > 0.3)
charge = max(0,charge - 25)//Quick decrease in light
else
charge = min(max_charge,charge + 50) //Charge in the dark
+2 -2
View File
@@ -58,7 +58,7 @@
light_amount = T.get_lumcount()
if(light_amount > 2)
if(light_amount > 0.2)
M << "<span class='warning'>It's too bright here to use [src.name]!</span>"
return 0
@@ -75,4 +75,4 @@
M << "<span class='warning'>There aren't enough people to use the [src.name]!</span>"
return 0
return 1
return 1