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 +2 -2
- package/dist/zenflow.d.ts +1 -1
- package/dist/zenflow.mjs +2 -2
- package/package.json +1 -1
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 &&
|
|
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
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 &&
|
|
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)});`;
|