bobmittens Posted February 25, 2016 Share Posted February 25, 2016 For my mod I would like to make a weapon with infinite durability that can also cut down trees. My first thought is to just make an axe that looks like a sword that has more damage. Although I don't know how to set the stats of an axe onto my item. I have been using this guide and I don't know if it is out dated. Any help would be great thanks! Link to comment https://forums.kleientertainment.com/forums/topic/64744-creating-a-custom-item-with-axe-qualities/ Share on other sites More sharing options...
Mobbstar Posted February 25, 2016 Share Posted February 25, 2016 If you look at axe.lua from the game scripts, you will notice a component called "tool". That's what makes the axe capable of making Wilson capable of chopping trees. Add the "tool" component and set the tool action to ACTIONS.CHOP (similiar to other tools). Link to comment https://forums.kleientertainment.com/forums/topic/64744-creating-a-custom-item-with-axe-qualities/#findComment-726513 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