Ignore:
Timestamp:
08/02/10 12:04:03 (9 years ago)
Author:
beliar
Message:

Patch by Beliar.

  • When checking for attributes in items and none are found the default class "CarryableItem?" will be used. This fixes the crash on changing maps.
  • CarryableContainer? now adds the attribute "Container" when getting the state for saving.
  • Moved "Wild potato" into a visible area on the Farm map.
File:
1 edited

Legend:

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

    r610 r615  
    158158                 
    159159                new_item = CarryableContainer(ID = ID, **info)  
     160            else: 
     161                new_item = CarryableItem(ID = ID, **info)  
    160162        else: 
    161163            new_item = CarryableItem(ID = ID, **info)  
Note: See TracChangeset for help on using the changeset viewer.