function getName()
	return "Village4 Chilly 9pkg 8runs"
end

function onMapLoaded()
end

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

	map:addEmitter("item-package-ice", 0.000000, 6.800000, 1, 0, "")
	map:addEmitter("npc-mammut", 1.000000, 7.000000, 1, 0, "")
	map:addEmitter("item-package-ice", 2.000000, 1.800000, 1, 0, "")
	map:addEmitter("item-stone", 3.000000, 1.317582, 1, 0, "")
	map:addEmitter("item-package-ice", 3.000000, 3.800000, 1, 0, "")
	map:addEmitter("item-package-ice", 3.000000, 6.800000, 1, 0, "")
	map:addEmitter("item-package-ice", 5.000000, 4.800000, 1, 0, "")
	map:addEmitter("item-package-ice", 6.000000, 6.800000, 1, 0, "")
	map:addEmitter("npc-walking", 9.000000, 7.000000, 1, 0, "right=false")
	map:addEmitter("item-package-ice", 10.000000, 0.800000, 1, 0, "")
	map:addEmitter("item-package-ice", 10.000000, 4.800000, 1, 0, "")
	map:addEmitter("item-package-ice", 11.000000, 6.800000, 1, 0, "")

	map:addCave("tile-cave-ice-01", 2.000000, 2.000000, "", 7000)
	map:addCave("tile-cave-ice-02", 3.000000, 4.000000, "", 6000)
	map:addCave("tile-cave-ice-02", 4.000000, 7.000000, "", 2000)
	map:addCave("tile-cave-ice-01", 5.000000, 3.000000, "", 3000)
	map:addCave("tile-cave-ice-02", 10.000000, 1.000000, "", 4000)
	map:addCave("tile-cave-ice-02", 10.000000, 7.000000, "", 2000)
	map:addCave("tile-cave-ice-01", 11.000000, 5.000000, "", 2000)

	map:setSetting("width", "12")
	map:setSetting("height", "10")
	map:setSetting("fishnpc", "false")
	map:setSetting("flyingnpc", "false")
	map:setSetting("gravity", "9.81")
	map:setSetting("introwindow", "")
	map:setSetting("npcs", "7")
	map:setSetting("npctransfercount", "8")
	map:setSetting("packagetransfercount", "9")
	map:setSetting("points", "100")
	map:setSetting("referencetime", "150")
	map:setSetting("sideborderfail", "false")
	map:setSetting("theme", "ice")
	map:setSetting("tutorial", "false")
	map:setSetting("waterchangespeed", "0.000000")
	map:setSetting("waterfallingdelay", "1000")
	map:setSetting("waterheight", "0.900000")
	map:setSetting("waterrisingdelay", "1000")
	map:setSetting("wind", "-0.4")

	map:addStartPosition("7.000000", "4.000000")
end
