zen-flow 2.6.0 → 2.6.2

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/dist/zenflow.cjs CHANGED
@@ -130,7 +130,7 @@ const formatName = (texts) => {
130
130
  };
131
131
  const formatTooltip = (texts) => toArray(texts).map((text) => {
132
132
  if (typeof text === "string")
133
- return formatLiteral(text);
133
+ return TOOLTIP_COLOR.gray(formatLiteral(text));
134
134
  const format = text.format ? TOOLTIP_FORMAT[text.format](formatLiteral(text.text)) : formatLiteral(text.text);
135
135
  return TOOLTIP_COLOR[text.color ?? "gray"](format);
136
136
  }).join(" + ");
@@ -230,7 +230,7 @@ const replaceQED = (ingredient, recipe) => [
230
230
  ].join("\n");
231
231
 
232
232
  const addCarpenter = (ingredient, recipe) => {
233
- const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, recipe.top && formatStack(recipe.top));
233
+ const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, recipe.top && formatIngredient(recipe.top));
234
234
  return `mods.forestry.Carpenter.addRecipe(${out});`;
235
235
  };
236
236
  const removeCarpenter = (id, liquid) => `mods.forestry.Carpenter.removeRecipe(${formatArgs(id, liquid)});`;
package/dist/zenflow.d.ts CHANGED
@@ -180,7 +180,7 @@ declare const replaceQED: (ingredient: Ingredient, recipe: RecipeShaped) => stri
180
180
 
181
181
  declare type RecipeCarpenter = {
182
182
  recipe: RecipeShaped;
183
- top?: Stack;
183
+ top?: Ingredient;
184
184
  ticks: number;
185
185
  liquid?: Stack;
186
186
  };
package/dist/zenflow.mjs CHANGED
@@ -126,7 +126,7 @@ const formatName = (texts) => {
126
126
  };
127
127
  const formatTooltip = (texts) => toArray(texts).map((text) => {
128
128
  if (typeof text === "string")
129
- return formatLiteral(text);
129
+ return TOOLTIP_COLOR.gray(formatLiteral(text));
130
130
  const format = text.format ? TOOLTIP_FORMAT[text.format](formatLiteral(text.text)) : formatLiteral(text.text);
131
131
  return TOOLTIP_COLOR[text.color ?? "gray"](format);
132
132
  }).join(" + ");
@@ -226,7 +226,7 @@ const replaceQED = (ingredient, recipe) => [
226
226
  ].join("\n");
227
227
 
228
228
  const addCarpenter = (ingredient, recipe) => {
229
- const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, recipe.top && formatStack(recipe.top));
229
+ const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, recipe.top && formatIngredient(recipe.top));
230
230
  return `mods.forestry.Carpenter.addRecipe(${out});`;
231
231
  };
232
232
  const removeCarpenter = (id, liquid) => `mods.forestry.Carpenter.removeRecipe(${formatArgs(id, liquid)});`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-flow",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "MineTweaker ZenScript made easy.",
5
5
  "main": "dist/zenflow.cjs",
6
6
  "module": "dist/zenflow.mjs",