wip
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user