This commit is contained in:
Reid 2025-03-10 20:14:59 -07:00
parent 73735995b7
commit d9297245a7
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8
3 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,14 @@
local toggles = action_wheel:newPage()
function pings.toggleArmor(state)
vanilla_model.ARMOR:setVisible(state)
end
local toggle_armor = toggles:newAction()
:setToggled(false)
:setOnToggle(pings.toggleArmor)
:title("toggle armor")
:item("red_wool")
:toggleItem("green_wool")
return toggles