diff options
-rw-r--r-- | npc/commands/ucp.txt | 4 | ||||
-rw-r--r-- | npc/functions/main.txt | 1 | ||||
-rw-r--r-- | sql-files/main.sql | 14 |
3 files changed, 17 insertions, 2 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt index 89d533b78..00e46af92 100644 --- a/npc/commands/ucp.txt +++ b/npc/commands/ucp.txt @@ -161,7 +161,7 @@ function script UserCtrlPanel { // GSET_LONGMENU_DENSITY // How many nexts should be queued in a density list // (use higher values if you have few recipes or can scroll) - if (GSET_LONGMENU_DENSITY) + if (!GSET_LONGMENU_DENSITY) mes l("Long Text Wall Density: ") + col(l("Normal"), 1); else mes l("Long Text Wall Density: ") + col(l("Compact")+": "+GSET_LONGMENU_DENSITY, 2); @@ -214,7 +214,7 @@ function script UserCtrlPanel { case 3: GSET_DAILYREWARD_SILENT=!GSET_DAILYREWARD_SILENT; break; case 4: - if (GSET_LONGMENU_DENSITY > 5) + if (GSET_LONGMENU_DENSITY >= 5) GSET_LONGMENU_DENSITY=0; else GSET_LONGMENU_DENSITY+=1; diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 95587aa70..5df1999d2 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -19,6 +19,7 @@ function script dnext { } else { @dnext+=1; } + return; } function script menuaction { diff --git a/sql-files/main.sql b/sql-files/main.sql index a6e6c1a06..6810f74a6 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -315,6 +315,20 @@ CREATE TABLE IF NOT EXISTS `discord` ( ) ENGINE=MyISAM; -- +-- Table structure for table `patreon` +-- + +-- account_id (Game issued) +-- client_id (Patreon issued) +CREATE TABLE IF NOT EXISTS `patreon` ( + `account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', + `client_id` VARCHAR(255) NOT NULL DEFAULT '', + `access_token` VARCHAR(255) NOT NULL DEFAULT '', + `currently_entitled_amount_cents` INT(11) DEFAULT '0', + `verified` ENUM('0', '1') NOT NULL DEFAULT '0' +) ENGINE=MyISAM; + +-- -- Table structure for table `elemental` -- |