Bis Statuenkopf.

Diamant wird sichtbar.
This commit is contained in:
Olli Graf
2022-06-12 16:04:41 +02:00
parent 0ff17aac13
commit 7bd3ecaba0
5 changed files with 62 additions and 5 deletions

View File

@@ -184,6 +184,11 @@ class ActionModul(ActionBasics):
if self.isAktuellerRaum(self.world.RAUM_TUNNEL):
self.world.printText(f'raum-{self.world.RAUM_TUNNEL}')
self.world.aktuellerRaum.ausgaenge[self.world.OST] = self.world.RAUM_HAFEN
elif self.isAktuellerRaum(self.world.RAUM_KOPF):
diamant = self.world.findItemById(self.world.ITEM_DIAMANT)
self.macheItemSichtbar(diamant)
def untersuchePerson(self,person):
@@ -264,7 +269,6 @@ class ActionModul(ActionBasics):
logging.debug(f'untersuche() suche nach Gegenstand: {parsedCommand.gegenstand}')
if parsedCommand.gegenstand == None:
self.untersucheAktuellenRaum(parsedCommand)
return
item = self.world.findItemImInventarOderAktuellerRaum(parsedCommand.gegenstand)
@@ -304,6 +308,13 @@ class ActionModul(ActionBasics):
self.ausDemInventar(item)
elif self.isItem(item,self.world.ITEM_KARTE):
self.world.printKarte()
elif self.isItem(item, self.world.ITEM_KOPF):
self.zeigeItemBeschreibung(item)
diamant = self.world.findItemById(self.world.ITEM_DIAMANT)
self.macheItemSichtbar(diamant)
else:
self.zeigeItemBeschreibung(item)