Modonomicon

Modonomicon

29M Downloads

Entries that change when conditions are met

ActualDio opened this issue ยท 1 comments

commented

Is your feature request related to a problem? Please describe.
Currently entries cant change dynamically when conditions are met, like they worked on the thaumonomicon, where the first time an entry unlocked it only displayed some lore and instructions/tips on what to do (eg. go to 300 blocks high, craft certain machines, find certain items/structures, etc...) and only after completing those tasks would the final version of the entry be revealed with the more detailed description of what the entry was about. Sometimes entries would even have multiple intermediate stages before fully unlocking

Describe the solution you'd like
A way for entry contents to be changed/updated when a certain condition is met. This could be adding new pages, replacing existing pages, changing the contents of existing pages, etc....

commented

I looked into that one.
Currently modonomicon caches which entries... are unlocked and once they are, their unlock conditions are not queried anymore.

Testing the unlock conditions anytime a category/entry is opened will enable entries that get hidden when their unlock condition evaluates to true at first, but later to false will then make it vanish.

A modonomicon:not unlock condition will help a ton.

Example: Showing a page in an entry only when user "does not have advancement X" but hiding the page again if the player has the advancement, unlocking another one instead. (Without the modonomicon:not condition)

Since they are two different page indexes (or two different entry ids), the unread-markers and read conditions will work just fine without further changes.