Ignore:
Timestamp:
10/12/09 19:50:53 (10 years ago)
Author:
orlandov
Message:

Ticket #100: Patch by or1andov. Specify dialogue files for NPCs in their XML map instance attribute. fixes[s:trac, t:100]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/dialoguegui.py

    r317 r320  
    6464            'pc': pc 
    6565        } 
    66         self.dialogue_engine = DialogueEngine('dialogue/sample.yaml', 
     66        self.dialogue_engine = DialogueEngine(npc.dialogue, 
    6767                                              dialogue_callbacks, state) 
    6868        self.dialogue_gui = pychan.loadXML("gui/dialogue.xml") 
Note: See TracChangeset for help on using the changeset viewer.