latitudegames / Scripting

61 stars 16 forks source link

worldInfo / worldEntries does not persist #22

Open rlayne opened 3 years ago

rlayne commented 3 years ago

When scripting, adding entries via addWorldEntry(tag,text,hidden) only persists for the current turn unless the information is added within the input script. It is heavily implied from the behaviour of the interface based world setup and elsewhere in the documentation that it is meant to be a persistent and globally available resource throughout an entire adventure.

Also, the hidden named parameter is undocumented; in the wiki it appears as isNotHidden which is literally the opposite intended use! Likewise there is ambiguity between worldEntries and worldInfo; the bug seems valid for both cases.

Could we get some clarification on this and a fix if it is indeed meant to be persistent.