Dyk Posted January 4, 2016 Share Posted January 4, 2016 I want to make a food mod, making with 2 eggs and 1 honney (with hands, not cooking) make the food, the food restaure 100 of hungry and 20 health, this is for a character who im creating, he is finished but i want to make this food from him, how i can make that? (i dont know who i need save it) Link to comment Share on other sites More sharing options...
Arkathorn Posted January 4, 2016 Share Posted January 4, 2016 I suggest you use the default game's code as an example. Look at how crafting recipes are defined for the creation of your item, and look at the code for existing food items to discover how to make them edible. Link to comment Share on other sites More sharing options...
Dyk Posted January 5, 2016 Author Share Posted January 5, 2016 I suggest you use the default game's code as an example. Look at how crafting recipes are defined for the creation of your item, and look at the code for existing food items to discover how to make them edible.Who i can find the default games code of foods? I cant find :/ Link to comment Share on other sites More sharing options...
Arkathorn Posted January 6, 2016 Share Posted January 6, 2016 Try 'froglegs.lua'. That should be decent template. Link to comment Share on other sites More sharing options...
Dyk Posted January 6, 2016 Author Share Posted January 6, 2016 Try 'froglegs.lua'. That should be decent template.ty aggain Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.