mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 15:18:09 +01:00
[MIRROR] Conversion of realname and nickname from bay (#12391)
Co-authored-by: Aura Dusklight <46622484+NovaDusklight@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Aura Dusklight
Kashargul
parent
1047b90c96
commit
aacdd1a4f2
@@ -3,7 +3,8 @@
|
||||
return
|
||||
|
||||
// Are we cool with this prey spawning in at all?
|
||||
var/answer = tgui_alert(src, "[potential_prey.prefs.real_name] wants to spawn in one of your bellies. Do you accept?", "Inbelly Spawning", list("Yes", "No"))
|
||||
var/prey_name = potential_prey.prefs.read_preference(/datum/preference/name/real_name)
|
||||
var/answer = tgui_alert(src, "[prey_name] wants to spawn in one of your bellies. Do you accept?", "Inbelly Spawning", list("Yes", "No"))
|
||||
if(answer != "Yes")
|
||||
to_chat(potential_prey, span_notice("Your request was turned down."))
|
||||
return
|
||||
@@ -40,7 +41,7 @@
|
||||
return
|
||||
|
||||
// Final confirmation for pred
|
||||
var/confirmation_pred = tgui_alert(src, "Are you certain that you want [potential_prey.prefs.real_name] spawned in your [belly_choice][absorbed ? ", absorbed" : ""]?", "Inbelly Spawning", list("Yes", "No"))
|
||||
var/confirmation_pred = tgui_alert(src, "Are you certain that you want [prey_name] spawned in your [belly_choice][absorbed ? ", absorbed" : ""]?", "Inbelly Spawning", list("Yes", "No"))
|
||||
|
||||
if(confirmation_pred != "Yes")
|
||||
to_chat(potential_prey, span_notice("Your pred couldn't finish selection. Try again?"))
|
||||
|
||||
@@ -334,7 +334,7 @@
|
||||
var/choice = tgui_alert(ui.user, "Warning: Saving your vore panel while in the lobby will save it to the CURRENTLY LOADED character slot, and potentially overwrite it. Are you SURE you want to overwrite your current slot with these vore bellies?", "WARNING!", list("No, abort!", "Yes, save."))
|
||||
if(choice != "Yes, save.")
|
||||
return TRUE
|
||||
else if(host.real_name != host.client.prefs.real_name || (!ishuman(host) && !issilicon(host)))
|
||||
else if(host.real_name != host.client.prefs.read_preference(/datum/preference/name/real_name) || (!ishuman(host) && !issilicon(host)))
|
||||
var/choice = tgui_alert(ui.user, "Warning: Saving your vore panel while playing what is very-likely not your normal character will overwrite whatever character you have loaded in character setup. Maybe this is your 'playing a simple mob' slot, though. Are you SURE you want to overwrite your current slot with these vore bellies?", "WARNING!", list("No, abort!", "Yes, save."))
|
||||
if(choice != "Yes, save.")
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user