[Feature] Roomscript Store Editor..?

Roomscripts can access this awesome thing called the Store. This is a database of key-value pairs to hold persistent variables that can change at runtime. You can use it to, say, define character rosters, lock doors to only open for characters of certain rosters, or define which fish exist in a region to fish up. (Yes I am working on all of those things.)

So far as I know, right now the only way to see, edit, or delete Store keys is through a roomscript - i.e., as a scripter you have to add that functionality yourself. This eats up the limited filesize you have for scripts, must be copied into each individual script, and is unwieldy since you’re limited to input-response feedback.

So it’d be great if we could look thru and edit a Roomscript’s Store right there in the UI. And since the Store is separate for every Roomscript (I think?), the button for it should probably go right here:

(Either there or on the Edit Room Script context..?)

This icon corresponds to the .fa-database class in the FontAwesome thing that Wolfery uses.

4 Likes

FWIW I also would love to have this feature.

If the room is the one with the storage, can another script access it, or is it locked to that script? I was wondering if you could have a room storage script separate from the action/logic script.

I think the only way to access another script’s Store is to send that script a post, which it replies to by manipulating or returning its Store data.

1 Like

Welcome to the forum! :smiley:
It would, indeed, by a nice thing to have.

Script stores are only accessible by the script that owns it. It takes away the whole big chunk of issues coming with concurrent read/writes by multiple scripts.