This page relates to Blood Magic, which has built-in support!
Blood Magic Blood Altar
The Blood Altar is a type of IRecipeManager and implements all the methods that are available to IRecipeManager’s, such as removeRecipe()
and removeAll()
.
Methods
Add Recipe
The following script will add a recipe that will output a Diamond when Coal is given to a Blood Altar. The Altar will take 5 seconds to craft, requires a minimum tier of 0 and will drain (syphon) 500 LP from the player, consuming 1 LP per tick and will drain 1 LP per tick when not enough LP is provided.
Remove Recipes
The following script will remove all recipes from the Blood Altar that output a Reinforced Slate.