Zone wave bugfix / New tests / More "encouragement"
This commit is contained in:
@@ -123,7 +123,7 @@ public class Zones implements ContentList{
|
||||
rules = () -> new Rules(){{
|
||||
waves = true;
|
||||
waveTimer = true;
|
||||
waveSpacing = 60 * 60 * 1.5f;
|
||||
waveSpacing = 60 * 60 * 1.3f;
|
||||
}};
|
||||
}};
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ public class MapGenerator extends Generator{
|
||||
tiles[x][y].setBlock(Blocks.air);
|
||||
}
|
||||
|
||||
if(tiles[x][y].block() == Blocks.spawn){
|
||||
if(tiles[x][y].block() == Blocks.spawn && enemySpawns != -1){
|
||||
enemies.add(new Point2(x, y));
|
||||
tiles[x][y].setBlock(Blocks.air);
|
||||
}
|
||||
|
||||
@@ -27,6 +27,8 @@ public class ItemsDisplay extends Table{
|
||||
|
||||
table("flat", t -> {
|
||||
t.margin(10).marginLeft(15).marginTop(15f);
|
||||
t.add("$launcheditems").colspan(3).left().padBottom(5);
|
||||
t.row();
|
||||
ObjectIntMap<Item> items = data.items();
|
||||
for(Item item : content.items()){
|
||||
if(item.type == ItemType.material && data.isUnlocked(item)){
|
||||
|
||||
Reference in New Issue
Block a user