function getName()
	return "Desert 3 split 3pkg"
end

function onMapLoaded()
end

function initMap()
	-- get the current map context
	local map = Map.get()
	map:addTile("tile-background-desert-07", 0.000000, 0.000000)
	map:addTile("tile-rock-slope-desert-right-01", 0.000000, 1.000000)
	map:addTile("tile-rock-slope-desert-right-02", 0.000000, 2.000000)
	map:addTile("tile-background-desert-01", 0.000000, 3.000000)
	map:addTile("tile-background-desert-06", 0.000000, 4.000000)
	map:addTile("tile-background-desert-cave-art-02", 0.000000, 5.000000)
	map:addTile("tile-background-desert-07", 0.000000, 6.000000)
	map:addTile("tile-background-desert-03", 0.000000, 7.000000)
	map:addTile("tile-background-desert-06", 0.000000, 8.000000)
	map:addTile("tile-background-desert-04", 0.000000, 9.000000)
	map:addTile("tile-ground-desert-big-01", 0.000000, 10.000000)
	map:addTile("tile-background-desert-06", 1.000000, 0.000000)
	map:addTile("tile-background-desert-03", 1.000000, 1.000000)
	map:addTile("tile-background-desert-01", 1.000000, 2.000000)
	map:addTile("tile-background-desert-01", 1.000000, 3.000000)
	map:addTile("tile-rock-slope-desert-left-01", 1.000000, 4.000000)
	map:addTile("tile-rock-slope-desert-left-02", 1.000000, 5.000000)
	map:addTile("tile-background-desert-cave-art-02", 1.000000, 6.000000)
	map:addTile("tile-background-desert-01", 1.000000, 7.000000)
	map:addTile("tile-background-desert-08", 1.000000, 8.000000)
	map:addTile("tile-background-desert-07", 1.000000, 9.000000)
	map:addTile("tile-background-desert-05", 2.000000, 0.000000)
	map:addTile("tile-background-desert-01", 2.000000, 1.000000)
	map:addTile("tile-rock-slope-desert-left-01", 2.000000, 2.000000)
	map:addTile("tile-rock-desert-big-01", 2.000000, 3.000000)
	map:addTile("tile-rock-desert-02", 2.000000, 5.000000)
	map:addTile("tile-rock-slope-desert-left-02", 2.000000, 6.000000)
	map:addTile("tile-background-desert-02", 2.000000, 7.000000)
	map:addTile("tile-background-desert-06", 2.000000, 8.000000)
	map:addTile("tile-background-desert-02", 2.000000, 9.000000)
	map:addTile("tile-packagetarget-rock-01-idle", 2.000000, 10.000000)
	map:addTile("tile-rock-desert-02", 2.000000, 11.000000)
	map:addTile("tile-background-desert-08", 3.000000, 0.000000)
	map:addTile("tile-ground-desert-01", 3.000000, 2.000000)
	map:addTile("tile-rock-desert-02", 3.000000, 5.000000)
	map:addTile("tile-rock-desert-02", 3.000000, 6.000000)
	map:addTile("tile-rock-shim-desert-01", 3.000000, 7.000000)
	map:addTile("tile-background-desert-02", 3.000000, 8.000000)
	map:addTile("tile-background-desert-08", 3.000000, 9.000000)
	map:addTile("tile-ground-desert-02", 3.000000, 10.000000)
	map:addTile("tile-rock-desert-02", 3.000000, 11.000000)
	map:addTile("tile-background-desert-05", 4.000000, 0.000000)
	map:addTile("tile-background-desert-window-02", 4.000000, 1.000000)
	map:addTile("tile-ground-desert-01", 4.000000, 2.000000)
	map:addTile("tile-rock-desert-03", 4.000000, 3.000000)
	map:addTile("tile-rock-desert-02", 4.000000, 4.000000)
	map:addTile("tile-rock-slope-desert-right-02", 4.000000, 5.000000)
	map:addTile("tile-background-desert-01", 4.000000, 6.000000)
	map:addTile("tile-ground-desert-05", 4.000000, 7.000000)
	map:addTile("tile-background-desert-05", 4.000000, 8.000000)
	map:addTile("tile-background-desert-04", 4.000000, 9.000000)
	map:addTile("tile-rock-slope-desert-right-01", 4.000000, 10.000000)
	map:addTile("tile-rock-desert-01", 4.000000, 11.000000)
	map:addTile("tile-rock-desert-big-01", 5.000000, 0.000000)
	map:addTile("tile-rock-desert-03", 5.000000, 2.000000)
	map:addTile("tile-rock-desert-big-01", 5.000000, 3.000000)
	map:addTile("tile-background-desert-04", 5.000000, 5.000000)
	map:addTile("tile-background-desert-03", 5.000000, 6.000000)
	map:addTile("tile-background-desert-02", 5.000000, 7.000000)
	map:addTile("tile-background-desert-07", 5.000000, 8.000000)
	map:addTile("tile-background-desert-05", 5.000000, 9.000000)
	map:addTile("tile-background-desert-cave-art-02", 5.000000, 10.000000)
	map:addTile("tile-background-desert-08", 5.000000, 11.000000)
	map:addTile("tile-rock-desert-01", 6.000000, 2.000000)
	map:addTile("tile-rock-slope-desert-left-02", 6.000000, 5.000000)
	map:addTile("tile-background-desert-06", 6.000000, 6.000000)
	map:addTile("tile-background-desert-06", 6.000000, 7.000000)
	map:addTile("tile-background-desert-05", 6.000000, 8.000000)
	map:addTile("tile-background-desert-cave-art-02", 6.000000, 9.000000)
	map:addTile("tile-background-desert-cave-art-02", 6.000000, 10.000000)
	map:addTile("tile-background-desert-cave-art-02", 6.000000, 11.000000)
	map:addTile("tile-background-desert-06", 7.000000, 0.000000)
	map:addTile("tile-background-desert-08", 7.000000, 1.000000)
	map:addTile("tile-ground-desert-04", 7.000000, 2.000000)
	map:addTile("tile-rock-desert-01", 7.000000, 3.000000)
	map:addTile("tile-rock-desert-02", 7.000000, 4.000000)
	map:addTile("tile-rock-desert-02", 7.000000, 5.000000)
	map:addTile("tile-background-desert-cave-art-02", 7.000000, 6.000000)
	map:addTile("tile-background-desert-05", 7.000000, 7.000000)
	map:addTile("tile-ground-ledge-desert-left-01", 7.000000, 8.000000)
	map:addTile("tile-background-desert-01", 7.000000, 9.000000)
	map:addTile("tile-background-desert-03", 7.000000, 10.000000)
	map:addTile("tile-background-desert-08", 7.000000, 11.000000)
	map:addTile("tile-background-desert-05", 8.000000, 0.000000)
	map:addTile("tile-ground-desert-01", 8.000000, 2.000000)
	map:addTile("tile-rock-desert-03", 8.000000, 3.000000)
	map:addTile("tile-rock-desert-01", 8.000000, 4.000000)
	map:addTile("tile-rock-desert-02", 8.000000, 5.000000)
	map:addTile("tile-background-desert-05", 8.000000, 6.000000)
	map:addTile("tile-background-desert-05", 8.000000, 7.000000)
	map:addTile("tile-ground-desert-03", 8.000000, 8.000000)
	map:addTile("tile-rock-slope-desert-left-02", 8.000000, 9.000000)
	map:addTile("tile-background-desert-05", 8.000000, 10.000000)
	map:addTile("tile-background-desert-07", 8.000000, 11.000000)
	map:addTile("tile-background-desert-06", 9.000000, 0.000000)
	map:addTile("tile-background-desert-window-01", 9.000000, 1.000000)
	map:addTile("tile-background-desert-04", 9.000000, 2.000000)
	map:addTile("tile-rock-slope-desert-right-01", 9.000000, 3.000000)
	map:addTile("tile-ground-ledge-desert-right-02", 9.000000, 4.000000)
	map:addTile("tile-background-desert-04", 9.000000, 5.000000)
	map:addTile("tile-background-desert-01", 9.000000, 6.000000)
	map:addTile("tile-background-desert-08", 9.000000, 7.000000)
	map:addTile("tile-ground-desert-01", 9.000000, 8.000000)
	map:addTile("tile-rock-desert-02", 9.000000, 9.000000)
	map:addTile("tile-rock-desert-big-01", 9.000000, 10.000000)
	map:addTile("tile-background-desert-02", 10.000000, 0.000000)
	map:addTile("tile-background-desert-08", 10.000000, 1.000000)
	map:addTile("tile-background-desert-04", 10.000000, 2.000000)
	map:addTile("tile-background-desert-08", 10.000000, 3.000000)
	map:addTile("tile-background-desert-05", 10.000000, 4.000000)
	map:addTile("bridge-plank-01", 10.000000, 4.000000)
	map:addTile("tile-background-desert-07", 10.000000, 5.000000)
	map:addTile("tile-background-desert-07", 10.000000, 6.000000)
	map:addTile("tile-background-desert-window-02", 10.000000, 7.000000)
	map:addTile("tile-ground-desert-02", 10.000000, 8.000000)
	map:addTile("tile-rock-desert-01", 10.000000, 9.000000)
	map:addTile("tile-background-desert-06", 11.000000, 0.000000)
	map:addTile("tile-background-desert-02", 11.000000, 1.000000)
	map:addTile("tile-background-desert-01", 11.000000, 2.000000)
	map:addTile("tile-background-desert-02", 11.000000, 3.000000)
	map:addTile("tile-background-desert-04", 11.000000, 4.000000)
	map:addTile("bridge-wall-right-01", 11.000000, 4.000000)
	map:addTile("tile-background-desert-05", 11.000000, 5.000000)
	map:addTile("tile-background-desert-01", 11.000000, 6.000000)
	map:addTile("tile-ground-desert-01", 11.000000, 8.000000)
	map:addTile("tile-rock-desert-big-01", 11.000000, 9.000000)
	map:addTile("tile-rock-desert-02", 11.000000, 11.000000)
	map:addTile("tile-background-desert-05", 12.000000, 0.000000)
	map:addTile("tile-background-desert-cave-art-02", 12.000000, 1.000000)
	map:addTile("tile-background-desert-02", 12.000000, 2.000000)
	map:addTile("tile-background-desert-07", 12.000000, 3.000000)
	map:addTile("tile-ground-desert-big-01", 12.000000, 4.000000)
	map:addTile("tile-background-desert-07", 12.000000, 6.000000)
	map:addTile("tile-background-desert-05", 12.000000, 7.000000)
	map:addTile("tile-ground-desert-01", 12.000000, 8.000000)
	map:addTile("tile-rock-desert-02", 12.000000, 11.000000)
	map:addTile("tile-background-desert-05", 13.000000, 0.000000)
	map:addTile("tile-background-desert-08", 13.000000, 1.000000)
	map:addTile("tile-background-desert-01", 13.000000, 2.000000)
	map:addTile("tile-background-desert-08", 13.000000, 3.000000)
	map:addTile("tile-background-desert-big-01", 13.000000, 6.000000)
	map:addTile("tile-ground-desert-01", 13.000000, 8.000000)
	map:addTile("tile-rock-slope-desert-right-02", 13.000000, 9.000000)
	map:addTile("tile-background-desert-04", 13.000000, 10.000000)
	map:addTile("tile-background-desert-03", 13.000000, 11.000000)
	map:addTile("tile-rock-slope-desert-left-02", 14.000000, 0.000000)
	map:addTile("tile-background-desert-08", 14.000000, 1.000000)
	map:addTile("tile-background-desert-07", 14.000000, 2.000000)
	map:addTile("tile-background-desert-08", 14.000000, 3.000000)
	map:addTile("tile-background-desert-08", 14.000000, 4.000000)
	map:addTile("tile-background-desert-08", 14.000000, 5.000000)
	map:addTile("tile-ground-desert-01", 14.000000, 8.000000)
	map:addTile("tile-background-desert-08", 14.000000, 9.000000)
	map:addTile("tile-background-desert-08", 14.000000, 10.000000)
	map:addTile("tile-background-desert-cave-art-02", 14.000000, 11.000000)
	map:addTile("tile-rock-desert-02", 15.000000, 0.000000)
	map:addTile("tile-rock-slope-desert-left-02", 15.000000, 1.000000)
	map:addTile("tile-background-desert-cave-art-02", 15.000000, 2.000000)
	map:addTile("tile-background-desert-07", 15.000000, 3.000000)
	map:addTile("tile-background-desert-02", 15.000000, 4.000000)
	map:addTile("tile-background-desert-03", 15.000000, 5.000000)
	map:addTile("tile-background-desert-01", 15.000000, 6.000000)
	map:addTile("tile-rock-slope-desert-left-01", 15.000000, 7.000000)
	map:addTile("tile-rock-desert-01", 15.000000, 8.000000)
	map:addTile("tile-rock-slope-desert-left-02", 15.000000, 9.000000)
	map:addTile("tile-background-desert-cave-art-02", 15.000000, 10.000000)
	map:addTile("tile-background-desert-04", 15.000000, 11.000000)

	map:addEmitter("npc-mammut", 0.000000, 9.000000, 1, 0, "")
	map:addEmitter("tree", 9.000000, 6.000000, 1, 0, "")
	map:addEmitter("tree", 12.000000, 2.000000, 1, 0, "")

	map:addCave("tile-cave-desert-01", 3.000000, 1.000000, "", 2000)
	map:addCave("tile-cave-desert-01", 8.000000, 1.000000, "", 2000)
	map:addCave("tile-cave-desert-01", 11.000000, 7.000000, "", 3800)

	map:setSetting("width", "16")
	map:setSetting("height", "12")
	map:setSetting("fishnpc", "true")
	map:setSetting("flyingnpc", "false")
	map:setSetting("gravity", "9.81")
	map:setSetting("packagetransfercount", "3")
	map:setSetting("points", "100")
	map:setSetting("referencetime", "40")
	map:setSetting("sideborderfail", "false")
	map:setSetting("theme", "desert")
	map:setSetting("waterchangespeed", "0")
	map:setSetting("waterfallingdelay", "0")
	map:setSetting("waterheight", "1.500000")
	map:setSetting("waterrisingdelay", "0")
	map:setSetting("wind", "0.0")

	map:addStartPosition("7", "7")
end
