greeny / SatisfactoryTools

Satisfactory Tools for planning and building the perfect base.
https://www.satisfactorytools.com/
MIT License
268 stars 57 forks source link

Resource weight doesn't appear to be directly derived from max. #43

Open orneryd opened 4 years ago

orneryd commented 4 years ago

https://github.com/greeny/SatisfactoryTools/blob/3e867bb4a14b4979ec068be0a269418bfbb94982/src/Tools/Production/IProductionToolRequest.ts

The resource weight seems to be separate from the max value when it should be derived instead. I can't think of a single instance where you would manually set a value, such as Iron, lower than copper, yet the algorithm should still prefer using iron instead.

greeny commented 4 years ago

The resource weight is calculaded based on max map resources, so it is derived.

orneryd commented 4 years ago

So then why does this happen?

image I set iron lower than copper in abundance, and it still prefers to make iron wire over copper wire where iron wire is less resource efficient and less speed efficient.

greeny commented 4 years ago

Discussion was done on Discord, this is just not yet implemented feature (modifying of resource weights).