Bugfixes
This commit is contained in:
@@ -1310,7 +1310,7 @@ public class Blocks implements ContentList{
|
|||||||
itemCapacity = 9000;
|
itemCapacity = 9000;
|
||||||
size = 4;
|
size = 4;
|
||||||
|
|
||||||
unitCapModifier = 16;
|
unitCapModifier = 14;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
coreNucleus = new CoreBlock("core-nucleus"){{
|
coreNucleus = new CoreBlock("core-nucleus"){{
|
||||||
@@ -1321,7 +1321,7 @@ public class Blocks implements ContentList{
|
|||||||
itemCapacity = 13000;
|
itemCapacity = 13000;
|
||||||
size = 5;
|
size = 5;
|
||||||
|
|
||||||
unitCapModifier = 24;
|
unitCapModifier = 20;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
vault = new StorageBlock("vault"){{
|
vault = new StorageBlock("vault"){{
|
||||||
@@ -1452,7 +1452,7 @@ public class Blocks implements ContentList{
|
|||||||
recoilAmount = 2f;
|
recoilAmount = 2f;
|
||||||
reloadTime = 90f;
|
reloadTime = 90f;
|
||||||
cooldown = 0.03f;
|
cooldown = 0.03f;
|
||||||
powerUse = 2.5f;
|
powerUse = 6f;
|
||||||
shootShake = 2f;
|
shootShake = 2f;
|
||||||
shootEffect = Fx.lancerLaserShoot;
|
shootEffect = Fx.lancerLaserShoot;
|
||||||
smokeEffect = Fx.none;
|
smokeEffect = Fx.none;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ public class BeControl{
|
|||||||
if(checkUpdates && !mobile){
|
if(checkUpdates && !mobile){
|
||||||
checkUpdate(t -> {});
|
checkUpdate(t -> {});
|
||||||
}
|
}
|
||||||
}, 1, updateInterval);
|
}, updateInterval, updateInterval);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ public class Door extends Wall{
|
|||||||
if(type == LAccess.enabled){
|
if(type == LAccess.enabled){
|
||||||
boolean shouldOpen = !Mathf.zero(p1);
|
boolean shouldOpen = !Mathf.zero(p1);
|
||||||
|
|
||||||
if(net.client() || open == shouldOpen || (Units.anyEntities(tile) && !shouldOpen) || !origin().timer(timerToggle, 60f)){
|
if(net.client() || open == shouldOpen || (Units.anyEntities(tile) && !shouldOpen) || !origin().timer(timerToggle, 80f)){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -134,7 +134,7 @@ public class Door extends Wall{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void tapped(){
|
public void tapped(){
|
||||||
if((Units.anyEntities(tile) && open) || !origin().timer(timerToggle, 50f)){
|
if((Units.anyEntities(tile) && open) || !origin().timer(timerToggle, 60f)){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ public class LogicBlock extends Block{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class LogicBuild extends Building{
|
public class LogicBuild extends Building implements Ranged{
|
||||||
/** logic "source code" as list of asm statements */
|
/** logic "source code" as list of asm statements */
|
||||||
public String code = "";
|
public String code = "";
|
||||||
public LExecutor executor = new LExecutor();
|
public LExecutor executor = new LExecutor();
|
||||||
@@ -304,6 +304,11 @@ public class LogicBlock extends Block{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public float range(){
|
||||||
|
return range;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateTile(){
|
public void updateTile(){
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=71e03be946af9ec8e9f61fbc289e7c75acbfc184
|
archash=0fafa5b7159c2a6c11f03ebd378a47736101b46e
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ public class ServerControl implements ApplicationListener{
|
|||||||
nextMapOverride = null;
|
nextMapOverride = null;
|
||||||
if(map != null){
|
if(map != null){
|
||||||
Call.infoMessage((state.rules.pvp
|
Call.infoMessage((state.rules.pvp
|
||||||
? "[yellow]The " + event.winner.name + " team is victorious![]" : "[scarlet]Game over![]")
|
? "[accent]The " + event.winner.name + " team is victorious![]\n" : "[scarlet]Game over![]\n")
|
||||||
+ "\nNext selected map:[accent] " + map.name() + "[]"
|
+ "\nNext selected map:[accent] " + map.name() + "[]"
|
||||||
+ (map.tags.containsKey("author") && !map.tags.get("author").trim().isEmpty() ? " by[accent] " + map.author() + "[white]" : "") + "." +
|
+ (map.tags.containsKey("author") && !map.tags.get("author").trim().isEmpty() ? " by[accent] " + map.author() + "[white]" : "") + "." +
|
||||||
"\nNew game begins in " + roundExtraTime + " seconds.");
|
"\nNew game begins in " + roundExtraTime + " seconds.");
|
||||||
|
|||||||
Reference in New Issue
Block a user