Page 1 of 1

Change hand tool range without overriding hand tool

Posted: Mon Jul 06, 2020 05:58
by LC Creations
I want to make a player able to kill, dig, and place further away. I have a mod that makes player bigger or smaller and I need to modify this default behavior then change it back when their set to normal size.

Re: Change maximum placing and digging distance.

Posted: Mon Jul 06, 2020 08:11
by The32bitguy
You modify the "hand tool" in tools.lua. It should be at the top.

Re: Change maximum placing and digging distance.

Posted: Tue Jul 07, 2020 00:41
by LC Creations
The32bitguy wrote:
Mon Jul 06, 2020 08:11
You modify the "hand tool" in tools.lua. It should be at the top.
No... thats not how its done. You have to edit the range in init.lua of the creative mod where it overrides the hand tool... but with what I want to do, I do not want to override the hand tool. I just want to change the range.

Re: Change hand tool range without overriding hand tool

Posted: Wed Jul 08, 2020 07:54
by sirrobzeroone
could you register two new hands - "big hand" and "small hand" with adjusted reaches then when the player grows shrinks change there hand to the required hand for that size?