Hi,
I'm messing around trying to create a custom version of mods that change the production chain of the game. I was trying to edit the Industry Expanded mod for personal use, but, I got lost in all code, and resolved to start from scratch learning as I progress.
I have a question about his part of the code inside the industry.con files:
order = 1002,
placementParams = {
buildOrder = 1,
initWeight = 1,
tags = { "INPUT_GRAIN" },
distanceWeights = {
INPUT_FOOD = 1,
INPUT_GRAIN = -2,
}
Order seems to be the order that that industry is put in some list. But buildOrder and initWeight I have o idea. initWeight I had the impression that it was the number of that industry necessary to feed the next industry in the production chain, but I'm no sure, and buildOrder is a total mystery to me.
Also the negative input variable. In some of the industries from the mod the value was -1, but in all default industries of the game this value is -2, what it affects exactly?