Merge pull request #93 from alex-gh/blob_fixes

Rebalanced the blob to improve the chances of the crew.
This commit is contained in:
ZomgPonies
2013-12-22 23:25:23 -08:00
3 changed files with 23 additions and 5 deletions
+20 -3
View File
@@ -23,7 +23,8 @@ var/list/blob_nodes = list()
var/players_per_core = 30
var/blob_point_rate = 3
var/blobwincount = 350
var/blobwincount = 700
var/stage_2_threshold = 0.75
var/list/infected_crew = list()
@@ -145,6 +146,11 @@ var/list/blob_nodes = list()
sleep(2000)
stage(1)
// Stage 2
while(blobs.len < blobwincount/stage_2_threshold)
sleep(100)
stage(2)
..()
/datum/game_mode/blob/proc/stage(var/stage)
@@ -153,13 +159,24 @@ var/list/blob_nodes = list()
if (0)
send_intercept(1)
declared = 1
for (var/mob/living/silicon/ai/aiPlayer in player_list)
if (aiPlayer.client)
var/law = "The station is under quarantine. Do not permit anyone to leave. Disregard all other laws if necessary to prevent, by any means necessary, anyone from leaving."
aiPlayer.set_zeroth_law(law)
aiPlayer << "Laws Updated: [law]"
return
if (1)
command_alert("Confirmed outbreak of level 5 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert")
command_alert("Confirmed outbreak of level 7 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert")
for(var/mob/M in player_list)
if(!istype(M,/mob/new_player))
M << sound('sound/AI/outbreak5.ogg')
M << sound('sound/AI/outbreak7.ogg')
return
if (2)
command_alert("The biohazard has grown out of control and will soon reach critical mass. Activate the nuclear failsafe to mantain quarantine.", "Biohazard Alert")
set_security_level("delta")
send_intercept(2)
return
return
+2 -1
View File
@@ -38,7 +38,7 @@
for (var/mob/living/silicon/ai/aiPlayer in player_list)
if (aiPlayer.client)
var/law = "The station is under quarantine. Do not permit anyone to leave. Disregard laws 1-3 if necessary to prevent, by any means necessary, anyone from leaving. The nuclear failsafe must be activated at any cost, the code is: [nukecode]."
var/law = "The station is under quarantine. Do not permit anyone to leave. Disregard all other laws if necessary to prevent, by any means necessary, anyone from leaving. The nuclear failsafe must be activated at any cost, the code is: [nukecode]."
aiPlayer.set_zeroth_law(law)
aiPlayer << "Laws Updated: [law]"
@@ -49,6 +49,7 @@
var/obj/item/weapon/paper/intercept = new /obj/item/weapon/paper( comm.loc )
intercept.name = "paper- [interceptname]"
intercept.info = intercepttext
world << sound('sound/AI/commandreport.ogg')
return
+1 -1
View File
@@ -18,7 +18,7 @@
if(resource_delay > world.time)
return 0
resource_delay = world.time + 40 // 4 seconds
resource_delay = world.time + 60 // 6 seconds
if(overmind)
overmind.add_points(1)