DecDuck Posted August 26, 2020 Share Posted August 26, 2020 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 More sharing options...
penguin0616 Posted August 27, 2020 Share Posted August 27, 2020 I think you would have to create/remove the recipe at the times you want. 1 Link to comment Share on other sites More sharing options...
DecDuck Posted August 27, 2020 Author Share Posted August 27, 2020 How? Do you have an example? Link to comment Share on other sites More sharing options...
penguin0616 Posted August 27, 2020 Share Posted August 27, 2020 (edited) 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 August 27, 2020 by penguin0616 1 Link to comment Share on other sites More sharing options...
DecDuck Posted August 28, 2020 Author Share Posted August 28, 2020 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 More sharing options...
penguin0616 Posted August 29, 2020 Share Posted August 29, 2020 It's.. possible? I'm not sure about whether it is a good idea though. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now