Schlüssel im Keller ist mitnehmbar.

This commit is contained in:
Olli Graf
2022-01-21 07:33:07 +01:00
parent d971acfd83
commit a496f98199
2 changed files with 5 additions and 1 deletions

View File

@@ -37,6 +37,9 @@ class ActionModul:
def setFehler(self,text):
self.world.fehler =text
def clearFehler(self):
self.world.fehler = ''
def stelle(self,parsedCommand):
item = self.world.findItemImInventar(parsedCommand.gegenstand);
@@ -60,6 +63,7 @@ class ActionModul:
if raum.id == '5':
#Schlüssel im Keller sichtbar machen
logging.debug('mache Schlüssel sichtbar')
self.setFehler('Auf dem Boden findest du einen kleinen Schlüssel.')
schluessel = self.world.findRaumItemById('9')
schluessel.sichtbar = True