Belts & Trashbags (#7443)

requires #6644 

Entirely replaces how (most) belts perform insertion checks.

This pretty much allows belts to hold most things.

Armor vests are next.

Trashbags will also use the systems we use on main.

Closes #7256 and #7435

---------

Co-authored-by: silicons <silicons@silicons.dev>
This commit is contained in:
silicons
2025-12-28 22:05:06 -05:00
committed by GitHub
co-authored by silicons
parent 7707f9e881
commit 30fbcfe9b4
124 changed files with 1176 additions and 1086 deletions
+1
View File
@@ -535,6 +535,7 @@ GLOBAL_LIST_INIT(possible_cable_coil_colours, list(
color = COLOR_RED
desc = "A coil of power cable."
throw_force = 10
belt_storage_class = BELT_CLASS_SMALL
w_class = WEIGHT_CLASS_SMALL
throw_speed = 2
throw_range = 5
@@ -72,6 +72,8 @@
self_recharge_amount = POWER_CELL_CAPACITY_SMALL * (5 / 6) / ((4 MINUTES) / (1 SECONDS))
cell_type = CELL_TYPE_SMALL
w_class = WEIGHT_CLASS_SMALL
belt_storage_class = BELT_CLASS_SMALL
belt_storage_size = BELT_SIZE_FOR_SMALL_CELL / 2
weight_volume = ITEM_VOLUME_SMALL_CELL / 2
/obj/item/cell/slime_core/fourth
@@ -87,6 +89,8 @@
self_recharge_amount = POWER_CELL_CAPACITY_WEAPON * (5 / 6) / ((4 MINUTES) / (1 SECONDS))
cell_type = CELL_TYPE_WEAPON
w_class = WEIGHT_CLASS_SMALL
belt_storage_class = BELT_CLASS_SMALL
belt_storage_size = BELT_SIZE_FOR_SMALL_CELL
weight_volume = ITEM_VOLUME_WEAPON_CELL / 2
/obj/item/cell/slime_core/half
@@ -102,6 +106,8 @@
self_recharge_amount = POWER_CELL_CAPACITY_MEDIUM * (5 / 6) / ((4 MINUTES) / (1 SECONDS))
cell_type = CELL_TYPE_MEDIUM
w_class = WEIGHT_CLASS_NORMAL
belt_storage_class = BELT_CLASS_MEDIUM
belt_storage_size = BELT_SIZE_FOR_MEDIUM_CELL / 2
weight_volume = ITEM_VOLUME_MEDIUM_CELL / 2
/obj/item/cell/slime_core/whole
@@ -117,4 +123,6 @@
self_recharge_amount = POWER_CELL_CAPACITY_LARGE * (5 / 6) / ((4 MINUTES) / (1 SECONDS))
cell_type = CELL_TYPE_LARGE
w_class = WEIGHT_CLASS_NORMAL
belt_storage_class = BELT_CLASS_MEDIUM
belt_storage_size = BELT_SIZE_FOR_MEDIUM_CELL
weight_volume = ITEM_VOLUME_LARGE_CELL / 2
+3
View File
@@ -41,6 +41,8 @@
base_icon_state = "ltube"
item_state = "c_tube"
materials_base = list(MAT_GLASS = 100)
belt_storage_class = BELT_CLASS_SMALL
brightness_range = 8
brightness_power = 0.8
brightness_color = LIGHT_COLOR_HALOGEN
@@ -114,6 +116,7 @@
base_icon_state = "lbulb"
item_state = "contvapour"
materials_base = list(MAT_GLASS = 100)
belt_storage_class = BELT_CLASS_SMALL
brightness_color = LIGHT_COLOR_TUNGSTEN
brightness_range = 4