no meta-gaming

This commit is contained in:
Fox-McCloud
2015-12-31 00:44:21 -05:00
parent ce2eb1c0ad
commit c3d5311c32
5 changed files with 12 additions and 4 deletions
+3
View File
@@ -91,6 +91,9 @@ var/const/CALL_SHUTTLE_REASON_LENGTH = 12
throw EXCEPTION("requestEvac(): There is no emergency shuttle! The game will be unresolvable. This is likely due to a mapping error")
return
if(world.time - round_start_time < config.shuttle_refuel_delay)
user << "The emergency shuttle is refueling. Please wait another [abs(round(((world.time - round_start_time) - config.shuttle_refuel_delay)/600))] minutes before trying again."
return
switch(emergency.mode)
if(SHUTTLE_RECALL)
+4
View File
@@ -106,6 +106,8 @@
var/auto_toggle_ooc_during_round = 0
var/shuttle_refuel_delay = 12000
//Used for modifying movement speed for mobs.
//Unversal modifiers
var/run_speed = 0
@@ -599,6 +601,8 @@
config.bones_can_break = value
if("limbs_can_break")
config.limbs_can_break = value
if("shuttle_refuel_delay")
config.shuttle_refuel_delay = text2num(value)
if("reactionary_explosions")
config.reactionary_explosions = 1
if("bombcap")
+2
View File
@@ -1,4 +1,5 @@
var/global/datum/controller/gameticker/ticker
var/round_start_time = 0
/datum/controller/gameticker
var/const/restart_timeout = 600
@@ -214,6 +215,7 @@ var/global/datum/controller/gameticker/ticker
if(admins_number == 0)
send2adminirc("Round has started with no admins online.")
auto_toggle_ooc(0) // Turn it off
round_start_time = world.time
/* DONE THROUGH PROCESS SCHEDULER
supply_controller.process() //Start the supply shuttle regenerating points -- TLE
@@ -1,5 +1,6 @@
#define CHALLENGE_TIME_LIMIT 3000
#define MIN_CHALLENGE_PLAYERS 50
#define CHALLENGE_SHUTTLE_DELAY 15000 //25 minutes, so the ops have at least 5 minutes before the shuttle is callable.
/obj/item/device/nuclear_challenge
name = "Declaration of War (Challenge Mode)"
@@ -38,8 +39,10 @@
var/obj/item/device/radio/uplink/U = new /obj/item/device/radio/uplink(get_turf(user))
U.hidden_uplink.uplink_owner= "[user.key]"
U.hidden_uplink.uses = 280
config.shuttle_refuel_delay = CHALLENGE_SHUTTLE_DELAY
qdel(src)
#undef CHALLENGE_TIME_LIMIT
#undef MIN_CHALLENGE_PLAYERS
#undef CHALLENGE_SHUTTLE_DELAY
@@ -404,10 +404,6 @@
user << "<span class='warning'>The emergency shuttle may not be sent at this time. Please try again later.</span>"
return
if(world.time < 6000) // Ten minute grace period to let the game get going without lolmetagaming. -- TLE
user << "<span class='warning'>The emergency shuttle is refueling. Please wait another [round((6000-world.time)/600)] minutes before trying again.</span>"
return
if(shuttle_master.emergency.mode > SHUTTLE_ESCAPE)
user << "<span class='warning'>The emergency shuttle may not be called while returning to Central Command.</span>"
return