summaryrefslogtreecommitdiff
path: root/src/wizard2.c
diff options
context:
space:
mode:
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))