Resource stockpiles! (#9147)

* Resource stockpiles!

* toString extension including sign (+/-)

* Trigger uniques to provide/consume stockpiled resources

* Fixed build

* Display 'per turn' for stockpiled resources that are consumed per turn

* "Costs [amount] [resource]" works!

* Stockpile unique costs are displayed in construction button

* Added unique to prevert certain resources from being traded
This commit is contained in:
Yair Morgenstern
2023-04-09 18:01:26 +03:00
committed by GitHub
parent 0c60f87b27
commit adb51d9264
34 changed files with 265 additions and 111 deletions

View File

@ -74,7 +74,17 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
??? example "Triggers voting for the Diplomatic Victory"
Applicable to: Triggerable
??? example "Gain [amount] [stat]"
??? example "Instantly consumes [amount] [resource]"
Example: "Instantly consumes [3] [Iron]"
Applicable to: Triggerable
??? example "Instantly provides [amount] [resource]"
Example: "Instantly provides [3] [Iron]"
Applicable to: Triggerable
??? example "Gain [amount] [stat/resource]"
Example: "Gain [3] [Culture]"
Applicable to: Triggerable
@ -914,6 +924,11 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
Applicable to: Building, Unit, Improvement
??? example "Costs [amount] [resource]"
Example: "Costs [3] [Iron]"
Applicable to: Building, Unit, Improvement
??? example "Unbuildable"
Applicable to: Building, Unit, Improvement
@ -1601,6 +1616,12 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
??? example "Can only be created by Mercantile City-States"
Applicable to: Resource
??? example "Stockpiled"
Applicable to: Resource
??? example "Not shown on world screen"
Applicable to: Resource
??? example "Generated with weight [amount]"
Example: "Generated with weight [3]"