Skip to content

Commit

Permalink
add: CE toolbet now can hold RCD and one more item (#6048)
Browse files Browse the repository at this point in the history
* СЕ дай пояс ну пж

* ah shit, here we go again

* Better weight logic.

---------

Co-authored-by: Daeberdir <[email protected]>
  • Loading branch information
Ssheya and Daeberdir authored Nov 4, 2024
1 parent 1936b9b commit d7d7b18
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion code/game/objects/items/weapons/storage/belt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
drop_sound = 'sound/items/handling/toolbelt_drop.ogg'
pickup_sound = 'sound/items/handling/toolbelt_pickup.ogg'
use_item_overlays = TRUE
max_combined_w_class = 15 // 6 `WEIGHT_CLASS_SMALL` items + RCD.
max_w_class = WEIGHT_CLASS_NORMAL
can_hold = list(
/obj/item/crowbar,
/obj/item/screwdriver,
Expand All @@ -57,7 +59,8 @@
/obj/item/holosign_creator,
/obj/item/radio,
/obj/item/robotanalyzer,
/obj/item/clothing/gloves)
/obj/item/clothing/gloves,
/obj/item/rcd)

/obj/item/storage/belt/utility/full/populate_contents()
new /obj/item/screwdriver(src)
Expand Down Expand Up @@ -88,6 +91,8 @@
desc = "Holds tools, looks snazzy"
icon_state = "utilitybelt_ce"
item_state = "utility_ce"
storage_slots = 8
max_combined_w_class = 17 // 7 `WEIGHT_CLASS_SMALL` items + RCD.

/obj/item/storage/belt/utility/chief/full/populate_contents()
new /obj/item/screwdriver/power(src)
Expand Down

0 comments on commit d7d7b18

Please sign in to comment.