Jump to content

Celestial/Shadow Crockpot


Recommended Posts

I am making a mod that expands on crockpot recipes, and I was wondering if you could make certain dishes only available at certain times. For e.g. At full moon, you can make a "Moon Pie", and on a new moon, you can make a "Shadow Pie". How would I go about doing this. 

 

P.s. It would be cool to have a indication that you can make these recipes, like the Chester moon beam, but on a crockpot. 

Link to comment
Share on other sites

I unfortunately do not have any examples.

I know you can use AddCookerRecipe to add recipes, but removing it is probably more complicated as there is no function to do so, and thanks to the introduction of the cookbook.

You can check TheWorld.state.isfullmoon and TheWorld.state.isnewmoon for your Moon and Shadow Pie.

Edited by penguin0616
  • Like 1
Link to comment
Share on other sites

I did some research and I don’t think you can add and remove recipes on the fly. Could you create another crockpot that looks the same and just replace the original one with the new one, and add the recipes to the new crockpot?

Link to comment
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
 Share

×
×
  • Create New...