Oddbolt Posted July 15, 2023 Share Posted July 15, 2023 (edited) Edit: Turns out all I had to do was change the Twigs;3 to Twigs=3! Hi, I'm trying to make a recipe using twigs (don't ask) but unfortunately am getting this error: It's obviously preventing me from using twigs as they're not classed as a food ingredient. Anyone know if it's possible to override that code somehow? I'm not terribly great with code yet, this is all new to me. The recipe is fairly straight forward though, just some twigs and one of the new food items I'm adding. This is the recipe file: module Base { imports { Base, } recipe Bag of Twiglets { Twigs;3, Marmite;5, Result:Twiglets, Time:20.0, Category:Cooking, OnGiveXP:Recipe.OnGiveXP.Cooking3, } } Edited July 15, 2023 by Oddbolt Link to comment Share on other sites More sharing options...
Hugo Qwerty Posted July 15, 2023 Share Posted July 15, 2023 1 hour ago, Oddbolt said: Hi, I'm trying to make a recipe using twigs (don't ask) but unfortunately am getting this error: It's obviously preventing me from using twigs as they're not classed as a food ingredient. Anyone know if it's possible to override that code somehow? I'm not terribly great with code yet, this is all new to me. The recipe is fairly straight forward though, just some twigs and one of the new food items I'm adding. This is the recipe file: module Base { imports { Base, } recipe Bag of Twiglets { Twigs;3, Marmite;5, Result:Twiglets, Time:20.0, Category:Cooking, OnGiveXP:Recipe.OnGiveXP.Cooking3, } } You just want: Twigs=3 Using Twigs;3 you're telling the game to use 3 hunger units of twigs. Oddbolt 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