summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-27 12:54:41 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-27 12:54:41 -0300
commitaf9c87dfddcee979537ba65302b80f53ff6f5024 (patch)
treec362ae1dcc60d2f3b6fdff8fb4295d6998a1ef2f /npc
parent160540a57c2960718cfdd296cf07ef2aafc83d36 (diff)
downloadserverdata-af9c87dfddcee979537ba65302b80f53ff6f5024.tar.gz
serverdata-af9c87dfddcee979537ba65302b80f53ff6f5024.tar.bz2
serverdata-af9c87dfddcee979537ba65302b80f53ff6f5024.tar.xz
serverdata-af9c87dfddcee979537ba65302b80f53ff6f5024.zip
GM Shop - New option - Purchase fruits.
NOTE: NO REFUNDS
Diffstat (limited to 'npc')
-rw-r--r--npc/003-2/lua.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt
index 5cd30f0c4..e0384e75d 100644
--- a/npc/003-2/lua.txt
+++ b/npc/003-2/lua.txt
@@ -78,13 +78,16 @@ L_GMEventShop:
mesc l("@@ - @@ coins", getitemlink(PrismGift), 80*.@inf);
mesc l("@@ - @@ coins", getitemlink(SupremeGift), 160*.@inf);
mes "";
+ mesc l("Fruits - @@ coins", 30*.@inf);
+ mes "";
menuint
"Return to main menu", -1,
rif(.@s > 10*.@inf, "Bronze Gift"), 10,
rif(.@s > 20*.@inf, "Silver Gift"), 20,
rif(.@s > 40*.@inf, "Golden Gift"), 40,
rif(.@s > 80*.@inf, "Prism Gift"), 80,
- rif(.@s > 160*.@inf, "Supreme Gift"), 160;
+ rif(.@s > 160*.@inf, "Supreme Gift"), 160,
+ rif(.@s > 30*.@inf, "Statusup Fruits"), 30;
if (@menuret == -1)
goto L_Menu;
@@ -101,6 +104,17 @@ L_GMEventShop:
getitem PrismGift, 1; break;
case 160:
getitem SupremeGift, 1; break;
+ case 30:
+ menuint
+ "Strength Fruit",StrengthFruit,
+ "Agility Fruit",AgilityFruit,
+ "Vitality Fruit",VitalityFruit,
+ "Intelligence Fruit",IntelligenceFruit,
+ "Dexterity Fruit",DexterityFruit,
+ "Luck Fruit",LuckFruit,
+ "Mysterious Fruit",MysteriousFruit;
+ mes "";
+ getitem @menuret, 1; break;
default:
mesc(l("A script error happened, please report: @@", @menuret), 1); break;
}