From b7096d73885c9e027a4c4a625adbd70c28af6b2a Mon Sep 17 00:00:00 2001 From: Folk Date: Wed, 11 Oct 2017 01:02:26 +0200 Subject: [PATCH] Set a flat 20 days construction time on spaceport modules if the global flag 'debug' is set. --- common/scripted_effects/ass_op_sm.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/scripted_effects/ass_op_sm.txt b/common/scripted_effects/ass_op_sm.txt index 6f01a54..57deec3 100644 --- a/common/scripted_effects/ass_op_sm.txt +++ b/common/scripted_effects/ass_op_sm.txt @@ -510,6 +510,11 @@ ass_stage1_sm_p2 = { # ZZZ ass_target is always set here log = "[ass_target.GetName] needs spaceport module." + # Yay for debugging! + if = { limit = { has_global_flag = "debug" } + fleet = { set_variable = { which = "AssConstructionTime" value = 20 } } + } + # Find the slot we can use # This "cant" fail, because all ass_stage1_sm_ effects check # has_free_spaceport_module_slot = yes.