From f872528771f0b71741fb36ddf70f2ae23f54c1e3 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sat, 3 Mar 2012 13:36:28 +0100 Subject: Added further missing callbacks Reviewed-by: bjorn. --- example/scripts/crafting.lua | 2 ++ example/scripts/special_actions.lua | 3 +++ 2 files changed, 5 insertions(+) (limited to 'example/scripts') diff --git a/example/scripts/crafting.lua b/example/scripts/crafting.lua index 54e8c9a..2200081 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 7cd19b5..711478f 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) -- cgit