mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-12 07:35:31 +01:00
Fixes custom loadout and slot system.
This commit is contained in:
@@ -280,17 +280,17 @@
|
||||
path = /obj/item/clothing/accessory/storage/white_drop_pouches
|
||||
allowed_roles = list("Station Engineer","Atmospheric Technician","Chief Engineer","Security Officer","Detective","Head of Security","Warden","Paramedic","Chief Medical Officer","Medical Doctor")
|
||||
|
||||
/datum/gear/accessory/fannypacks
|
||||
/datum/gear/accessory/fannypack
|
||||
display_name = "fannypack selection"
|
||||
path = /obj/item/weapon/storage/belt/fannypack
|
||||
cost = 2
|
||||
|
||||
/datum/gear/accessory/fannypack/New()
|
||||
..()
|
||||
var/list/fannypacks = list()
|
||||
var/list/fannys = list()
|
||||
for(var/fanny in typesof(/obj/item/weapon/storage/belt/fannypack))
|
||||
var/obj/item/weapon/storage/belt/fannys = fanny
|
||||
fannypacks[initial(fannys.name)] = fannys
|
||||
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(fannypacks))
|
||||
var/obj/item/weapon/storage/belt/fannypack/fanny_type = fanny
|
||||
fannys[initial(fanny_type.name)] = fanny_type
|
||||
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(fannys))
|
||||
|
||||
/datum/gear/accessory/webbing
|
||||
display_name = "webbing, simple"
|
||||
|
||||
Reference in New Issue
Block a user