[go: up one dir, main page]

File: monsters.lua

package info (click to toggle)
tome 2.3.11-ah-2
  • links: PTS, VCS
  • area: non-free
  • in suites: jessie, jessie-kfreebsd
  • size: 18,976 kB
  • ctags: 12,278
  • sloc: ansic: 145,042; sh: 212; makefile: 70
file content (16 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- 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