mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-28 05:45:10 -06:00
removed inauthentic dialogue as per issue 2337
This commit is contained in:
parent
b39b75e959
commit
b293ad1444
2 changed files with 15 additions and 15 deletions
|
|
@ -57,32 +57,40 @@ class PeerTheSeerDialogue(player: Player? = null) : DialoguePlugin(player) {
|
|||
return true
|
||||
}
|
||||
else if(player.getAttribute("PeerStarted",false) && !(player.inventory.isEmpty && player.equipment.isEmpty)){
|
||||
npcl(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?")
|
||||
//npcl(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?")
|
||||
stage = 100
|
||||
player.dialogueInterpreter.handle(0,0)
|
||||
return true
|
||||
}
|
||||
else if(player.getAttribute("PeerStarted",false) && player.inventory.isEmpty && player.equipment.isEmpty){
|
||||
npcl(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?")
|
||||
//npcl(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?")
|
||||
stage = 110
|
||||
player.dialogueInterpreter.handle(0,0)
|
||||
return true
|
||||
}
|
||||
else if (getQuestStage(player, Quests.THE_FREMENNIK_TRIALS) > 0 && player.getAttribute("fremtrials:peer-vote",false)) {
|
||||
npcl(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?")
|
||||
//npcl(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?")
|
||||
stage = 120
|
||||
player.dialogueInterpreter.handle(0,0)
|
||||
return true
|
||||
}
|
||||
else if(player.questRepository.isComplete(Quests.THE_FREMENNIK_TRIALS)){
|
||||
npcl(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?")
|
||||
//npcl(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?")
|
||||
stage = 150
|
||||
player.dialogueInterpreter.handle(0,0)
|
||||
return true
|
||||
}
|
||||
else if(getQuestStage(player, Quests.THE_FREMENNIK_TRIALS) > 0){
|
||||
npcl(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?")
|
||||
//npcl(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?")
|
||||
stage = 50
|
||||
player.dialogueInterpreter.handle(0,0)
|
||||
return true
|
||||
}
|
||||
if (getQuestStage(player, Quests.THE_FREMENNIK_TRIALS) == 0) {
|
||||
npc(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?").also { stage = 300 }
|
||||
//npc(FacialExpression.SAD,"Uuuh... What was that dark presence I felt?").also { stage = 300 }
|
||||
stage = 300
|
||||
player.dialogueInterpreter.handle(0,0)
|
||||
return true
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,18 +40,10 @@ class SeerDialogue(player: Player? = null) : DialoguePlugin(player) {
|
|||
const val POWER = 80
|
||||
}
|
||||
|
||||
override fun open(vararg args: Any?): Boolean {
|
||||
npc = args[0] as NPC
|
||||
npcl(FacialExpression.WORRIED, "Uh, what was that dark force? I've never sensed anything like it...").also { stage = START_DIALOGUE } // https://www.youtube.com/watch?v=mYsxit46rGo May 14 2010
|
||||
return true
|
||||
}
|
||||
|
||||
override fun handle(interfaceId: Int, buttonId: Int): Boolean {
|
||||
val scorpionCatcherQuestStage = getQuestStage(player, Quests.SCORPION_CATCHER)
|
||||
when (stage) {
|
||||
START_DIALOGUE ->
|
||||
npcl(FacialExpression.NEUTRAL, "Anyway, sorry about that.").also { stage++ }
|
||||
START_DIALOGUE+1 -> {
|
||||
START_DIALOGUE -> {
|
||||
if (isQuestInProgress(player, Quests.SCORPION_CATCHER, 1, 99)) {
|
||||
showTopics(
|
||||
Topic("Talk about Scorpion Catcher.", SC_QUEST, true),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue