73 lines
1.5 KiB
Lua
73 lines
1.5 KiB
Lua
--EMOTES--
|
|
|
|
local mainPage = action_wheel:newPage()
|
|
action_wheel:setPage(mainPage)
|
|
|
|
function pings.Follow()
|
|
animations.player_model.followMe:play()
|
|
end
|
|
---
|
|
function pings.Wave()
|
|
animations.player_model.wave:play()
|
|
end
|
|
---
|
|
function pings.Clap()
|
|
animations.player_model.clap:play()
|
|
end
|
|
---
|
|
function pings.Sitting(state)
|
|
animations.player_model.sitting:setPlaying(state)
|
|
end
|
|
---
|
|
function pings.Tilt(state)
|
|
animations.player_model.tilt:setPlaying(state)
|
|
end
|
|
|
|
function pings.Casual()
|
|
models.player_model:setPrimaryTexture("CUSTOM", textures["rw_pebs_casual"])
|
|
end
|
|
|
|
function pings.Work()
|
|
models.player_model:setPrimaryTexture("CUSTOM", textures["rw_pebs_work"])
|
|
end
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
mainPage:newAction()
|
|
:title("Casual")
|
|
:item("minecraft:light_gray_wool")
|
|
:hoverColor(1,1,0)
|
|
:onLeftClick(pings.Casual)
|
|
|
|
mainPage:newAction()
|
|
:title("Work")
|
|
:item("minecraft:orange_wool")
|
|
:hoverColor(1,1,0)
|
|
:onLeftClick(pings.Work)
|
|
|
|
mainPage:newAction()
|
|
:title("Wave")
|
|
:item("minecraft:lantern")
|
|
:hoverColor(1,1,0)
|
|
:onLeftClick(pings.Wave)
|
|
|
|
mainPage:newAction()
|
|
:title("Follow Me")
|
|
:item("minecraft:compass")
|
|
:hoverColor(1,1,0)
|
|
:onLeftClick(pings.Follow)
|
|
|
|
mainPage:newAction()
|
|
:title("Clap")
|
|
:item("minecraft:rabbit_foot")
|
|
:hoverColor(1,1,0)
|
|
:onLeftClick(pings.Clap)
|
|
|
|
|
|
mainPage:newAction()
|
|
:title("Sit")
|
|
:item("minecraft:purpur_stairs")
|
|
:hoverColor(1,1,0)
|
|
:onToggle(pings.Sitting)
|
|
|
|
|