mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Merge branch 'master' of https://github.com/tgstation/-tg-station into turfs
Conflicts: _maps/RandomRuins/SpaceRuins/asteroid4.dmm _maps/RandomRuins/SpaceRuins/spacebar.dmm _maps/RandomZLevels/Academy.dmm _maps/RandomZLevels/beach.dmm _maps/RandomZLevels/caves.dmm _maps/RandomZLevels/research.dmm _maps/RandomZLevels/snowdin.dmm _maps/RandomZLevels/spacebattle.dmm _maps/RandomZLevels/undergroundoutpost45.dmm _maps/RandomZLevels/wildwest.dmm _maps/map_files/AsteroidStation/AsteroidStation.dmm _maps/map_files/BirdStation/BirdStation.dmm _maps/map_files/DreamStation/dreamstation04.dmm _maps/map_files/DreamStation/z5.dmm _maps/map_files/EfficiencyStation/EfficiencyStation.dmm _maps/map_files/MetaStation/MetaStation.v41I.dmm _maps/map_files/MiniStation/MiniStation.dmm _maps/map_files/TgStation/tgstation.2.1.3.dmm _maps/map_files/generic/z4.dmm _maps/map_files/generic/z5.dmm _maps/map_files/generic/z6.dmm _maps/templates/lavaland_surface_prisoner_crash.dmm _maps/templates/lavaland_surface_seed_vault.dmm _maps/templates/lavaland_surface_ufo_crash.dmm code/game/asteroid.dm code/game/atoms.dm code/game/gamemodes/cult/runes.dm code/game/gamemodes/malfunction/Malf_Modules.dm code/game/machinery/computer/arcade.dm code/game/objects/structures/lattice.dm code/game/turfs/simulated/floor/fancy_floor.dm code/game/turfs/simulated/floor/misc_floor.dm code/game/turfs/simulated/floor/plasteel_floor.dm code/game/turfs/simulated/walls_misc.dm code/game/turfs/turf.dm code/modules/events/spacevine.dm code/modules/mining/mine_turfs.dm code/modules/mob/living/living.dm code/modules/mob/living/silicon/robot/robot.dm code/modules/mob/living/simple_animal/bot/cleanbot.dm code/modules/mob/living/simple_animal/bot/mulebot.dm code/modules/mob/mob_movement.dm
This commit is contained in:
@@ -60,8 +60,12 @@ var/list/admin_verbs_admin = list(
|
||||
/client/proc/cmd_admin_world_narrate, /*sends text to all players with no padding*/
|
||||
/client/proc/cmd_admin_local_narrate, /*sends text to all mobs within view of atom*/
|
||||
/client/proc/cmd_admin_create_centcom_report,
|
||||
/client/proc/cmd_change_command_name,
|
||||
/client/proc/toggle_antag_hud, /*toggle display of the admin antag hud*/
|
||||
/client/proc/toggle_AI_interact /*toggle admin ability to interact with machines as an AI*/
|
||||
/client/proc/toggle_AI_interact, /*toggle admin ability to interact with machines as an AI*/
|
||||
/client/proc/customiseSNPC, /* Customise any interactive crewmembers in the world */
|
||||
/client/proc/resetSNPC, /* Resets any interactive crewmembers in the world */
|
||||
/client/proc/toggleSNPC /* Toggles an npc's processing mode */
|
||||
)
|
||||
var/list/admin_verbs_ban = list(
|
||||
/client/proc/unban_panel,
|
||||
@@ -188,6 +192,7 @@ var/list/admin_verbs_hideable = list(
|
||||
/client/proc/cmd_admin_add_freeform_ai_law,
|
||||
/client/proc/cmd_admin_add_random_ai_law,
|
||||
/client/proc/cmd_admin_create_centcom_report,
|
||||
/client/proc/cmd_change_command_name,
|
||||
/client/proc/object_say,
|
||||
/client/proc/toggle_random_events,
|
||||
/client/proc/cmd_admin_add_random_ai_law,
|
||||
@@ -217,7 +222,10 @@ var/list/admin_verbs_hideable = list(
|
||||
/client/proc/toggle_nuke,
|
||||
/client/proc/cmd_display_del_log,
|
||||
/client/proc/toggle_antag_hud,
|
||||
/client/proc/debug_huds
|
||||
/client/proc/debug_huds,
|
||||
/client/proc/customiseSNPC,
|
||||
/client/proc/resetSNPC,
|
||||
/client/proc/toggleSNPC
|
||||
)
|
||||
|
||||
/client/proc/add_admin_verbs()
|
||||
|
||||
@@ -200,7 +200,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
||||
. += "[procname] returned an associative list:"
|
||||
for(var/key in returnedlist)
|
||||
. += "\n[key] = [returnedlist[key]]"
|
||||
|
||||
|
||||
else
|
||||
. += "[procname] returned a list:"
|
||||
for(var/elem in returnedlist)
|
||||
@@ -644,8 +644,15 @@ var/global/list/g_fancy_list_of_types = null
|
||||
E.active = 1
|
||||
|
||||
for(var/obj/machinery/field/generator/F in machines)
|
||||
if(F.anchored)
|
||||
F.Varedit_start = 1
|
||||
if(F.active == 0)
|
||||
F.active = 1
|
||||
F.state = 2
|
||||
F.power = 250
|
||||
F.anchored = 1
|
||||
F.warming_up = 3
|
||||
F.start_fields()
|
||||
F.update_icon()
|
||||
|
||||
spawn(30)
|
||||
for(var/obj/machinery/the_singularitygen/G in machines)
|
||||
if(G.anchored)
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
candidates += applicant
|
||||
|
||||
if(candidates.len)
|
||||
var/numCultists = min(candidates.len, 5)
|
||||
var/numCultists = min(candidates.len, 4)
|
||||
|
||||
for(var/i = 0, i<numCultists, i++)
|
||||
H = pick(candidates)
|
||||
|
||||
@@ -482,6 +482,19 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
message_admins("[key_name_admin(src)] has created a command report")
|
||||
feedback_add_details("admin_verb","CCR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/cmd_change_command_name()
|
||||
set category = "Special Verbs"
|
||||
set name = "Change Command Name"
|
||||
if(!holder)
|
||||
src << "Only administrators may use this command."
|
||||
return
|
||||
var/input = input(usr, "Please input a new name for Central Command.", "What?", "") as text|null
|
||||
if(!input)
|
||||
return
|
||||
change_command_name(input)
|
||||
message_admins("[key_name_admin(src)] has changed Central Command's name to [input]")
|
||||
log_admin("[key_name(src)] has changed the Central Command name to: [input]")
|
||||
|
||||
/client/proc/cmd_admin_delete(atom/O as obj|mob|turf in world)
|
||||
set category = "Admin"
|
||||
set name = "Delete"
|
||||
@@ -963,6 +976,10 @@ var/list/datum/outfit/custom_outfits = list() //Admin created outfits
|
||||
for(var/datum/atom_hud/H in huds)
|
||||
if(istype(H, /datum/atom_hud/antag) || istype(H, /datum/atom_hud/data/human/security/advanced))
|
||||
(adding_hud) ? H.add_hud_to(usr) : H.remove_hud_from(usr)
|
||||
|
||||
for(var/datum/gang/G in ticker.mode.gangs)
|
||||
var/datum/atom_hud/antag/H = G.ganghud
|
||||
(adding_hud) ? H.add_hud_to(usr) : H.remove_hud_from(usr)
|
||||
|
||||
usr << "You toggled your admin antag HUD [adding_hud ? "ON" : "OFF"]."
|
||||
message_admins("[key_name_admin(usr)] toggled their admin antag HUD [adding_hud ? "ON" : "OFF"].")
|
||||
|
||||
Reference in New Issue
Block a user