summaryrefslogtreecommitdiff
path: root/npc/re/merchants/wander_pet_food.txt
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-08 19:30:07 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-08 19:30:07 +0000
commit31825ccc2dde034a218d9ad466dd721c40b5651d (patch)
tree961b976e45988f7f7158d33b3f11a18688f34b1f /npc/re/merchants/wander_pet_food.txt
parent22c75b070526de8b103032f5bf13504af81e0095 (diff)
downloadhercules-31825ccc2dde034a218d9ad466dd721c40b5651d.tar.gz
hercules-31825ccc2dde034a218d9ad466dd721c40b5651d.tar.bz2
hercules-31825ccc2dde034a218d9ad466dd721c40b5651d.tar.xz
hercules-31825ccc2dde034a218d9ad466dd721c40b5651d.zip
Okie ladies and gentleman if this commit breaks anything it's jman's and maki's fault, yes, blame them.
Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/re/merchants/wander_pet_food.txt')
-rw-r--r--npc/re/merchants/wander_pet_food.txt75
1 files changed, 75 insertions, 0 deletions
diff --git a/npc/re/merchants/wander_pet_food.txt b/npc/re/merchants/wander_pet_food.txt
new file mode 100644
index 000000000..5bd9140e7
--- /dev/null
+++ b/npc/re/merchants/wander_pet_food.txt
@@ -0,0 +1,75 @@
+//===== rAthena Script =======================================
+//= Spirit Liquor trader.
+//===== By: ==================================================
+//= rAthena dev team
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= [Aegis Conversion]
+//= Trade Broken Liquor Jars and alcohol for wanderer
+//= pet food, 'Spirit Liquor'
+//===== Additional Comments: =================================
+//= 1.0 First version
+//============================================================
+
+prontera,218,218,3 script Pet Enthusiast 96,{
+ mes "[Pet Enthusiast Jenny]";
+ mes "Oh, Hi there!";
+ mes "Are you a lover of animals like I am?";
+ next;
+ mes "[Pet Enthusiast Jenny]";
+ mes "I know that it's really hard to keep your cute pets happy.";
+ mes "All it takes is the right kind of food.";
+ next;
+ mes "[Pet Enthusiast Jenny]";
+ mes "I know that sometimes it is really hard to get the right food for your pet.";
+ next;
+ mes "[Pet Enthusiast Jenny]";
+ mes "Do you have any food that you are looking for?";
+ next;
+ switch(select("Yes:No")) {
+ case 1:
+ if ((countitem(7158) > 19) && (countitem(970) > 0)) {
+ mes "[Pet Enthusiast Jenny]";
+ mes "Oh, you have ^ff000020 Broken Liquor Jar^000000s and ^ff00001 Alcohol^000000!";
+ mes "Do you want to exchange them for";
+ mes "^ff000020 Spirit Liquor^000000 for your Wanderer pet?";
+ next;
+ switch(select("Yes, please!:No thank you.")) {
+ case 1:
+ mes "[Pet Enthusiast Jenny]";
+ mes "Ok here you go then.";
+ mes "I hope it keeps your";
+ mes "cute pet happy.";
+ delitem 7158,20; //Broken_Wine_Vessel
+ delitem 970,1; //Alchol
+ getitem 7824,20; //Spirit_Liquor
+ close;
+ case 2:
+ mes "[Pet Enthusiast Jenny]";
+ mes "Hehe, well just let me know if you change your mind.";
+ close;
+ }
+ }
+ else {
+ mes "[Pet Enthusiast Jenny]";
+ mes "Actually, right now I can help you get Spirit Liquor for Wanderer pets.";
+ next;
+ mes "[Pet Enthusiast Jenny]";
+ mes "All you have to do is bring me ^FF0000 20 Broken Liquor Jars^000000 and ^FF0000 1 Alcohol^000000.";
+ mes "I can give you ^FF0000 20 Spirit Liquor^000000 for that.";
+ next;
+ mes "You can get the Broken Liquor Jars from Tengu monsters in Amatsu dungeon.";
+ close;
+ }
+ case 2:
+ close;
+ }
+}
+
+prontera,220,218,3 script Berry Toe 955,{
+ specialeffect EF_CHANGEDARK;
+ end;
+}