12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- mapname = "Mining";
- numberofteams = 2;
- teamsize = 3;
- minplayers = 2;
- maxplayers = teamsize * numberofteams;
- gamesignloc = minigame.getSignLoc("bwmapsign3");
- gamesworld = world.getGames();
- lobbyspawnloc = loc.new(gamesworld, 928, 85, 1012, -90, 0); //Lobbyspawn
- middleloc = loc.new(gamesworld, 1020, 78, 4931); //Middleloc und Radius zum Resetten der Items
- radius = 150;
- voidedge1 = loc.new(gamesworld, 1020, 78, 4931);
- voidedge2 = loc.new(gamesworld, 1020, 78, 4931);
- join_blocks = map.new(); //Block-Locations, um einem Team zu joinen
- map.add(join_blocks, loc.new(gamesworld, 932, 84, 1007), 0);
- map.add(join_blocks, loc.new(gamesworld, 932, 84, 1017), 1);
- foot_bed_loc = list.new(); //Liste aller Locs Fußteile der Betten
- list.add(foot_bed_loc, loc.new(gamesworld, 1022, 79, 4882));
- list.add(foot_bed_loc, loc.new(gamesworld, 1019, 79, 4980));
- head_bed_loc = list.new(); //Liste aller Locs Kopfteile der Betten
- list.add(head_bed_loc, loc.new(gamesworld, 1022, 79, 4881));
- list.add(head_bed_loc, loc.new(gamesworld, 1019, 79, 4981));
- bed_facing = map.new(); //Map in welche Richtung das Bett schaut
- map.add(bed_facing, 0, "north");
- map.add(bed_facing, 1, "south");
- spawn_locs = map.new(); //Liste der Spawnlocs der einzelnen Teams
- map.add(spawn_locs, 0, loc.new(gamesworld, 1022, 79, 4890));
- map.add(spawn_locs, 1, loc.new(gamesworld, 1019, 79, 4972));
- copper_locs = list.new();
- list.add(copper_locs, loc.new(gamesworld, 1022.5, 78, 4891.5));
- list.add(copper_locs, loc.new(gamesworld, 1019.5, 78, 4971.5));
- silver_locs = list.new();
- list.add(silver_locs, loc.new(gamesworld, 1014.5, 78, 4889.5));
- list.add(silver_locs, loc.new(gamesworld, 1027.5, 78, 4911.5));
- list.add(silver_locs, loc.new(gamesworld, 1027.5, 78, 4973.5));
- list.add(silver_locs, loc.new(gamesworld, 1014.5, 78, 4951.5));
- gold_locs = list.new();
- list.add(gold_locs, loc.new(gamesworld, 1020.5, 78, 4931.5));
- list.add(gold_locs, loc.new(gamesworld, 1021.5, 78, 4931.5));
|