Noita
Anvil of Destiny
 This topic has been pinned, so it's probably important
Horscht  [developer] 20 Oct, 2020 @ 2:08am
How to add your own stuff to the anvil recipes as a mod author
How to add your own spells to a potion recipe:
-------------------------------------------------------------
Keep in mind this might change in the future.
Insert this in your init.lua:
local anvil = dofile_once("mods/anvil_of_destiny/files/scripts/mod_interop.lua") anvil.potion_recipe_add_spells("water", { "YOUR_CUSTOM_SPELL", "ANOTHER_CUSTOM_SPELL" }) anvil.potion_recipe_add_spells("oil", { "MORE_SPELL", "AND_YET_ANOTHER_ONE" })
Last edited by Horscht; 20 Oct, 2020 @ 2:08am