From e6c6f2c9f6fa44a8d274c3f5f39ec1e5f903a1ad Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 17 Dec 2018 03:21:55 -0200 Subject: Stop beating around the bush. reputation() now returns a 0~100 int. --- npc/016-1/captain.txt | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) (limited to 'npc/016-1') diff --git a/npc/016-1/captain.txt b/npc/016-1/captain.txt index 0e37e8f84..3d5be5d17 100644 --- a/npc/016-1/captain.txt +++ b/npc/016-1/captain.txt @@ -27,20 +27,16 @@ L_TTulim: .@x=reputation("Tulim"); - if (.@x >= 14) + if (.@x >= 100) .@price-=950; - else if (.@x >= 12) - .@price-=750; - else if (.@x >= 10) + else if (.@x >= 80) + .@price-=800; + else if (.@x >= 60) .@price-=600; - else if (.@x >= 8) + else if (.@x >= 40) .@price-=400; - else if (.@x >= 6) - .@price-=250; - else if (.@x >= 4) - .@price-=175; - else if (.@x >= 2) - .@price-=100; + else if (.@x >= 20) + .@price-=200; mes ""; mesn; @@ -77,15 +73,15 @@ L_TTulim: L_THurns: .@x=reputation("Hurns"); - if (.@x >= 5) + if (.@x >= 100) .@price-=950; - else if (.@x >= 4) + else if (.@x >= 80) .@price-=800; - else if (.@x >= 3) + else if (.@x >= 60) .@price-=600; - else if (.@x >= 2) + else if (.@x >= 40) .@price-=400; - else if (.@x >= 1) + else if (.@x >= 20) .@price-=200; mes ""; @@ -122,12 +118,20 @@ L_THurns: L_TNival: .@x=reputation("Nival"); - if (!$NIVALIS_LIBDATE) - .@price=1; // zero could cause weird bugs - else if (.@x >= 2) + if (.@x >= 100) .@price-=950; - else if (.@x >= 1) - .@price-=550; + else if (.@x >= 80) + .@price-=800; + else if (.@x >= 60) + .@price-=600; + else if (.@x >= 40) + .@price-=400; + else if (.@x >= 20) + .@price-=200; + + // Nivalis Liberation Day. Zero could cause weird bugs. + if (!$NIVALIS_LIBDATE) + .@price=1; // mes ""; mesn; -- cgit v1.2.3-70-g09d2