forked from 2009Scape/Server
Added Burgh de Rott bank functionality
This commit is contained in:
parent
6cc6a4c69c
commit
a788b64e44
1 changed files with 6 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ import core.game.node.item.Item;
|
|||
import core.plugin.Initializable;
|
||||
import core.plugin.Plugin;
|
||||
|
||||
import static core.api.ContentAPIKt.*;
|
||||
|
||||
/**
|
||||
* Handles the search option.
|
||||
* @author 'Vexia
|
||||
|
|
@ -80,6 +82,10 @@ public class SearchOptionPlugin extends OptionHandler {
|
|||
player.getInventory().add(new Item(946));
|
||||
return true;
|
||||
}
|
||||
if (node.getId() == 12799 && hasRequirement(player, "In Aid of the Myreque")) {
|
||||
openBankAccount(player);
|
||||
return true;
|
||||
}
|
||||
player.getPacketDispatch().sendMessage("You search the " + node.getName().toLowerCase() + " but find nothing.");
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue