Masked Koopa Posted January 5, 2021 Share Posted January 5, 2021 I have been trying to add the ability to "slap" a tree or rock with an empty hand to an existing modded character, but I'm not really sure where the code from here: goes. Does it go in a seperate .lua file and then I add the tag "hardhand" to the character? )Sorry if this is too basic a question, I'm not really looking into making full blown mods, I just wanted to add this attribute.) Link to comment https://forums.kleientertainment.com/forums/topic/125749-how-to-add-tool-functionality-to-a-characters-hand/ Share on other sites More sharing options...
Masked Koopa Posted January 5, 2021 Author Share Posted January 5, 2021 (edited) I don't see an edit button, but I figured out I had to put the main code chunk in the modmain.lua. My next question is how do I make it a normal left click type of mining? I tried to swap out the references to Right to Left but it caused an error, and I want following pigs/merms/bunnies to copy whatever you are doing. Edited January 5, 2021 by Masked Koopa Link to comment https://forums.kleientertainment.com/forums/topic/125749-how-to-add-tool-functionality-to-a-characters-hand/#findComment-1413672 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