Remove the 'expert' preset
This was a leftover from development, intended to make setting up multiple games in a row less verbose.
This commit is contained in:
parent
4c69ed9e59
commit
cc6b0af504
11
gameloop.py
11
gameloop.py
|
@ -411,7 +411,6 @@ def game(send, notice, voice, devoice, get_event):
|
|||
error('Unknown event type: %s' % event)
|
||||
|
||||
def start_game(rest):
|
||||
expert = False
|
||||
if len(rest) == 0 or rest[0] == 'default':
|
||||
send('Adding the default CAH deck (A5DCM)')
|
||||
|
||||
|
@ -438,16 +437,12 @@ def game(send, notice, voice, devoice, get_event):
|
|||
elif rest[0] == 'empty':
|
||||
pass
|
||||
|
||||
elif rest[0] == 'expert':
|
||||
expert = True
|
||||
|
||||
else:
|
||||
send('Unknown preset %s' % rest[0])
|
||||
|
||||
if not expert:
|
||||
limit_type = {limit_types.rounds: 'rounds', limit_types.points: 'points'}[limit.type]
|
||||
send('Limit is %i %s, change with !limit' % (limit.number, limit_type))
|
||||
send('Once you are ready to start the game, everyone send !ready')
|
||||
limit_type = {limit_types.rounds: 'rounds', limit_types.points: 'points'}[limit.type]
|
||||
send('Limit is %i %s, change with !limit' % (limit.number, limit_type))
|
||||
send('Once you are ready to start the game, everyone send !ready')
|
||||
|
||||
def no_game():
|
||||
nonlocal players, bots, decks, limit, round_number, round_call_card, czar, card_choices
|
||||
|
|
Loading…
Reference in New Issue