summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/020-5/bracco.txt15
-rw-r--r--npc/024-15/lilanna.txt12
-rw-r--r--npc/024-9/barkeeper.txt12
3 files changed, 38 insertions, 1 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt
index 38690d036..d74e4f68e 100644
--- a/npc/020-5/bracco.txt
+++ b/npc/020-5/bracco.txt
@@ -110,8 +110,10 @@ L_Start:
goto L_Meltdown;
closedialog;
- if (@menu == 1)
+ if (@menu == 1) {
+ npcshopattach(.name$);
shop .name$;
+ }
goodbye;
close;
// Note: the prices are absurd atm, but hey hey, every single one of them are cap items currently
@@ -290,4 +292,15 @@ OnMon2000:
restoreshopitem IronAmmoBox,rand(3,5);
end;
+// Pay your taxes!
+OnBuyItem:
+ debugmes("Purchase confirmed");
+ PurchaseTaxes();
+ end;
+
+OnSellItem:
+ debugmes("Sale confirmed");
+ SaleTaxes();
+ end;
+
}
diff --git a/npc/024-15/lilanna.txt b/npc/024-15/lilanna.txt
index 5c349a9b8..ce4698c68 100644
--- a/npc/024-15/lilanna.txt
+++ b/npc/024-15/lilanna.txt
@@ -61,6 +61,7 @@ L_Loop:
next;
break;
case 4:
+ npcshopattach(.name$);
openshop();
closeclientdialog;
end;
@@ -175,5 +176,16 @@ OnInit:
OnClock2358:
restoreshopitem BrokenWarpCrystal, 50000, 1;
end;
+
+// Pay your taxes!
+OnBuyItem:
+ debugmes("Purchase confirmed");
+ PurchaseTaxes();
+ end;
+
+OnSellItem:
+ debugmes("Sale confirmed");
+ SaleTaxes();
+ end;
}
diff --git a/npc/024-9/barkeeper.txt b/npc/024-9/barkeeper.txt
index 2d9f09122..3bfe518a9 100644
--- a/npc/024-9/barkeeper.txt
+++ b/npc/024-9/barkeeper.txt
@@ -7,6 +7,7 @@
// Temporary Sprite
024-9,39,31,0 script Bar Jobs NPC_DWARF_TRADER,{
hello;
+ npcshopattach(.name$);
shop .name$;
close;
@@ -29,5 +30,16 @@ OnClock2358:
restoreshopitem ClothoLiquor, (($ARKIM_ST-4000)/500)+1;
end;
+// Pay your taxes!
+OnBuyItem:
+ debugmes("Purchase confirmed");
+ PurchaseTaxes();
+ end;
+
+OnSellItem:
+ debugmes("Sale confirmed");
+ SaleTaxes();
+ end;
+
}