Issue #8
I've tried to implement mining productivity formula from factorio's wiki. Here it is:
Production rate = (Mining power - Mining hardness) * Mining speed / Mining time
So I've introduced two fields: power for so called "makers" and hardness for resources. And I've added special factor (maker.power -. resource.hardness) to maker_count calculations. By default power = 1, and hardness = 0. These defaults allow not to alter current behavior for furnaces and assemblers, because factor equals to 1.
Specific power and hardness values was added for ores and drills in recipes.
Issue #8 I've tried to implement mining productivity formula from factorio's wiki. Here it is: Production rate = (Mining power - Mining hardness) * Mining speed / Mining time
So I've introduced two fields:
power
for so called "makers" andhardness
for resources. And I've added special factor(maker.power -. resource.hardness)
tomaker_count
calculations. By defaultpower = 1
, andhardness = 0
. These defaults allow not to alter current behavior for furnaces and assemblers, because factor equals to 1. Specificpower
andhardness
values was added for ores and drills in recipes.