mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-21 21:10:30 +01:00
Re-adds the MOTD and adds mechanical support for ports of call. (#18570)
* Re-adds the message of the day. * Re-adds the MOTD and adds mechanical support for ports of call. * sddsds * Destroy it all! * incorrect info * grammar and shit --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
S["default_slot"] >> pref.default_slot
|
||||
S["toggles"] >> pref.toggles
|
||||
S["sfx_toggles"] >> pref.sfx_toggles
|
||||
S["motd_hash"] >> pref.motd_hash
|
||||
S["memo_hash"] >> pref.memo_hash
|
||||
S["toggles_secondary"] >> pref.toggles_secondary
|
||||
|
||||
/datum/category_item/player_setup_item/player_global/settings/save_preferences(var/savefile/S)
|
||||
@@ -16,8 +14,6 @@
|
||||
S["default_slot"] << pref.default_slot
|
||||
S["toggles"] << pref.toggles
|
||||
S["sfx_toggles"] << pref.sfx_toggles
|
||||
S["motd_hash"] << pref.motd_hash
|
||||
S["memo_hash"] << pref.memo_hash
|
||||
S["toggles_secondary"] << pref.toggles_secondary
|
||||
|
||||
/datum/category_item/player_setup_item/player_global/settings/gather_load_query()
|
||||
@@ -28,8 +24,6 @@
|
||||
"current_character",
|
||||
"toggles",
|
||||
"sfx_toggles",
|
||||
"lastmotd" = "motd_hash",
|
||||
"lastmemo" = "memo_hash",
|
||||
"toggles_secondary"
|
||||
),
|
||||
"args" = list("ckey")
|
||||
@@ -60,8 +54,6 @@
|
||||
"current_character" = pref.current_character,
|
||||
"toggles" = pref.toggles,
|
||||
"sfx_toggles" = pref.sfx_toggles,
|
||||
"lastmotd" = pref.motd_hash,
|
||||
"lastmemo" = pref.memo_hash,
|
||||
"toggles_secondary" = pref.toggles_secondary
|
||||
)
|
||||
|
||||
@@ -74,8 +66,6 @@
|
||||
pref.default_slot = sanitize_integer(text2num(pref.default_slot), 1, GLOB.config.character_slots, initial(pref.default_slot))
|
||||
pref.toggles = sanitize_integer(text2num(pref.toggles), 0, BITFIELDMAX, initial(pref.toggles))
|
||||
pref.sfx_toggles = sanitize_integer(text2num(pref.sfx_toggles), 0, BITFIELDMAX, initial(pref.toggles))
|
||||
pref.motd_hash = sanitize_text(pref.motd_hash, initial(pref.motd_hash))
|
||||
pref.memo_hash = sanitize_text(pref.memo_hash, initial(pref.memo_hash))
|
||||
pref.toggles_secondary = sanitize_integer(text2num(pref.toggles_secondary), 0, BITFIELDMAX, initial(pref.toggles_secondary))
|
||||
|
||||
/datum/category_item/player_setup_item/player_global/settings/content(mob/user)
|
||||
|
||||
Reference in New Issue
Block a user