Untitled
unknown
plain_text
4 years ago
552 B
7
Indexable
RezzCW main;
public bolteq(RezzCW main) {
super();
super.name = "bolt equipment";
this.main = main;
}
@Override
public boolean activate() {
return main.c.desired.contains(Players.local());
}
@Override
public void execute() {
if (Game.tab(Game.Tab.INVENTORY)) {
String boltid = "Emerald bolts (e)";
Item bolts = Inventory.stream().name(boltid).first();
bolts.interact("Wield");
Condition.sleep(Random.nextInt(100,30)*50);
}
}Editor is loading...