DysonSphereMod / QOL

64 stars 34 forks source link

Cap production speed of single miner to 1800/m #65

Closed zhangxp1998 closed 3 years ago

zhangxp1998 commented 3 years ago

With a high level of vein utilization, it's possible for a single miner to overflow capacity of a mk3 belt. Therefore, production rates >1800/m for a single miner is pointless, because you can't realize that speed anyway.

brokenmass commented 3 years ago

nice !

would you mind changing the code to :


production = Math.Min(BELT_MAX_ITEMS_PER_MINUTE, frequency * speed * miner.veinCount);
zhangxp1998 commented 3 years ago

Changed to

                production = Math.Min(BELT_MAX_ITEMS_PER_MINUTE, production);

since the same cap also applies to water and oil.

brokenmass commented 3 years ago

Thanks, I'll release it later today.