Default spawn limit bumped to 4
This commit is contained in:
@@ -1522,6 +1522,7 @@ public class Blocks implements ContentList{
|
|||||||
type = UnitTypes.spirit;
|
type = UnitTypes.spirit;
|
||||||
produceTime = 5700;
|
produceTime = 5700;
|
||||||
size = 2;
|
size = 2;
|
||||||
|
maxSpawn = 2;
|
||||||
consumes.power(0.80f);
|
consumes.power(0.80f);
|
||||||
consumes.items(new ItemStack(Items.silicon, 30), new ItemStack(Items.lead, 30));
|
consumes.items(new ItemStack(Items.silicon, 30), new ItemStack(Items.lead, 30));
|
||||||
}};
|
}};
|
||||||
@@ -1531,6 +1532,7 @@ public class Blocks implements ContentList{
|
|||||||
type = UnitTypes.phantom;
|
type = UnitTypes.phantom;
|
||||||
produceTime = 7300;
|
produceTime = 7300;
|
||||||
size = 2;
|
size = 2;
|
||||||
|
maxSpawn = 2;
|
||||||
consumes.power(2f);
|
consumes.power(2f);
|
||||||
consumes.items(new ItemStack(Items.silicon, 70), new ItemStack(Items.lead, 80), new ItemStack(Items.titanium, 80));
|
consumes.items(new ItemStack(Items.silicon, 70), new ItemStack(Items.lead, 80), new ItemStack(Items.titanium, 80));
|
||||||
}};
|
}};
|
||||||
@@ -1594,6 +1596,7 @@ public class Blocks implements ContentList{
|
|||||||
type = UnitTypes.fortress;
|
type = UnitTypes.fortress;
|
||||||
produceTime = 5000;
|
produceTime = 5000;
|
||||||
size = 3;
|
size = 3;
|
||||||
|
maxSpawn = 3;
|
||||||
consumes.power(2f);
|
consumes.power(2f);
|
||||||
consumes.items(new ItemStack(Items.silicon, 40), new ItemStack(Items.thorium, 50));
|
consumes.items(new ItemStack(Items.silicon, 40), new ItemStack(Items.thorium, 50));
|
||||||
}};
|
}};
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ public class UnitFactory extends Block{
|
|||||||
protected float produceTime = 1000f;
|
protected float produceTime = 1000f;
|
||||||
protected float launchVelocity = 0f;
|
protected float launchVelocity = 0f;
|
||||||
protected TextureRegion topRegion;
|
protected TextureRegion topRegion;
|
||||||
protected int maxSpawn = 2;
|
protected int maxSpawn = 4;
|
||||||
protected int[] capacities;
|
protected int[] capacities;
|
||||||
|
|
||||||
public UnitFactory(String name){
|
public UnitFactory(String name){
|
||||||
|
|||||||
Reference in New Issue
Block a user