mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 08:35:39 +01:00
Conversion of realname and nickname from bay (#19120)
* Automatic changelog compile [ci skip] * replace all bay instances for realname and nickname with tg * add comments where uncertain of sanitisation needed * Fix issue from git conflict.. * Fix issue causing setup menu not opening * Attempt to clean up how name datums are handled * Remove redundant check * Fix number issues with character names --------- Co-authored-by: vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -401,7 +401,7 @@
|
||||
if(slot_is_synth && !isSynthetic()) // Prevents some pretty weird situations
|
||||
to_chat(src,span_warning("Cannot apply character appearance. [slot_is_synth ? "The slot's character is synthetic." : "The slot's character is organic."] Slot must match the current body's synthetic state. Please try another character."))
|
||||
return
|
||||
from_slot = "You'll hatch using [client.prefs.real_name]'s appearance"
|
||||
from_slot = "You'll hatch using [client.prefs.read_preference(/datum/preference/name/real_name)]'s appearance"
|
||||
|
||||
var/confirm = tgui_alert(src, "Are you sure you want to hatch right now? This will be very obvious to anyone in view. [from_slot]! Are you sure?", "Confirm Regeneration", list("Yes", "No"))
|
||||
if(confirm == "Yes")
|
||||
|
||||
@@ -175,7 +175,7 @@ GLOBAL_VAR_INIT(allowed_ghost_spawns, 2)
|
||||
)
|
||||
|
||||
/datum/tgui_module/ghost_spawn_menu/proc/get_vr_data(mob/user)
|
||||
var/datum/data/record/record_found = find_general_record("name", user.client.prefs.real_name)
|
||||
var/datum/data/record/record_found = find_general_record("name", user.client.prefs.read_preference(/datum/preference/name/real_name))
|
||||
var/list/vr_landmarks = list()
|
||||
for(var/obj/effect/landmark/virtual_reality/sloc in GLOB.landmarks_list)
|
||||
vr_landmarks += list(REF(sloc) = sloc.name)
|
||||
|
||||
Reference in New Issue
Block a user