Removed unused rally point block

This commit is contained in:
Anuken
2019-09-21 13:06:09 -04:00
parent 4fa173f0f5
commit 1957b6aa12
2 changed files with 2 additions and 9 deletions

View File

@@ -76,7 +76,7 @@ public class Blocks implements ContentList{
duo, scatter, scorch, hail, arc, wave, lancer, swarmer, salvo, fuse, ripple, cyclone, spectre, meltdown, duo, scatter, scorch, hail, arc, wave, lancer, swarmer, salvo, fuse, ripple, cyclone, spectre, meltdown,
//units //units
commandCenter, rallyPoint, draugFactory, spiritFactory, phantomFactory, wraithFactory, ghoulFactory, revenantFactory, daggerFactory, crawlerFactory, titanFactory, commandCenter, draugFactory, spiritFactory, phantomFactory, wraithFactory, ghoulFactory, revenantFactory, daggerFactory, crawlerFactory, titanFactory,
fortressFactory, repairPoint, fortressFactory, repairPoint,
//upgrades //upgrades
@@ -1652,13 +1652,6 @@ public class Blocks implements ContentList{
health = size * size * 55; health = size * size * 55;
}}; }};
//TODO unused, but may be useful later
rallyPoint = new RallyPoint("rally-point"){{
//requirements(Category.units, ItemStack.with(Items.lead, 100, Items.silicon, 100, Items.graphite, 50));
size = 2;
health = size * size * 85;
}};
wraithFactory = new UnitFactory("wraith-factory"){{ wraithFactory = new UnitFactory("wraith-factory"){{
requirements(Category.units, ItemStack.with(Items.titanium, 30, Items.lead, 40, Items.silicon, 45)); requirements(Category.units, ItemStack.with(Items.titanium, 30, Items.lead, 40, Items.silicon, 45));
type = UnitTypes.wraith; type = UnitTypes.wraith;

View File

@@ -33,7 +33,7 @@ public class Version{
PropertiesUtils.load(map, file.reader()); PropertiesUtils.load(map, file.reader());
type = map.get("type"); type = map.get("type");
number = Integer.parseInt(map.get("number")); number = Integer.parseInt(map.get("number", "4"));
modifier = map.get("modifier"); modifier = map.get("modifier");
if(map.get("build").contains(".")){ if(map.get("build").contains(".")){
String[] split = map.get("build").split("\\."); String[] split = map.get("build").split("\\.");