WalrusNetwork / bugs

Public bug tracker for Walrus, a Minecraft server organization.
https://walrus.gg
0 stars 0 forks source link

Add wool touch sound #16

Closed Picajoluna closed 4 years ago

Picajoluna commented 4 years ago

Add a reward sound upon player picking up the wool.

mattarnold98 commented 4 years ago

Is this only for the first touch of the wool or for any touch at all?

Picajoluna commented 4 years ago

@mattarnold98 I think for the first time that a given player picks up a wool that their team hasn't capped yet. If the player dies, and the player manages to get back into the wool room, I don't think they'd hear the sound again as they've already touched the wool.

Alternatively, if the above isn't super feasible, it could be for the first time that any player of the team touches an un-capped wool. If the player dies, and another player makes it into the wool-room, since that wool is already touched, there would be no sound.

I'd prefer the first option over the second nonetheless.

mattarnold98 commented 4 years ago

Changed the plugin so the sound should now be present regardless of the source of the touch (previously only happened when picking an item up off the floor, not transferring from chest).

UI problem now

in ctw ui file:

games.ocn.ctw.pickup.self=
games.ocn.ctw.pickup.team=
games.ocn.ctw.pickup.enemy=none
games.ocn.ctw.pickup.spectator=
Picajoluna commented 4 years ago

I set these to WITHER_SPAWN which I thought was kinda cool.

games.ocn.ctw.pickup.self=WITHER_SPAWN:1:0.3
games.ocn.ctw.pickup.team=none
games.ocn.ctw.pickup.enemy=none
games.ocn.ctw.pickup.spectator=none