mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Candle burn time increased to ~30 minutes
Some fluff added to candle description explaining how they burn in space
This commit is contained in:
@@ -1,18 +1,24 @@
|
||||
/obj/item/weapon/flame/candle
|
||||
name = "red candle"
|
||||
desc = "a candle"
|
||||
desc = "a small pillar candle. Its specially-formulated fuel-oxidizer wax mixture allows continued combustion in airless environments."
|
||||
icon = 'icons/obj/candle.dmi'
|
||||
icon_state = "candle1"
|
||||
item_state = "candle1"
|
||||
w_class = 1
|
||||
|
||||
var/wax = 200
|
||||
var/wax = 0
|
||||
var/starting_wax = 0
|
||||
|
||||
/obj/item/weapon/flame/candle/New()
|
||||
wax = rand(800, 1000) // Enough for 27-33 minutes. 30 minutes on average.
|
||||
starting_wax = wax
|
||||
..()
|
||||
|
||||
/obj/item/weapon/flame/candle/update_icon()
|
||||
var/i
|
||||
if(wax>150)
|
||||
if(wax > starting_wax*3/4)
|
||||
i = 1
|
||||
else if(wax>80)
|
||||
else if(wax > starting_wax*2/5)
|
||||
i = 2
|
||||
else i = 3
|
||||
icon_state = "candle[i][lit ? "_lit" : ""]"
|
||||
@@ -80,4 +86,4 @@
|
||||
/obj/item/weapon/flame/candle/dropped(mob/user)
|
||||
if(lit)
|
||||
user.SetLuminosity(user.luminosity - CANDLE_LUM)
|
||||
SetLuminosity(CANDLE_LUM)
|
||||
SetLuminosity(CANDLE_LUM)
|
||||
5
html/changelogs/RavingManiac-master.yml
Normal file
5
html/changelogs/RavingManiac-master.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
author: RavingManiac
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- tweak: "Candles now burn for about 30 mintutes."
|
||||
Reference in New Issue
Block a user