shpaass / yafc-ce

Powerful Factorio calculator/analyser that works with mods
GNU General Public License v3.0
40 stars 15 forks source link

Add recipes for research consumption #185

Closed DaleStan closed 2 weeks ago

DaleStan commented 2 weeks ago

This closes #53 and allows you to add technologies to the production table, which produce a new research unit special item.

You can add raw technologies by ctrl-clicking one of the two "Add raw recipe" buttons, or add the research item just like any other product.

For example, you can ask questions like "How much research can I do with lots of prod modules and four (yellow) belts of iron?" image or you can do any sort of question involving fixed numbers of labs or a particular number of research units per unit time.

There are also new settings, analogous to the mining productivity setting, for research speed and research productivity.

shpaass commented 2 weeks ago

There are also new settings, analogous to the mining productivity setting, for research speed and research productivity.

Could you please elaborate on that?

  1. How does one apply the global productivity buff to miners?
  2. How does one apply the global speed and productivity buff to research?
DaleStan commented 2 weeks ago

At the bottom of the auto modules window are (now) three settings for those three bonuses: image

Is that where they should go? Probably not, but I didn't think about that at the time. Should I move them to the the preferences page?

veger commented 2 weeks ago

Very cool feature, I have played a little with it and it is quite valuable I see (I didn't know I needed this, but now I do have some use cases :smile: )

DaleStan commented 2 weeks ago

Shouldn't I be able to insert modules in the Lab?

As far as I can tell, no. The lab doesn't have module slots in-game either. It does accept bonuses from the Vatbrains ("Hidden beacon" in YAFC) and the AM/FM beacons.

veger commented 2 weeks ago

Ah ok... as said I am not even near modules so I never paid attention. Sorry for the noise

shpaass commented 2 weeks ago

Should I move them to the the preferences page?

I'll need to think about it.

shpaass commented 2 weeks ago

I'll need to think about it.

Here are my thoughts: The goal of #53 is to help the development of pY without compromising the user-experience. I think the current location of research-multipliers satisfies that.

For this PR, the only thing that I want to add is to change the name of module settings from "More settings" to "Module settings" for the sake of clarity.

The next steps for this feature in regards of pY would be to set the lab modules to Vatbrain Cartridges. This way a player wouldn't have to change global multipliers every time they want to see the difference. I've made https://github.com/have-fun-was-taken/yafc-ce/issues/189 about it.

Again, @DaleStan, thank you so much for the features! That's a titanic amount of work.

shpaass commented 2 weeks ago

Rebased on the fresh master before the merge.