mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01:00
Saving + Updating + ALL THE THINGS
Everything. Absoloutely positively everything. Fuck. Hey, it compiles now, doe!
This commit is contained in:
@@ -29,6 +29,27 @@
|
||||
"args" = list("char_id")),
|
||||
"ss13_characters" = list("vars" = list("home_system", "citizenship", "faction", "religion"), "args" = list("id")))
|
||||
|
||||
/datum/category_item/player_setup_item/general/background/gather_load_parameters()
|
||||
return list(":id" = pref.current_character, ":char_id" = pref.current_character)
|
||||
|
||||
/datum/category_item/player_setup_item/general/background/gather_save_query()
|
||||
return list("ss13_characters_flavour" = list("records_employment",
|
||||
"records_medical",
|
||||
"records_security",
|
||||
"char_id" = 1),
|
||||
"ss13_characters" = list("home_system", "citizenship", "faction", "religion", "id" = 1))
|
||||
|
||||
/datum/category_item/player_setup_item/general/background/gather_save_parameters()
|
||||
return list(":records_employment" = pref.gen_record,
|
||||
":records_medical" = pref.med_record,
|
||||
":records_security" = pref.sec_record,
|
||||
":char_id" = pref.current_character,
|
||||
":home_system" = pref.home_system,
|
||||
":citizenship" = pref.citizenship,
|
||||
":faction" = pref.faction,
|
||||
":religion" = pref.religion,
|
||||
":id" = pref.current_character)
|
||||
|
||||
/datum/category_item/player_setup_item/general/background/sanitize_character()
|
||||
if(!pref.home_system)
|
||||
pref.home_system = "Unset"
|
||||
|
||||
Reference in New Issue
Block a user