Floogen / SolidFoundations

Stardew Valley framework which allows for custom buildings with lots of extra features.
GNU General Public License v3.0
3 stars 3 forks source link

Suspect there is a bug for productions that take more than 1 in game day #16

Open arctius1024 opened 1 year ago

arctius1024 commented 1 year ago

I've created a small personal (for now) mod that adds a building with a production that I want to take more than a single in game day (think of it like a "keg" building). The building appears and accepts inputs and produces the proper output, however no matter what value (greater than 1 day of time) I use for MinutesPerConversion it always seems to provide output the next morning.

I've used values of over 4000 (which should be far more than a single day's worth of minutes) and still get output the next morning.

The SMAPI logs show the building loading (as it should - since it does work otherwise) but there are no other errors or output that appear related.

There is nothing explicitly documented that says that productions can't take more than a single day so I assume this is unintended behavior - if it is intended than perhaps an adjustment to note that in the documentation would be helpful.

arctius1024 commented 1 year ago

I downloaded the source and made some changes and got it to work (sort of). There appear to be several issues at play:

I've been able to fix 2 and 3. Unfortunately I don't understand how the serializer is(n't) working so I am unable to fix that and without it there isn't much of a point in going further.