From abe6d2ebc42ba47c989e8065b14ead870d118dae Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Mon, 11 Jun 2012 20:30:25 +0200 Subject: Lua: Remove dead 'monsters.lua' --- lib/core/init.lua | 1 - lib/core/monsters.lua | 16 ---------------- lib/mods/theme/core/init.lua | 1 - lib/mods/theme/core/monsters.lua | 16 ---------------- 4 files changed, 34 deletions(-) delete mode 100644 lib/core/monsters.lua delete mode 100644 lib/mods/theme/core/monsters.lua diff --git a/lib/core/init.lua b/lib/core/init.lua index 4df54799..51dfc1d2 100644 --- a/lib/core/init.lua +++ b/lib/core/init.lua @@ -10,4 +10,3 @@ tome_dofile_anywhere(ANGBAND_DIR_CORE, "xml.lua") tome_dofile_anywhere(ANGBAND_DIR_CORE, "util.lua") tome_dofile_anywhere(ANGBAND_DIR_CORE, "player.lua") tome_dofile_anywhere(ANGBAND_DIR_CORE, "objects.lua") -tome_dofile_anywhere(ANGBAND_DIR_CORE, "monsters.lua") diff --git a/lib/core/monsters.lua b/lib/core/monsters.lua deleted file mode 100644 index ca2851a0..00000000 --- a/lib/core/monsters.lua +++ /dev/null @@ -1,16 +0,0 @@ --- SYSTEM FILE --- --- Monster stuff, do not touch --- - -function summon_monster(y, x, lev, friend, typ) - if type(typ) == "number" then - if friend == TRUE then - return summon_specific_friendly(y, x, lev, typ, FALSE) - else - return summon_specific(y, x, lev, typ) - end - else - return summon_monster_aux(y, x, lev, friend, typ) - end -end diff --git a/lib/mods/theme/core/init.lua b/lib/mods/theme/core/init.lua index 4df54799..51dfc1d2 100644 --- a/lib/mods/theme/core/init.lua +++ b/lib/mods/theme/core/init.lua @@ -10,4 +10,3 @@ tome_dofile_anywhere(ANGBAND_DIR_CORE, "xml.lua") tome_dofile_anywhere(ANGBAND_DIR_CORE, "util.lua") tome_dofile_anywhere(ANGBAND_DIR_CORE, "player.lua") tome_dofile_anywhere(ANGBAND_DIR_CORE, "objects.lua") -tome_dofile_anywhere(ANGBAND_DIR_CORE, "monsters.lua") diff --git a/lib/mods/theme/core/monsters.lua b/lib/mods/theme/core/monsters.lua deleted file mode 100644 index ca2851a0..00000000 --- a/lib/mods/theme/core/monsters.lua +++ /dev/null @@ -1,16 +0,0 @@ --- SYSTEM FILE --- --- Monster stuff, do not touch --- - -function summon_monster(y, x, lev, friend, typ) - if type(typ) == "number" then - if friend == TRUE then - return summon_specific_friendly(y, x, lev, typ, FALSE) - else - return summon_specific(y, x, lev, typ) - end - else - return summon_monster_aux(y, x, lev, friend, typ) - end -end -- cgit v1.2.3