mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 00:51:26 +00:00
Increases the cost of all free loadout items to 1. Currently all loadout items in all possible loadout variants (3) are json_encoded into a single string. Somewhere along the way to the db server the query string is cut off after a certain length. -> Thats why we have a limit of 3 loadout variants and dont allow 0 point loadout items as they can cause errors when saving due to exceeding that query string length. Co-authored-by: Werner <Arrow768@users.noreply.github.com>
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
/datum/gear/belt
|
|
display_name = "belt (colorable)"
|
|
description = "A generic colorable belt."
|
|
path = /obj/item/storage/belt/generic
|
|
slot = slot_belt
|
|
sort_category = "Belts"
|
|
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION
|
|
|
|
/datum/gear/belt/resize
|
|
display_name = "alternative belt sizes (colorable)"
|
|
description = "A generic colorable belt selection of varying appearances."
|
|
path = /obj/item/storage/belt/generic/thin
|
|
|
|
/datum/gear/belt/resize/New()
|
|
..()
|
|
var/list/belt = list()
|
|
belt["thin belt"] = /obj/item/storage/belt/generic/thin
|
|
belt["thick belt"] = /obj/item/storage/belt/generic/thick
|
|
belt["buckle belt"] = /obj/item/storage/belt/generic/buckle
|
|
gear_tweaks += new /datum/gear_tweak/path(belt)
|
|
|
|
/datum/gear/belt/fannypack
|
|
display_name = "fannypack"
|
|
description = "A colorable fannypack."
|
|
cost = 2
|
|
path = /obj/item/storage/belt/fannypack/recolorable
|
|
|
|
/datum/gear/belt/toolbelt_alt
|
|
display_name = "tool-belt, alt"
|
|
description = "An alternative look to a standard toolbelt."
|
|
cost = 1
|
|
path = /obj/item/storage/belt/utility/alt
|
|
allowed_roles = list("Engineer", "Atmospheric Technician", "Chief Engineer", "Engineering Apprentice", "Machinist", "Research Director")
|
|
flags = null
|