summaryrefslogtreecommitdiff
path: root/src/wizard2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-19 18:32:22 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-19 18:36:21 +0200
commit64e064330c5c595d0b8553028e0c5ca95c5e5392 (patch)
tree23607d333632c3b3bfbfee5204ce47db74706f81 /src/wizard2.c
parent2a2fcac0fdb76ce7481ab4ab17e6f64f3ca7bc1d (diff)
Lua: Remove Lua
Diffstat (limited to 'src/wizard2.c')
-rw-r--r--src/wizard2.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/wizard2.c b/src/wizard2.c
index e2683435..f6ce41af 100644
--- a/src/wizard2.c
+++ b/src/wizard2.c
@@ -184,43 +184,6 @@ static void wiz_create_named_art()
msg_print("Allocated.");
}
-/*
- * Hack -- quick debugging hook
- */
-void do_cmd_wiz_hack_ben(int num)
-{
- s32b a;
-
- /* MAKE(r_ptr, monster_race);
- COPY(r_ptr, &r_info[500], monster_race);
-
- r_ptr->level = 1;
- r_ptr->flags6 |= RF6_BLINK;
- r_ptr->freq_inate = r_ptr->freq_spell = 90;
-
- place_monster_one_race = r_ptr;
- place_monster_one(p_ptr->py - 1, p_ptr->px, 500, 0, TRUE, MSTATUS_PET);*/
-
- get_lua_var("a", 'd', &a);
- msg_format("a: %d", a);
-
- /* Success */
- return;
-}
-
-void do_cmd_lua_script()
-{
- char script[80] = "tome_dofile_anywhere(ANGBAND_DIR_CORE, 'gen_idx.lua')";
-
- if (!get_string("Script:", script, 80)) return;
-
- exec_lua(script);
-
- /* Success */
- return;
-}
-
-
#ifdef MONSTER_HORDES
/* Summon a horde of monsters */
@@ -1909,11 +1872,6 @@ void do_cmd_debug(void)
do_cmd_wiz_zap();
break;
- /* Hack -- whatever I desire */
- case '_':
- do_cmd_wiz_hack_ben(command_arg);
- break;
-
/* Mimic shape changing */
case '*':
p_ptr->tim_mimic = 100;
@@ -1954,10 +1912,6 @@ void do_cmd_debug(void)
summon_specific(p_ptr->py, p_ptr->px, max_dlv[dungeon_type], command_arg);
break;
- case '>':
- do_cmd_lua_script();
- break;
-
/* Not a Wizard Command */
default:
if (!process_hooks(HOOK_DEBUG_COMMAND, "(d)", cmd))