Skip to content

Commit

Permalink
[MIRROR] unstashable assembly bombs (#998)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* unstashable assembly bombs

---------

Co-authored-by: jimmyl <[email protected]>
Co-authored-by: tattle <[email protected]>
  • Loading branch information
3 people authored and StealsThePRs committed Feb 17, 2024
1 parent 01ddf28 commit 6ecdfc6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/game/objects/items/tanks/tanks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
Expand All @@ -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)
Expand All @@ -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.
Expand Down

0 comments on commit 6ecdfc6

Please sign in to comment.