modmod
Warlord
- Joined
- May 2, 2021
- Messages
- 235
There are many new ideas considering storage system around.
Where is it discussed?
And which features scream for new system?
There are many new ideas considering storage system around.
Where is it discussed?
That new system itself would already be a new feature.And which features scream for new system?
Lumber and Stone does not count to the limits as well.
The special rule for storage of Food is explained in Colopedia Game Concept "City Storage".I did find the reference to food, but not lumber/stone.
The best solution would be to make it XML configurable and read from there.Please let me know. If not I'll see what I can do to get it added.
1. XML attribute (CvYieldInfos.xml): bIgnoredIForStorageCapacity
(Do not forget to adjust the Schema accordingly: CIV4TerrainSchema.xml)
2. DLL method: CvYieldInfo:: isIgnoredForStorageCapacity()
Use it in the internal logic that currently hardcodes Food, Lumber and Stone for Storage Capacity.
(Just search for "YIELD_STONE" to find it.)
3. Making it accessible for Python (CyInfoPythonInterface3)
.def("isIgnoredForStorageCapacity()", &CvYieldInfo::isIgnoredForStorageCapacity(), "bool ()")
4. Using that Logic in Pedia Screen of Yields
(Well of course you also need a TXT_KEY in XML to display the message.
Ok, then I will take care of it myself.What you laid out is a much more robust and configurable solution though.
It was supposed to be encouraging.Well that is a bit of a mix of intimidating and encouraging.