| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-07-21 23:03:57 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-07-21 23:03:57 +0200 |
| commit | 7bd910917ac2e9ad6b6db9a1fff5a890ac149b52 (patch) | |
| tree | bea4970c19b380ae01d722e594cdc0c6b021c989 /data/examples/monster_battle/include/items.fate | |
| parent | 7e38e4512b407500910071120d2ad23a9ec395cf (diff) | |
New demo. Issue with rule prio.
I can't seem to get the MACRO_KW rule from the instructions to have a
higher priority than the MACRO_KW rule from the values.
Diffstat (limited to 'data/examples/monster_battle/include/items.fate')
| -rw-r--r-- | data/examples/monster_battle/include/items.fate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/examples/monster_battle/include/items.fate b/data/examples/monster_battle/include/items.fate new file mode 100644 index 0000000..3ddca93 --- /dev/null +++ b/data/examples/monster_battle/include/items.fate @@ -0,0 +1,13 @@ +(fate_version 1) + +(require types/item.fate) +(require player.fate) + +(declare_variable item potion) + +(define_macro get_item + ( + (item_ptr item) + ) + (add (param item) player.inventory) +) |


