Balancing
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
@@ -21,7 +21,8 @@ public class Zones implements ContentList{
|
|||||||
deployCost = ItemStack.with(Items.copper, 60);
|
deployCost = ItemStack.with(Items.copper, 60);
|
||||||
startingItems = ItemStack.with(Items.copper, 50);
|
startingItems = ItemStack.with(Items.copper, 50);
|
||||||
alwaysUnlocked = true;
|
alwaysUnlocked = true;
|
||||||
conditionWave = 10;
|
conditionWave = 5;
|
||||||
|
launchPeriod = 5;
|
||||||
rules = () -> new Rules(){{
|
rules = () -> new Rules(){{
|
||||||
waves = true;
|
waves = true;
|
||||||
waveTimer = true;
|
waveTimer = true;
|
||||||
@@ -109,7 +110,6 @@ public class Zones implements ContentList{
|
|||||||
|
|
||||||
frozenForest = new Zone("frozenForest", new MapGenerator("frozenForest", 2)
|
frozenForest = new Zone("frozenForest", new MapGenerator("frozenForest", 2)
|
||||||
.decor(new Decoration(Blocks.snow, Blocks.sporeCluster, 0.02))){{
|
.decor(new Decoration(Blocks.snow, Blocks.sporeCluster, 0.02))){{
|
||||||
alwaysUnlocked = true;
|
|
||||||
deployCost = ItemStack.with(Items.copper, 500);
|
deployCost = ItemStack.with(Items.copper, 500);
|
||||||
startingItems = ItemStack.with(Items.copper, 400);
|
startingItems = ItemStack.with(Items.copper, 400);
|
||||||
conditionWave = 15;
|
conditionWave = 15;
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ public class Player extends Unit implements BuilderTrait, ShooterTrait{
|
|||||||
if(dead) return;
|
if(dead) return;
|
||||||
|
|
||||||
if(!movement.isZero() && moved && !state.isPaused()){
|
if(!movement.isZero() && moved && !state.isPaused()){
|
||||||
walktime += movement.len() / 0.7f * getFloorOn().speedMultiplier;
|
walktime += movement.len() / 1f * getFloorOn().speedMultiplier;
|
||||||
baseRotation = Mathf.slerpDelta(baseRotation, movement.angle(), 0.13f);
|
baseRotation = Mathf.slerpDelta(baseRotation, movement.angle(), 0.13f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public class Mech extends UnlockableContent{
|
|||||||
public boolean turnCursor = true;
|
public boolean turnCursor = true;
|
||||||
public boolean canHeal = false;
|
public boolean canHeal = false;
|
||||||
|
|
||||||
public float weaponOffsetX, weaponOffsetY, engineOffset = 6f, engineSize = 2f;
|
public float weaponOffsetX, weaponOffsetY, engineOffset = 5f, engineSize = 2.5f;
|
||||||
public Weapon weapon;
|
public Weapon weapon;
|
||||||
|
|
||||||
public TextureRegion baseRegion, legRegion, region, iconRegion;
|
public TextureRegion baseRegion, legRegion, region, iconRegion;
|
||||||
|
|||||||
@@ -38,8 +38,8 @@ public class DatabaseDialog extends FloatingDialog{
|
|||||||
for(int j = 0; j < allContent.length; j ++){
|
for(int j = 0; j < allContent.length; j ++){
|
||||||
ContentType type = ContentType.values()[j];
|
ContentType type = ContentType.values()[j];
|
||||||
|
|
||||||
Array<Content> array = allContent[j];
|
Array<Content> array = allContent[j].select(c -> c instanceof UnlockableContent && !((UnlockableContent)c).isHidden());
|
||||||
if(array.size == 0 || !(array.first() instanceof UnlockableContent)) continue;
|
if(array.size == 0) continue;
|
||||||
|
|
||||||
table.add("$content." + type.name() + ".name").growX().left().color(Palette.accent);
|
table.add("$content." + type.name() + ".name").growX().left().color(Palette.accent);
|
||||||
table.row();
|
table.row();
|
||||||
@@ -49,15 +49,13 @@ public class DatabaseDialog extends FloatingDialog{
|
|||||||
list.left();
|
list.left();
|
||||||
|
|
||||||
int maxWidth = UIUtils.portrait() ? 7 : 13;
|
int maxWidth = UIUtils.portrait() ? 7 : 13;
|
||||||
int size = 8 * 6;
|
int size = 8 * 4;
|
||||||
|
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
for(int i = 0; i < array.size; i++){
|
for(int i = 0; i < array.size; i++){
|
||||||
UnlockableContent unlock = (UnlockableContent) array.get(i);
|
UnlockableContent unlock = (UnlockableContent) array.get(i);
|
||||||
|
|
||||||
if(unlock.isHidden()) continue;
|
|
||||||
|
|
||||||
Image image = data.isUnlocked(unlock) ? new Image(unlock.getContentIcon()) : new Image("icon-tree-locked");
|
Image image = data.isUnlocked(unlock) ? new Image(unlock.getContentIcon()) : new Image("icon-tree-locked");
|
||||||
image.addListener(new HandCursorListener());
|
image.addListener(new HandCursorListener());
|
||||||
list.add(image).size(size).pad(3);
|
list.add(image).size(size).pad(3);
|
||||||
|
|||||||
@@ -48,12 +48,6 @@ public class DeployDialog extends FloatingDialog{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setup(){
|
public void setup(){
|
||||||
if(!System.getProperty("mindustry.debug", "false").equals("true")){
|
|
||||||
ui.showInfo("This is not ready for testing. Play custom games instead.");
|
|
||||||
Core.app.post(this::hide);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
cont.clear();
|
cont.clear();
|
||||||
titleTable.remove();
|
titleTable.remove();
|
||||||
marginTop(0f);
|
marginTop(0f);
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ public class Block extends BlockStorage{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TextureRegion getContentIcon(){
|
public TextureRegion getContentIcon(){
|
||||||
return icon(Icon.large);
|
return icon(Icon.medium);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -124,7 +124,9 @@ public class BuildBlock extends Block{
|
|||||||
|
|
||||||
if(entity.previous == null) return;
|
if(entity.previous == null) return;
|
||||||
|
|
||||||
Draw.rect(entity.previous.icon(Icon.full), tile.drawx(), tile.drawy(), entity.previous.rotate ? tile.getRotation() * 90 : 0);
|
if(Core.atlas.isFound(entity.previous.icon(Icon.full))){
|
||||||
|
Draw.rect(entity.previous.icon(Icon.full), tile.drawx(), tile.drawy(), entity.previous.rotate ? tile.getRotation() * 90 : 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user