Skip to content

Commit

Permalink
fix(recipes): ✏️Add "infinite" Wire Coil recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Krutoy242 committed Feb 27, 2024
1 parent d7d621b commit 66adc87
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/mods/industrialwires.zs
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,10 @@ for wire, c in cables {
if (isNull(ins.marked) || isNull(ins.marked.tag) || isNull(ins.marked.tag.wireLength)) return null;
return out * max(1, min(64, ins.marked.tag.wireLength.asInt()));
}, null);

// "Infinity" coil
mods.extendedcrafting.CompressionCrafting.addRecipe(
wire.withTag({ wireLength: 2000000000 }),
c, 10000,
<immersiveengineering:metal_device1:8>, 100000000, 1000000);
}

0 comments on commit 66adc87

Please sign in to comment.