Skip to content

Commit

Permalink
item distribution shouldn't consume iron
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 21, 2024
1 parent 07f8400 commit 4ee8c57
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/sw/content/blocks/SWDistribution.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class SWDistribution {
mechanicalGate,
mechanicalUnloader,


mechanicalPayloadConveyor, mechanicalPayloadRouter,


Expand Down Expand Up @@ -61,29 +62,32 @@ public static void load() {
mechanicalTunnel = new MechanicalTunnel("mechanical-tunnel") {{
requirements(Category.distribution, with(
SWItems.nickel, 5,
SWItems.iron, 5
Items.graphite, 5
));
health = 100;
}};
mechanicalGate = new MechanicalGate("mechanical-gate") {{
requirements(Category.distribution, with(
SWItems.nickel, 5,
SWItems.iron, 3
Items.graphite, 3
));
health = 100;
}};
mechanicalUnloader = new DirectionalUnloader("mechanical-unloader") {{
requirements(Category.distribution, with(
SWItems.nickel, 6,
SWItems.iron, 4
Items.silicon, 2,
Items.graphite, 4
));
health = 100;
speed = 2f;
solid = false;
underBullets = true;
regionRotated1 = 1;
}};
//endregion

//region payloads
mechanicalPayloadConveyor = new PayloadConveyor("mechanical-payload-conveyor") {{
requirements(Category.units, with(
Items.silicon, 10,
Expand Down

0 comments on commit 4ee8c57

Please sign in to comment.