mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Updates Loadout Backend (#18095)
* Updates Loadout Backend Updates the loadout backend to store gear data in a separate table. This might enable us to increase the number of loadout points available * Bump MariaDB Version to 10.11 * Update editorconfig for SQL * Fix update_character_gear * tgui_alert and TOPIC_NOACTION * Fix missing sur * Actually, its user * Adds a CHECK_TICK, just in case --------- Co-authored-by: Werner <Arrow768@users.noreply.github.com>
This commit is contained in:
@@ -225,6 +225,7 @@ GLOBAL_LIST_EMPTY(gamemode_cache)
|
||||
|
||||
var/character_slots = 10 // The number of available character slots
|
||||
var/loadout_slots = 3 // The number of loadout slots per character
|
||||
var/loadout_cost = 15 // The maximum cost of the loadout per slot
|
||||
|
||||
var/max_maint_drones = 5 //This many drones can spawn,
|
||||
var/allow_drone_spawn = 1 //assuming the admin allow them to.
|
||||
@@ -843,6 +844,9 @@ GENERAL_PROTECT_DATUM(/datum/configuration)
|
||||
if("loadout_slots")
|
||||
GLOB.config.loadout_slots = text2num(value)
|
||||
|
||||
if("loadout_cost")
|
||||
GLOB.config.loadout_cost = text2num(value)
|
||||
|
||||
if("allow_drone_spawn")
|
||||
GLOB.config.allow_drone_spawn = text2num(value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user