From 7bd910917ac2e9ad6b6db9a1fff5a890ac149b52 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 21 Jul 2020 23:03:57 +0200 Subject: 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. --- data/examples/monster_battle/include/items.fate | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 data/examples/monster_battle/include/items.fate (limited to 'data/examples/monster_battle/include/items.fate') 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) +) -- cgit v1.2.3-70-g09d2