mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
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:
@@ -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()
|
||||
. = ..()
|
||||
|
||||
@@ -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()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user