| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-08-15 13:54:30 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-08-15 13:54:30 +0200 | 
| commit | 6655cdcd1c28ac36c8af144573c396d96b9dceee (patch) | |
| tree | f0eb3d8bb90e5e44fef0de319e5fd8824e72ad7a /data/examples/monster_battle/include/items.fate | |
| parent | 8fd556f0065b7a634602cf4a8b666a426d4e8de6 (diff) | |
Updates example, allows lambdas w/o params.
Diffstat (limited to 'data/examples/monster_battle/include/items.fate')
| -rw-r--r-- | data/examples/monster_battle/include/items.fate | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/data/examples/monster_battle/include/items.fate b/data/examples/monster_battle/include/items.fate index 3ddca93..b5100ba 100644 --- a/data/examples/monster_battle/include/items.fate +++ b/data/examples/monster_battle/include/items.fate @@ -3,11 +3,11 @@  (require types/item.fate)  (require player.fate) -(declare_variable item potion) +(global item potion) -(define_macro get_item +(define_procedure get_item     ( -      (item_ptr item) +      ((ptr item) item)     ) -   (add (param item) player.inventory) +   (add (var item) player.inventory)  ) | 


