[Request] Configurable cost multipliers (Marathon Inspired)
Posted: Tue May 26, 2015 5:58 pm
I've been thinking about this for a couple days, and even went to write it today but 3 hours later I'm just confused about variables and Lua in general.
This mod would work similarly to the Marathon mod, where specific crafting costs are multiplied, leading to much larger factories. However I guess I wanted more user choice involved, rather than the pre chosen changes in that mod.
For the item categories:
Iron, Copper, Steel, Oil, Intermediates, Modules, Research, Final
Apply multipliers for:
Bandwidth, Cost, Time
Bandwidth: Multiply output of recipe and Input of all recipes that use it
Cost: Multiply all inputs of the recipe
Time: Multiply crafting time
Categories:
Iron: Iron plates
Copper: Copper plates
Steel: Steel
Oil: Oil processing, Advanced oil processing
Intermediates: Cable, Gears, Circuits, Sulfur, Plastic, Batteries, Iron sticks, Engine Units, Explosives, maybe more?
Modules: Modules
Research: Research (or maybe science packs. Probably one or the other, not both)
Final: Finished products eg. Assembly machines, lights, transport belts (even though they're craftable further), rail, locomotive
The bandwidth, cost, time multipliers are all defined in a config file individually for each category of item.
Bandwidth should probably not apply to final products, research, modules, oil.
Possibly an option to reduce fractions? Eg if Copper bandwidth is doubled then 2 Copper Plate = 2 Copper Wire, should change to 1:1
I'm worried that might completely defeat the purpose in some situations? But I don't think it does.
This mod would work similarly to the Marathon mod, where specific crafting costs are multiplied, leading to much larger factories. However I guess I wanted more user choice involved, rather than the pre chosen changes in that mod.
For the item categories:
Iron, Copper, Steel, Oil, Intermediates, Modules, Research, Final
Apply multipliers for:
Bandwidth, Cost, Time
Bandwidth: Multiply output of recipe and Input of all recipes that use it
Cost: Multiply all inputs of the recipe
Time: Multiply crafting time
Categories:
Iron: Iron plates
Copper: Copper plates
Steel: Steel
Oil: Oil processing, Advanced oil processing
Intermediates: Cable, Gears, Circuits, Sulfur, Plastic, Batteries, Iron sticks, Engine Units, Explosives, maybe more?
Modules: Modules
Research: Research (or maybe science packs. Probably one or the other, not both)
Final: Finished products eg. Assembly machines, lights, transport belts (even though they're craftable further), rail, locomotive
The bandwidth, cost, time multipliers are all defined in a config file individually for each category of item.
Bandwidth should probably not apply to final products, research, modules, oil.
Possibly an option to reduce fractions? Eg if Copper bandwidth is doubled then 2 Copper Plate = 2 Copper Wire, should change to 1:1
I'm worried that might completely defeat the purpose in some situations? But I don't think it does.