You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Evennia
Ok, so I have an area (probably should call it a zone) of outdoor locations. I'm expanding my weatherroom typeclass to include additional features. What I would like to do is have the weather the same across multiple weatherrooms within the same zone. Is there a way to make a global variable that can be accessed from multiple room objects?
davidedwar...@gmail.com
unread,
Feb 17, 2021, 4:32:49 PM2/17/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Evennia
So instead of tying the weather to the zone I would tie the zone to the weather?
Griatch Art
unread,
Feb 17, 2021, 5:40:54 PM2/17/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Evennia
All a 'zone' is, is a group of locations/objects that can be isolated and acted upon together. So all you need is a way to tell the system which ones belong together so they can be easily found together.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Evennia
Yeah, I'm currently using zones now as it is. That's what got me thinking about the WeatherRoom typeclass to begin with. I'll review the global scripts page again. Maybe I missed it or something.
Quilnux
unread,
Feb 17, 2021, 6:42:30 PM2/17/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Evennia
Nevermind, after you said what you said, I just thought about it. When my weather global script runs it just needs to search the zone tags and apply a Weatherroom.db.weather to each room in that zone. Python is very new for me who is used to C#. Thanks for taking the time and being patient.
On Wednesday, February 17, 2021 at 5:40:54 PM UTC-5 gri...@gmail.com wrote: