Andrew Plotkin
Andrew Plotkin
Discard when an instance sleeps. Will eventually need a way to limit the cache pool size, on top of whatever other discard scheme we have.
You can now do this, slightly awkwardly, using `functools.partial`. For example, if `func` is a code property that takes one argument, then this code will schedule a timer event that...
Properties are now cached within a single task (one command). This provides a little bit of speedup, but is mostly about supporting property mutation. When we extend the life of...
I have put some basic instructions on the wiki: http://seltani.shoutwiki.com/wiki/Installation
Should it run in the given player's _location_? Potentially a problem! (Barename symbols should have an implicit dependency on the playstate location.)
You shouldn't need to attach the timer to the player. What you need is to be able to send events to a specific player without the shortcut of event('msg').
Marking this as a suggestion, as I don't plan to implement it at this point. Will reflag if I change my mind.
The current behavior of `event(you, others, player)` should permit this.
For the freezer, you could have a single timer for the instance, which checks every player's entrance time at fixed intervals.
Okay, I admit that the use cases for this are building up. The situation is partially covered by https://github.com/erkyrath/tworld/issues/81 (execute code in a player's context) and https://github.com/erkyrath/tworld/issues/128 (timer event arguments),...