From 1dca814646914ecd6063ce9f25892bf31ede1396 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 20 Mar 2021 17:02:41 -0300 Subject: Rewrite Lua table so it makes sense --- npc/003-2/lua.txt | 36 +++++++++++++------------- npc/003-3/malindou.txt | 68 +++++++++++++++++++++++++------------------------- 2 files changed, 52 insertions(+), 52 deletions(-) (limited to 'npc') 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; diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 562a5445c..50db3de97 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -621,7 +621,7 @@ OnInit: // This mensures Contributors Credits, and changes only during updates. - // All names in lower case. standard: 100 points. Non-TMW2 contributors + // All names in lower case. standard: 10 points. Non-TMW2 contributors // should be disregarded if they're not involved with the project. // You may get more points for complexity, difficulty, usability, etc. @@ -631,41 +631,41 @@ OnInit: // See 003-2/lua.txt for rewards $@CONTRIBUTORS = htnew; - htput($@CONTRIBUTORS, "jesusalva", 15000); - htput($@CONTRIBUTORS, "saulc", 12500); - htput($@CONTRIBUTORS, "lawncable", 1800); - htput($@CONTRIBUTORS, "polaczka", 700); - htput($@CONTRIBUTORS, "crazyfefe", 694); - htput($@CONTRIBUTORS, "4144", 560); - htput($@CONTRIBUTORS, "mishana", 500); - htput($@CONTRIBUTORS, "soren", 450); - htput($@CONTRIBUTORS, "rakinorf", 400); - htput($@CONTRIBUTORS, "pookie", 360); - htput($@CONTRIBUTORS, "xtreem", 340); - htput($@CONTRIBUTORS, "acsvln", 260); - htput($@CONTRIBUTORS, "ayruss", 210); - htput($@CONTRIBUTORS, "dangerduck", 200); - htput($@CONTRIBUTORS, "kolchak", 200); - htput($@CONTRIBUTORS, "dustman", 175); - htput($@CONTRIBUTORS, "arthur", 111); - htput($@CONTRIBUTORS, "ichigoblack",100); - htput($@CONTRIBUTORS, "gnulinux", 90); - htput($@CONTRIBUTORS, "skydragon", 75); - htput($@CONTRIBUTORS, "xanthem", 61); - htput($@CONTRIBUTORS, "liangtai", 36); - htput($@CONTRIBUTORS, "kolchak", 31); - htput($@CONTRIBUTORS, "msawis", 30); - htput($@CONTRIBUTORS, "dragonstar", 26); - htput($@CONTRIBUTORS, "demure", 24); - htput($@CONTRIBUTORS, "seeds", 23); - htput($@CONTRIBUTORS, "lilanna", 9); - htput($@CONTRIBUTORS, "aisen", 8); - htput($@CONTRIBUTORS, "maisquestce",5); - htput($@CONTRIBUTORS, "john h", 2); - htput($@CONTRIBUTORS, "krists", 2); + htput($@CONTRIBUTORS, "jesusalva", 250); + htput($@CONTRIBUTORS, "saulc", 250); + htput($@CONTRIBUTORS, "lawncable", 180); + htput($@CONTRIBUTORS, "polaczka", 70); + htput($@CONTRIBUTORS, "crazyfefe", 70); + htput($@CONTRIBUTORS, "4144", 56); + htput($@CONTRIBUTORS, "mishana", 50); + htput($@CONTRIBUTORS, "soren", 45); + htput($@CONTRIBUTORS, "rakinorf", 40); + htput($@CONTRIBUTORS, "pookie", 36); + htput($@CONTRIBUTORS, "xtreem", 34); + htput($@CONTRIBUTORS, "acsvln", 26); + htput($@CONTRIBUTORS, "ayruss", 21); + htput($@CONTRIBUTORS, "dangerduck", 20); + htput($@CONTRIBUTORS, "kolchak", 20); + htput($@CONTRIBUTORS, "dustman", 18); + htput($@CONTRIBUTORS, "arthur", 30); + htput($@CONTRIBUTORS, "ichigoblack",10); + htput($@CONTRIBUTORS, "gnulinux", 9); + htput($@CONTRIBUTORS, "skydragon", 8); + htput($@CONTRIBUTORS, "xanthem", 6); + htput($@CONTRIBUTORS, "liangtai", 4); + htput($@CONTRIBUTORS, "kolchak", 3); + htput($@CONTRIBUTORS, "msawis", 3); + htput($@CONTRIBUTORS, "dragonstar", 3); + htput($@CONTRIBUTORS, "demure", 2); + htput($@CONTRIBUTORS, "seeds", 2); + htput($@CONTRIBUTORS, "lilanna", 1); + htput($@CONTRIBUTORS, "aisen", 1); + htput($@CONTRIBUTORS, "maisquestce",1); + htput($@CONTRIBUTORS, "john h", 1); + htput($@CONTRIBUTORS, "krists", 1); htput($@CONTRIBUTORS, "filhote", 1); - htput($@CONTRIBUTORS, "mathias cronqvist", 200); + htput($@CONTRIBUTORS, "mathias cronqvist", 20); //htput($@CONTRIBUTORS, "", 1); end; -- cgit v1.2.3-60-g2f50