Security belts tweak (#26754)

* Tweaking sec belts

* Update code/game/objects/items/weapons/storage/belt.dm

Signed-off-by:  Sean <12197162+S34NW@users.noreply.github.com>

---------

Signed-off-by: Sean <12197162+S34NW@users.noreply.github.com>
Co-authored-by: Sean <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
kyunkyunkyun
2024-10-10 14:57:12 +05:00
committed by GitHub
parent 26a884e70a
commit 9225cd5817
2 changed files with 22 additions and 22 deletions
+20 -21
View File
@@ -299,6 +299,7 @@
max_w_class = WEIGHT_CLASS_NORMAL
use_item_overlays = TRUE
can_hold = list(
/obj/item/radio,
/obj/item/grenade/flashbang,
/obj/item/grenade/chem_grenade/teargas,
/obj/item/reagent_containers/spray/pepper,
@@ -349,29 +350,9 @@
icon_state = "securitywebbing"
item_state = "securitywebbing"
storage_slots = 6
max_combined_w_class = 15
use_item_overlays = FALSE
layer_over_suit = TRUE
can_hold = list(
/obj/item/grenade/flashbang,
/obj/item/grenade/chem_grenade/teargas,
/obj/item/reagent_containers/spray/pepper,
/obj/item/restraints/handcuffs,
/obj/item/flash,
/obj/item/clothing/glasses,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_box,
/obj/item/food/donut,
/obj/item/kitchen/knife/combat,
/obj/item/melee/baton,
/obj/item/melee/classic_baton,
/obj/item/flashlight/seclite,
/obj/item/holosign_creator/security,
/obj/item/melee/classic_baton/telescopic,
/obj/item/restraints/legcuffs/bola,
/obj/item/clothing/mask/gas/sechailer,
/obj/item/detective_scanner,
/obj/item/ammo_box/magazine/wt550m9
)
/obj/item/storage/belt/soulstone
name = "soul stone belt"
@@ -490,6 +471,24 @@
icon_state = "assaultbelt"
item_state = "assault"
storage_slots = 6
w_class_override = list(
/obj/item/crowbar,
/obj/item/screwdriver,
/obj/item/weldingtool,
/obj/item/wirecutters,
/obj/item/wrench,
/obj/item/multitool,
/obj/item/ammo_box,
/obj/item/melee/baton,
/obj/item/melee/classic_baton,
/obj/item/detective_scanner
)
/obj/item/storage/belt/military/assault/attackby(obj/item/I, mob/user)
if(I.w_class > WEIGHT_CLASS_NORMAL)
to_chat(user, "<span class='warning'>[I] is too big for [src].</span>")
return
return ..()
/obj/item/storage/belt/military/assault/marines/full/populate_contents()
new /obj/item/ammo_box/magazine/m12g(src)