diff --git a/Server/src/plugin/interaction/city/pollnivneach/AliTheKebabSeller.java b/Server/src/plugin/interaction/city/pollnivneach/AliTheKebabSeller.java new file mode 100644 index 000000000..079d3a8ec --- /dev/null +++ b/Server/src/plugin/interaction/city/pollnivneach/AliTheKebabSeller.java @@ -0,0 +1,4 @@ +package plugin.interaction.city.pollnivneach; + +public class AliTheKebabSeller { +} diff --git a/Server/src/plugin/interaction/city/pollnivneach/StreetUrchinDialogue.java b/Server/src/plugin/interaction/city/pollnivneach/StreetUrchinDialogue.java new file mode 100644 index 000000000..518ce110e --- /dev/null +++ b/Server/src/plugin/interaction/city/pollnivneach/StreetUrchinDialogue.java @@ -0,0 +1,39 @@ +package plugin.interaction.city.pollnivneach; + +import org.crandor.game.content.dialogue.DialoguePlugin; +import org.crandor.game.node.entity.player.Player; +import org.crandor.plugin.InitializablePlugin; + +/** + * Handles the street urchin npc TODO: Add more dialogue after/during the quest when it is implemented. + * @author ceik + */ +@InitializablePlugin +public class StreetUrchinDialogue extends DialoguePlugin { + public StreetUrchinDialogue(){ + /** + * Empty + */ + } + + public StreetUrchinDialogue(Player player){super(player);} + + @Override + public DialoguePlugin newInstance(Player player){return new StreetUrchinDialogue(player);} + + public boolean open(Object... args){ + player.getDialogueInterpreter().sendDialogue("This child doesn't seem interested in you."); + return true; + } + + public boolean handle(int interfaceId, int buttonId){ + switch(stage){ + case 0: + end(); + break; + } + return true; + } + @Override + public int[] getIds(){return new int[] {6357};} +}