From 6ecdfc67943a3b088443324efc78956b9062e1f7 Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Fri, 16 Feb 2024 22:02:39 -0500 Subject: [PATCH] [MIRROR] unstashable assembly bombs (#998) * unstashable assembly bombs (#81197) ## About The Pull Request assembly bombs are bulky (the like ones you make with a tank and an igniter and some other thing) ## Why It's Good For The Game these things can (and usually do) gib people, are REALLY easy to massproduce and you can also fit several in a bag while still easier to use to gib people than TTVs at best i think making them bulky should prevent some dude from carrying like 8 bombs in his backpack and whipping them out and throwing without any warning because they would have to carry it (or invest in BoH but thats sci anyway so) ## Changelog :cl: balance: assemblybombs are bulky /:cl: --------- Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com> * unstashable assembly bombs --------- Co-authored-by: jimmyl <70376633+mc-oofert@users.noreply.github.com> Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com> --- code/game/objects/items/tanks/tanks.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/game/objects/items/tanks/tanks.dm b/code/game/objects/items/tanks/tanks.dm index 6c11c435507..a670a966805 100644 --- a/code/game/objects/items/tanks/tanks.dm +++ b/code/game/objects/items/tanks/tanks.dm @@ -440,6 +440,10 @@ if(LAZYLEN(assembly.assemblies) == igniter_count) return + + if(isitem(loc)) // we are in a storage item + balloon_alert(user, "can't reach!") + return if((src in user.get_equipped_items(include_pockets = TRUE, include_accessories = TRUE)) && !user.canUnEquip(src)) balloon_alert(user, "it's stuck!") @@ -456,6 +460,7 @@ tank_assembly = assembly //Tell the tank about its assembly part assembly.master = src //Tell the assembly about its new owner assembly.on_attach() + w_class = WEIGHT_CLASS_BULKY balloon_alert(user, "bomb assembled") update_appearance(UPDATE_OVERLAYS) @@ -469,6 +474,7 @@ user.put_in_hands(tank_assembly) tank_assembly.master = null tank_assembly = null + w_class = initial(w_class) update_appearance(UPDATE_OVERLAYS) /// Ignites the contents of the tank. Called when receiving a signal if the tank is welded and has an igniter attached.