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
Imperial stockpile round 3 #1928
Changes from 1 commit
a3882b0
33c7b1f
1de3ca3
0ed20e7
49391f4
c1f1ecf
58bad65
9165658
cb36807
638b574
c8a03a6
002a439
5bfb7c3
8422f09
fd8cf10
aa9fb0b
75c50e3
5ba37d4
c6443ef
9e93e41
5ecc228
be8bd38
4f7e4e3
a24b5e5
b33ca86
5def8ed
00d030b
2a40260
0a2278b
2a82de3
71e1717
d564d78
c4bdc77
f5afa77
22f75d9
cb4bfb3
6586340
033738b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Tech | ||
name = "PRO_VOID_PREDICTION" | ||
description = "PRO_VOID_PREDICTION_DESC" | ||
short_description = "IMPERIAL_STOCKPILE_SHORT_DESC" | ||
category = "PRODUCTION_CATEGORY" | ||
researchcost = 500 * [[TECH_COST_MULTIPLIER]] | ||
researchturns = 7 | ||
tags = [ "PEDIA_PRODUCTION_CATEGORY" ] | ||
prerequisites = [ | ||
"LRN_MIND_VOID" | ||
"PRO_PREDICTIVE_STOCKPILING" | ||
] | ||
effectsgroups = [ | ||
EffectsGroup | ||
scope = And [ | ||
ProductionCenter | ||
OwnedBy empire = Source.Owner | ||
NOT Population high = 0 | ||
Or [ | ||
Focus type = "FOCUS_GROWTH" | ||
Focus type = "FOCUS_LOGISTICS" | ||
Focus type = "FOCUS_STOCKPILE" | ||
] | ||
] | ||
effects = [ | ||
SetMaxStockpile value = Value + Target.Population * [[STOCKPILE_PER_POP]] * ( 1 | ||
+ 10 * (Statistic If Condition = Focus type = "FOCUS_STOCKPILE") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why dependent on growth or logistics focus? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The idea was to make the techs independent of the focus, just work better if you combine them. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is a focus specifically for stockpiling, and the logistics and growth focuses are for other purposes. Doesn't make sense to me to have stockpile related effects depend on them. |
||
+ 5 * (Statistic If Condition = Focus type = "FOCUS_GROWTH") | ||
+ 5 * (Statistic If Condition = Focus type = "FOCUS_LOGISTICS") | ||
) | ||
] | ||
] | ||
|
||
#include "/scripting/species/common/stockpile.macros" | ||
#include "/scripting/common/base_prod.macros" |
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.
Need to tweak the descriptions in a few places to make it clear this tech is required. Maybe also make it a prereq for Void Prediction...?