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:
Werner
2024-01-02 21:54:49 +00:00
committed by GitHub
co-authored by Werner
parent 66f92c62ef
commit bff569a6da
12 changed files with 310 additions and 34 deletions
+4
View File
@@ -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)