summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mods/theme/scpt/stores.lua19
-rw-r--r--lib/scpt/stores.lua19
2 files changed, 0 insertions, 38 deletions
diff --git a/lib/mods/theme/scpt/stores.lua b/lib/mods/theme/scpt/stores.lua
index a504effb..4902c4d0 100644
--- a/lib/mods/theme/scpt/stores.lua
+++ b/lib/mods/theme/scpt/stores.lua
@@ -133,25 +133,6 @@ store_buy_list
},
}
--- Test only
-function out_sticks()
- local i
- for i = 0, __tmp_spells_num - 1 do
- if __tmp_spells[i].stick then
- if __tmp_spells[i].stick[TV_WAND] then
- print("Wand: " .. __tmp_spells[i].name)
- end
- end
- end
- for i = 0, __tmp_spells_num - 1 do
- if __tmp_spells[i].stick then
- if __tmp_spells[i].stick[TV_STAFF] then
- print("Staff: " .. __tmp_spells[i].name)
- end
- end
- end
-end
-
-- Take care to have Magic shop/Temple have specific spells only
add_hooks
{
diff --git a/lib/scpt/stores.lua b/lib/scpt/stores.lua
index 713b3c01..03d29e6e 100644
--- a/lib/scpt/stores.lua
+++ b/lib/scpt/stores.lua
@@ -104,25 +104,6 @@ store_buy_list
},
}
--- Test only
-function out_sticks()
- local i
- for i = 0, __tmp_spells_num - 1 do
- if __tmp_spells[i].stick then
- if __tmp_spells[i].stick[TV_WAND] then
- print("Wand: " .. __tmp_spells[i].name)
- end
- end
- end
- for i = 0, __tmp_spells_num - 1 do
- if __tmp_spells[i].stick then
- if __tmp_spells[i].stick[TV_STAFF] then
- print("Staff: " .. __tmp_spells[i].name)
- end
- end
- end
-end
-
-- Take care to have Magic shop/Temple have specific spells only
add_hooks
{