27 lines
836 B
Plaintext
27 lines
836 B
Plaintext
# To add new game modes, rename this file to 'gamemodes.py' then add them in
|
|
|
|
from src.gamemodes import (GameMode, game_mode, reset_roles)
|
|
import src.settings as var
|
|
from src.utilities import *
|
|
from src.messages import messages
|
|
from src import events
|
|
|
|
####################################################################
|
|
# DO NOT EDIT ANYTHING ABOVE THIS LINE, ADD CUSTOM GAMEMODES BELOW #
|
|
####################################################################
|
|
|
|
@game_mode("mymode", minp=4, maxp=24, likelihood=5)
|
|
class MyMode(GameMode):
|
|
"""Example mode. This doesn't do anything special yet."""
|
|
def __init__(self, arg=""):
|
|
super().__init__(arg)
|
|
# Put gamemode settings here
|
|
|
|
def startup(self):
|
|
# Register events here
|
|
pass
|
|
|
|
def teardown(self):
|
|
# Unregister events here
|
|
pass
|