From 45da9b3c8e3a3da10ba107dec86a5bf6aa67e419 Mon Sep 17 00:00:00 2001 From: NinjaPikachuska <89906909+NinjaPikachuska@users.noreply.github.com> Date: Fri, 9 Aug 2024 05:43:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B3=D0=BE=D1=80=D1=8F=D1=87=D0=B0=D1=8F=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=87=D0=B8=D0=BD=D0=BA=D0=B0=20=D0=B1=D1=83=D0=BC?= =?UTF-8?q?=D0=B0=D0=B6=D0=BA=D0=B8=20(#13453)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * paper fix * readable one --- code/modules/paperwork/paper.dm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index d226836c3b11..775c3742f3e0 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -589,6 +589,14 @@ else if(istype(I, /obj/item/weapon/lighter)) burnpaper(I, user) + else if(istype(I, /obj/item/weapon/reagent_containers/food/snacks/grown/laughweed) \ + || istype(I, /obj/item/weapon/reagent_containers/food/snacks/grown/megaweed) \ + || istype(I, /obj/item/weapon/reagent_containers/food/snacks/grown/blackweed)) + var/obj/item/clothing/mask/cigarette/Cig = new(get_turf(src)) + I.reagents.trans_to(Cig, 15) + qdel(I) + qdel(src) + else return ..() @@ -1130,10 +1138,3 @@ var/global/list/contributor_names /obj/item/weapon/paper/old_station_note_egun name = "Object #2921" info = "Энергопистолет второго поколения. В нём установлена более эффективная система охлаждения и продвинутая батарея." - -/obj/item/weapon/paper/attackby(obj/item/I, mob/user, params) - if(istype(I, /obj/item/weapon/reagent_containers/food/snacks/grown/laughweed) || istype(I, /obj/item/weapon/reagent_containers/food/snacks/grown/megaweed) || istype(I, /obj/item/weapon/reagent_containers/food/snacks/grown/blackweed)) - var/obj/item/clothing/mask/cigarette/Cig = new(get_turf(src)) - I.reagents.trans_to(Cig, 15) - qdel(I) - qdel(src)