Simple enemy rebuilding AI + fleeing
This commit is contained in:
@@ -210,6 +210,8 @@ public class Block extends UnlockableContent implements Senseable{
|
||||
public boolean hasColor = false;
|
||||
/** Whether units target this block. */
|
||||
public boolean targetable = true;
|
||||
/** If true, this block attacks and is considered a turret in the indexer. Building must implement Ranged. */
|
||||
public boolean attacks = false;
|
||||
/** If true, this block is mending-related and can be suppressed with special units/missiles. */
|
||||
public boolean suppressable = false;
|
||||
/** Whether the overdrive core has any effect on this block. */
|
||||
|
||||
@@ -32,6 +32,7 @@ public class BaseTurret extends Block{
|
||||
update = true;
|
||||
solid = true;
|
||||
outlineIcon = true;
|
||||
attacks = true;
|
||||
priority = TargetPriority.turret;
|
||||
group = BlockGroup.turrets;
|
||||
flags = EnumSet.of(BlockFlag.turret);
|
||||
|
||||
Reference in New Issue
Block a user