Mercurial > parpg-source
comparison gui/hud.py @ 44:98f26f7636d8
Changes to make PARPG "runable" with grease. (With the correct modified assets)
author | KarstenBock@gmx.net |
---|---|
date | Tue, 06 Sep 2011 15:22:51 +0200 |
parents | 06145a6ee387 |
children | 535801aec63e |
comparison
equal
deleted
inserted
replaced
43:8f9e9f47c363 | 44:98f26f7636d8 |
---|---|
161 # inv_callbacks = { | 161 # inv_callbacks = { |
162 # 'refreshReadyImages': self.refreshReadyImages, | 162 # 'refreshReadyImages': self.refreshReadyImages, |
163 # 'toggleInventoryButton': self.toggleInventoryButton, | 163 # 'toggleInventoryButton': self.toggleInventoryButton, |
164 # } | 164 # } |
165 # self.inventory_storage = \ | 165 # self.inventory_storage = \ |
166 # self.model.game_state.player_character.inventory | 166 # self.model.game_state.getObjectById("PlayerCharacter").fifeagent.inventory |
167 # if self.inventory == None: | 167 # if self.inventory == None: |
168 # self.inventory = inventorygui.InventoryGUI(self.controller, | 168 # self.inventory = inventorygui.InventoryGUI(self.controller, |
169 # self.inventory_storage, | 169 # self.inventory_storage, |
170 # inv_callbacks) | 170 # inv_callbacks) |
171 # else: | 171 # else: |
506 self.stopActions() | 506 self.stopActions() |
507 dialogue = DialogueGUI( | 507 dialogue = DialogueGUI( |
508 self.controller, | 508 self.controller, |
509 npc, | 509 npc, |
510 self.model.game_state.quest_engine, | 510 self.model.game_state.quest_engine, |
511 self.model.game_state.player_character) | 511 self.model.game_state.getObjectById("PlayerCharacter").fifeagent) |
512 return dialogue | 512 return dialogue |