From 3244911fd8773f284c44d1fcfc2527e33accf142 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 25 Aug 2019 00:38:38 -0300 Subject: *sigh* additional care so taxes work --- npc/012-1/shoppakep.txt | 3 +++ npc/012-2/melina.txt | 1 + npc/012-3/alan.txt | 1 + npc/012-5/nicholas.txt | 1 + npc/functions/politics.txt | 1 + 5 files changed, 7 insertions(+) (limited to 'npc') diff --git a/npc/012-1/shoppakep.txt b/npc/012-1/shoppakep.txt index e8e400c75..2ee13acc2 100644 --- a/npc/012-1/shoppakep.txt +++ b/npc/012-1/shoppakep.txt @@ -9,6 +9,7 @@ mesq lg("Welcome! Only the finest wares!"); next; closedialog; + npcshopattach(.name$); shop .name$; close; @@ -69,8 +70,10 @@ OnClock0546: .CurrentItem=ShoppaKepItem(); sellitem .CurrentItem, -1, rand(1,4); end; + // Pay your taxes! OnBuyItem: + debugmes("Purchase confirmed"); PurchaseTaxes("Hurns"); end; } diff --git a/npc/012-2/melina.txt b/npc/012-2/melina.txt index cfb636bf0..83e78b578 100644 --- a/npc/012-2/melina.txt +++ b/npc/012-2/melina.txt @@ -10,6 +10,7 @@ 012-2,54,43,0 script Melina NPC_FEMALE,{ hello; +npcshopattach(.name$); shop .name$; close; diff --git a/npc/012-3/alan.txt b/npc/012-3/alan.txt index e595465d8..6ec713590 100644 --- a/npc/012-3/alan.txt +++ b/npc/012-3/alan.txt @@ -27,6 +27,7 @@ rif(.@q == 1 && .@q2 == .@q3 && .@q2 == 99, l("I have the sturdy wood and the string.")), L_Craft; L_Shop: + npcshopattach(.name$); openshop; closedialog; close; diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt index 77e84c06c..c6043e786 100644 --- a/npc/012-5/nicholas.txt +++ b/npc/012-5/nicholas.txt @@ -97,6 +97,7 @@ L_Menu: mes ""; switch (@menu) { case 1: + npcshopattach(.name$); openshop; closedialog; close; diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 5a2a40981..f9df9e575 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -5,6 +5,7 @@ // Central Town Political System Controller // Note: The office is NOT Mayor, we have from kings to mayors here and you're // not a citzen (yet). It'll be... I'll think in a name better than Minister. +// Perhaps, Town Administrator. // NPCs: // Tulim - // Halin - -- cgit v1.2.3-70-g09d2