Lemurian Sea (#22686)

changes:
  - refactor: "Refactors Gravity Generator UI from HTML to TGUI."
- rscadd: "Adds sector-based modifier var 'overmap_hazards_multiplier'
for generating total overmap hazard count."
  - soundadd: "Adds new Lemurian Sea 'welcome' announcements."
- rscadd: "Added Lemurian Sea gravitic anomalies as overmap hazards and
random events."
  - rscadd: "Adds ADPI/The Voices."
- rscadd: "Adds ADPI Panel for modmins to send ADPI messages to a single
character or all characters from their respective pools, or custom
messages."
- balance: "Vaurca Hivenet communication, the Hivenet Manifest, and
Hivenet Echoes are now disabled while the ship is in Lemurian Sea
sectors."
This commit is contained in:
Batrachophreno
2026-06-13 16:25:49 +00:00
committed by GitHub
parent a11c25bef6
commit 0c7ab8baa7
53 changed files with 1818 additions and 417 deletions
+3
View File
@@ -14,6 +14,7 @@ GLOBAL_LIST_INIT(admin_verbs_default, list(
GLOBAL_LIST_INIT(admin_verbs_admin, list(
/client/proc/debug_variables, /*allows us to -see- the variables of any instance in the game.*/
/client/proc/invisimin, /*allows our mob to go invisible/visible*/
/client/proc/adpi_panel,
// /datum/admins/proc/show_traitor_panel, /*interface which shows a mob's mind*/ -Removed due to rare practical use. Moved to debug verbs ~Errorage */
/datum/admins/proc/show_game_mode, /*Configuration window for the current game mode.*/
/datum/admins/proc/force_mode_latespawn, /*Force the mode to try a latespawn proc*/
@@ -125,6 +126,7 @@ GLOBAL_LIST_INIT(admin_verbs_sounds, list(
GLOBAL_LIST_INIT(admin_verbs_fun, list(
/client/proc/object_talk,
/client/proc/adpi_panel,
/client/proc/cmd_admin_dress,
/client/proc/cmd_admin_grab_observers,
/client/proc/cmd_admin_gib_self,
@@ -447,6 +449,7 @@ GLOBAL_LIST_INIT(admin_verbs_mod, list(
/client/proc/odyssey_panel,
/client/proc/jobbans,
/client/proc/cmd_admin_subtle_message, /*send an message to somebody as a 'voice in their head'*/
/client/proc/adpi_panel,
/datum/admins/proc/paralyze_mob,
/client/proc/toggleattacklogs,
/client/proc/cmd_admin_check_contents,
@@ -1,33 +0,0 @@
/**********
* Gravity *
**********/
/datum/admin_secret_item/random_event/gravity/New()
..()
name = "Toggle [station_name(TRUE)] Artificial Gravity"
/datum/admin_secret_item/random_event/gravity/can_execute(var/mob/user)
if(!(SSticker.mode))
return 0
return ..()
/datum/admin_secret_item/random_event/gravity/execute(var/mob/user)
. = ..()
if(!.)
return
GLOB.gravity_is_on = !GLOB.gravity_is_on
for(var/A in SSmachinery.gravity_generators)
var/obj/structure/machinery/gravity_generator/main/B = A
B.eventshutofftoggle()
feedback_inc("admin_secrets_fun_used",1)
feedback_add_details("admin_secrets_fun_used","Grav")
if(GLOB.gravity_is_on)
log_admin("[key_name(user)] toggled gravity on.")
message_admins(SPAN_NOTICE("[key_name_admin(user)] toggled gravity on."), 1)
command_announcement.Announce("Gravity generators are again functioning within normal parameters. Sorry for any inconvenience.")
else
log_admin("[key_name(user)] toggled gravity off.")
message_admins(SPAN_NOTICE("[key_name_admin(usr)] toggled gravity off."), 1)
command_announcement.Announce("Feedback surge detected in mass-distributions systems. Artificial gravity has been disabled whilst the system reinitializes. Further failures may result in a gravitational collapse and formation of blackholes. Have a nice day.")
+3
View File
@@ -939,6 +939,9 @@
if(!(GLOB.all_languages[LANGUAGE_VAURCA] in H.languages))
to_chat(usr, "The person you are trying to contact is incapable of recieving Hivenet transmissions.")
return
if(is_lemurian_sea_sector())
to_chat(usr, "The Lemurian Sea prevents Hivenet transmissions.")
return
var/input = sanitize(input(src.owner, "Please enter a message to reply to [key_name(H)] via the Hivenet.", "Outgoing transmission from the Hive...", ""))
if(!input) return
to_chat(src.owner, "You sent [input] to [H] via a secure Hivenet channel.")
+14
View File
@@ -1143,3 +1143,17 @@ Traitors and the like can also be revived with the previous role mostly intact.
message_admins("[key_name_admin(usr)] used the Narration Panel")
log_admin("[key_name(usr)] used the Narration Panel")
feedback_add_details("admin_verb", "AONP")
/client/proc/adpi_panel()
set category = "Fun"
set name = "ADPI Panel"
if(!check_rights(R_ADMIN|R_FUN, TRUE))
return
var/datum/tgui_module/adpi_panel/panel = new
panel.ui_interact(usr)
message_admins("[key_name_admin(usr)] used the ADPI Panel")
log_admin("[key_name(usr)] used the ADPI Panel")
feedback_add_details("admin_verb", "ADPI")