5 Commits

Author SHA1 Message Date
Vgr E. Barry
17688050d6 Add get_all_players function and use it wherever necessary 2017-08-30 12:38:09 -04:00
Vgr E. Barry
370b2c6ed2 Some function and event updates 2017-08-23 22:06:43 -04:00
Vgr E. Barry
714f0e8593 Add new User-aware utility functions
Right now neither are used (get_participants does not have any event listeners anywhere), however in the future it will be easier to convert code that uses the old, nick-based functions.
2017-08-23 19:02:10 -04:00
skizzerz
8a8a79627f Overhaul how templates work
Templates are still applied on game start according to
var.TEMPLATE_RESTRICTIONS, but now any arbitrary role can be applied as
a template during gameplay without breaking things horribly.

Speaking of breaking things horribly, things are probably broken
horribly due to this. It was lightly tested, but there's a lot of
fundamental stuff that changed.
2017-03-31 12:45:53 -05:00
Vgr E. Barry
8c2124fb6a Add the new functions submodule, superseding utilities.py
All of the new functions handle and return User instances. Not used yet, but will be needed when converting roles.
2017-01-17 13:46:40 -05:00