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
Include Planets Being Colonized in Colony Upkeep #4380
Conversation
ah nice. this increases the next turn preview without increasing the current turn value because setting the orders happens after effect evaluation. Are the orders removed before next turn effect evaluation? Else such colonies are probably counted twice. Also this does not work for colony buildings, does it? |
Effects are evaluated multiple times per turn, so probably yes and no, but this counts ships ordered to colonize, and the ship is destroyed as part of creating a colony, so that shouldn't be double counted.
It just counts ships. Assuming colony buildings exist for a turn before destroying themselves and populating the planet they are on, they could similarly be counted on the turn they are there. |
yes, that would be perfect (i think your assumption holds as long as nobody is scrapping the building) |
7cc1a56
to
b69ff1c
Compare
added non-exobot colony buildings |
Statistic Count condition = And [ | ||
Building | ||
OwnedBy empire = Source.Owner | ||
Building name = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it use something like tags or so to not require edit this list if new species will be introduced?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably yes, though I didn't see any suitable tag already present, and didn't want the extra complication of adding one in the v0.5 version. Colony buildings seem to be currently just tagged with the name of their species, which I could check for separately, but would be no better than just checking the building type name as here...
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
…f colonies for empire colony upkeep costs
b69ff1c
to
beef4a5
Compare
beef4a5
to
44333ab
Compare
Will hopefully give an indication of how much colonization will increase emipre influence upkeep.
Will overestimate costs the turn after if the colonization is actually outposting.
https://www.freeorion.org/forum/viewtopic.php?p=115571#p115571