* Variables are now defined in the database, rather than the game itself. * Triggers are now defined in the database, rather than hidden away in a method in the game. Custom triggers can now be added as well, in case a game needs more complex behavior that isn't necessarily available in the base library. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
8 lines
147 B
Python
8 lines
147 B
Python
"""
|
|
Define all game variables here.
|
|
"""
|
|
from . import database
|
|
|
|
database.add_var("cabin_door_open", False)
|
|
database.add_var("mailbox_open", False)
|