Skip to content

Commit

Permalink
Try and fix sound for SH
Browse files Browse the repository at this point in the history
  • Loading branch information
DinnerBeef committed Nov 2, 2023
1 parent 34590a1 commit dce5537
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions data/lt/functions/game/scavenger_hunt/sound.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
playsound minecraft:entity.player.breath voice @a[tag=teleportHuntTemp] ~ ~ ~ 10 0.1
tag @s remove teleportHuntTemp
4 changes: 2 additions & 2 deletions data/lt/functions/game/scavenger_hunt/teleport.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ particle minecraft:explosion_emitter ~ ~1 ~ 0 0 0 0 1 force
playsound minecraft:entity.player.breath voice @a[tag=!teleportHuntTemp,distance=..50] ~ ~ ~ 10 0.1
tp @s @e[tag=scavengerHuntRoom,limit=1]
tellraw @s {"translate": "lt.scavenger_hunt.win","color":"green"}
tag @s remove teleportHuntTemp
playsound minecraft:entity.player.breath voice @s ~ ~ ~ 10 0.1
tag @s remove scavengerHunt_42
schedule function lt:game/scavenger_hunt/sound 2t

0 comments on commit dce5537

Please sign in to comment.