Jugg3rV Posted August 14, 2015 Share Posted August 14, 2015 Hi Guys, A quick question. I am going to refer to items ingame to create new recipes.But i cannot find here the ingame items names are. For example: Creating a pot of cut potatoes -Where do i find the "pot"? with kind regards Link to comment Share on other sites More sharing options...
blindcoder Posted August 14, 2015 Share Posted August 14, 2015 There are two files in Projectzomboid/media/lua/scripts called "items.txt" and "newitems.txt"In there you will find many lines starting with "item Something", in this case "Something" will be the name for the recipe. KorruptkSwades and Jugg3rV 2 Link to comment Share on other sites More sharing options...
Jugg3rV Posted August 14, 2015 Author Share Posted August 14, 2015 Thx for the answer. Next thing is how to "cheat" me some items for testing the code i made.I managed to start with debugger, but i cannot find any clues on spawning items in ... Link to comment Share on other sites More sharing options...
blindcoder Posted August 14, 2015 Share Posted August 14, 2015 You can use NecroForge for that. Jugg3rV 1 Link to comment Share on other sites More sharing options...
Jugg3rV Posted August 14, 2015 Author Share Posted August 14, 2015 But can NecroForge for example show me books with recipes i created?EDIT: no, it cannot Also the recipes don't seem to work, although i have everything on me :/Here is one of the recipes:recipe Make Pot of Cut Potato { Pot, keep KitchenKnife/HuntingKnife/ButterKnife, Potato = 1, Water = 0.5, Result: PotOfCutPotato, Time: 30.0, Category: Carpentry, } EDIT: Found the issue. It was the potatoe, that needs to get imported from the farming module Link to comment Share on other sites More sharing options...
blindcoder Posted August 14, 2015 Share Posted August 14, 2015 Did you wrap it in a module Something { } bracket?And to add Necroforge support for your own items, check out the necroforge thread, there's a howto in there. Link to comment Share on other sites More sharing options...
Svarog Posted August 14, 2015 Share Posted August 14, 2015 But can NecroForge for example show me books with recipes i created?EDIT: no, it cannot If your recipe is written properly it will appear in the Crafting UI (The screen that comes up when you press B or the Crafting Icon on the top left) Link to comment Share on other sites More sharing options...
Jugg3rV Posted August 14, 2015 Author Share Posted August 14, 2015 Thx for the replies. I found the issue, as stated in the edit.I will post the full code soon. 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