From 726c5ee2a21b6d8d624421f17060635dcd6dc53f Mon Sep 17 00:00:00 2001 From: Lyzzy Date: Sun, 10 Mar 2024 14:23:22 +0100 Subject: [PATCH] storyline --- viecher.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/viecher.py b/viecher.py index 9f987e6..f75babf 100644 --- a/viecher.py +++ b/viecher.py @@ -33,7 +33,7 @@ fonts = { 'spacy': 'nasalization-rg.otf', 'sci-fi': 'neuropol.otf', 'hollow_big_edge': 'papercut.ttf', - 'f_shuttle': 'pdark.ttf', + 'space_shuttle': 'pdark.ttf', 'thin': 'PixelFJVerdana12pt.ttf', 'random': 'Seattle Avenue.ttf', 'pixel': 'yoster.ttf' @@ -75,13 +75,13 @@ class NPC(Objects): self.conversation.draw(screen) def update(self, keys, objects): - if self.lastUpdate + 150 < pg.time.get_ticks(): + if self.lastUpdate + 200 < pg.time.get_ticks(): if self.talking: self.conversation.update(keys, objects) self.lastUpdate = pg.time.get_ticks() else: touches = pg.sprite.spritecollideany(self, objects[0]) - if touches is not None and keys[pg.K_SPACE] and isinstance(touches, MainCharacter): + if touches is not None and keys[pg.K_f] and isinstance(touches, MainCharacter): self.talk(objects) self.lastUpdate = pg.time.get_ticks()