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
@@ -115,7 +115,7 @@
"ckey" = PREF_CLIENT_CKEY
)
/datum/category_item/player_setup_item/general/basic/load_special()
/datum/category_item/player_setup_item/general/basic/load_character_special()
pref.can_edit_name = TRUE
pref.can_edit_ipc_tag = TRUE
@@ -134,7 +134,7 @@
if(GLOB.config.ipc_timelock_active)
pref.can_edit_ipc_tag = FALSE
else
log_world("ERROR: SQL CHARACTER LOAD: Logic error, general/basic/load_special() didn't return any rows when it should have. Character ID: [pref.current_character].")
log_world("ERROR: SQL CHARACTER LOAD: Logic error, general/basic/load_character_special() didn't return any rows when it should have. Character ID: [pref.current_character].")
/datum/category_item/player_setup_item/general/basic/sanitize_character()
if(!pref.species)
@@ -48,7 +48,7 @@
"ckey" = PREF_CLIENT_CKEY
)
/datum/category_item/player_setup_item/general/psionics/load_special(savefile/S)
/datum/category_item/player_setup_item/general/psionics/load_character_special(savefile/S)
if(!pref.psionics)
pref.psionics = "{}"