mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes cigar/pipe mob overlays not updating when lit
This commit is contained in:
@@ -119,7 +119,6 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
|||||||
user.update_inv_wear_mask(0)
|
user.update_inv_wear_mask(0)
|
||||||
user.update_inv_l_hand(0)
|
user.update_inv_l_hand(0)
|
||||||
user.update_inv_r_hand(1)
|
user.update_inv_r_hand(1)
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
/obj/item/clothing/mask/cigarette/afterattack(obj/item/weapon/reagent_containers/glass/glass, mob/user as mob, proximity)
|
/obj/item/clothing/mask/cigarette/afterattack(obj/item/weapon/reagent_containers/glass/glass, mob/user as mob, proximity)
|
||||||
@@ -284,6 +283,10 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
|||||||
else if(istype(W, /obj/item/device/assembly/igniter))
|
else if(istype(W, /obj/item/device/assembly/igniter))
|
||||||
light("<span class='notice'>[user] fiddles with [W], and manages to light their [name] with the power of science.</span>")
|
light("<span class='notice'>[user] fiddles with [W], and manages to light their [name] with the power of science.</span>")
|
||||||
|
|
||||||
|
user.update_inv_wear_mask(0)
|
||||||
|
user.update_inv_l_hand(0)
|
||||||
|
user.update_inv_r_hand(1)
|
||||||
|
|
||||||
/////////////////
|
/////////////////
|
||||||
//SMOKING PIPES//
|
//SMOKING PIPES//
|
||||||
/////////////////
|
/////////////////
|
||||||
@@ -361,6 +364,10 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
|||||||
else if(istype(W, /obj/item/device/assembly/igniter))
|
else if(istype(W, /obj/item/device/assembly/igniter))
|
||||||
light("<span class='notice'>[user] fiddles with [W], and manages to light their [name] with the power of science.</span>")
|
light("<span class='notice'>[user] fiddles with [W], and manages to light their [name] with the power of science.</span>")
|
||||||
|
|
||||||
|
user.update_inv_wear_mask(0)
|
||||||
|
user.update_inv_l_hand(0)
|
||||||
|
user.update_inv_r_hand(1)
|
||||||
|
|
||||||
/obj/item/clothing/mask/cigarette/pipe/cobpipe
|
/obj/item/clothing/mask/cigarette/pipe/cobpipe
|
||||||
name = "corn cob pipe"
|
name = "corn cob pipe"
|
||||||
desc = "A nicotine delivery system popularized by folksy backwoodsmen, kept popular in the modern age and beyond by space hipsters."
|
desc = "A nicotine delivery system popularized by folksy backwoodsmen, kept popular in the modern age and beyond by space hipsters."
|
||||||
|
|||||||
Reference in New Issue
Block a user