zen-flow 16.0.2 → 16.0.3

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.d.ts CHANGED
@@ -2483,7 +2483,7 @@ declare const addResearch: (recipe: RecipeResearch) => string;
2483
2483
  *
2484
2484
  * @see https://minetweaker3.aizistral.com/wiki/ModTweaker:Thaumcraft_4_Support:Research
2485
2485
  */
2486
- declare const addResearchPage: (id: string) => string;
2486
+ declare const addResearchPage: (research: string) => (id: string) => string;
2487
2487
  type TextResearchImage = {
2488
2488
  src: Texture;
2489
2489
  x?: number;
package/dist/zenflow.js CHANGED
@@ -1407,7 +1407,7 @@ const addResearch = (recipe$1) => {
1407
1407
  );
1408
1408
  return `mods.thaumcraft.Research.addResearch(${out});`;
1409
1409
  };
1410
- const addResearchPage = (id) => `mods.thaumcraft.Research.addPage(${recipe(literal(id), literal(`tc.research_page.${id}`))});`;
1410
+ const addResearchPage = (research) => (id) => `mods.thaumcraft.Research.addPage(${recipe(literal(research), literal(`tc.research_page.${id}`))});`;
1411
1411
  const formatResearchPage = (...lines) => lines.map((line) => {
1412
1412
  if (typeof line === "string") return "<LINE>";
1413
1413
  return line.map((text) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-flow",
3
- "version": "16.0.2",
3
+ "version": "16.0.3",
4
4
  "description": "MineTweaker ZenScript made easy.",
5
5
  "type": "module",
6
6
  "exports": {