summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-25 00:38:38 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-25 00:38:38 -0300
commit3244911fd8773f284c44d1fcfc2527e33accf142 (patch)
treeb1245d31c4377043928160e49d3223ba86089624 /npc
parentc87308aaf7173fc86c14ee17265c5cd9b5c95561 (diff)
downloadserverdata-3244911fd8773f284c44d1fcfc2527e33accf142.tar.gz
serverdata-3244911fd8773f284c44d1fcfc2527e33accf142.tar.bz2
serverdata-3244911fd8773f284c44d1fcfc2527e33accf142.tar.xz
serverdata-3244911fd8773f284c44d1fcfc2527e33accf142.zip
*sigh* additional care so taxes work
Diffstat (limited to 'npc')
-rw-r--r--npc/012-1/shoppakep.txt3
-rw-r--r--npc/012-2/melina.txt1
-rw-r--r--npc/012-3/alan.txt1
-rw-r--r--npc/012-5/nicholas.txt1
-rw-r--r--npc/functions/politics.txt1
5 files changed, 7 insertions, 0 deletions
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 -