Part 3: Storage Improvements (#90476)

Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com>
Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
This commit is contained in:
SyncIt21
2025-04-20 17:32:29 +05:30
committed by GitHub
parent 9734550d3c
commit 9bd45e2f3a
66 changed files with 2009 additions and 1611 deletions

View File

@@ -6,20 +6,13 @@
icon_state = "quiver"
inhand_icon_state = null
worn_icon_state = "harpoon_quiver"
storage_type = /datum/storage/bag/quiver
/// type of arrow the quivel should hold
var/arrow_path = /obj/item/ammo_casing/arrow
var/max_slots = 40
/obj/item/storage/bag/quiver/Initialize(mapload)
. = ..()
atom_storage.numerical_stacking = TRUE
atom_storage.max_specific_storage = WEIGHT_CLASS_TINY
atom_storage.max_slots = max_slots
atom_storage.max_total_storage = 100
atom_storage.set_holdable(/obj/item/ammo_casing/arrow)
/obj/item/storage/bag/quiver/lesser
max_slots = 10
storage_type = /datum/storage/bag/quiver/less
/obj/item/storage/bag/quiver/full/PopulateContents()
. = ..()

View File

@@ -367,12 +367,7 @@
icon_broken = "medalbox+b"
base_icon_state = "medalbox"
icon_open = "medalboxopen"
/obj/item/storage/lockbox/dueling/Initialize(mapload)
. = ..()
atom_storage.max_specific_storage = WEIGHT_CLASS_SMALL
atom_storage.max_slots = 2
atom_storage.set_holdable(/obj/item/gun/energy/dueling)
storage_type = /datum/storage/lockbox/dueling
/obj/item/storage/lockbox/dueling/PopulateContents()
. = ..()