From cf6e2fea93b70b36b988cbeb9adfd6033bdb1815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sat, 11 May 2019 20:35:27 +0300 Subject: [PATCH] Add preset offtopia-norandom --- gameloop.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gameloop.py b/gameloop.py index d416522..10ef153 100644 --- a/gameloop.py +++ b/gameloop.py @@ -3,7 +3,6 @@ import random from collections import namedtuple # TODO: !redeal -# TODO: offtopia-norandom preset import cardcast_api @@ -381,6 +380,13 @@ def game(send, notice, voice, devoice, get_event): deck_add_random_handler() deck_add_random_handler() + elif rest[0] == 'offtopia-norandom': + send('Adding the default CAH deck (A5DCM), offtopia injoke deck (PXWKC), and :Deck (colondeck)') + + deck_add_handler('A5DCM') + deck_add_handler('PXWKC') + deck_add_handler('colondeck') + elif rest[0] == 'empty': pass