Atolls sector map submission / Windswept Islands rework submission
This commit is contained in:
@@ -58,7 +58,7 @@ public class Block extends UnlockableContent implements Senseable{
|
||||
/** If true, this block can output payloads; affects blending. */
|
||||
public boolean outputsPayload = false;
|
||||
/** If true, this block can input payloads; affects unit payload enter behavior. */
|
||||
public boolean acceptsPayloads = false;
|
||||
public boolean acceptsUnitPayloads = false;
|
||||
/** If true, payloads will attempt to move into this block. */
|
||||
public boolean acceptsPayload = false;
|
||||
/** Visual flag use for blending of certain transportation blocks. */
|
||||
|
||||
@@ -30,7 +30,7 @@ public abstract class BlockProducer extends PayloadBlock{
|
||||
hasItems = true;
|
||||
solid = true;
|
||||
hasPower = true;
|
||||
acceptsPayloads = false;
|
||||
acceptsUnitPayloads = false;
|
||||
rotate = true;
|
||||
regionRotated1 = 1;
|
||||
|
||||
@@ -69,7 +69,7 @@ public abstract class BlockProducer extends PayloadBlock{
|
||||
|
||||
addBar("progress", (BlockProducerBuild entity) -> new Bar("bar.progress", Pal.ammo, () -> entity.recipe() == null ? 0f : (entity.progress / entity.recipe().buildCost)));
|
||||
}
|
||||
|
||||
|
||||
public abstract class BlockProducerBuild extends PayloadBlockBuild<BuildPayload>{
|
||||
public float progress, time, heat;
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ public class PayloadBlock extends Block{
|
||||
update = true;
|
||||
sync = true;
|
||||
group = BlockGroup.payloads;
|
||||
acceptsPayloads = true;
|
||||
acceptsUnitPayloads = true;
|
||||
envEnabled |= Env.space | Env.underwater;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ public class PayloadConveyor extends Block{
|
||||
update = true;
|
||||
outputsPayload = true;
|
||||
noUpdateDisabled = true;
|
||||
acceptsPayloads = true;
|
||||
acceptsUnitPayloads = true;
|
||||
priority = TargetPriority.transport;
|
||||
envEnabled |= Env.space | Env.underwater;
|
||||
sync = true;
|
||||
|
||||
@@ -37,7 +37,7 @@ public class PayloadSource extends PayloadBlock{
|
||||
noUpdateDisabled = true;
|
||||
clearOnDoubleTap = true;
|
||||
regionRotated1 = 1;
|
||||
acceptsPayloads = false;
|
||||
acceptsUnitPayloads = false;
|
||||
commandable = true;
|
||||
|
||||
config(Block.class, (PayloadSourceBuild build, Block block) -> {
|
||||
|
||||
Reference in New Issue
Block a user