From 53baad766fbe8a959a04d7012d04207644d8ce5d Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 8 Jun 2019 17:34:29 -0400 Subject: [PATCH] More balancing and cleanup --- core/src/io/anuke/mindustry/content/Blocks.java | 4 ++-- .../io/anuke/mindustry/ui/fragments/PlacementFragment.java | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/core/src/io/anuke/mindustry/content/Blocks.java b/core/src/io/anuke/mindustry/content/Blocks.java index cdd319c681..5cede5b6bf 100644 --- a/core/src/io/anuke/mindustry/content/Blocks.java +++ b/core/src/io/anuke/mindustry/content/Blocks.java @@ -1249,7 +1249,7 @@ public class Blocks implements ContentList{ requirements(Category.effect, () -> world.isZone(), ItemStack.with(Items.copper, 500, Items.silicon, 150, Items.lead, 200)); size = 3; itemCapacity = 100; - launchTime = 60f * 8; + launchTime = 60f * 16; hasPower = true; consumes.power(1f); }}; @@ -1258,7 +1258,7 @@ public class Blocks implements ContentList{ requirements(Category.effect, () -> world.isZone(), ItemStack.with(Items.titanium, 400, Items.silicon, 300, Items.lead, 500, Items.plastanium, 150)); size = 4; itemCapacity = 250; - launchTime = 60f * 7; + launchTime = 60f * 14; hasPower = true; consumes.power(2f); }}; diff --git a/core/src/io/anuke/mindustry/ui/fragments/PlacementFragment.java b/core/src/io/anuke/mindustry/ui/fragments/PlacementFragment.java index 29e5d9cd90..90bcd05dd6 100644 --- a/core/src/io/anuke/mindustry/ui/fragments/PlacementFragment.java +++ b/core/src/io/anuke/mindustry/ui/fragments/PlacementFragment.java @@ -162,6 +162,12 @@ public class PlacementFragment extends Fragment{ } }); } + //add missing elements to even out table size + if(index < 4){ + for(int i = 0; i < 4-index; i++){ + blockTable.add().size(46f); + } + } blockTable.act(0f); };