Read times set via relative are ignored #39570
Labels
Items / Item Actions / Item Qualities
Items and how they work and interact
(S2 - Confirmed)
Bug that's been confirmed to exist
Book time parameters set via relative in an object that uses copy-from: abstract are ignored entirely. The top level abstract time value is the time value for all descendants, unless a time value is set outside of relative.
Steps To Reproduce
Put the following file in the book directory, load game, wish yourself Book A, Book B, Book C, and/or Book D and see that read times set via relative are not impacted.
testDONOTPUB.zip
Expected behavior
Ideally the read time would be increase or decreased via relative as other parameters are. If the string notation "time": "20 m" is preferable to the integer "time": 20, then the string should be used within the relative too - the code should parse both string and integer in the same way.
Additional context
This is a feature request if abstract inheritance via relative was not meant to support time.
See #37377 for discussion (I could not get the time parameter to function correctly as a relative value. A guess is this might be a fault of the abstract uses a string and my instance used an integer? I side stepped this by just taking it out of the relative (defining it explicitly).)
The text was updated successfully, but these errors were encountered: