diff --git a/code/game/gamemodes/blob/blob.dm b/code/game/gamemodes/blob/blob.dm
index ed03b5f4814..feca3189d69 100644
--- a/code/game/gamemodes/blob/blob.dm
+++ b/code/game/gamemodes/blob/blob.dm
@@ -11,6 +11,7 @@ var
required_players = 0
+
var/const/waittime_l = 1800 //lower bound on time before intercept arrives (in tenths of seconds)
var/const/waittime_h = 3600 //upper bound on time before intercept arrives (in tenths of seconds)
@@ -25,6 +26,9 @@ var
autoexpand = 0
expanding = 0
+ blobnukecount = 500
+ blobwincount = 700
+
announce()
world << "The current game mode is - Blob!"
@@ -113,11 +117,11 @@ var
return
if (2)
- if((blobs.len > 500) && (declared == 1))
+ if((blobs.len > blobnukecount) && (declared == 1))
command_alert("Uncontrolled spread of the biohazard onboard the station. We have issued directive 7-12 for [station_name()]. Any living Heads of Staff are ordered to enact directive 7-12 at any cost, a print out with detailed instructions has been sent to your communications computers.", "Biohazard Alert")
send_intercept(2)
declared = 2
- if(blobs.len > 700)//This needs work
+ if(blobs.len > blobwincount)//This needs work
stage = 3
return
diff --git a/code/game/gamemodes/nuclear/nuclear.dm b/code/game/gamemodes/nuclear/nuclear.dm
index ddacbd0f0c3..a2c8855fa99 100644
--- a/code/game/gamemodes/nuclear/nuclear.dm
+++ b/code/game/gamemodes/nuclear/nuclear.dm
@@ -13,7 +13,7 @@
var/const/waittime_h = 1800 //upper bound on time before intercept arrives (in tenths of seconds)
var/nukes_left = 1 // Call 3714-PRAY right now and order more nukes! Limited offer!
- var/derp = 0 //Used for tracking if the syndies actually haul the nuke to the station
+ var/nuke_off_station = 0 //Used for tracking if the syndies actually haul the nuke to the station
var/herp = 0 //Used for tracking if the syndies got the shuttle off of the z-level
//It is so hillarious so I wont rename those two variables --rastaf0
@@ -272,12 +272,12 @@
world << "Total Annihilation"
world << "[syndicate_name()] operatives destroyed [station_name()] but did not leave the area in time and got caught in the explosion. Next time, don't lose the disk!"
- else if (!disk_rescued && !station_was_nuked && derp && !herp)
+ else if (!disk_rescued && !station_was_nuked && nuke_off_station && !herp)
feedback_set_details("round_end_result","halfwin - blew wrong station")
world << "Crew Minor Victory"
world << "[syndicate_name()] operatives secured the authentication disk but blew up something that wasn't [station_name()]. Next time, don't lose the disk!"
- else if (!disk_rescued && !station_was_nuked && derp && herp)
+ else if (!disk_rescued && !station_was_nuked && nuke_off_station && herp)
feedback_set_details("round_end_result","halfwin - blew wrong station - did not evacuate in time")
world << "[syndicate_name()] operatives have earned Darwin Award!"
world << "[syndicate_name()] operatives blew up something that wasn't [station_name()] and got caught in the explosion. Next time, don't lose the disk!"
diff --git a/code/game/gamemodes/nuclear/nuclearbomb.dm b/code/game/gamemodes/nuclear/nuclearbomb.dm
index 26139859a8a..aaef8e49071 100644
--- a/code/game/gamemodes/nuclear/nuclearbomb.dm
+++ b/code/game/gamemodes/nuclear/nuclearbomb.dm
@@ -172,26 +172,25 @@
- var/derp = 0
- for (var/turf/T in range(1,src))
- if (!is_type_in_list(T.loc, the_station_areas))
- derp = 1
- break
+ var/off_station = 0
+ var/area/A = get_area(src.loc)
+ if(A && (istype(A,/area/syndicate_station) || A.type == "/area"))
+ off_station = 1
if (ticker && ticker.mode && ticker.mode.name == "nuclear emergency")
ticker.mode:herp = syndicate_station_at_station
- ticker.mode:derp = derp
+ ticker.mode:nuke_off_station = off_station
for(var/mob/M in world)
if(M.client)
spawn(0)
- M.client.station_explosion_cinematic(derp)
+ M.client.station_explosion_cinematic(off_station)
sleep(110)
if (ticker && ticker.mode)
ticker.mode.explosion_in_progress = 0
if(ticker.mode.name == "nuclear emergency")
ticker.mode:nukes_left --
- ticker.mode.station_was_nuked = (derp==0)
+ ticker.mode.station_was_nuked = (off_station==0)
else
world << "The station was destoyed by the nuclear blast!"
diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm
index db475dd5448..3b99efcd8fa 100644
--- a/code/modules/mob/mob.dm
+++ b/code/modules/mob/mob.dm
@@ -937,7 +937,7 @@ note dizziness decrements automatically in the mob's Life() proc.
if(ticker)
switch(ticker.mode.name)
if("nuclear emergency")
- if (!derp) boom.icon_state = "loss_nuke"
+ if(!derp) boom.icon_state = "loss_nuke"
else boom.icon_state = "loss_nuke2"
if("malfunction")
boom.icon_state = "loss_malf"