function getName()
	return "In8 Cave taxi"
end

function onMapLoaded()
end

function initMap()
	-- get the current map context
	local map = Map.get()
	map:addTile("tile-background-04", 0, 0)
	map:addTile("tile-background-03", 0, 1)
	map:addTile("tile-background-03", 0, 2)
	map:addTile("tile-background-03", 0, 3)
	map:addTile("tile-background-04", 0, 4)
	map:addTile("tile-ground-04", 0, 5)
	map:addTile("tile-rock-big-01", 0, 6)
	map:addTile("tile-rock-03", 0, 8)
	map:addTile("tile-rock-big-01", 0, 9)
	map:addTile("tile-rock-03", 0, 11)
	map:addTile("tile-rock-02", 0, 12)
	map:addTile("tile-rock-03", 0, 13)
	map:addTile("tile-rock-03", 0, 14)
	map:addTile("tile-background-02", 1, 0)
	map:addTile("tile-background-cave-art-01", 1, 1)
	map:addTile("tile-background-01", 1, 2)
	map:addTile("tile-background-03", 1, 3)
	map:addTile("tile-ground-04", 1, 5)
	map:addTile("tile-rock-02", 1, 8)
	map:addTile("tile-rock-02", 1, 11)
	map:addTile("tile-rock-big-01", 1, 12)
	map:addTile("tile-rock-02", 1, 14)
	map:addTile("tile-background-03", 2, 0)
	map:addTile("tile-background-03", 2, 1)
	map:addTile("tile-background-04", 2, 2)
	map:addTile("tile-background-03", 2, 3)
	map:addTile("tile-background-window-02", 2, 4)
	map:addTile("tile-ground-04", 2, 5)
	map:addTile("tile-rock-03", 2, 6)
	map:addTile("tile-rock-02", 2, 7)
	map:addTile("tile-rock-03", 2, 8)
	map:addTile("tile-rock-03", 2, 9)
	map:addTile("tile-rock-02", 2, 10)
	map:addTile("tile-rock-03", 2, 11)
	map:addTile("tile-rock-slope-right-02", 2, 14)
	map:addTile("tile-background-big-01", 3, 0)
	map:addTile("tile-background-02", 3, 2)
	map:addTile("tile-background-01", 3, 3)
	map:addTile("tile-background-03", 3, 4)
	map:addTile("tile-ground-02", 3, 5)
	map:addTile("tile-rock-02", 3, 6)
	map:addTile("tile-rock-big-01", 3, 7)
	map:addTile("tile-rock-slope-right-02", 3, 9)
	map:addTile("tile-background-04", 3, 10)
	map:addTile("tile-background-cave-art-01", 3, 11)
	map:addTile("tile-background-02", 3, 12)
	map:addTile("tile-background-02", 3, 13)
	map:addTile("tile-background-cave-art-01", 3, 14)
	map:addTile("tile-background-cave-art-01", 4, 2)
	map:addTile("tile-background-cave-art-01", 4, 3)
	map:addTile("tile-background-02", 4, 4)
	map:addTile("tile-ground-02", 4, 5)
	map:addTile("tile-rock-03", 4, 6)
	map:addTile("tile-background-04", 4, 9)
	map:addTile("tile-background-04", 4, 10)
	map:addTile("tile-background-02", 4, 11)
	map:addTile("tile-background-04", 4, 12)
	map:addTile("tile-background-03", 4, 13)
	map:addTile("tile-background-02", 4, 14)
	map:addTile("tile-background-01", 5, 0)
	map:addTile("tile-background-03", 5, 1)
	map:addTile("tile-background-cave-art-01", 5, 2)
	map:addTile("tile-background-03", 5, 3)
	map:addTile("tile-background-02", 5, 4)
	map:addTile("tile-background-03", 5, 5)
	map:addTile("tile-background-03", 5, 6)
	map:addTile("tile-background-02", 5, 7)
	map:addTile("tile-ground-04", 5, 8)
	map:addTile("tile-rock-slope-left-02", 5, 9)
	map:addTile("tile-background-01", 5, 10)
	map:addTile("tile-background-04", 5, 11)
	map:addTile("tile-background-02", 5, 12)
	map:addTile("tile-background-big-01", 5, 13)
	map:addTile("tile-background-03", 6, 0)
	map:addTile("tile-background-02", 6, 1)
	map:addTile("tile-background-04", 6, 2)
	map:addTile("tile-background-02", 6, 3)
	map:addTile("tile-background-big-01", 6, 4)
	map:addTile("tile-background-02", 6, 6)
	map:addTile("tile-background-window-01", 6, 7)
	map:addTile("tile-ground-03", 6, 8)
	map:addTile("tile-rock-big-01", 6, 9)
	map:addTile("tile-rock-slope-left-02", 6, 11)
	map:addTile("tile-background-04", 6, 12)
	map:addTile("tile-background-01", 7, 0)
	map:addTile("tile-background-04", 7, 1)
	map:addTile("tile-background-big-01", 7, 2)
	map:addTile("tile-background-01", 7, 6)
	map:addTile("tile-ground-01", 7, 8)
	map:addTile("tile-rock-big-01", 7, 11)
	map:addTile("tile-rock-slope-left-02", 7, 13)
	map:addTile("tile-background-01", 7, 14)
	map:addTile("tile-background-04", 8, 0)
	map:addTile("tile-background-02", 8, 1)
	map:addTile("tile-background-03", 8, 4)
	map:addTile("tile-background-03", 8, 5)
	map:addTile("tile-background-01", 8, 6)
	map:addTile("tile-background-cave-art-01", 8, 7)
	map:addTile("tile-ground-03", 8, 8)
	map:addTile("tile-rock-02", 8, 9)
	map:addTile("tile-rock-03", 8, 10)
	map:addTile("tile-rock-03", 8, 13)
	map:addTile("tile-rock-03", 8, 14)
	map:addTile("tile-background-01", 9, 0)
	map:addTile("tile-background-03", 9, 1)
	map:addTile("tile-background-02", 9, 2)
	map:addTile("tile-background-02", 9, 3)
	map:addTile("tile-background-04", 9, 4)
	map:addTile("tile-background-01", 9, 5)
	map:addTile("tile-background-03", 9, 6)
	map:addTile("tile-background-01", 9, 7)
	map:addTile("tile-ground-02", 9, 8)
	map:addTile("tile-rock-big-01", 9, 9)
	map:addTile("tile-rock-02", 9, 11)
	map:addTile("tile-rock-03", 9, 12)
	map:addTile("tile-rock-02", 9, 13)
	map:addTile("tile-rock-02", 9, 14)
	map:addTile("tile-background-02", 10, 0)
	map:addTile("tile-background-03", 10, 1)
	map:addTile("tile-background-01", 10, 2)
	map:addTile("tile-background-big-01", 10, 3)
	map:addTile("tile-ground-ledge-left-02", 10, 5)
	map:addTile("tile-background-01", 10, 6)
	map:addTile("tile-background-04", 10, 7)
	map:addTile("tile-ground-02", 10, 8)
	map:addTile("tile-rock-02", 10, 11)
	map:addTile("tile-rock-big-01", 10, 12)
	map:addTile("tile-rock-03", 10, 14)
	map:addTile("tile-background-01", 11, 0)
	map:addTile("tile-background-02", 11, 1)
	map:addTile("tile-background-03", 11, 2)
	map:addTile("tile-ground-ledge-left-01", 11, 5)
	map:addTile("tile-background-02", 11, 6)
	map:addTile("tile-background-03", 11, 7)
	map:addTile("tile-ground-02", 11, 8)
	map:addTile("tile-rock-03", 11, 9)
	map:addTile("tile-rock-02", 11, 10)
	map:addTile("tile-rock-02", 11, 11)
	map:addTile("tile-rock-02", 11, 14)
	map:addTile("tile-background-cave-art-01", 12, 0)
	map:addTile("tile-background-big-01", 12, 1)
	map:addTile("tile-ground-01", 12, 3)
	map:addTile("tile-rock-02", 12, 4)
	map:addTile("tile-rock-big-01", 12, 5)
	map:addTile("tile-rock-slope-left-02", 12, 7)
	map:addTile("tile-ground-02", 12, 8)
	map:addTile("tile-rock-02", 12, 9)
	map:addTile("tile-rock-big-01", 12, 10)
	map:addTile("tile-rock-02", 12, 12)
	map:addTile("tile-rock-03", 12, 13)
	map:addTile("tile-rock-03", 12, 14)
	map:addTile("tile-background-01", 13, 0)
	map:addTile("tile-ground-02", 13, 3)
	map:addTile("tile-rock-03", 13, 4)
	map:addTile("tile-rock-03", 13, 7)
	map:addTile("tile-rock-02", 13, 8)
	map:addTile("tile-rock-03", 13, 9)
	map:addTile("tile-rock-02", 13, 12)
	map:addTile("tile-rock-02", 13, 13)
	map:addTile("tile-rock-02", 13, 14)
	map:addTile("tile-background-cave-art-01", 14, 0)
	map:addTile("tile-background-01", 14, 1)
	map:addTile("tile-ground-01", 14, 3)
	map:addTile("tile-rock-02", 14, 4)
	map:addTile("tile-rock-03", 14, 5)
	map:addTile("tile-rock-02", 14, 6)
	map:addTile("tile-rock-02", 14, 7)
	map:addTile("tile-rock-02", 14, 8)
	map:addTile("tile-rock-big-01", 14, 9)
	map:addTile("tile-rock-03", 14, 11)
	map:addTile("tile-rock-big-01", 14, 12)
	map:addTile("tile-rock-03", 14, 14)
	map:addTile("tile-background-01", 15, 0)
	map:addTile("tile-background-01", 15, 1)
	map:addTile("tile-background-window-01", 15, 2)
	map:addTile("tile-ground-02", 15, 3)
	map:addTile("tile-rock-03", 15, 4)
	map:addTile("tile-rock-02", 15, 5)
	map:addTile("tile-rock-03", 15, 6)
	map:addTile("tile-rock-02", 15, 7)
	map:addTile("tile-rock-02", 15, 8)
	map:addTile("tile-rock-02", 15, 11)
	map:addTile("tile-rock-02", 15, 14)

	map:addCave("tile-cave-01", 1, 4, "", 5000)
	map:addCave("tile-cave-02", 7, 7, "", 5000)
	map:addCave("tile-cave-02", 14, 2)

	map:addEmitter("tree", 10, 3, 1, 0, "")

	map:setSetting("width", "16")
	map:setSetting("height", "15")
	map:setSetting("fishnpc", "false")
	map:setSetting("flyingnpc", "false")
	map:setSetting("gravity", "9.81")
	map:setSetting("introwindow", "")
	map:setSetting("npcs", "3")
	map:setSetting("npctransfercount", "2")
	map:setSetting("packagetransfercount", "0")
	map:setSetting("points", "100")
	map:setSetting("referencetime", "30")
	map:setSetting("sideborderfail", "false")
	map:setSetting("theme", "rock")
	map:setSetting("tutorial", "true")
	map:setSetting("waterchangespeed", "0")
	map:setSetting("waterfallingdelay", "0")
	map:setSetting("waterheight", "5.7")
	map:setSetting("waterrisingdelay", "0")
	map:setSetting("wind", "0")
	map:addStartPosition(10, 7)
end
