Atolls sector map submission / Windswept Islands rework submission

This commit is contained in:
Anuken
2024-09-15 12:24:52 -04:00
parent db52650bd5
commit 20a7f3f300
12 changed files with 23 additions and 11 deletions
+1 -1
View File
@@ -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) -> {