I am toying a bit with a feature that hardly anyone has requested . But yet I want it! Why? Primarily to make it possible to create a tutorial start-area where you are alone in your own instance of the train compartment(s) , free to try out commands together with a helpful tutorial bot.
However, I imagine it being useful for a lot of other situations too.
But how should room instances work?
Just for the sake of terminology, lets first define:
- room - An ordinary room, like we have now. Anyone in that room can see and talk with each other.
- instance room - A room that can be instantiated. Only characters belonging to the same instance can see and talk with each other.
My thoughts so far:
- Rooms are configured by the room owner/builder to instantiate (boolean setting)
- A character entering an instance room from an ordinary room will create a new instance
- If leading/following, all characters will enter the same instance
- A character can only be in one instance at a time.
- Summoning characters will make them enter the same instance as the summoner.
- Within an instance room, only other characters inside the same instance will be seen/heard
- Moving from an instance room into another instance room will not create a new instance, but you will remain in your current instance albeit in a different room.
- Rooms that can be set as home cannot be instance rooms (or configured for it)
- Rooms set as teleport nodes cannot be instance rooms (or configured for it)
- Setting a room to be an instance room will evict anyone having the room set as home or as a teleport node
- Setting an instance room to be an ordinary room, will automatically send home anyone in an instance within that room
- Moving from an instance room to an ordinary room will make you leave the instance.
ā¦ and some more.
But that is at least the gist.
I guess I mainly write this post to try to straighten out my own thoughts on how I imagine it will work. Though, as usual - any feedback is appreciated!