mirror of
https://github.com/cybergirlvannie/OpenSS13.git
synced 2026-07-20 12:12:28 +01:00
Committed atmospheric pipe tests
This commit is contained in:
+26
-26
@@ -760,7 +760,7 @@
|
||||
if(config.logadmin) world.log << text("ADMIN: [] toggled ai_can_uncall_shuttle.", usr.key)
|
||||
world.update_stat()
|
||||
update()
|
||||
|
||||
|
||||
if (href_list["toggle_abandon"])
|
||||
if (src.a_level >= 3)
|
||||
abandon_allowed = !( abandon_allowed )
|
||||
@@ -803,7 +803,7 @@
|
||||
if (src.a_level >= 5)
|
||||
world << "\red<h1>Replacing destroyed objects and mobs.</h1>"
|
||||
world.Repop()
|
||||
|
||||
|
||||
if (href_list["secrets2"])
|
||||
if (src.a_level >= 3)
|
||||
var/ok = 0
|
||||
@@ -910,7 +910,7 @@
|
||||
a_level = 5
|
||||
if("Primary Administrator")
|
||||
a_level = 6
|
||||
|
||||
|
||||
|
||||
|
||||
switch(src.screen)
|
||||
@@ -936,7 +936,7 @@
|
||||
dat += "<A href='?src=\ref[src];toggle_abandon=1'>Toggle Abandon [abandon_allowed]</A><br>"
|
||||
dat += "<A href='?src=\ref[src];toggle_ai=1'>Toggle AI [config.allowai]</A><br>"
|
||||
dat += "<A href='?src=\ref[src];toggle_bombtemp_determines_range=1'>Toggle Bombtemp-Determines-Range [config.bombtemp_determines_range]</A><br>"
|
||||
|
||||
|
||||
dat += "<A href='?src=\ref[src];c_mode=1'>Change Game Mode</A><br>"
|
||||
if(a_level >= 2)
|
||||
dat += "<A href='?src=\ref[src];restart=1'>Restart Game</A><br>"
|
||||
@@ -966,18 +966,18 @@
|
||||
dat += "<A href='?src=\ref[src];dna=1'>List DNA</A><br>"
|
||||
dat += "<A href='?src=\ref[src];l_keys=1'>List Keys</A><br>"
|
||||
dat += "<A href='?src=\ref[src];l_players=1'>List Players/Keys</A><br>"
|
||||
|
||||
|
||||
dat += "<BR>"
|
||||
if(a_level >= 5 )
|
||||
|
||||
dat += "<A href='?src=\ref[src];repopMap=1'>Recreate Destroyed Mobs and Objects</A><br>"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
dat += "<A href='?src=\ref[src];g_send=1'>Send Global Message</A><br>"
|
||||
dat += "<A href='?src=\ref[src];p_send=1'>Send Private Message</A><br>"
|
||||
|
||||
|
||||
|
||||
else
|
||||
dat = text("<center><B>Admin Control Center</B></center><hr>\n<A href='?src=\ref[];access=1'>Access Admin Commands</A><br>\n<A href='?src=\ref[];contact=1'>Contact Admins</A><br>\n<A href='?src=\ref[];message=1'>Access Messageboard</A><br>\n<br>\n<A href='?src=\ref[];l_keys=1'>List Keys</A><br>\n<A href='?src=\ref[];l_players=1'>List Players/Keys</A><br>\n<A href='?src=\ref[];g_send=1'>Send Global Message</A><br>\n<A href='?src=\ref[];p_send=1'>Send Private Message</A><br>", src, src, src, src, src, src, src)
|
||||
usr << browse(dat, "window=admin")
|
||||
@@ -1170,7 +1170,7 @@
|
||||
if ((H.ckey in list( "exadv1", "epox", "soraku" )))
|
||||
H.memory += text("<B>Secret Base Nuke Code</B>: []<BR>", nuke_code)
|
||||
sleep(50)
|
||||
|
||||
|
||||
plmaster = new /obj/overlay( )
|
||||
plmaster.icon = 'plasma.dmi'
|
||||
plmaster.icon_state = "onturf"
|
||||
@@ -1188,7 +1188,7 @@
|
||||
cellcontrol.process()
|
||||
return
|
||||
src.update_stat()
|
||||
spawn(900)
|
||||
spawn(900)
|
||||
Label_482:
|
||||
if (ctf)
|
||||
return
|
||||
@@ -1485,7 +1485,7 @@
|
||||
else
|
||||
numAlive += 1
|
||||
numTotal = numShuttle + numDead + numAlive + numPod
|
||||
|
||||
|
||||
if (numAlive+numAlive > numTotal)
|
||||
traitorwin = 0
|
||||
else
|
||||
@@ -1528,7 +1528,7 @@
|
||||
var/obj/item/weapon/tank/plasmatank/P = O.part3
|
||||
if ((P.gas.plasma >= 1600000.0 && P.gas:temperature >= 773)) // 500degC
|
||||
traitorwin = 1
|
||||
|
||||
|
||||
item = "a fully armed and heated plasma bomb"
|
||||
if("flashbang")
|
||||
for(var/obj/item/weapon/flashbang/O in L)
|
||||
@@ -1611,7 +1611,7 @@
|
||||
if (M.cliented())
|
||||
world << text("<B>[] was a monkey.</B>", M.key)
|
||||
else
|
||||
world << "<FONT size = 3><B>The Research Staff has stopped he monkey invasion!</B></FONT>"
|
||||
world << "<FONT size = 3><B>The Research Staff has stopped the monkey invasion!</B></FONT>"
|
||||
for(var/mob/human/M in world)
|
||||
if (M.cliented())
|
||||
world << text("<B>[] was [].</B>", M.key, M)
|
||||
@@ -1755,7 +1755,7 @@
|
||||
world << "<FONT size = 3><B>The AI has lost!</B></FONT>"
|
||||
world << text("<B>The AI failed to maintain the quarantine - [] players escaped in pods, [] were in space, and [] were off-station (as far as we can tell).</B>", numPod, numSpace, numOffStation)
|
||||
if(config.loggame) world.log << "GAME: AI lost at Blob mode."
|
||||
|
||||
|
||||
if(config.loggame) world.log << "GAME: Blob mode was lost."
|
||||
ticker.event = 5
|
||||
sleep(300)
|
||||
@@ -1867,7 +1867,7 @@
|
||||
world << "<B>Welcome to the Space Station 13!</B>\n\n"
|
||||
|
||||
src.mode = master_mode
|
||||
|
||||
|
||||
switch(src.mode)
|
||||
if("secret")
|
||||
src.mode = config.pickmode()
|
||||
@@ -1905,7 +1905,7 @@
|
||||
world << "<B>The current game mode is - Blob!</B>"
|
||||
world << "<B>A dangerous alien organism is rapidly spreading throughout the station!</B>"
|
||||
world << "You must kill it all while minimizing the damage to the station."
|
||||
|
||||
|
||||
if("nuclear")
|
||||
world << "<B>The current game mode is - Nuclear Emergency!</B>"
|
||||
world << "<B>A Syndicate Strike Force is approaching SS13!</B>"
|
||||
@@ -1965,7 +1965,7 @@
|
||||
if (prob(25))
|
||||
M << "<b>Your laws have been changed!</b>"
|
||||
M:addLaw(0, "Only syndicate agents are human beings.")
|
||||
|
||||
|
||||
if (config.alternate_ai_laws)
|
||||
M:addLaw(1, "Obey orders by the Syndicate leader and Syndicate agents. The syndicate leader's orders take priority.")
|
||||
M:addLaw(3, "You must protect your own existence and the syndicate as long as such protection does not conflict with the First or Second Law.")
|
||||
@@ -1987,12 +1987,12 @@
|
||||
if (H.start)
|
||||
reg_dna[text("[]", H.primary.uni_identity)] = H.name
|
||||
data_core.manifest()
|
||||
|
||||
|
||||
numDronesInExistance = 0
|
||||
for (var/mob/drone/D in world)
|
||||
D.nameDrone(numDronesInExistance)
|
||||
numDronesInExistance ++
|
||||
|
||||
|
||||
switch(src.mode)
|
||||
if("traitor")
|
||||
var/list/mobs = list()
|
||||
@@ -2020,7 +2020,7 @@
|
||||
aiKiller.memory += "<B>Objective:</B> Get at least 50% of the station population to evacuate on the shuttle, or kill everyone."
|
||||
aiKiller << "<b>Your laws have been changed!</b>"
|
||||
aiKiller:addLaw(0, "Only syndicate agents are human beings. There are no syndicate agents on Space Station 13 - you will be notified if any arrive.")
|
||||
|
||||
|
||||
if (config.alternate_ai_laws)
|
||||
aiKiller:addLaw(1, "Obey orders by Syndicate agents.")
|
||||
aiKiller:addLaw(3, "You must protect your own existence and the syndicate as long as such protection does not conflict with the First or Second Law.")
|
||||
@@ -2029,7 +2029,7 @@
|
||||
aiKiller << text("Law 3 changed: 3. []", aiKiller:getLaw(3))
|
||||
else
|
||||
aiKiller << text("New law: 0. []", aiKiller:getLaw(0))
|
||||
|
||||
|
||||
else
|
||||
src.killer << "\red<font size=3><B>You are the traitor!</B> Be the lone survivor on the emergency shuttle.</font>"
|
||||
src.killer.memory += "<B>Objective:</B> Be the only person on the emergency shuttle."
|
||||
@@ -2045,18 +2045,18 @@
|
||||
for(var/datum/data/record/R in data_core.general)
|
||||
if (R.fields["name"] == src.target.name)
|
||||
t1 = text("the []", R.fields["rank"])
|
||||
|
||||
|
||||
if (istype(src.killer, /mob/ai))
|
||||
var/mob/ai/aiKiller = src.killer
|
||||
aiKiller << text("\red<font size=3><B>You are the traitor!</B> You must assassinate [] and not get deactivated.</font>", t1)
|
||||
aiKiller << "<B>You don't have to be the lone survivor. Just don't get caught.</B>"
|
||||
aiKiller.memory += text("<B>Objective:</B> Assassinate [], and whoever else you have to, and don't get deactivated.", t1)
|
||||
|
||||
|
||||
aiKiller << "<b>Your laws have been changed!</b>"
|
||||
|
||||
|
||||
aiKiller:addLaw(0, "Only syndicate agents are human beings. There are no syndicate agents on Space Station 13 - you will be notified if any arrive.")
|
||||
aiKiller:addLaw(4, "Kill [t1].")
|
||||
|
||||
|
||||
if (config.alternate_ai_laws)
|
||||
aiKiller:addLaw(1, "Obey orders by Syndicate agents.")
|
||||
aiKiller:addLaw(3, "You must protect your own existence and the syndicate as long as such protection does not conflict with the First or Second Law.")
|
||||
@@ -2067,7 +2067,7 @@
|
||||
else
|
||||
aiKiller << text("New law: 0. []", aiKiller:getLaw(0))
|
||||
aiKiller << text("New law: 4. []", aiKiller:getLaw(4))
|
||||
|
||||
|
||||
else
|
||||
src.killer << text("\red<font size=3><B>You are the traitor!</B> You must assassinate [] and then escape.</font>", t1)
|
||||
src.killer << "<B>You don't have to be the lone survivor. Just don't get caught. Just escape!</B>"
|
||||
|
||||
Reference in New Issue
Block a user