Primal Posted May 14, 2020 Share Posted May 14, 2020 Video + log file. I can’t create coffee normally in the crafting interface. The game automatically adds coffee to the maximum if you intensively press sugar. It works correctly through the inventory interface. But in both cases I get an error. Link: https://drive.google.com/open?id=1rtMyZ6oDJSu8XE_AJjQ5eYJlwOZPu8-H Link to comment Share on other sites More sharing options...
Narrnika Posted May 14, 2020 Share Posted May 14, 2020 It seems that function getFoodType() does not want to work with a non-food item.. Try in file projectzomboid/media/lua/client/ISUI/ISCraftingUI.lua changing line 401 to this: local foodType = nil; if item.item:IsFood() then foodType = item.item:getFoodType() end 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