(Question) How to have a dynamic entry?
Da-Technomancer opened this issue · 7 comments
Sorry to bother you, but is it possible (and if so how?) to make an entry where the contents changes dynamically? By which I mean every time the entry is viewed (not just on entry creation) the contents (page list) can be changed. Specifically, I'm trying to make an entry which grows as the player discovers new things. I'm on 1.10 by the way.
PageText.draw
is public and nonfinal (which is arguably bad, but meh) so you should be able to change it on the fly.
I already saw that, but what I was looking for was a way to change the number of pages, not just their content.
Entries can be changed at any time. Just modify the Pages contained in them whenever you want to.
Is there a method that's called every time a certain entry is viewed so I can change the pages then?
If you create your own entry type, you can override that.