For this to work you must go to your settings and enter the name of the create Item Dialog. Default is "Create New Item" obviously you need to adapt if you have a different language.
you may add a tool the crafting process requires.
you may add costs to the crafting process
You may add Items via drag and drop as Ingredients.
you may add a skill that is required in the crafting process. you can enable that costs and ingredients are also payed when the check failed.
You may add Items or RollTable via drag and drop as result. The result is the outcome of a successfull crafting process. If you add a RollTable you will get quantity amount of rolls on that table not one roll quantity of times.
- When you create recipes be carfully from where you pull your results/ingredients items. The recipes do not store an item but a reference to the item.
- Do not pull items from actor !
- You might pull items form your imported world items, if you do your recipe will work perfectly within your world. You can manipulate your items afterward the recipe always refers to the actual item.
- You can pull items from compendium (preferred). This way your recipe can be exported/imported to other worlds as long as those worlds have the same compendiums.
You can start a crafting process by clicking on a recipe in your inventar
- list all recipes that you have permission to see for all items in your world (not compendium)
- filter available: only those that you have at least one ingredient of any quantity of.
- filter useable: only those that you have all ingredients in required quantity of.
- filter by item: only those recipes that uses all items in the filter regardless of quantity.
- you can display details for a Recipe:
- it will display you an uneditable recipe and shows you which ingredients are missing.
- you can hit the craft button to start a craft process.
- a craft process will ask for the given skill if any and returns with a result
You will see a chat message with your result
This module comes with some example compendiums.
You do not need to import those just drag and drop them into your recipes or use the recipe compendium.
You do not need to import those just drag and drop them into your recipes or use the recipe compendium.
You do not need to import those just drag and drop them into your recipes or use the recipe compendium.
You need to import them and then grant permission to the users you want to have access to it. The recipecompendium will only show the recipes the user has access to.
AnyOf is an Item that is intended to be used as ingredient to create recipes that do not need a specific ingredient but any ingredient of... e.g. specific type.
Therefor AnyOf Item has an input field to write a macro code that gets executed when a recipe is checked for its ingredients. The macro has "item" as input and should return boolean as output. The macro will test if the given item hits the conditions of the AnyOf Ingredient.
You can test your AnyOf Conditions by dropping an item in the dropArea and hit the "test item" button.
To understand the intension of this feature you can have a look at the provided examples:
- In the compendium "ingredients" you find an "Any Mushroom" example:
return item.system.source === "Ingredients.Mushroom" - In the compendium "recipes" you find a "Random Potion" example that uses Any 5 Mushrooms to produce a random potion.
When you use a recipe with AnyOf you can customize it and by doing so define what specific ingredients you want to use for this recipe.
- drag and drop an ingredient (e.g. from your inventar) to "anyOf" ingredient within your recipeCompendium.
- it will automatically check if that new ingredient is available in that quantity.
- it will stack same (identity) ingredients.
- when you reselect the recipe it will remove your customization and start over with anyOf Items again.
- none customized AnyOf ingredients will consume a random fitting ingredient of your inventory.
- You can enable or disable tools for recipes feature 0.5.x default it is disabled.
- You can configure the tool list your recipes can select from. (however if you do you might risk incompatibility to others, if the list is missing some default dnd5e tools tell me so)
have a look at the changelog.md
you now can customize recipes with anyOf Ingredients.
you now can use tools, if you do not have the tool you dont get a check you simple fail and your ingredients won't vanish.
you now can use items directly from compendium, module comes with 4 compendiums ingredients,rolltables,potions and recipes
you now can have anyOf ingredients breaking change 0.2.x -> 0.3.x
you now can produce a random Potion. breaking change 0.1.x -> 0.2.x
I want to create recipes with "any" xxx e.g. (weapon,mushroom,etc) therefor i may need some new fields in recipe or a new subtype ingredient
- 0.3.0 currently it will only take randomly from avaiable items on actor in required quantity.
- 0.6.0 customized "anyOf"
the precast is wrong it always shows that AnyOf is not available.
I want to create a random potion.
I want to be able to add macros to recipes. giving them more flexibility e.g. get damage on certain recipes where you failed your check.
The identity of ingredients works best when the item originates from compendium
- I want a compendium package with lots of garbage items (mushrooms etc. that you can drop as loot)
- I want a compendium package with various potions (dnd5e is so borring here)
- I want a compendium package with recipes using the above two as a starter package for other creators.
Once the process is stabilized
- I want to create hooks to make live easier for other developer that invent recipe packages that needed a little special extra
- or developers that might extend specials to this module
When adding costs to your recipe your currency will get exchanged to highest values.
Actor Items will get merged to stacks in the crafting process. (only those that match ingredients or results)
! Carefully structure might change until i finalize this module with version 1.0.0 !,
Copy organizational structur from midi-qol (gulpfile,package.json,tsconcig.json)












