Ignore:
Timestamp:
06/27/10 13:52:27 (9 years ago)
Author:
beliar
Message:

Patch by Beliar.

  • The Basic Action now has a commands property. The execute method of the class now loops through this dictionary, parses the values and executes special commands based on these values.
  • Implemented "SetQuestVariable?" command in the Action class. This sets a variable of a quest.
  • Added action property to Usable
  • Added ReadAction? class. For now this prints a name and a text to the console.
  • When right clicking on an item in a container or the pc's inventory the item will be checked for available actions and create a menu from these.
  • Implemented "Read" action to container/inventory items
  • Moved Pamphlet from pc inventory to "DirtyOldCrate?"
  • Added "Grain" object to ObjectDatabase?
  • Gave "Grain" object with ID "bushel_of_grain" to "Farmer Manslow" NPC
  • With these changes it is now possible to advance a bit into the Beer-Quest without using the console. It is still not finishable though.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/maps/all_agents.yaml

    r565 r568  
    2525        - {ID: "Dagger", object_type: "Dagger", slot: "right_hand"} 
    2626        - {ID: "Beer", object_type: "Beer"} 
    27         - {ID: "Pamphlet", object_type: "Pamphlet"} 
    2827---             
    2928Janie: 
     
    166165    Position: [-3.0, -3.0, 0.0] 
    167166    Rotation: 0 
     167    Inventory: 
     168        - {ID: bushel_of_grain, object_type: Grain} 
    168169---             
    169170Sami: 
Note: See TracChangeset for help on using the changeset viewer.