Skip to content
This repository has been archived by the owner on Dec 24, 2018. It is now read-only.

generalize recipe types #7

Open
quat1024 opened this issue Dec 5, 2018 · 0 comments
Open

generalize recipe types #7

quat1024 opened this issue Dec 5, 2018 · 0 comments

Comments

@quat1024
Copy link
Owner

quat1024 commented Dec 5, 2018

there's no reason to make recipe types not just specified in the json now that i think about it. people should be able to just specify zenscript templates right there in the json file which i should substitute in the pertinent information

thinking something like

{
  "imports": [
    "import blah.somemod.xd;
  ],
  "remove": [
    "xd.removeRecipe($item$);
  ],
  "add": [
    xd.addRecipe("$name$", $output$, [$input1$, $input2$]);
  ],
  "min_level": 3,
  "max_level": 5,
  "weight": 1
}

potential string substitutions

  • "name": the recipe name
  • "output": the recipe output
  • "input[0-9]+": the recipe output items (automatically count the number of outputs based on how many of these unique templates there are)
  • probably some way of grabbing literally just random numbers (see, mana infusion mana costs, draconic memevolution fusion crafting rf costs etc etc)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant