Removes random burn chance from cheap lighters

This commit is contained in:
Heroman
2023-08-31 06:47:53 +10:00
parent b39f94bb0d
commit db80e2cef1
@@ -623,15 +623,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
lit = 1
icon_state = "lighteron"
playsound(src, activation_sound, 75, 1)
if(prob(95))
user.visible_message("<span class='notice'>After a few attempts, [user] manages to light the [src].</span>")
else
to_chat(user, "<span class='warning'>You burn yourself while lighting the lighter.</span>")
if (user.get_left_hand() == src)
user.apply_damage(2,BURN,"l_hand")
else
user.apply_damage(2,BURN,"r_hand")
user.visible_message("<span class='notice'>After a few attempts, [user] manages to light the [src], they however burn their finger in the process.</span>")
user.visible_message("<span class='notice'>After a few attempts, [user] manages to light the [src].</span>")
set_light(2, 0.5, "#FF9933")
START_PROCESSING(SSobj, src)