mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2025-02-16 13:24:06 +00:00
Nuovo testo
This commit is contained in:
parent
d64c998b21
commit
004234e80b
2 changed files with 6 additions and 2 deletions
2
main.py
2
main.py
|
@ -597,7 +597,6 @@ class Game:
|
|||
"""Inizio della fase di config"""
|
||||
self.phase = 'Config'
|
||||
self.configstep = 0
|
||||
self.message(bot, s.join_phase_ended)
|
||||
self.message(bot, s.config_list[0])
|
||||
|
||||
def endconfig(self, bot):
|
||||
|
@ -780,6 +779,7 @@ def endjoin(bot, update):
|
|||
game = findgamebyid(update.message.chat['id'])
|
||||
if game is not None and game.phase == 'Join':
|
||||
if update.message.from_user['id'] == game.admin.tid:
|
||||
game.message(bot, s.join_phase_ended)
|
||||
game.startpreset(bot)
|
||||
else:
|
||||
game.message(bot, s.error_not_admin)
|
||||
|
|
|
@ -290,7 +290,11 @@ config_list = ["Quanti *Mifiosi* devono essere nella partita?",
|
|||
"Qual è la percentuale di attacchi falliti della mifia?"]
|
||||
|
||||
# Scegli il preset
|
||||
preset_choose = "Seleziona un preset per la partita: "
|
||||
preset_choose = "*Seleziona un preset per la partita:*\n" \
|
||||
"`Semplice`: solo royal, mifia e investigatori e niente meccaniche avanzate.\n" \
|
||||
"`Classico`: royal, mifia, investigatori, angeli e la comparsa casuale di un terrorista!\n" \
|
||||
"`Completo`: tutti i ruoli e le meccaniche nuove!\n" \
|
||||
"`Personalizzato`: scegli tu i ruoli e le meccaniche che vuoi in partita!"
|
||||
|
||||
# Preset semplice
|
||||
preset_simple = "Semplice"
|
||||
|
|
Loading…
Add table
Reference in a new issue