mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 15:01:04 +01:00
Borg Bag Fixes and Refactors (#20578)
Fixes #19603 Fixes #20558 - bugfix: "Fixes plant bags - now uses storage_slot system, along with other bag subtypes." - bugfix: "Borgs can interact with tables again." - refactor: "Refactors make_exact_fit to be a binary variable." - refactor: "Refactors storage items to use make_exact_fit instead of arbitrary max_storage_space values." - refactor: "Refactors storage items to use defines for storage space." - bugfix: "Fixes monkey cube boxes having superfluous overlay." - rscadd: "Updates the progress bar toggle message." - qol: "Objects that rotated 90 degrees in storage no longer rotate in storage slots." <img width="732" alt="dreamseeker_qRVkIlYN78" src="https://github.com/user-attachments/assets/1226ed22-52c1-4965-a1b4-2290e56a2ab3" />
This commit is contained in:
@@ -239,9 +239,6 @@
|
||||
to_chat(user, SPAN_WARNING("You need a better grip to do that!"))
|
||||
return
|
||||
|
||||
if(!attacking_item.dropsafety())
|
||||
return
|
||||
|
||||
if(reinforced && attacking_item.isscrewdriver())
|
||||
remove_reinforced(attacking_item, user)
|
||||
if(!reinforced)
|
||||
@@ -340,6 +337,9 @@
|
||||
health = maxhealth
|
||||
visible_message("<b>[user]</b> repairs \the [src].", SPAN_NOTICE("You repair \the [src]."))
|
||||
|
||||
if(!attacking_item.dropsafety())
|
||||
return
|
||||
|
||||
// Placing stuff on tables
|
||||
if(user.unEquip(attacking_item, 0, loc)) //Loc is intentional here so we don't forceMove() items into oblivion
|
||||
user.make_item_drop_sound(attacking_item)
|
||||
|
||||
Reference in New Issue
Block a user