comparison src/parpg/gamestate.py @ 105:7829eb185d6f

(Re)added setting of inventory and equipment in the object files.
author KarstenBock@gmx.net
date Thu, 22 Sep 2011 16:18:07 +0200
parents de741e83a422
children 29869273f9e1
comparison
equal deleted inserted replaced
104:de741e83a422 105:7829eb185d6f
20 def __init__(self, quests_dir = None): 20 def __init__(self, quests_dir = None):
21 self.player_character = None 21 self.player_character = None
22 self.quest_engine = QuestEngine(quests_dir) 22 self.quest_engine = QuestEngine(quests_dir)
23 self.quest_engine.readQuests() 23 self.quest_engine.readQuests()
24 self.objects = {} 24 self.objects = {}
25 self.objects[None] = {}
25 self.object_ids = {} 26 self.object_ids = {}
26 self.current_map_name = None 27 self.current_map_name = None
27 self.maps = {} 28 self.maps = {}
28 self.npcs_met = set() 29 self.npcs_met = set()
29 30