sprechen mit dem Geist enthüllt den Auftrag.
This commit is contained in:
@@ -285,6 +285,14 @@ class ActionModul:
|
||||
self.setFehler("diesen Gegenstand sehe ich hier nicht.")
|
||||
|
||||
|
||||
def sprich(self,parsedCommand):
|
||||
geist = self.world.findPersonImAktuellenRaum(parsedCommand.gegenstand)
|
||||
|
||||
if geist != None:
|
||||
self.world.printText('geist')
|
||||
else:
|
||||
self.setFehler(f'{parsedCommand.gegenstand} ist nicht im Raum.')
|
||||
|
||||
def hilfe(self,parsedCommand):
|
||||
if parsedCommand.gegenstand == 'befehle':
|
||||
self.world.printBefehle()
|
||||
|
Reference in New Issue
Block a user