[Mod] Handranks [handranks]
[Mod] Handranks [handranks]
Handranks
A mod that makes your hand rank up when you use it to dig nodes, and it even can dig nodes which are normally not digable by a bare hand, like stone. A higher rank increases the hand's digging speed.
It has separate ranks for cracky, crumbly, choppy and snappy nodes. As well as strength which affects all of them.
The hand ranks up relatively slowly, but it can become even faster than default diamond tools.
For steel like speed you need to dig about 3640 nodes of one type and for diamond speed it's 15400 nodes.
This mod is inspired by Blockhead's forum post. viewtopic.php?p=428571#p428571
Commands:
/handranks can be used to show the achieved rank
/sethandranks <number_of_nodes> can be used to set the rank (only for testing)
Depends: Nothing, however it is made for MTG, so it may not work well elsewhere.
License: MIT
Source: Link
Download: Link
ContentDB: TODO
A mod that makes your hand rank up when you use it to dig nodes, and it even can dig nodes which are normally not digable by a bare hand, like stone. A higher rank increases the hand's digging speed.
It has separate ranks for cracky, crumbly, choppy and snappy nodes. As well as strength which affects all of them.
The hand ranks up relatively slowly, but it can become even faster than default diamond tools.
For steel like speed you need to dig about 3640 nodes of one type and for diamond speed it's 15400 nodes.
This mod is inspired by Blockhead's forum post. viewtopic.php?p=428571#p428571
Commands:
/handranks can be used to show the achieved rank
/sethandranks <number_of_nodes> can be used to set the rank (only for testing)
Depends: Nothing, however it is made for MTG, so it may not work well elsewhere.
License: MIT
Source: Link
Download: Link
ContentDB: TODO
Can your read this?
- TechNolaByte
- Member
- Posts: 465
- Joined: Wed May 10, 2017 21:00
- GitHub: TechNolaByte
Re: [Mod] Handranks [handranks]
It's training time.
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.
Re: [Mod] Handranks [handranks]
I noticed that I can’t break anything after loading the mod? Is this intentional, and is there a block that can be broken to rank up? I tried digging trees, leaves, and dirt
yes
Re: [Mod] Handranks [handranks]
Which game are you using? It may not work with other games besides Minetest Game.
Also, it may conflict with other mods that overwrite the hand.
Also, it may conflict with other mods that overwrite the hand.
Can your read this?
Re: [Mod] Handranks [handranks]
I am using Minetest game, with about 590 mods. I don’t think any of them overwrite the hand though. Should I list them?
yes
Re: [Mod] Handranks [handranks]
You can if you want. I currently can't reproduce the bug, so there is nothing I can do to fix it.
You can also try to find the conflicting mod yourself, by iteratively enabling/disabling suspicious mods.
You can also try to find the conflicting mod yourself, by iteratively enabling/disabling suspicious mods.
Can your read this?
Re: [Mod] Handranks [handranks]
I tried with just the base minetest_game, and still no luck. I tried on both Rasberry pi os lite and Windows 10, on both a new and existing world. Maybe I am missing something? I also tried the givemehand command. Can you try making a new world and adding it in?
yes
Re: [Mod] Handranks [handranks]
I just redownloaded the mod and tried it on a new world, it still works fine on my machine.
Have you tried to execute the /handranks command, does it show proper numbers?
Maybe also try to force update the rank /sethandranks 1000.
Which minetest/luanti version are you using?
It may not work on very old versions.
Lastly you can check if the hand got updated properly:
Add this at the end of the mods/handranks/init.lua file
Restart the game and execute /testhand.
It should print a table containing meta = { tool_capabilities = ... and name = "handranks:hand"
Have you tried to execute the /handranks command, does it show proper numbers?
Maybe also try to force update the rank /sethandranks 1000.
Which minetest/luanti version are you using?
It may not work on very old versions.
Lastly you can check if the hand got updated properly:
Add this at the end of the mods/handranks/init.lua file
Code: Select all
core.register_chatcommand("testhand", {
func = function(name, param)
local player = core.get_player_by_name(name)
local inv = player:get_inventory()
local hand = inv:get_stack("hand", 1)
local msg = dump(hand:to_table())
print(msg)
core.chat_send_player(name, msg)
end,
})It should print a table containing meta = { tool_capabilities = ... and name = "handranks:hand"
Can your read this?
Re: [Mod] Handranks [handranks]
I am using luanti 5.14, is it not supported?
Running /testhand returns
{
count = 1,
meta = {
tool_capabilities = "{\"damage_groups\":{\"fleshy\":1},\"full_punch_interval\":0.82999998331069946,\"groupcaps\":{\"choppy\":{\"maxlevel\":3,\"times\":[null,17.280000686645508,8.6400003433227539,4.320000171661377],\"uses\":0},\"crumbly\":{\"maxlevel\":3,
\"times\":[null,7.559999942779541,3.7799999713897705,1.8899999856948853],\"uses\":0},\"snappy\":{\"maxlevel\":3,\"times\":[null,10.800000190734863,5.4000000953674316,1.6200000047683716],\"uses\":0}},\"max_drop_level\":1,\"punch_attack_uses\":0}",
},
metadata = "",
name = "handranks:hand",
wear = 0,
}
/sethandranks failed as well, tried 10, 1000, and 99999
/handranks before that tells level one for everything except cracky, and the levels go up after these commands.
Running /testhand returns
{
count = 1,
meta = {
tool_capabilities = "{\"damage_groups\":{\"fleshy\":1},\"full_punch_interval\":0.82999998331069946,\"groupcaps\":{\"choppy\":{\"maxlevel\":3,\"times\":[null,17.280000686645508,8.6400003433227539,4.320000171661377],\"uses\":0},\"crumbly\":{\"maxlevel\":3,
\"times\":[null,7.559999942779541,3.7799999713897705,1.8899999856948853],\"uses\":0},\"snappy\":{\"maxlevel\":3,\"times\":[null,10.800000190734863,5.4000000953674316,1.6200000047683716],\"uses\":0}},\"max_drop_level\":1,\"punch_attack_uses\":0}",
},
metadata = "",
name = "handranks:hand",
wear = 0,
}
/sethandranks failed as well, tried 10, 1000, and 99999
/handranks before that tells level one for everything except cracky, and the levels go up after these commands.
yes
Re: [Mod] Handranks [handranks]
I just compiled luanti 5.14 and indeed I couldn't dig anything.
I think the mod was made with version 5.7.0, and I'm sure it worked back then.
Weird maybe there was an engine regression, but if there were I should know about it.
The only thing I can think of is https://github.com/luanti-org/luanti/issues/15740, but this shouldn't affect the mod. The mod even knows this bug that's why it also overrides the "" item.
Thanks for reporting the bug, it was an engine bug, so the mod can't really fix it and version 5.14 is not supported.
It works with Luanti 5.15, so you have to update if you want to use it.
I think the mod was made with version 5.7.0, and I'm sure it worked back then.
Weird maybe there was an engine regression, but if there were I should know about it.
The only thing I can think of is https://github.com/luanti-org/luanti/issues/15740, but this shouldn't affect the mod. The mod even knows this bug that's why it also overrides the "" item.
Thanks for reporting the bug, it was an engine bug, so the mod can't really fix it and version 5.14 is not supported.
It works with Luanti 5.15, so you have to update if you want to use it.
Can your read this?
Who is online
Users browsing this forum: No registered users and 0 guests