mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-19 13:00:19 -07:00
commit
d1a20e4a60
1 changed files with 7 additions and 6 deletions
|
|
@ -22,8 +22,8 @@ public class SnakeCharmerBasket extends UseWithHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Plugin<Object> newInstance(Object arg) throws Throwable {
|
public Plugin<Object> newInstance(Object arg) throws Throwable {
|
||||||
addHandler(6230, OBJECT_TYPE, this);
|
|
||||||
new AliTheSnakeCharmer().init();
|
new AliTheSnakeCharmer().init();
|
||||||
|
addHandler(6230, OBJECT_TYPE, this);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -56,11 +56,12 @@ public class SnakeCharmerBasket extends UseWithHandler {
|
||||||
@Override
|
@Override
|
||||||
public boolean open(Object... args) {
|
public boolean open(Object... args) {
|
||||||
if (args.length > 0) {
|
if (args.length > 0) {
|
||||||
|
player("Wow a snake charmer. Can I have a go? Please?");
|
||||||
stage = 5;
|
stage = 5;
|
||||||
} else {
|
return true;
|
||||||
|
}
|
||||||
player("Wow a snake charmer. Can I have a go? Please?");
|
player("Wow a snake charmer. Can I have a go? Please?");
|
||||||
stage = 0;
|
stage = 0;
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -91,7 +92,7 @@ public class SnakeCharmerBasket extends UseWithHandler {
|
||||||
GroundItemManager.create(new Item(4605), player.getLocation());
|
GroundItemManager.create(new Item(4605), player.getLocation());
|
||||||
GroundItemManager.create(new Item(4606), player.getLocation());
|
GroundItemManager.create(new Item(4606), player.getLocation());
|
||||||
}
|
}
|
||||||
npc(FacialExpression.ANNOYED, "If it means that you'll leave me alone, I would give you"," my snake harming super starter kit complete","with flute and basket.");
|
npc(FacialExpression.ANNOYED, "If it means that you'll leave me alone, I would give you"," my snake charming super starter kit complete","with flute and basket.");
|
||||||
} else {
|
} else {
|
||||||
npc(FacialExpression.ANGRY,"I already gave you one!");
|
npc(FacialExpression.ANGRY,"I already gave you one!");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue