package com.rs.game.player.dialogues;
import com.rs.game.WorldTile;
public final class Ozan extends Dialogue {
@Override
public void start() {
sendDialogue(SEND_3_TEXT_INFO,
"Hello! I'll take you to lumbridge",
"Lumbridge is a basic small city",
"It's mostly country, so you better watch out if your from the city.");
}
@Override
public void run(int interfaceId, int componentId) {
if (stage == -1) {
stage = 0;
sendDialogue(SEND_2_OPTIONS,
"Do you want me to teleport you to Lumbridge?",
"Yes please", "Stay here.");
} else if (stage == 0) {
if (componentId == 1) {
player.setNextWorldTile(new WorldTile(3122, 3122, 0));
player.getControlerManager().startControler("ZGDControler");
}
end();
}
}
@Override
public void finish() {
// TODO Auto-generated method stub
}
}