zen-flow 1.7.3 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/zenflow.cjs +5 -0
- package/dist/zenflow.d.ts +4 -3
- package/dist/zenflow.mjs +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -111,6 +111,7 @@ Array.from({ length: 11 })
|
|
|
111
111
|
- `replace` - Replaced crafting recipe
|
|
112
112
|
- Shaped recipe: `object`
|
|
113
113
|
- Shapeless recipe: `Array`
|
|
114
|
+
- `replaceAll` - Replace all recipes
|
|
114
115
|
- `replaceMany` - Remove all recipes and add multiple recipes
|
|
115
116
|
- `addFurnace` - Adds furnace recipe
|
|
116
117
|
- `removeFurnace` - Removes furnace recipe
|
package/dist/zenflow.cjs
CHANGED
|
@@ -277,6 +277,10 @@ const replace = (item, recipe) => {
|
|
|
277
277
|
add(item, recipe)
|
|
278
278
|
].join("\n");
|
|
279
279
|
};
|
|
280
|
+
const replaceAll = (item, recipe) => [
|
|
281
|
+
remove(Array.isArray(item) ? item[0] : item),
|
|
282
|
+
add(item, recipe)
|
|
283
|
+
].join("\n");
|
|
280
284
|
const replaceMany = (item, recipes) => [
|
|
281
285
|
remove(Array.isArray(item) ? item[0] : item),
|
|
282
286
|
...recipes.map((recipe) => add(item, recipe))
|
|
@@ -327,6 +331,7 @@ exports.removeSmelter = removeSmelter;
|
|
|
327
331
|
exports.removeTransposerExtract = removeTransposerExtract;
|
|
328
332
|
exports.removeTransposerFill = removeTransposerFill;
|
|
329
333
|
exports.replace = replace;
|
|
334
|
+
exports.replaceAll = replaceAll;
|
|
330
335
|
exports.replaceMany = replaceMany;
|
|
331
336
|
exports.withEnchantment = withEnchantment;
|
|
332
337
|
exports.withEnchantments = withEnchantments;
|
package/dist/zenflow.d.ts
CHANGED
|
@@ -214,7 +214,7 @@ declare const removeFurnace$1: (ingredient: string) => string;
|
|
|
214
214
|
* - Rich phyto-gro: `9600RF`
|
|
215
215
|
*/
|
|
216
216
|
declare const addInsolator: (recipe: RecipeInsolator) => string;
|
|
217
|
-
declare const removeInsolator: (left:
|
|
217
|
+
declare const removeInsolator: (left: Item, right: Item) => string;
|
|
218
218
|
/**
|
|
219
219
|
* Common values:
|
|
220
220
|
* - Plants: `1600RF`
|
|
@@ -236,7 +236,7 @@ declare const removeSawmill: (ingredient: string) => string;
|
|
|
236
236
|
* - Slag: `7200RF`
|
|
237
237
|
*/
|
|
238
238
|
declare const addSmelter: (recipe: RecipeSmelter) => string;
|
|
239
|
-
declare const removeSmelter: (left:
|
|
239
|
+
declare const removeSmelter: (left: Item, right: Item) => string;
|
|
240
240
|
/**
|
|
241
241
|
* Common values
|
|
242
242
|
* - Duct: `800RF, 200mB`
|
|
@@ -267,6 +267,7 @@ declare const removeShapeless: (ingredient: string) => string;
|
|
|
267
267
|
declare const addFurnace: (recipe: RecipeFurnace) => string;
|
|
268
268
|
declare const removeFurnace: (ingredient: string) => string;
|
|
269
269
|
declare const replace: (item: Item, recipe: Recipe) => string;
|
|
270
|
+
declare const replaceAll: (item: Item, recipe: Recipe) => string;
|
|
270
271
|
declare const replaceMany: (item: Item, recipes: Recipe[]) => string;
|
|
271
272
|
|
|
272
|
-
export { add, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addExtreme, addFurnace, addFurnace$1 as addFurnaceThermal, addHammer, addInsolator, addLaser, addLaserPreferred, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addTransposerExtract, addTransposerFill, hide, remove, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeExtreme, removeFurnace, removeFurnace$1 as removeFurnaceThermal, removeHammer, removeInsolator, removeLaser, removeLaserPreferred, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeTransposerExtract, removeTransposerFill, replace, replaceMany, withEnchantment, withEnchantments, withName, withTag, withTooltip, withTooltipShift };
|
|
273
|
+
export { add, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addExtreme, addFurnace, addFurnace$1 as addFurnaceThermal, addHammer, addInsolator, addLaser, addLaserPreferred, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addTransposerExtract, addTransposerFill, hide, remove, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeExtreme, removeFurnace, removeFurnace$1 as removeFurnaceThermal, removeHammer, removeInsolator, removeLaser, removeLaserPreferred, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeTransposerExtract, removeTransposerFill, replace, replaceAll, replaceMany, withEnchantment, withEnchantments, withName, withTag, withTooltip, withTooltipShift };
|
package/dist/zenflow.mjs
CHANGED
|
@@ -273,9 +273,13 @@ const replace = (item, recipe) => {
|
|
|
273
273
|
add(item, recipe)
|
|
274
274
|
].join("\n");
|
|
275
275
|
};
|
|
276
|
+
const replaceAll = (item, recipe) => [
|
|
277
|
+
remove(Array.isArray(item) ? item[0] : item),
|
|
278
|
+
add(item, recipe)
|
|
279
|
+
].join("\n");
|
|
276
280
|
const replaceMany = (item, recipes) => [
|
|
277
281
|
remove(Array.isArray(item) ? item[0] : item),
|
|
278
282
|
...recipes.map((recipe) => add(item, recipe))
|
|
279
283
|
].join("\n");
|
|
280
284
|
|
|
281
|
-
export { add, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addExtreme, addFurnace, addFurnace$1 as addFurnaceThermal, addHammer, addInsolator, addLaser, addLaserPreferred, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addTransposerExtract, addTransposerFill, hide, remove, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeExtreme, removeFurnace, removeFurnace$1 as removeFurnaceThermal, removeHammer, removeInsolator, removeLaser, removeLaserPreferred, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeTransposerExtract, removeTransposerFill, replace, replaceMany, withEnchantment, withEnchantments, withName, withTag, withTooltip, withTooltipShift };
|
|
285
|
+
export { add, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addExtreme, addFurnace, addFurnace$1 as addFurnaceThermal, addHammer, addInsolator, addLaser, addLaserPreferred, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addTransposerExtract, addTransposerFill, hide, remove, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeExtreme, removeFurnace, removeFurnace$1 as removeFurnaceThermal, removeHammer, removeInsolator, removeLaser, removeLaserPreferred, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeTransposerExtract, removeTransposerFill, replace, replaceAll, replaceMany, withEnchantment, withEnchantments, withName, withTag, withTooltip, withTooltipShift };
|