mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-09-10 10:36:43 -06:00
Added sound when successfully stealing from a stall
This commit is contained in:
parent
a81ec41a3e
commit
789346c714
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ import core.game.world.map.RegionManager;
|
|||
import core.game.world.update.flag.context.Animation;
|
||||
import core.tools.RandomFunction;
|
||||
import core.tools.StringUtils;
|
||||
import org.rs09.consts.Sounds;
|
||||
|
||||
import static core.api.ContentAPIKt.*;
|
||||
import content.data.Quests;
|
||||
|
|
@ -108,6 +109,7 @@ public final class StallThiefPulse extends SkillPulse<Scenery> {
|
|||
}
|
||||
final boolean success = success();
|
||||
if (success) {
|
||||
playAudio(player, Sounds.PICK_2581);
|
||||
if (stall == Stall.SILK_STALL) {
|
||||
player.getSavedData().getGlobalData().setSilkSteal(System.currentTimeMillis() + 1800000);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue