summaryrefslogtreecommitdiffstats
path: root/stone_soup/crawl-ref/source/lua/stash.lua
diff options
context:
space:
mode:
Diffstat (limited to 'stone_soup/crawl-ref/source/lua/stash.lua')
-rw-r--r--stone_soup/crawl-ref/source/lua/stash.lua32
1 files changed, 0 insertions, 32 deletions
diff --git a/stone_soup/crawl-ref/source/lua/stash.lua b/stone_soup/crawl-ref/source/lua/stash.lua
deleted file mode 100644
index 461a504cf3..0000000000
--- a/stone_soup/crawl-ref/source/lua/stash.lua
+++ /dev/null
@@ -1,32 +0,0 @@
----------------------------------------------------------------------------
--- stash.lua
--- Annotates items for the stash-tracker.
---
--- To use this, add this line to your init.txt:
--- lua_file = lua/stash.lua
---
----------------------------------------------------------------------------
-
--- Annotate items for searches
-function ch_stash_search_annotate_item(it)
- local annot = ""
-
- if item.artifact(it) then
- annot = annot .. "{art} "
- elseif item.branded(it) then
- annot = annot .. "{ego} "
- elseif item.class(it, true) == "book" then
- annot = annot .. "{book} "
- end
-
- local skill = item.weap_skill(it)
- if skill then
- annot = annot .. "{" .. skill .. "} "
- end
-
- return annot
-end
-
---- If you want dumps (.lst files) to be annotated, uncomment this line:
--- ch_stash_dump_annotate_item = ch_stash_search_annotate_item
-