Skip to content

Commit

Permalink
Set a flat 20 days construction time on spaceport modules if the glob…
Browse files Browse the repository at this point in the history
…al flag 'debug' is set.
  • Loading branch information
folknor committed Oct 10, 2017
1 parent 6a3cb31 commit b7096d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/scripted_effects/ass_op_sm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b7096d7

Please sign in to comment.