Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed colony buildings to use ShortestPath rather than JumpsBetween, #1

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions default/col_bld_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
Happiness low = 5
]''')

t_buildtime = string.Template('''max(5, 1 +
min value = JumpsBetween object = Target.SystemID object = LocalCandidate.SystemID
t_buildtime = string.Template('''max(5.0, 1.0 +
(min value = ShortestPath object = Target.SystemID object = LocalCandidate.SystemID
condition = And [
Planet
OwnedBy empire = Source.Owner
Expand All @@ -119,6 +119,7 @@
Happiness low = 5
ResourceSupplyConnected empire = Source.Owner condition = Target
]
)^0.985 / 80
)''')


Expand Down