-
Notifications
You must be signed in to change notification settings - Fork 2
Description
This is kind of a wishlist item, not something super high priority, but it'd be a nice feature to be able to get details about a room's area through a script, something like Room.getAreaDetails() that would emit an object that includes area info fields, list of child room ids and child areas, along with a link back up to the parent area.
The main way I'd use this right now, I have in my apartment set up right now a set of scripts acting as a doorbell. I'd link to the repo, but I haven't actually pushed it online yet. Essentially, there's a master script in Chippy's office that controls doorbells in the various halls of the Prism, and when the landing room of an apartment is deployed with with receiving script (I call it a chime), it then phones to the master script to facilitate which floor's doorbell can actually message to it. This is working perfectly, and automates only needing to know the script ID of the master script.
Now, in my personal apartment, which is multi-room, I've set up auxiliary listeners to extend the chime script's functionality to all rooms of the house. This relay works fine, but the setup requires knowing the main chime's script ID rather than the master script. Which works for one apartment, but if I were to try and set this up for another one, say on an alt, the script would need to be duplicated, change that one constant, and recompiled. But if I could get access to knowing which apartment an auxiliary listener script is in, based on the area, it could be automatically registered like the main chimes are.
Again, this is not a halting issue by any means, more of a nice to have than anything else. But I'm sure other people could figure out other uses for having access to area details as well, this is just my immediate use case.