summaryrefslogtreecommitdiff
path: root/npc/003-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-20 17:02:41 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-20 17:02:41 -0300
commit1dca814646914ecd6063ce9f25892bf31ede1396 (patch)
treec3334561fa5d3d1f344b6f0c213550447bbd9499 /npc/003-2
parentcb2fe76a1b2683f1f7891fbc6372aa4a8beef601 (diff)
downloadserverdata-1dca814646914ecd6063ce9f25892bf31ede1396.tar.gz
serverdata-1dca814646914ecd6063ce9f25892bf31ede1396.tar.bz2
serverdata-1dca814646914ecd6063ce9f25892bf31ede1396.tar.xz
serverdata-1dca814646914ecd6063ce9f25892bf31ede1396.zip
Rewrite Lua table so it makes sense
Diffstat (limited to 'npc/003-2')
-rw-r--r--npc/003-2/lua.txt36
1 files changed, 18 insertions, 18 deletions
diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt
index d5541f9bf..3590f2c1e 100644
--- a/npc/003-2/lua.txt
+++ b/npc/003-2/lua.txt
@@ -789,13 +789,13 @@ L_Contributor:
mesq l("Ah, welcome @@. You have @@ Contributor Points.", strcharinfo(0), .@m);
mesq l("Let's see if you can pick a reward!");
select
- rif(!(#CRW & 128) && .@m >= 10000, l("30x Bug Leg")),
- rif(!(#CRW & 32) && .@m >= 5000 && Zeny > 10000, l("(10,000 GP) Legendary Mount")),
- rif(!(#CRW & 16) && .@m >= 2000, l("Delicious Cookie")),
- rif(!(#CRW & 64) && .@m >= 1000, l("20x Bug Leg")),
- rif(!(#CRW & 8) && .@m >= 500, l("Developer Cap")),
- rif(!(#CRW & 4) && .@m >= 250, l("Contributor Sweater")),
- rif(!(#CRW & 2) && .@m >= 100, l("Community Shirt")),
+ rif(!(#CRW & 128) && .@m >= 250, l("30x Bug Leg")),
+ rif(!(#CRW & 64) && .@m >= 100 && Zeny > 10000, l("(10,000 GP) Legendary Mount")),
+ rif(!(#CRW & 32) && .@m >= 50, l("Developer Cap")),
+ rif(!(#CRW & 16) && .@m >= 40, l("Delicious Cookie")),
+ rif(!(#CRW & 8) && .@m >= 30, l("20x Bug Leg")),
+ rif(!(#CRW & 4) && .@m >= 20, l("Contributor Sweater")),
+ rif(!(#CRW & 2) && .@m >= 10, l("Community Shirt")),
rif(!(#CRW & 1) && .@m, l("5x Strange Coins")),
l("Which rewards are available?"),
l("Ok, thanks.");
@@ -805,13 +805,13 @@ L_Contributor:
case 1:
getitem BugLeg, 30; #CRW=#CRW|128 ; break;
case 2:
- Zeny=Zeny-10000; getitembound LegendaryMouboo, 1, 1; #CRW=#CRW|32 ; break;
+ Zeny=Zeny-10000; getitembound LegendaryMouboo, 1, 1; #CRW=#CRW|64 ; break;
case 3:
- getitem DeliciousCookie, 1; #CRW=#CRW|16 ; break;
+ getitem DEVCap, 1; #CRW=#CRW|32 ; break;
case 4:
- getitem BugLeg, 20; #CRW=#CRW|64 ; break;
+ getitem DeliciousCookie, 1; #CRW=#CRW|16 ; break;
case 5:
- getitem DEVCap, 1; #CRW=#CRW|8 ; break;
+ getitem BugLeg, 20; #CRW=#CRW|8 ; break;
case 6:
getitem ContributorSweater, 1; #CRW=#CRW|4 ; break;
case 7:
@@ -819,13 +819,13 @@ L_Contributor:
case 8:
getitem StrangeCoin, 5; #CRW=#CRW|1 ; break;
case 9:
- mesf("10000 - 30x %s", getitemlink(BugLeg));
- mesf("5000 (+10,000 GP) - %s", getitemlink(LegendaryMouboo));
- mesf("2000 - %s", getitemlink(DeliciousCookie));
- mesf("1000 - 20x %s", getitemlink(BugLeg));
- mesf("500 - %s", getitemlink(DEVCap));
- mesf("250 - %s", getitemlink(ContributorSweater));
- mesf("100 - %s", getitemlink(CommunityShirt));
+ mesf("250 - 30x %s", getitemlink(BugLeg));
+ mesf("100 (+10,000 GP) - %s", getitemlink(LegendaryMouboo));
+ mesf("50 - %s", getitemlink(DEVCap));
+ mesf("40 - %s", getitemlink(DeliciousCookie));
+ mesf("30 - 20x %s", getitemlink(BugLeg));
+ mesf("20 - %s", getitemlink(ContributorSweater));
+ mesf("10 - %s", getitemlink(CommunityShirt));
mesf("1 - 5x %s", getitemlink(StrangeCoin));
next;
goto L_Contributor;