Schtel und Krug lösen sich auf.
This commit is contained in:
@@ -107,6 +107,7 @@ class ActionModul(ActionBasics):
|
||||
logging.debug('Schachtel öffnen')
|
||||
item.zustand = item.OFFEN
|
||||
self.macheItemSichtbar(karte)
|
||||
self.vanishItem(item)
|
||||
|
||||
|
||||
|
||||
@@ -213,6 +214,7 @@ class ActionModul(ActionBasics):
|
||||
if item.zustand == item.VOLL:
|
||||
ranke = self.world.findItemById(self.world.ITEM_BOHNENRANKE)
|
||||
fisch = self.world.findItemImInventarById(self.world.ITEM_FISCH)
|
||||
krug = self.world.findItemImInventarById(self.world.ITEM_KRUG)
|
||||
|
||||
logging.debug(f'Fisch ist {fisch}')
|
||||
|
||||
@@ -231,7 +233,8 @@ class ActionModul(ActionBasics):
|
||||
self.setFehler(meldung)
|
||||
if ranke.zustand == ranke.GROSS:
|
||||
self.world.aktuellerRaum.ausgaenge[self.world.RAUF] = self.world.RAUM_BOHNENRANKE
|
||||
self.setFehler('Die Bohnenranke reicht jetzt bis in die Wolken hinein.')
|
||||
self.setFehler('Die Bohnenranke reicht jetzt bis in die Wolken hinein.Der Krug löst sich auf')
|
||||
self.vanishItem(krug)
|
||||
else:
|
||||
self.setFehler('Der Krug ist leer')
|
||||
else:
|
||||
@@ -528,16 +531,18 @@ class ActionModul(ActionBasics):
|
||||
self.macheItemSichtbar(schachtel)
|
||||
|
||||
def toggleFackel(self,item):
|
||||
weste = self.world.findItemById(self.world.ITEM_FACKEL)
|
||||
weste = self.world.findItemById(self.world.ITEM_SCHWIMMWESTE)
|
||||
|
||||
if item.zustand == item.GELOESCHT:
|
||||
|
||||
item.zustand = item.ENTZUENDED
|
||||
weste.sichtbar = True
|
||||
self.setFehler('Die Fackel brennt jetzt.')
|
||||
|
||||
else:
|
||||
item.zustand = item.GELOESCHT
|
||||
weste.sichtbar = False
|
||||
if self.world.findItemImInventarById(self.world.ITEM_SCHWIMMWESTE) != None:
|
||||
weste.sichtbar = False
|
||||
self.setFehler('Du löscht die Fackel.')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user