HDIAndrew / EFS

12 stars 0 forks source link

Switching a lab to research a new tech removes that tech's previous research progress #161

Open cranky-corvid opened 1 year ago

cranky-corvid commented 1 year ago

Description:

Expected behavior: When switching the tech a lab is researching, the new tech should maintain any existing research progress.

Actual behavior: Upon switching, if both techs have previous research progress, the research progress for the new tech (as well as the previous tech if it doesn't have any remaining labs assigned) is wiped out.

Game version:

1.51

Steps to reproduce:

  1. Have a game-state where your house has at least two labs assigned to different techs, and both techs have accumulated some research.
  2. Select a lab, press Tech, select the tech that another lab is researching, and press Research Tech.
  3. Press Tech again, and note that the Pts Left of the tech that was selected has now reset to equal to its full Cost.
Matt-Caspermeyer commented 1 year ago

This is by design.

Here is the reason why:

If you are currently researching a technology that has been proscribed and you decide to switch that technology, if the points are not set to 0 then the Church will deploy Inquisitors to burn your lab with the partially researched tech. Since the tech hasn't been researched, yet, you cannot strike it and there would be no way to avoid the inquisition.

So it was decided that the proper fix was to 0 out a tech's research if you switch away from researching it (and only have 1 Lab researching that tech).

I would imagine that you would propose to change this behavior by allowing partially researched techs to be "stricken" and have their research set to 0, but since you'll probably do this anyway if the tech is proscribed the current implementation seems to be best.

At this juncture, setting the research cost to 0 seems like a valid penalty for changing your mind and resolves a lot of potential issues.

Let's see what other people think here, but at the time the above fix was deemed to be the best way to resolve any issues with points remaining in a tech...

cranky-corvid commented 1 year ago

The problem is not that switching away from researching a tech wipes the old tech's research. It's that switching to a tech wipes the new tech's research.

Matt-Caspermeyer commented 1 year ago

The problem is not that switching away from researching a tech wipes the old tech's research. It's that switching to a tech wipes the new tech's research.

Oh, I see. If that's the case, then that's not intended - it should work (and I thought it had been changed to work that way) as stated above.

We'll have to look into this in the future...