skapa-season-3/kubejs/server_scripts/zombie_extreme.js
Steve McMaster da0b26d1a2
All checks were successful
continuous-integration/drone/push Build is passing
Prepare for season 3 reset. Update required!
2024-07-17 05:32:07 +00:00

8 lines
583 B
JavaScript

// Since we're playing the zombie_extreme sound, put this here
BlockEvents.rightClicked("apocalypsenow:iron_locker", event => {
event.server.runCommandSilent(`execute as ${event.player.username} run playsound zombie_extreme:openvendingmachine block @s ${event.player.x} ${event.player.y} ${event.player.z} 2`)
})
BlockEvents.rightClicked("zombie_extreme:vending_machine", event => {
event.server.runCommandSilent(`execute as ${event.player.username} run playsound zombie_extreme:openvendingmachine block @s ${event.player.x} ${event.player.y} ${event.player.z} 2`)
})