Ignore:
Timestamp:
08/06/09 23:17:27 (10 years ago)
Author:
bretzel_parpg
Message:

Objects now use name and text without desc. Fixes #69.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/scripts/engine.py

    r212 r225  
    100100        f.close() 
    101101        if self.gameState.currentMap: 
    102             self.loadMap(self.gameState.currentMap) 
     102            self.loadMap(self.gameState.currentMap)  
    103103 
    104104    def loadObjects(self, filename): 
     
    232232            else: 
    233233                actions.append(["Examine", "Examine", self.gameState.PC.approach,   
    234                                 [obj.X, obj.Y], ExamineBoxAction(self, obj.name, obj.desc)]) 
     234                                [obj.X, obj.Y], ExamineBoxAction(self, obj.name, obj.text)]) 
    235235                # is it a container? 
    236236                if obj.trueAttr("container"): 
Note: See TracChangeset for help on using the changeset viewer.