|
|
@ -31,29 +31,6 @@ class VanillaWerewolf(Role):
|
|
|
|
(self._at_visit, 0)
|
|
|
|
(self._at_visit, 0)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
# async def on_event(self, event, data):
|
|
|
|
|
|
|
|
# """
|
|
|
|
|
|
|
|
# See Game class for event guide
|
|
|
|
|
|
|
|
# """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# await self.action_list[event][0](data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def assign_player(self, player):
|
|
|
|
|
|
|
|
# """
|
|
|
|
|
|
|
|
# Give this role a player
|
|
|
|
|
|
|
|
# Can be used after the game has started (Cult, Mason, role swap)
|
|
|
|
|
|
|
|
# """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# player.role = self
|
|
|
|
|
|
|
|
# self.player = player
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def get_alignment(self, source=None):
|
|
|
|
|
|
|
|
# """
|
|
|
|
|
|
|
|
# Interaction for power access of team (Village, Werewolf, Other)
|
|
|
|
|
|
|
|
# Unlikely to be able to deceive this
|
|
|
|
|
|
|
|
# """
|
|
|
|
|
|
|
|
# return self.alignment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async def see_alignment(self, source=None):
|
|
|
|
async def see_alignment(self, source=None):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Interaction for investigative roles attempting
|
|
|
|
Interaction for investigative roles attempting
|
|
|
@ -82,45 +59,6 @@ class VanillaWerewolf(Role):
|
|
|
|
|
|
|
|
|
|
|
|
await self.player.send_dm(self.game_start_message)
|
|
|
|
await self.player.send_dm(self.game_start_message)
|
|
|
|
|
|
|
|
|
|
|
|
# async def _at_day_start(self, data=None):
|
|
|
|
|
|
|
|
# super()._at_day_start(data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def _at_voted(self, data=None):
|
|
|
|
|
|
|
|
# super()._at_voted(data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def _at_kill(self, data=None):
|
|
|
|
|
|
|
|
# super()._at_kill(data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def _at_hang(self, data=None):
|
|
|
|
|
|
|
|
# super()._at_hang(data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def _at_day_end(self, data=None):
|
|
|
|
|
|
|
|
# super()._at_day_end(data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def _at_night_start(self, data=None):
|
|
|
|
|
|
|
|
# super()._at_night_start(data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def _at_night_end(self, data=None):
|
|
|
|
|
|
|
|
# super()._at_night_end(data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def _at_visit(self, data=None):
|
|
|
|
|
|
|
|
# pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def kill(self, source):
|
|
|
|
|
|
|
|
# """
|
|
|
|
|
|
|
|
# Called when someone is trying to kill you!
|
|
|
|
|
|
|
|
# Can you do anything about it?
|
|
|
|
|
|
|
|
# self.alive is now set to False, set to True to stay alive
|
|
|
|
|
|
|
|
# """
|
|
|
|
|
|
|
|
# pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# async def visit(self, source):
|
|
|
|
|
|
|
|
# """
|
|
|
|
|
|
|
|
# Called whenever a night action targets you
|
|
|
|
|
|
|
|
# Source is the player who visited you
|
|
|
|
|
|
|
|
# """
|
|
|
|
|
|
|
|
# pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async def choose(self, ctx, data):
|
|
|
|
async def choose(self, ctx, data):
|
|
|
|
"""Handle night actions"""
|
|
|
|
"""Handle night actions"""
|
|
|
|
await self.player.member.send("Use `[p]ww vote` in your werewolf channel")
|
|
|
|
await self.player.member.send("Use `[p]ww vote` in your werewolf channel")
|
|
|
|