Definition der Konstanten für Gegenstände.
Adjektivliste.
This commit is contained in:
@@ -62,7 +62,13 @@ class WorldParser():
|
||||
command = Befehl(name,id,key)
|
||||
|
||||
self.world.befehle[id] = command
|
||||
# Adjektive
|
||||
for adj in root.findall('adjektive/adjektiv'):
|
||||
name = adj.attrib['name']
|
||||
id = adj.attrib['id']
|
||||
key = adj.attrib['key']
|
||||
|
||||
self.world.adjektive.append(name)
|
||||
# Sortouts
|
||||
for sortout in root.findall('sortouts/sortout'):
|
||||
name = sortout.attrib['name']
|
||||
|
Reference in New Issue
Block a user