mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
Candle Buff! (#11836)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -7,16 +7,16 @@
|
||||
pickup_sound = 'sound/items/pickup/gloves.ogg'
|
||||
w_class = ITEMSIZE_TINY
|
||||
light_color = "#E09D37"
|
||||
var/wax = 2000
|
||||
var/wax = 7200 //CHOMPEdit, FOUR HOUR burn time, taking into account process only calling once every two seconds or so.
|
||||
var/icon_type = "candle"
|
||||
|
||||
/obj/item/flame/candle/Initialize(mapload)
|
||||
. = ..()
|
||||
wax -= rand(800, 1000) // Enough for 27-33 minutes. 30 minutes on average.
|
||||
//wax -= rand(800, 1000) // Enough for 27-33 minutes. 30 minutes on average. //CHOMPDisable - Consistent candle burn times.
|
||||
|
||||
/obj/item/flame/candle/update_icon()
|
||||
var/i
|
||||
if(wax > 1500)
|
||||
if(wax > 3600) //CHOMPEdit Icon update to match 4 hour burn
|
||||
i = 1
|
||||
else if(wax > 800)
|
||||
i = 2
|
||||
|
||||
Reference in New Issue
Block a user