diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-03-03 13:36:28 +0100 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-03-03 16:41:39 +0100 |
commit | f872528771f0b71741fb36ddf70f2ae23f54c1e3 (patch) | |
tree | 9b3751cab7d9f58ae0b15acf061e428f18bc07db /example | |
parent | c0c208d4c29ff49f940e8a6c54adb26cc4e5eba3 (diff) | |
download | manaserv-f872528771f0b71741fb36ddf70f2ae23f54c1e3.tar.gz manaserv-f872528771f0b71741fb36ddf70f2ae23f54c1e3.tar.bz2 manaserv-f872528771f0b71741fb36ddf70f2ae23f54c1e3.tar.xz manaserv-f872528771f0b71741fb36ddf70f2ae23f54c1e3.zip |
Added further missing callbacks
Reviewed-by: bjorn.
Diffstat (limited to 'example')
-rw-r--r-- | example/scripts/crafting.lua | 2 | ||||
-rw-r--r-- | example/scripts/special_actions.lua | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/example/scripts/crafting.lua b/example/scripts/crafting.lua index 54e8c9aa..2200081e 100644 --- a/example/scripts/crafting.lua +++ b/example/scripts/crafting.lua @@ -85,3 +85,5 @@ function make_condensed_and_sorted_item_list(recipe) return sorted
end
+
+mana.on_craft(on_craft)
diff --git a/example/scripts/special_actions.lua b/example/scripts/special_actions.lua index 7cd19b51..711478f2 100644 --- a/example/scripts/special_actions.lua +++ b/example/scripts/special_actions.lua @@ -30,3 +30,6 @@ function get_special_recharge_cost(id) -- return the recharge cost for the special with the ID return specialCost[id] end + +mana.on_use_special(use_special) +mana.on_get_special_recharge_cost(get_special_recharge_cost) |