This commit is contained in:
alsoandanswer
2019-11-14 04:23:24 +08:00
parent 17da42d377
commit 0a4b625fe3
2 changed files with 4 additions and 6 deletions
+2 -3
View File
@@ -28,7 +28,7 @@
if(W.iswelder())
var/obj/item/weapon/weldingtool/WT = W
if(WT.isOn()) //Badasses dont get blinded by lighting their candle with a welding tool
light()
light(span("notice", "\The [user] casually lights \the [name] with [W].</span>"))
else if(isflamesource(W))
light()
else if(istype(W, /obj/item/weapon/flame/candle))
@@ -37,9 +37,8 @@
light()
/obj/item/weapon/flame/candle/proc/light()
/obj/item/weapon/flame/candle/proc/light(var/flavor_text = span("notice", "\The [usr] lights \the [name].</span>"))
if(!src.lit)
to_chat(user, span("\The [user] lights \the [name]."))
src.lit = 1
playsound(src.loc, 'sound/items/cigs_lighters/cig_light.ogg', 50, 1)
//src.damtype = "fire"