setVar("gamesworldloc", read.location("games:8:4:8")); setVar("middleloc", read.location("games:-24:19:622")); setVar("radius", 100); setVar("lobbyloc", read.location("games:-24:19:622")); setVar("mapname", "Testmap"); setVar("gamesize", 16); setVar("playersneeded", 2); setVar("teams", "§aTeams erlaubt"); setVar("spawnmiddle", read.location("games:-24.5:19:622.5")); setVar("add-if-name", "minigames/hungergames/region_hgmap1"); list.new("spawns"); list.add($spawns, loc.mod($spawnmiddle, 11, 0, 0)); list.add($spawns, loc.mod($spawnmiddle, -11, 0, 0)); list.add($spawns, loc.mod($spawnmiddle, 0, 0, 11)); list.add($spawns, loc.mod($spawnmiddle, 0, 0, -11)); list.add($spawns, loc.mod($spawnmiddle, 4, 0, 10)); list.add($spawns, loc.mod($spawnmiddle, -4, 0, 10)); list.add($spawns, loc.mod($spawnmiddle, 4, 0, -10)); list.add($spawns, loc.mod($spawnmiddle, -4, 0, -10)); list.add($spawns, loc.mod($spawnmiddle, 8, 0, 8)); list.add($spawns, loc.mod($spawnmiddle, -8, 0, 8)); list.add($spawns, loc.mod($spawnmiddle, 8, 0, -8)); list.add($spawns, loc.mod($spawnmiddle, -8, 0, -8)); list.add($spawns, loc.mod($spawnmiddle, 10, 0, 4)); list.add($spawns, loc.mod($spawnmiddle, -10, 0, -4)); list.add($spawns, loc.mod($spawnmiddle, 10, 0, 4)); list.add($spawns, loc.mod($spawnmiddle, -10, 0, -4)); setVar("chest", read.location("games:-44:19:646")); list.new("chests"); list.add($chests, $chest); list.add($chests, loc.mod($chest, 2, 0, 0)); list.add($chests, loc.mod($chest, 4, 0, 0)); list.add($chests, loc.mod($chest, 6, 0, 0)); list.add($chests, loc.mod($chest, 8, 0, 0)); list.add($chests, loc.mod($chest, 10, 0, 0)); list.add($chests, loc.mod($chest, 12, 0, 0)); list.add($chests, loc.mod($chest, 14, 0, 0)); list.add($chests, loc.mod($chest, 16, 0, 0)); list.add($chests, loc.mod($chest, 18, 0, 0)); list.add($chests, loc.mod($chest, 20, 0, 0)); list.add($chests, loc.mod($chest, 22, 0, 0)); list.add($chests, loc.mod($chest, 24, 0, 0)); list.add($chests, loc.mod($chest, 26, 0, 0)); list.add($chests, loc.mod($chest, 28, 0, 0)); list.add($chests, loc.mod($chest, 30, 0, 0)); list.add($chests, loc.mod($chest, 32, 0, 0)); list.add($chests, loc.mod($chest, 34, 0, 0)); list.add($chests, loc.mod($chest, 36, 0, 0)); list.add($chests, loc.mod($chest, 38, 0, 0)); list.new("aimchests"); setVar("startloc", read.location("games:-44:19:607")); list.add($aimchests, $startloc); list.add($aimchests, loc.mod($startloc, 2, 0, 0)); list.add($aimchests, loc.mod($startloc, 4, 0, 0)); list.add($aimchests, loc.mod($startloc, 6, 0, 0)); list.add($aimchests, loc.mod($startloc, 8, 0, 0)); list.add($aimchests, loc.mod($startloc, 10, 0, 0)); list.add($aimchests, loc.mod($startloc, 12, 0, 0)); list.add($aimchests, loc.mod($startloc, 14, 0, 0)); list.add($aimchests, loc.mod($startloc, 16, 0, 0)); list.add($aimchests, loc.mod($startloc, 18, 0, 0)); list.add($aimchests, loc.mod($startloc, 20, 0, 0)); list.add($aimchests, loc.mod($startloc, 22, 0, 0)); list.add($aimchests, loc.mod($startloc, 24, 0, 0)); list.add($aimchests, loc.mod($startloc, 26, 0, 0)); list.add($aimchests, loc.mod($startloc, 28, 0, 0)); list.add($aimchests, loc.mod($startloc, 30, 0, 0)); list.add($aimchests, loc.mod($startloc, 32, 0, 0)); list.add($aimchests, loc.mod($startloc, 34, 0, 0)); list.add($aimchests, loc.mod($startloc, 36, 0, 0)); list.add($aimchests, loc.mod($startloc, 38, 0, 0)); quest.give("minigames/hungergames/hungergames");