some micro battle maps (thanks to GalaxiaOwner) with some maps by me
This commit is contained in:
BIN
Maps/Micro Battle/Micro_Castles.zip
Normal file
BIN
Maps/Micro Battle/Micro_Castles.zip
Normal file
Binary file not shown.
BIN
Maps/Micro Battle/Micro_Deserted.zip
Normal file
BIN
Maps/Micro Battle/Micro_Deserted.zip
Normal file
Binary file not shown.
BIN
Maps/Micro Battle/Micro_Itty_Bitty_City.zip
Normal file
BIN
Maps/Micro Battle/Micro_Itty_Bitty_City.zip
Normal file
Binary file not shown.
BIN
Maps/Micro Battle/Micro_Land_of_Time.zip
Normal file
BIN
Maps/Micro Battle/Micro_Land_of_Time.zip
Normal file
Binary file not shown.
BIN
Maps/Micro Battle/Micro_Lost Atlantis.zip
Normal file
BIN
Maps/Micro Battle/Micro_Lost Atlantis.zip
Normal file
Binary file not shown.
BIN
Maps/Micro Battle/Micro_Lumber Land.zip
Normal file
BIN
Maps/Micro Battle/Micro_Lumber Land.zip
Normal file
Binary file not shown.
BIN
Maps/Micro Battle/Micro_Mars Is Flat.zip
Normal file
BIN
Maps/Micro Battle/Micro_Mars Is Flat.zip
Normal file
Binary file not shown.
BIN
Maps/Micro Battle/Micro_Seasons.zip
Normal file
BIN
Maps/Micro Battle/Micro_Seasons.zip
Normal file
Binary file not shown.
BIN
Maps/Micro Battle/Micro_Towers_9998.zip
Normal file
BIN
Maps/Micro Battle/Micro_Towers_9998.zip
Normal file
Binary file not shown.
@ -117,6 +117,17 @@ public class Parse
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(block.getType() == Material.GLASS){
|
||||||
|
//Make it's easier for micro battles map
|
||||||
|
if(getGameType() == GameType.Micro){
|
||||||
|
String name = "20"; //set auto glass
|
||||||
|
if (!_customLocs.containsKey(name)) _customLocs.put(name, new ArrayList<Location>());
|
||||||
|
_customLocs.get(name).add(block.getLocation());
|
||||||
|
//Remove Blocks
|
||||||
|
block.setTypeId(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//Signs
|
//Signs
|
||||||
if (block.getType() == Material.SIGN_POST || block.getType() == Material.WALL_SIGN)
|
if (block.getType() == Material.SIGN_POST || block.getType() == Material.WALL_SIGN)
|
||||||
{
|
{
|
||||||
@ -157,6 +168,7 @@ public class Parse
|
|||||||
block.getRelative(BlockFace.DOWN).setTypeId(0);
|
block.getRelative(BlockFace.DOWN).setTypeId(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (block.getType() == Material.LEAVES || block.getType() == Material.LEAVES_2)
|
else if (block.getType() == Material.LEAVES || block.getType() == Material.LEAVES_2)
|
||||||
{
|
{
|
||||||
if (block.getData() <= 3)
|
if (block.getData() <= 3)
|
||||||
|
@ -412,11 +412,13 @@ public class CakeWars extends TeamGame
|
|||||||
_chestLootModule.register(this);
|
_chestLootModule.register(this);
|
||||||
|
|
||||||
// Backwards compatibility with old cake wars maps
|
// Backwards compatibility with old cake wars maps
|
||||||
|
|
||||||
int i = 1;
|
int i = 1;
|
||||||
for (Location location : WorldData.GetDataLocs("SILVER"))
|
for (Location location : WorldData.GetDataLocs("SILVER"))
|
||||||
{
|
{
|
||||||
WorldData.GetAllCustomLocs().computeIfAbsent("POINT Outer-" + i++ + " GREEN", k -> new ArrayList<>()).add(location);
|
WorldData.GetAllCustomLocs().computeIfAbsent("POINT Outer-" + i++ + " GREEN", k -> new ArrayList<>()).add(location);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Location location : WorldData.GetDataLocs("WHITE"))
|
for (Location location : WorldData.GetDataLocs("WHITE"))
|
||||||
{
|
{
|
||||||
WorldData.GetAllCustomLocs().computeIfAbsent("POINT Center GOLD", k -> new ArrayList<>()).add(location);
|
WorldData.GetAllCustomLocs().computeIfAbsent("POINT Center GOLD", k -> new ArrayList<>()).add(location);
|
||||||
|
Reference in New Issue
Block a user