Mercurial > parpg-source
comparison gamestate.py @ 75:9e03f7816061
(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 | c9818290bbe7 |
children | 0411a4bcceee |
comparison
equal
deleted
inserted
replaced
74:c9818290bbe7 | 75:9e03f7816061 |
---|---|
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 |