Schlüssel im Keller kann jetzt gefunden werden.

This commit is contained in:
Olli Graf
2022-01-21 06:10:47 +01:00
parent 2740729f46
commit d971acfd83
3 changed files with 39 additions and 16 deletions

View File

@@ -74,6 +74,13 @@ class World:
return raum
return None
def sucheRaumName(self,name):
for raumid in self.raumliste:
raum = self.raumliste[raumid]
if raum.name == name:
return raum
return None
def findItemImInventarOderAktuellerRaum(self,itemname):
item = self.findItemImInventar(itemname)