AbelChulo20 Posted July 22, 2020 Share Posted July 22, 2020 I want to add a fruit but I don´t know what that means at the end of the line Examples: AddIngredientValues({"seaweed"},{veggie=1}, true, true) AddIngredientValues({"sweat_potato"},{veggie=1}, true) Link to comment Share on other sites More sharing options...
rawii22 Posted July 23, 2020 Share Posted July 23, 2020 Here's the function header in cooking.lua: function AddIngredientValues(names, tags, cancook, candry) So they're about cookability (I assume in a fire) and drying (on a rack presumably). 1 Link to comment Share on other sites More sharing options...
IronHunter Posted July 23, 2020 Share Posted July 23, 2020 basically it copies these values for the cooked and/or dried variants of that prefab. In this case veggie value of 1 for raw, cooked and dried seaweed. 1 1 Link to comment Share on other sites More sharing options...
Taob Posted July 23, 2020 Share Posted July 23, 2020 so, is like this? Link to comment Share on other sites More sharing options...
IronHunter Posted July 24, 2020 Share Posted July 24, 2020 18 hours ago, Taob said: so, is like this? That is the correct code, for a list of vanilla tags I suggest you consult cooking.lua file 1 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