|
|
@@ -404,7 +404,7 @@ class Deerjika (Creature): |
|
|
FPS = 30 |
|
|
FPS = 30 |
|
|
|
|
|
|
|
|
height: int |
|
|
height: int |
|
|
scale: float = .375 |
|
|
|
|
|
|
|
|
scale: float = 1 |
|
|
surfaces: list[Surface] |
|
|
surfaces: list[Surface] |
|
|
width: int |
|
|
width: int |
|
|
talking: bool = False |
|
|
talking: bool = False |
|
|
@@ -433,8 +433,8 @@ class Deerjika (Creature): |
|
|
case DeerjikaPattern.RELAXED: |
|
|
case DeerjikaPattern.RELAXED: |
|
|
match direction: |
|
|
match direction: |
|
|
case Direction.LEFT: |
|
|
case Direction.LEFT: |
|
|
self.width = 1280 |
|
|
|
|
|
self.height = 720 |
|
|
|
|
|
|
|
|
self.width = 480 |
|
|
|
|
|
self.height = 270 |
|
|
surface = pygame.image.load ('./assets/deerjika_relax_left.png') |
|
|
surface = pygame.image.load ('./assets/deerjika_relax_left.png') |
|
|
self.surfaces = [] |
|
|
self.surfaces = [] |
|
|
for x in range (0, surface.get_width (), self.width): |
|
|
for x in range (0, surface.get_width (), self.width): |
|
|
@@ -959,7 +959,6 @@ def add_query ( |
|
|
return |
|
|
return |
|
|
DB.begin_transaction () |
|
|
DB.begin_transaction () |
|
|
chat.message = emoji.emojize (chat.message) |
|
|
chat.message = emoji.emojize (chat.message) |
|
|
message: str = chat.message |
|
|
|
|
|
user = (User.where ('platform', Platform.YOUTUBE.value) |
|
|
user = (User.where ('platform', Platform.YOUTUBE.value) |
|
|
.where ('code', chat.author.channelId) |
|
|
.where ('code', chat.author.channelId) |
|
|
.first ()) |
|
|
.first ()) |
|
|
|