diff 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
line wrap: on
line diff
--- a/src/parpg/gamestate.py	Thu Sep 22 14:39:00 2011 +0200
+++ b/src/parpg/gamestate.py	Thu Sep 22 16:18:07 2011 +0200
@@ -22,6 +22,7 @@
         self.quest_engine = QuestEngine(quests_dir)
         self.quest_engine.readQuests()
         self.objects = {}
+        self.objects[None] = {}
         self.object_ids = {}
         self.current_map_name = None
         self.maps = {}