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
🆑
balance: assemblybombs are bulky
/🆑

---------

Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com>
This commit is contained in:
jimmyl
2024-02-16 20:19:26 +00:00
committed by GitHub
co-authored by tattle
parent a9a54b83e6
commit 1cba47ef06
+6
View File
@@ -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.