Sign in to follow this  
Rivecoder

Custom item recipe configuration option

Recommended Posts

Rivecoder    46

As it says in the title, i want to make a config option to completely modify a custom item recipe

However i don't know a way to make it possible

What do i have to add to "configuration_options" in my modinfo.lua and in my recipe section in modmain.lua to make it configurable?

Share this post


Link to post
Share on other sites
Ultroman    698

You can't really do this. The only things you can do is:

- Make settings for each ingredient you want to let the player add, so the player can put in how many of each item must go in the recipe. The items with 0 you just don't add to the recipe.

- Make a bunch of different pre-made recipes, give the users one setting with which to choose between the recipes, and then you can write what the recipe is in the setting "hover" for each recipe-option.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this