Sorry, we don't support your browser.  Install a modern browser

Ephemeral/temporary persistent objects that aren't saved#3138

S

If you spawn an MP3 player and mark it as persistent, you can load another save and the music will continue, which is great. However, if you then overwrite the save, it will now include a copy of the persistent object in it, effectively requiring you to delete all persistent objects when you want to update a save.

It would be nice to have a setting to make a persistent object ephemeral/temporary in that it will continue to exist when switching save files but will never be written to one.

This would be very useful for scripted tools that should always be available (e.g. chat commands, global UI). Currently you’d have to make the tool non-persistent and maintain updated versions of it in every save file or have the tool fetch its latest script remotely.

The ephemeral setting could be useful for non-persistent objects as well to a lesser extent. For example, a dice roller script that spawns dice, rolls them, and then deletes them might want to mark them ephemeral so that they aren’t accidentally saved to the table (although this may be possible through other means).

An extra addition to this feature would be saving an ephemeral object globally so that it is automatically spawned when you create a new server. You could even extend this to automatically additively loading workshop saves and making their objects ephemeral for no end-user maintenance.

2 hours ago