From 6feac86b09df547feed0589fe61877c22b5d5bde Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 20 Jul 2018 15:37:11 -0300 Subject: Magic numbers are easier to work with on this case (jk) --- npc/functions/util.txt | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 9228e8f25..7402e90a2 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -77,21 +77,8 @@ function script nard_reputation { } -/* -// Calcs maximum reputation for each destination -function script marine_maxre { - if (getarg(0) == "Tulim") - return 10; - if (getarg(0) == "Hurns") - return 3; - dispbottom l("Error, marine_maxre invalid @@", getarg(0, "-NO ARGS SUPPLIED-")); - return -1; -} -*/ - // Returns reputation with the La Marine for discounts // Takes one argument (PC_DEST$). Grep for "getarg". -// Before updating this, update marine_maxre too! function script reputation { .@nr=0; // Base reputation -- cgit v1.2.3-60-g2f50