Bugfixes
This commit is contained in:
@@ -200,6 +200,7 @@ project(":core"){
|
|||||||
|
|
||||||
compile arcModule("arc-core")
|
compile arcModule("arc-core")
|
||||||
compile arcModule("extensions:freetype")
|
compile arcModule("extensions:freetype")
|
||||||
|
//compile arcModule("extensions:postprocessing")
|
||||||
if(localArc() && debugged()) compile arcModule("extensions:recorder")
|
if(localArc() && debugged()) compile arcModule("extensions:recorder")
|
||||||
|
|
||||||
compileOnly project(":annotations")
|
compileOnly project(":annotations")
|
||||||
|
|||||||
@@ -445,7 +445,7 @@ setting.borderless.name = Borderless Window
|
|||||||
setting.fps.name = Show FPS
|
setting.fps.name = Show FPS
|
||||||
setting.vsync.name = VSync
|
setting.vsync.name = VSync
|
||||||
setting.lasers.name = Show Power Lasers
|
setting.lasers.name = Show Power Lasers
|
||||||
setting.pixelate.name = Pixelate [LIGHT_GRAY](may decrease performance)
|
setting.pixelate.name = Pixelate [LIGHT_GRAY](may decrease performance, disables animations)
|
||||||
setting.minimap.name = Show Minimap
|
setting.minimap.name = Show Minimap
|
||||||
setting.musicvol.name = Music Volume
|
setting.musicvol.name = Music Volume
|
||||||
setting.mutemusic.name = Mute Music
|
setting.mutemusic.name = Mute Music
|
||||||
|
|||||||
@@ -627,7 +627,7 @@ public class Blocks implements ContentList{
|
|||||||
requirements(Category.crafting, ItemStack.with(Items.lead, 70, Items.silicon, 60));
|
requirements(Category.crafting, ItemStack.with(Items.lead, 70, Items.silicon, 60));
|
||||||
liquidCapacity = 60f;
|
liquidCapacity = 60f;
|
||||||
craftTime = 20f;
|
craftTime = 20f;
|
||||||
outputLiquid = new LiquidStack(Liquids.oil, 4f);
|
outputLiquid = new LiquidStack(Liquids.oil, 6f);
|
||||||
size = 2;
|
size = 2;
|
||||||
health = 320;
|
health = 320;
|
||||||
hasLiquids = true;
|
hasLiquids = true;
|
||||||
@@ -1451,7 +1451,7 @@ public class Blocks implements ContentList{
|
|||||||
);
|
);
|
||||||
xRand = 4f;
|
xRand = 4f;
|
||||||
reload = 6f;
|
reload = 6f;
|
||||||
range = 190f;
|
range = 200f;
|
||||||
size = 3;
|
size = 3;
|
||||||
recoil = 3f;
|
recoil = 3f;
|
||||||
rotatespeed = 10f;
|
rotatespeed = 10f;
|
||||||
|
|||||||
@@ -643,6 +643,8 @@ public class Bullets implements ContentList{
|
|||||||
lightning = new BulletType(0.001f, 12f){
|
lightning = new BulletType(0.001f, 12f){
|
||||||
{
|
{
|
||||||
lifetime = 1f;
|
lifetime = 1f;
|
||||||
|
shootEffect = Fx.hitLancer;
|
||||||
|
smokeEffect = Fx.none;
|
||||||
despawnEffect = Fx.none;
|
despawnEffect = Fx.none;
|
||||||
hitEffect = Fx.hitLancer;
|
hitEffect = Fx.hitLancer;
|
||||||
keepVelocity = false;
|
keepVelocity = false;
|
||||||
|
|||||||
@@ -75,10 +75,12 @@ public class Mechs implements ContentList{
|
|||||||
engineColor = Color.valueOf("d3ddff");
|
engineColor = Color.valueOf("d3ddff");
|
||||||
|
|
||||||
weapon = new Weapon("shockgun"){{
|
weapon = new Weapon("shockgun"){{
|
||||||
|
shake = 2f;
|
||||||
length = 1f;
|
length = 1f;
|
||||||
reload = 40f;
|
reload = 40f;
|
||||||
|
shotDelay = 3f;
|
||||||
roundrobin = true;
|
roundrobin = true;
|
||||||
shots = 1;
|
shots = 3;
|
||||||
inaccuracy = 0f;
|
inaccuracy = 0f;
|
||||||
velocityRnd = 0.2f;
|
velocityRnd = 0.2f;
|
||||||
ejectEffect = Fx.none;
|
ejectEffect = Fx.none;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package io.anuke.mindustry.world;
|
|||||||
import io.anuke.arc.collection.Array;
|
import io.anuke.arc.collection.Array;
|
||||||
import io.anuke.arc.math.Mathf;
|
import io.anuke.arc.math.Mathf;
|
||||||
import io.anuke.arc.math.geom.Vector2;
|
import io.anuke.arc.math.geom.Vector2;
|
||||||
|
import io.anuke.arc.util.Log;
|
||||||
import io.anuke.arc.util.Time;
|
import io.anuke.arc.util.Time;
|
||||||
import io.anuke.mindustry.Vars;
|
import io.anuke.mindustry.Vars;
|
||||||
import io.anuke.mindustry.content.Fx;
|
import io.anuke.mindustry.content.Fx;
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import io.anuke.arc.Core;
|
|||||||
import io.anuke.arc.collection.Array;
|
import io.anuke.arc.collection.Array;
|
||||||
import io.anuke.arc.graphics.g2d.Draw;
|
import io.anuke.arc.graphics.g2d.Draw;
|
||||||
import io.anuke.arc.graphics.g2d.TextureRegion;
|
import io.anuke.arc.graphics.g2d.TextureRegion;
|
||||||
|
import io.anuke.arc.util.Log;
|
||||||
import io.anuke.mindustry.graphics.Layer;
|
import io.anuke.mindustry.graphics.Layer;
|
||||||
import io.anuke.mindustry.type.Liquid;
|
import io.anuke.mindustry.type.Liquid;
|
||||||
import io.anuke.mindustry.world.Tile;
|
import io.anuke.mindustry.world.Tile;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package io.anuke.mindustry.world.consumers;
|
package io.anuke.mindustry.world.consumers;
|
||||||
|
|
||||||
import io.anuke.arc.scene.ui.layout.Table;
|
import io.anuke.arc.scene.ui.layout.Table;
|
||||||
|
import io.anuke.arc.util.Log;
|
||||||
import io.anuke.mindustry.entities.type.TileEntity;
|
import io.anuke.mindustry.entities.type.TileEntity;
|
||||||
import io.anuke.mindustry.type.Liquid;
|
import io.anuke.mindustry.type.Liquid;
|
||||||
import io.anuke.mindustry.ui.ReqImage;
|
import io.anuke.mindustry.ui.ReqImage;
|
||||||
|
|||||||
@@ -22,13 +22,13 @@ public class ConsumeModule extends BlockModule{
|
|||||||
boolean docons = entity.block.shouldConsume(entity.tile);
|
boolean docons = entity.block.shouldConsume(entity.tile);
|
||||||
|
|
||||||
for(Consume cons : entity.block.consumes.all()){
|
for(Consume cons : entity.block.consumes.all()){
|
||||||
|
if(cons.isOptional()) continue;
|
||||||
|
|
||||||
if(docons && cons.isUpdate() && prevValid && cons.valid(entity)){
|
if(docons && cons.isUpdate() && prevValid && cons.valid(entity)){
|
||||||
cons.update(entity);
|
cons.update(entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!cons.isOptional()){
|
valid &= cons.valid(entity);
|
||||||
valid &= cons.valid(entity);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for(Consume cons : entity.block.consumes.optionals()){
|
for(Consume cons : entity.block.consumes.optionals()){
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ if(!hasProperty("release")){
|
|||||||
use(':Arc:extensions', '../Arc/extensions')
|
use(':Arc:extensions', '../Arc/extensions')
|
||||||
use(':Arc:extensions:freetype', '../Arc/extensions/freetype')
|
use(':Arc:extensions:freetype', '../Arc/extensions/freetype')
|
||||||
use(':Arc:extensions:recorder', '../Arc/extensions/recorder')
|
use(':Arc:extensions:recorder', '../Arc/extensions/recorder')
|
||||||
|
//use(':Arc:extensions:postprocessing', '../Arc/extensions/postprocessing')
|
||||||
use(':Arc:backends', '../Arc/backends')
|
use(':Arc:backends', '../Arc/backends')
|
||||||
use(':Arc:backends:backend-lwjgl3', '../Arc/backends/backend-lwjgl3')
|
use(':Arc:backends:backend-lwjgl3', '../Arc/backends/backend-lwjgl3')
|
||||||
use(':Arc:backends:backend-android', '../Arc/backends/backend-android')
|
use(':Arc:backends:backend-android', '../Arc/backends/backend-android')
|
||||||
|
|||||||
Reference in New Issue
Block a user