Payload unit update rule

This commit is contained in:
Anuken
2022-01-08 11:06:05 -05:00
parent dcfdf37b4f
commit 5611a212c5
7 changed files with 35 additions and 28 deletions

View File

@@ -126,7 +126,7 @@ public class Block extends UnlockableContent{
public boolean autoResetEnabled = true;
/** if true, the block stops updating when disabled */
public boolean noUpdateDisabled = false;
/** if true, this block updates when it's a payload in a unit. Currently unused! */
/** if true, this block updates when it's a payload in a unit. */
public boolean updateInUnits = true;
/** Whether to use this block's color in the minimap. Only used for overlays. */
public boolean useColor = true;

View File

@@ -36,7 +36,6 @@ public class BaseTurret extends Block{
priority = TargetPriority.turret;
group = BlockGroup.turrets;
flags = EnumSet.of(BlockFlag.turret);
updateInUnits = false;
}
@Override

View File

@@ -49,7 +49,6 @@ public class NuclearReactor extends PowerGenerator{
public NuclearReactor(String name){
super(name);
updateInUnits = false;
itemCapacity = 30;
liquidCapacity = 30;
hasItems = true;