Schlüssel im Keller ist mitnehmbar.
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -104,7 +104,7 @@
|
||||
<item name='Glas' id='6' raum='3' imobil='false' msgid='3' visible='false' />
|
||||
<item name='Bett' id='7' raum='4' imobil='true' msgid='1' visible=' true' />
|
||||
<item name='Nachtschrank' id='8' raum='4' imobil='true' msgid='1' visible=' true' />
|
||||
<item name='kleiner Schlüssel' id='9' raum='5' imobil='false' msgid='1' visible='false' />
|
||||
<item name='Schlüssel' id='9' raum='5' imobil='false' msgid='1' visible='false' />
|
||||
|
||||
</items>
|
||||
<personen>
|
||||
|
Reference in New Issue
Block a user