Ignore:
Timestamp:
07/31/10 07:34:26 (9 years ago)
Author:
beliar
Message:

Patch by Beliar.

  • The real item stored in MapItem? is now the instance of the item instead of a dictionary to create the item. This allows to access variables and methods of the item.
File:
1 edited

Legend:

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

    r596 r608  
    500500                item_data["type"] = agent["ItemType"] 
    501501                item_data["ID"] = inst_id  
     502                item_data = self.createContainerObject(item_data) 
    502503            else: 
    503504                item_data = agent["item"] 
Note: See TracChangeset for help on using the changeset viewer.