Skip to content

Commit

Permalink
Fixed Cheap Lighters not Burning You (#11259)
Browse files Browse the repository at this point in the history
* Update cigs_lighters.dm

* Update cigs_lighters.dm

* oops

* Update cigs_lighters.dm

* Update code/game/objects/items/cigs_lighters.dm

At this point I might as well add you to the credits. lol

Co-authored-by: PowerfulBacon <[email protected]>

---------

Co-authored-by: PowerfulBacon <[email protected]>
  • Loading branch information
MarkusLarsson421 and PowerfulBacon authored Aug 7, 2024
1 parent 56dd622 commit 8a12564
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions code/game/objects/items/cigs_lighters.dm
Original file line number Diff line number Diff line change
Expand Up @@ -706,15 +706,9 @@ CIGARETTE PACKETS ARE IN FANCY.DM
user.visible_message("Without even breaking stride, [user] flips open and lights [src] in one smooth movement.", "<span class='notice'>Without even breaking stride, you flip open and light [src] in one smooth movement.</span>")
playsound(src.loc, 'sound/items/zippo_on.ogg', 100, 1)
else
var/prot = FALSE
var/mob/living/carbon/human/H = user

if(istype(H) && H.gloves)
var/obj/item/clothing/gloves/G = H.gloves
if(G.max_heat_protection_temperature)
prot = (G.max_heat_protection_temperature > 360)
else
prot = TRUE
var/prot = !istype(H) || H.gloves

if(prot || prob(75))
user.visible_message("After a few attempts, [user] manages to light [src].", "<span class='notice'>After a few attempts, you manage to light [src].</span>")
Expand Down

0 comments on commit 8a12564

Please sign in to comment.