summaryrefslogtreecommitdiff
path: root/lib/core/crpt_aux.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/core/crpt_aux.lua')
-rw-r--r--lib/core/crpt_aux.lua61
1 files changed, 0 insertions, 61 deletions
diff --git a/lib/core/crpt_aux.lua b/lib/core/crpt_aux.lua
index e4f16e2a..97f8d4b6 100644
--- a/lib/core/crpt_aux.lua
+++ b/lib/core/crpt_aux.lua
@@ -180,64 +180,3 @@ function add_corruption(c)
return (__corruptions_max - 1)
end
-
-
----------- Corruption spoiler generator -----------
-function corruption_spoiler_generate()
- make_temp_file()
- print_hook(
-[[~~~~~01|Corruptions (Spoiler)
-~~~~~02|Spoilers|Corruptions
-#####R=== ToME Corruptions Spoiler ===
-
-Sometimes adventurers become exposed to the dark powers of Morgoth. If they
-are unable to resist these powers, they become corrupted. Corruptions can
-change their physical or mental abilities, some of which can be good, and
-some bad. Most corruptions will affect you permanently, although some only
-operate when they are activated (whether by player choice or as a random
-event). You can check which corruptions you have in the knowledge screen 6
-(accessed through the '~' menu) or in a character dump.
-
-#####GGaining and (not) losing corruptions
-There are several ways that you can become corrupted.
-
-You can become corrupted by quaffing a Potion of Corruption or by drinking
-from a Fountain of Corruption. Also some strange items can be activated
-for corruption.
-
-Corruptions are permanent. Once you have one, you have it for life.
-
-]])
- local i, e
- for i = 0, __corruptions_max - 1 do
- print_hook("[[[[[B"..__corruptions[i].name.."]\n")
- print_hook(__corruptions[i].desc)
- print_hook("[[[[[GGain message: "..__corruptions[i].get_text.."]\n")
- if __corruptions[i].removable == TRUE then
- print_hook("[[[[[RLose message: "..__corruptions[i].lose_text.."]\n")
- else
- print_hook("It is not removable.\n")
- end
-
- local ok
- ok = nil
- for e, _ in __corruptions[i].depends do ok = not nil end
- if ok then
- print_hook("It depends on:\n")
- for e, _ in __corruptions[i].depends do
- print_hook(" "..__corruptions[e].name.."\n")
- end
- end
- ok = nil
- for e, _ in __corruptions[i].oppose do ok = not nil end
- if ok then
- print_hook("It is opposed to:\n")
- for e, _ in __corruptions[i].oppose do
- print_hook(" "..__corruptions[e].name.."\n")
- end
- end
- print_hook("\n\n")
- end
- close_temp_file()
- msg_print("File created as: "..get_temp_name())
-end