This commit is contained in:
Andrew Miner
2026-10-30 22:13:20 -06:00
parent a1ee82308c
commit 2b2e29a4fd
4 changed files with 44 additions and 2 deletions
+14
View File
@@ -29,6 +29,20 @@ local SINGLEPLAYER_PRIVS = {
--[[ Configure the player's hand with default settings for this game. ]]--
function private.configure_hand()
local hand_def = core.registered_items[""]
local groupcap = {
maxlevel = C.TOOL_LEVEL.STRONG,
times = { [1] = 0.15, [2] = 0.15, [3] = 0.15 },
}
core.override_item("", {
tool_capabilities = {
full_punch_interval = 1.0,
groupcaps = {
crumbly = groupcap,
cracky = groupcap,
choppy = groupcap,
},
}
})
core.debug("hand: "..jvmi.dump(hand_def))
end