Tensioner now requires a half an hour of round time before firing

Fix for the holodeck burn simulation cooling off over time.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3349 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
VivianFoxfoot@gmail.com
2012-03-24 00:38:04 +00:00
parent c0044d5e15
commit 4782ca36a4
2 changed files with 4 additions and 3 deletions

View File

@@ -4,6 +4,7 @@
#define EXPLO_SCORE -10000 //boum
#define COOLDOWN_TIME 12000 // Twenty minutes
#define MIN_ROUND_TIME 18000
//estimated stats
//80 minute round
@@ -66,7 +67,7 @@ var/global/datum/tension/tension_master
score += get_num_players()*PLAYER_WEIGHT
if(config.Tensioner_Active)
if(score > 100000)
if(score > 100000 && world.time > MIN_ROUND_TIME)
round1++
if(!supress && !cooldown)
if(prob(1) || forcenexttick)