serophous Posted January 26, 2020 Share Posted January 26, 2020 Hi, I recently started learning how to mod for Don't Starve Together, and after looking at some tutorial and other mods, I started making my own. The issue I am having is I cannot find the event that triggers when a tool breaks (such as a pickaxe, axe, shovel, etc, any tool that's held in the hand). So far, I have this: inst:ListenForEvent("working", brokentoolsanity) i inserted "working" as a temporary measurement to make sure the function "brokentoolsanity" was actually being called and works (and indeed it does). Can anyone help me find the reference for when a tool breaks? Link to comment Share on other sites More sharing options...
Desblat Posted January 26, 2020 Share Posted January 26, 2020 Study tool and finiteuses components those handle tool breaking. Link to comment Share on other sites More sharing options...
serophous Posted January 26, 2020 Author Share Posted January 26, 2020 3 hours ago, Desblat said: Study tool and finiteuses components those handle tool breaking. Sweet! Thanks! I found it in the tool LUA as "toolbroke". And now it works! 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