diff --git a/code/game/objects/items/tools/welder.dm b/code/game/objects/items/tools/welder.dm index 72f286458d94..5fbbf2187e99 100644 --- a/code/game/objects/items/tools/welder.dm +++ b/code/game/objects/items/tools/welder.dm @@ -146,6 +146,20 @@ return remove_fuel(0.5) +/obj/item/weldingtool/attack(mob/living/carbon/M, mob/living/carbon/user) + // For lighting other people's cigarettes. + var/obj/item/clothing/mask/cigarette/cig = M?.wear_mask + if(!istype(cig) || user.zone_selected != "mouth" || !tool_enabled) + return ..() + + if(M == user) + cig.attackby(src, user) + return + + cig.light("[user] holds out [src] out for [M], and casually lights [cig]. What a badass.") + playsound(src, 'sound/items/lighter/light.ogg', 25, TRUE) + M.update_inv_wear_mask() + /obj/item/weldingtool/use_tool(atom/target, user, delay, amount, volume, datum/callback/extra_checks) target.add_overlay(GLOB.welding_sparks) var/did_thing = ..()