mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
The Great Unstationing (#20269)
Replaces many references of station with SSatlas variables using station_name(). Touches alot of things in the process (mostly moving some aspects to New() to allow for calling of proc/variable.) --------- Signed-off-by: Ben <91219575+Ben10083@users.noreply.github.com> Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com> Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
This commit is contained in:
@@ -139,7 +139,7 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
return 0
|
||||
|
||||
if(!(S.spawn_flags & CAN_JOIN))
|
||||
to_chat(usr, SPAN_DANGER("Your current species, [client.prefs.species], is not available for play on the station."))
|
||||
to_chat(usr, SPAN_DANGER("Your current species, [client.prefs.species], is not available for play on the [station_name(TRUE)]."))
|
||||
return 0
|
||||
|
||||
LateChoices()
|
||||
@@ -159,7 +159,7 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
to_chat(usr, SPAN_NOTICE("There is an administrative lock on entering the game!"))
|
||||
return
|
||||
else if(SSticker.mode && SSticker.mode.explosion_in_progress)
|
||||
to_chat(usr, SPAN_DANGER("The station is currently exploding. Joining would go poorly."))
|
||||
to_chat(usr, SPAN_DANGER("The [station_name(TRUE)] is currently exploding. Joining would go poorly."))
|
||||
return
|
||||
|
||||
if(client.unacked_warning_count > 0)
|
||||
@@ -172,7 +172,7 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
return 0
|
||||
|
||||
if(!(S.spawn_flags & CAN_JOIN))
|
||||
to_chat(usr, SPAN_DANGER("Your current species, [client.prefs.species], is not available for play on the station."))
|
||||
to_chat(usr, SPAN_DANGER("Your current species, [client.prefs.species], is not available for play on the [station_name(TRUE)]."))
|
||||
return 0
|
||||
|
||||
AttemptLateSpawn(href_list["SelectedJob"],client.prefs.spawnpoint)
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
to_chat(brainmob, "<b>You are a positronic brain, brought into existence on [station_name()].</b>")
|
||||
to_chat(brainmob, "<b>As a synthetic intelligence, you answer to all crewmembers, as well as the AI.</b>")
|
||||
to_chat(brainmob, "<b>Remember, the purpose of your existence is to serve the crew and the station. Above all else, do no harm.</b>")
|
||||
to_chat(brainmob, "<b>Remember, the purpose of your existence is to serve the crew and the [station_name(TRUE)]. Above all else, do no harm.</b>")
|
||||
|
||||
var/area/A = get_area(src)
|
||||
if(istype(A, /area/assembly/robotics))
|
||||
|
||||
@@ -218,7 +218,7 @@ var/list/ai_verbs_default = list(
|
||||
return ..()
|
||||
|
||||
/mob/living/silicon/ai/proc/on_mob_init()
|
||||
to_chat(src, "<h3>You are playing the station's AI.</h3>")
|
||||
to_chat(src, "<h3>You are playing the [station_name()]'s AI.</h3>")
|
||||
to_chat(src, "<strong><a href='?src=[REF(src)];view_ai_help=1'>\[View help\]</a></strong> (or use OOC command <code>AI-Help</code> at any time)<br>")
|
||||
|
||||
if(malf && !(mind in malf.current_antagonists))
|
||||
@@ -358,13 +358,13 @@ var/list/ai_verbs_default = list(
|
||||
var/radio_keys = jointext(src.get_radio_keys(), "<br>")
|
||||
var/dat = "\
|
||||
<h1>AI Basics</h1>\
|
||||
<p>You are playing the station's AI. The AI cannot move, but can interact with many objects while viewing them (through cameras).</p>\
|
||||
<p>You are playing the [station_name()]'s AI. The AI cannot move, but can interact with many objects while viewing them (through cameras).</p>\
|
||||
<p>Familiarize yourself with the GUI buttons in world view. They are shortcuts to running commands for camera tracking, displaying alerts, moving up and down and such.</p>\
|
||||
<p>While observing through a camera, you can use most (networked) devices which you can see, such as computers, APCs, intercoms, doors, etc. \
|
||||
To use something, simply click on it.</p>\
|
||||
<h2>AI Shell</h2>\
|
||||
<p>As an AI, you have access to an unique, inhabitable AI shell that spawns behind your core.\
|
||||
This construct can be used in a variety of ways, but its primary function is to be a <strong>role play tool</strong> to give you the ability to have an actual physical presence on the station.\
|
||||
This construct can be used in a variety of ways, but its primary function is to be a <strong>role play tool</strong> to give you the ability to have an actual physical presence on the [station_name(TRUE)].\
|
||||
The shell is an extension of you, which means <strong>your laws apply to it aswell.</strong>\
|
||||
</p>\
|
||||
<h2>OOC Notes</h2>\
|
||||
@@ -424,7 +424,7 @@ var/list/ai_verbs_default = list(
|
||||
if(message_cooldown)
|
||||
to_chat(src, "Please allow one minute to pass between announcements.")
|
||||
return
|
||||
var/input = tgui_input_text(usr, "Please write a message to announce to the station crew.", "A.I. Announcement", multiline = TRUE)
|
||||
var/input = tgui_input_text(usr, "Please write a message to announce to the [station_name(TRUE)] crew.", "A.I. Announcement", multiline = TRUE)
|
||||
if(!input)
|
||||
return
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ GLOBAL_LIST_EMPTY(empty_playable_ai_cores)
|
||||
return
|
||||
|
||||
if(carded)
|
||||
to_chat(usr, SPAN_DANGER("No connection to station intelligence storage. You must be in an AI Core to store yourself (adminhelp if you need to leave)."))
|
||||
to_chat(usr, SPAN_DANGER("No connection to [station_name(TRUE)] intelligence storage. You must be in an AI Core to store yourself (adminhelp if you need to leave)."))
|
||||
return
|
||||
|
||||
// Guard against misclicks, this isn't the sort of thing we want happening accidentally
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
|
||||
var/static/list/call_area_names
|
||||
|
||||
/obj/machinery/computer/drone_control/New()
|
||||
..()
|
||||
desc = "Used to monitor the [station_name(TRUE)]'s drone population and the assembler that services them."
|
||||
|
||||
/obj/machinery/computer/drone_control/attack_ai(var/mob/user as mob)
|
||||
if(!ai_can_interact(user))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user