mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Fossegrimen now recharges all out-of-charge lyres
This commit is contained in:
parent
d545b2a119
commit
0b15f03174
1 changed files with 3 additions and 3 deletions
|
|
@ -61,7 +61,7 @@ class TFTInteractionListeners : InteractionListener{
|
|||
}
|
||||
|
||||
onUseWith(SCENERY,FISH_ALTAR,*FISH){ player, _, fish ->
|
||||
if(inInventory(player,Items.LYRE_3689)) {
|
||||
if(inInventory(player,Items.LYRE_3689) || inInventory(player,Items.ENCHANTED_LYRE_3690)) {
|
||||
Pulser.submit(SpiritPulse(player, fish.id))
|
||||
} else {
|
||||
sendMessage(player,"I should probably have my lyre with me.")
|
||||
|
|
@ -331,7 +331,7 @@ class TFTInteractionListeners : InteractionListener{
|
|||
2 -> npc.face(player).also { player.face(npc) }
|
||||
3 -> player.dialogueInterpreter?.sendDialogues(npc,
|
||||
FacialExpression.HAPPY,"I will kindly accept this offering, and","bestow upon you a gift in return.")
|
||||
4 -> removeItem(player,Items.LYRE_3689)
|
||||
4 -> if(!removeItem(player,Items.LYRE_3689)) { removeItem(player,Items.ENCHANTED_LYRE_3690) }
|
||||
5 -> when(fish){
|
||||
383 -> addItem(player,Items.ENCHANTED_LYRE2_6125)
|
||||
389 -> addItem(player,Items.ENCHANTED_LYRE3_6126)
|
||||
|
|
@ -444,7 +444,7 @@ class TFTInteractionListeners : InteractionListener{
|
|||
setAttribute(player,"/save:lyreConcertPlayed",true)
|
||||
player.removeAttribute("LyreEnchanted")
|
||||
if(removeItem(player,Lyre))
|
||||
addItem(player,3689)
|
||||
addItem(player,Items.ENCHANTED_LYRE_3690)
|
||||
player.unlock()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue