Merge pull request #6490 from Citadel-Station-13/upstream-merge-37381

[MIRROR] Fixes toolbelts holding everything
This commit is contained in:
deathride58
2018-05-02 14:27:25 +00:00
committed by GitHub
+4 -3
View File
@@ -34,10 +34,10 @@
item_state = "utility"
content_overlays = TRUE
/obj/item/storage/belt/ulility/ComponentInitialize()
/obj/item/storage/belt/utility/ComponentInitialize()
. = ..()
GET_COMPONENT(STR, /datum/component/storage)
STR.can_hold = typecacheof(list(
var/static/list/can_hold = typecacheof(list(
/obj/item/crowbar,
/obj/item/screwdriver,
/obj/item/weldingtool,
@@ -55,6 +55,7 @@
/obj/item/holosign_creator,
/obj/item/assembly/signaler
))
STR.can_hold = can_hold
/obj/item/storage/belt/utility/chief
name = "\improper Chief Engineer's toolbelt" //"the Chief Engineer's toolbelt", because "Chief Engineer's toolbelt" is not a proper noun
@@ -606,4 +607,4 @@
/obj/item/storage/belt/sabre/PopulateContents()
new /obj/item/melee/sabre(src)
update_icon()
update_icon()