mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-22 20:26:17 +01:00
@@ -0,0 +1,109 @@
|
||||
/datum/admins/proc/Secrets()
|
||||
if(!check_rights(0)) return
|
||||
|
||||
var/dat = "<B>The first rule of adminbuse is: you don't talk about the adminbuse.</B><HR>"
|
||||
|
||||
if(check_rights(R_ADMIN,0))
|
||||
dat += {"
|
||||
<B>Admin Secrets</B><BR>
|
||||
<BR>
|
||||
<A href='?src=\ref[src];secretsadmin=list_bombers'>Bombing List</A><BR>
|
||||
<A href='?src=\ref[src];secretsadmin=check_antagonist'>Show current traitors and objectives</A><BR>
|
||||
<A href='?src=\ref[src];secretsadmin=list_signalers'>Show last [length(lastsignalers)] signalers</A><BR>
|
||||
<A href='?src=\ref[src];secretsadmin=list_lawchanges'>Show last [length(lawchanges)] law changes</A><BR>
|
||||
<A href='?src=\ref[src];secretsadmin=showailaws'>Show AI Laws</A><BR>
|
||||
<A href='?src=\ref[src];secretsadmin=showgm'>Show Game Mode</A><BR>
|
||||
<A href='?src=\ref[src];secretsadmin=manifest'>Show Crew Manifest</A><BR>
|
||||
<A href='?src=\ref[src];secretsadmin=DNA'>List DNA (Blood)</A><BR>
|
||||
<A href='?src=\ref[src];secretsadmin=fingerprints'>List Fingerprints</A><BR><BR>
|
||||
<BR>
|
||||
"}
|
||||
|
||||
if(check_rights(R_FUN,0))
|
||||
dat += {"
|
||||
<B>'Random' Events</B><BR>
|
||||
<BR>
|
||||
<A href='?src=\ref[src];secretsfun=gravity'>Toggle station artificial gravity</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=wave'>Spawn a wave of meteors (aka lagocolyptic shower)</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=gravanomalies'>Spawn a gravitational anomaly (aka lagitational anomolag)</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=timeanomalies'>Spawn wormholes</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=goblob'>Spawn blob</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=aliens'>Trigger a Xenomorph infestation</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=borers'>Trigger a Cortical Borer infestation</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=alien_silent'>Spawn an Alien silently</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=spiders'>Trigger a Spider infestation</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=spaceninja'>Send in a space ninja</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=striketeam'>Send in a strike team</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=carp'>Trigger an Carp migration</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=radiation'>Irradiate the station</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=prison_break'>Trigger a Prison Break</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=virus'>Trigger a Virus Outbreak</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=immovable'>Spawn an Immovable Rod</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=lightsout'>Toggle a "lights out" event</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=ionstorm'>Spawn an Ion Storm</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=spacevines'>Spawn Space-Vines</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=comms_blackout'>Trigger a communication blackout</A><BR>
|
||||
<BR>
|
||||
<B>Shuttles</B><BR>
|
||||
<BR>
|
||||
<A href='?src=\ref[src];secretsfun=launchshuttle'>Launch a shuttle</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=forcelaunchshuttle'>Force launch a shuttle</A><BR>
|
||||
"}
|
||||
if(check_rights(R_DEBUG,0))
|
||||
dat += {"
|
||||
<I>These shouldn't be used in game</I><BR>
|
||||
<A href='?src=\ref[src];secretsfun=jumpshuttle'>Jump a shuttle</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=moveshuttle'>Move a shuttle</A><BR>
|
||||
"}
|
||||
if(check_rights(R_FUN,0))
|
||||
dat += {"
|
||||
<BR>
|
||||
<B>Fun Secrets</B><BR>
|
||||
<BR>
|
||||
<A href='?src=\ref[src];secretsfun=sec_clothes'>Remove 'internal' clothing</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=sec_all_clothes'>Remove ALL clothing</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=monkey'>Turn all humans into monkeys</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=sec_classic1'>Remove firesuits, grilles, and pods</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=power'>Make all areas powered</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=unpower'>Make all areas unpowered</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=quickpower'>Power all SMES</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=toggleprisonstatus'>Toggle Prison Shuttle Status(Use with S/R)</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=activateprison'>Send Prison Shuttle</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=deactivateprison'>Return Prison Shuttle</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=prisonwarp'>Warp all Players to Prison</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=tripleAI'>Triple AI mode (needs to be used in the lobby)</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=traitor_all'>Everyone is the traitor</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=onlyone'>There can only be one!</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=flicklights'>Ghost Mode</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=retardify'>Make all players retarded</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=fakeguns'>Make all items look like guns</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=schoolgirl'>Japanese Animes Mode</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=eagles'>Egalitarian Station Mode</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=blackout'>Break all lights</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=whiteout'>Fix all lights</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=friendai'>Best Friend AI</A><BR>
|
||||
<A href='?src=\ref[src];secretsfun=floorlava'>The floor is lava! (DANGEROUS: extremely lame)</A><BR>
|
||||
"}
|
||||
|
||||
if(check_rights(R_SERVER,0))
|
||||
dat += "<A href='?src=\ref[src];secretsfun=togglebombcap'>Toggle bomb cap</A><BR>"
|
||||
|
||||
dat += "<BR>"
|
||||
|
||||
if(check_rights(R_DEBUG|R_DEV,0))
|
||||
dat += {"
|
||||
<B>Security Level Elevated</B><BR>
|
||||
<BR>
|
||||
<A href='?src=\ref[src];secretscoder=maint_access_engiebrig'>Change all maintenance doors to engie/brig access only</A><BR>
|
||||
<A href='?src=\ref[src];secretscoder=maint_access_brig'>Change all maintenance doors to brig access only</A><BR>
|
||||
<A href='?src=\ref[src];secretscoder=infinite_sec'>Remove cap on security officers</A><BR>
|
||||
<BR>
|
||||
<B>Coder Secrets</B><BR>
|
||||
<BR>
|
||||
<A href='?src=\ref[src];secretsadmin=list_job_debug'>Show Job Debug</A><BR>
|
||||
<A href='?src=\ref[src];secretscoder=spawn_objects'>Admin Log</A><BR>
|
||||
<BR>
|
||||
"}
|
||||
|
||||
usr << browse(dat, "window=secrets")
|
||||
return
|
||||
@@ -108,4 +108,15 @@
|
||||
C << msg
|
||||
if(R_ADMIN & C.holder.rights)
|
||||
if(C.prefs.toggles & CHAT_SCOPES_DEBUG)
|
||||
C << msg
|
||||
C << msg
|
||||
|
||||
/proc/msg_scopes_list(var/thing, var/name = "")
|
||||
if(!thing)
|
||||
return
|
||||
|
||||
var/output = "[name]: "
|
||||
for(var/line in thing)
|
||||
output += "[line]"
|
||||
output += " :: "
|
||||
|
||||
msg_scopes(output)
|
||||
|
||||
@@ -43,6 +43,8 @@
|
||||
if(!possible_traitors.len)
|
||||
return 0
|
||||
|
||||
msg_scopes_list(possible_traitors, "possible_traitors")
|
||||
|
||||
if(config.traitor_scaling)
|
||||
num_traitors = max_traitors - 1 + prob(traitor_prob)
|
||||
log_game("Number of traitors: [num_traitors]")
|
||||
@@ -100,7 +102,7 @@
|
||||
if(istype(player, "/mob/living/silicon/robot/drone"))
|
||||
possible_traitors -= player
|
||||
scopesdebug++
|
||||
msg_scopes("possible_traitors [possible_traitors.len]")
|
||||
msg_scopes_list(possible_traitors, "possible_traitors")
|
||||
|
||||
|
||||
if(scopesdebug) //4464-45
|
||||
|
||||
@@ -695,7 +695,7 @@ var/list/datum/dna/hivemind_bank = list()
|
||||
|
||||
var/list/victims = list()
|
||||
for(var/mob/living/carbon/C in oview(changeling.sting_range))
|
||||
if(C.isipc())
|
||||
if(C.get_species() == "Machine")
|
||||
continue
|
||||
victims += C
|
||||
var/mob/living/carbon/T = input(src, "Who will we sting?") as null|anything in victims
|
||||
|
||||
@@ -266,19 +266,19 @@ datum/game_mode/mutiny
|
||||
|
||||
/datum/game_mode/mutiny/pre_setup()
|
||||
var/list/loyalist_candidates = get_head_loyalist_candidates()
|
||||
msg_scopes("Loyalist candidates: [loyalist_candidates]")
|
||||
msg_scopes_list(loyalist_candidates, "Loyalist candidates:")
|
||||
if(!loyalist_candidates || loyalist_candidates.len == 0)
|
||||
world << "\red Mutiny mode aborted: no valid candidates for head loyalist."
|
||||
return 0
|
||||
|
||||
var/list/mutineer_candidates = get_head_mutineer_candidates()
|
||||
msg_scopes("Mutineer candidates: [mutineer_candidates]")
|
||||
msg_scopes_list(mutineer_candidates, "Mutineer candidates")
|
||||
if(!mutineer_candidates || mutineer_candidates.len == 0)
|
||||
world << "\red Mutiny mode aborted: no valid candidates for head mutineer."
|
||||
return 0
|
||||
|
||||
var/list/directive_candidates = get_directive_candidates()
|
||||
msg_scopes("Directive candidates: [directive_candidates]")
|
||||
msg_scopes_list(directive_candidates, "Directive candidates")
|
||||
if(!directive_candidates || directive_candidates.len == 0)
|
||||
world << "\red Mutiny mode aborted: no valid candidates for Directive X."
|
||||
return 0
|
||||
|
||||
@@ -23,9 +23,14 @@
|
||||
|
||||
|
||||
/datum/game_mode/nuclear/announce()
|
||||
world << "<B>The current game mode is - Nuclear Emergency!</B>"
|
||||
world << "<B>A [syndicate_name()] Strike Force is approaching [station_name()]!</B>"
|
||||
world << "A nuclear explosive was being transported by Nanotrasen to a military base. The transport ship mysteriously lost contact with Space Traffic Control (STC). About that time a strange disk was discovered around [station_name()]. It was identified by Nanotrasen as a nuclear auth. disk and now Syndicate Operatives have arrived to retake the disk and detonate SS13! Also, most likely Syndicate star ships are in the vicinity so take care not to lose the disk!\n<B>Syndicate</B>: Reclaim the disk and detonate the nuclear bomb anywhere on SS13.\n<B>Personnel</B>: Hold the disk and <B>escape with the disk</B> on the shuttle!"
|
||||
if(!config.objectives_disabled)
|
||||
world << "<B>The current game mode is - Nuclear Emergency!</B>"
|
||||
world << "<B>A [syndicate_name()] Strike Force is approaching [station_name()]!</B>"
|
||||
world << "A nuclear explosive was being transported by Nanotrasen to a military base. The transport ship mysteriously lost contact with Space Traffic Control (STC). About that time a strange disk was discovered around [station_name()]. It was identified by Nanotrasen as a nuclear auth. disk and now Syndicate Operatives have arrived to retake the disk and detonate SS13! Also, most likely Syndicate star ships are in the vicinity so take care not to lose the disk!\n<B>Syndicate</B>: Reclaim the disk and detonate the nuclear bomb anywhere on SS13.\n<B>Personnel</B>: Hold the disk and <B>escape with the disk</B> on the shuttle!"
|
||||
else
|
||||
world << "<B>The current game mode is - Nuclear Emergency!</B>"
|
||||
world << "<B>A [syndicate_name()] is approaching [station_name()]</B>"
|
||||
world << "What are they here for, who knows?"
|
||||
|
||||
/datum/game_mode/nuclear/can_start()//This could be better, will likely have to recode it later
|
||||
if(!..())
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
//Chaplains are resistant to vampire powers
|
||||
if(mind && mind.assigned_role == "Chaplain")
|
||||
return 0
|
||||
if(mind && mind.current.isipc())//Not sure if this should be here but we can easily override.
|
||||
if(get_species() == "Machine")
|
||||
return 0
|
||||
//Vampires who have reached their full potential can affect nearly everything
|
||||
if(M && M.vampire && (VAMP_FULL in M.vampire.powers))
|
||||
@@ -154,7 +154,7 @@
|
||||
if(C==usr)
|
||||
M.current << "\red You can't do that to yourself"
|
||||
return
|
||||
if(C.isipc())
|
||||
if(C.get_species() == "Machine")
|
||||
M.current << "\red You can't to that to a machine"
|
||||
return
|
||||
if(!M.current.vampire_can_reach(C, 1))
|
||||
@@ -216,7 +216,7 @@
|
||||
return
|
||||
for(var/mob/living/carbon/C in view(1))
|
||||
if(!C.vampire_affected(M))
|
||||
if(!C.isipc())
|
||||
if(!C.get_species() == "Machine")
|
||||
continue
|
||||
if(!M.current.vampire_can_reach(C, 1)) continue
|
||||
// C.Stun(8)
|
||||
@@ -251,7 +251,7 @@
|
||||
if(C == M.current) continue
|
||||
if(ishuman(C) && (C:l_ear || C:r_ear) && istype((C:l_ear || C:r_ear), /obj/item/clothing/ears/earmuffs)) continue
|
||||
if(!C.vampire_affected(M))
|
||||
if(!C.isipc())
|
||||
if(!C.get_species() == "Machine")
|
||||
continue
|
||||
C << "<span class='warning'><font size='3'><b>You hear a ear piercing shriek and your senses dull!</font></b></span>"
|
||||
C.Weaken(5)
|
||||
@@ -277,7 +277,7 @@
|
||||
if(C==usr)
|
||||
M.current << "\red You can't do that to yourself"
|
||||
return
|
||||
if(C.isipc())
|
||||
if(C.get_species() == "Machine")
|
||||
M.current << "\red You can only enthrall humans"
|
||||
return
|
||||
M.current.visible_message("\red [M.current.name] bites [C.name]'s neck!", "\red You bite [C.name]'s neck and begin the flow of power.")
|
||||
|
||||
@@ -833,8 +833,8 @@
|
||||
M << "\red You have been kicked from the server"
|
||||
else
|
||||
M << "\red You have been kicked from the server: [reason]"
|
||||
log_admin("[key_name(usr)] booted [key_name(M)].")
|
||||
message_admins("\blue [key_name_admin(usr)] booted [key_name_admin(M)].", 1)
|
||||
log_admin("[key_name(usr)] booted [key_name(M)]for : [reason].")
|
||||
message_admins("\blue [key_name_admin(usr)] booted [key_name_admin(M)] for: [reason].", 1)
|
||||
//M.client = null
|
||||
del(M.client)
|
||||
/*
|
||||
|
||||
@@ -59,8 +59,14 @@
|
||||
bst.equip_to_slot_or_del(new /obj/item/weapon/storage/box/ids(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/device/t_scanner(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/device/signaltool(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/device/multitool(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/device/pda/captain/bst(bst.back), slot_in_backpack)
|
||||
bst.equip_to_slot_or_del(new /obj/item/device/multitool(bst.back), slot_in_backpack)
|
||||
|
||||
var/obj/item/weapon/storage/box/pills = new /obj/item/weapon/storage/box
|
||||
pills.name = "adminordrazine"
|
||||
for(var/i = 1, i < 12, i++)
|
||||
new /obj/item/weapon/reagent_containers/pill/adminordrazine(pills)
|
||||
bst.equip_to_slot_or_del(pills, slot_in_backpack)
|
||||
|
||||
//Implant because access
|
||||
var/obj/item/weapon/implant/loyalty/L = new/obj/item/weapon/implant/loyalty(bst)
|
||||
@@ -99,11 +105,6 @@
|
||||
bst.add_language("Robot Talk")
|
||||
bst.add_language("Drone Talk")
|
||||
|
||||
/* bst.bluespace_trail.set_up(src)
|
||||
bst.bluespace_trail.start()
|
||||
spawn(100)
|
||||
bst.bluepsace_trail.stop()
|
||||
*/
|
||||
spawn(5)
|
||||
s.start()
|
||||
bst.anchored = 0
|
||||
@@ -117,7 +118,6 @@
|
||||
/mob/living/carbon/human/bst
|
||||
universal_understand = 1
|
||||
status_flags = GODMODE
|
||||
var/bluespace_trail = new /datum/effect/effect/system/ion_trail_follow
|
||||
|
||||
can_inject(var/mob/user, var/error_msg, var/target_zone)
|
||||
user << "<span class='alert'>The [src] disarms you before you can inject them.</span>"
|
||||
@@ -271,6 +271,22 @@
|
||||
src << "\blue You will no-longer phase through solid matter."
|
||||
return
|
||||
|
||||
verb/bstrecover()
|
||||
set name = "Rejuv"
|
||||
set desc = "Use the bluespace within you to restore your health"
|
||||
set category = "BST"
|
||||
set popup_menu = 0
|
||||
|
||||
src.revive()
|
||||
|
||||
verb/bstawake()
|
||||
set name = "Wake up"
|
||||
set desc = "This is a quick fix to the reloging sleep bug"
|
||||
set category = "BST"
|
||||
set popup_menu = 0
|
||||
|
||||
src.sleeping = 0
|
||||
|
||||
//Equipment. All should have canremove set to 0
|
||||
//All items with a /bst need the attack_hand() proc overrided to stop people getting overpowered items.
|
||||
|
||||
@@ -421,4 +437,5 @@
|
||||
..()
|
||||
|
||||
/mob/living/carbon/human/bst/restrained()
|
||||
return 0
|
||||
return 0
|
||||
|
||||
|
||||
@@ -39,12 +39,7 @@
|
||||
/mob/living/carbon/human/machine/New(var/new_loc)
|
||||
h_style = "blue IPC screen"
|
||||
..(new_loc, "Machine")
|
||||
*/
|
||||
|
||||
/mob/living/carbon/human/machine/isipc()
|
||||
return 1
|
||||
|
||||
/*
|
||||
/mob/living/carbon/human/kocasslani/New(var/new_loc)
|
||||
h_style = "Bald"
|
||||
..(new_loc, "Kocasslani")
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
if(mind && mind.vampire && (mind in ticker.mode.vampires))
|
||||
M << "\red Your fangs fail to pierce [src.name]'s cold flesh"
|
||||
return 0
|
||||
if(isipc())
|
||||
if(get_species() == "Machine")
|
||||
M << "\red They have no blood"
|
||||
return 0
|
||||
//we're good to suck the blood, blaah
|
||||
|
||||
@@ -217,10 +217,4 @@
|
||||
if(fire_stacks > 9 && !on_fire)
|
||||
IgniteMob()
|
||||
|
||||
//Mobs on Fire end
|
||||
|
||||
//Why did I place it here?
|
||||
//Remind me to place this somewhere else
|
||||
//I sware this uses less memory
|
||||
/mob/living/proc/isipc()
|
||||
return 0
|
||||
//Mobs on Fire end
|
||||
Reference in New Issue
Block a user