forked from 2009Scape/Server
Added dialogue for Klenter
This commit is contained in:
parent
62e108f87a
commit
5c93570475
1 changed files with 36 additions and 0 deletions
36
Server/src/plugin/interaction/city/sophanem/KlenterNPC.java
Normal file
36
Server/src/plugin/interaction/city/sophanem/KlenterNPC.java
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
package plugin.interaction.city.sophanem;
|
||||
|
||||
import org.crandor.game.content.dialogue.DialoguePlugin;
|
||||
import org.crandor.game.node.entity.npc.NPC;
|
||||
import org.crandor.game.node.entity.player.Player;
|
||||
import org.crandor.plugin.InitializablePlugin;
|
||||
|
||||
/**
|
||||
* Handles the Klenter NPC, which should be invisible until a quest stage has been reached. Will do that when quest is added.
|
||||
* @author ceik
|
||||
*/
|
||||
@InitializablePlugin
|
||||
public class KlenterNPC extends DialoguePlugin {
|
||||
public KlenterNPC(){
|
||||
/**
|
||||
* Empty
|
||||
*/
|
||||
}
|
||||
public KlenterNPC(Player player){super(player);}
|
||||
|
||||
@Override
|
||||
public DialoguePlugin newInstance(Player player){return new KlenterNPC(player);}
|
||||
|
||||
@Override
|
||||
public boolean open(Object... args){
|
||||
npc("OOOOoOOOoOO");
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean handle(int interfaceId,int buttonId){
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
public int[] getIds(){return new int[] {2014};}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue