Now lighters only burn hand user is holding them. Bye bye, 80% of crew groin burns.

This commit is contained in:
Chinsky
2012-10-15 15:30:42 +04:00
parent d5fb832786
commit 1bcfdfbd98
@@ -404,7 +404,10 @@ ZIPPO
user.visible_message("<span class='notice'>After a few attempts, [user] manages to light the [src].</span>")
else
user << "<span class='warning'>You burn yourself while lighting the lighter.</span>"
user.adjustFireLoss(2)
if (user.l_hand == src)
apply_damage(2,BURN,"l_hand")
else
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.SetLuminosity(user.luminosity + 2)