summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-29 22:08:57 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-14 20:18:11 +0300
commit939568eb4adab9b1353b09885f9ea510a45eccc9 (patch)
treea643109428e9244e82f5c156f13c292149abddf4 /npc/custom
parent42c129494a2b9f9899fb28fb5ca5792ee850ce07 (diff)
downloadhercules-939568eb4adab9b1353b09885f9ea510a45eccc9.tar.gz
hercules-939568eb4adab9b1353b09885f9ea510a45eccc9.tar.bz2
hercules-939568eb4adab9b1353b09885f9ea510a45eccc9.tar.xz
hercules-939568eb4adab9b1353b09885f9ea510a45eccc9.zip
Add barter shop demo script.
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/bartershop.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/npc/custom/bartershop.txt b/npc/custom/bartershop.txt
new file mode 100644
index 000000000..bcb61795e
--- /dev/null
+++ b/npc/custom/bartershop.txt
@@ -0,0 +1,21 @@
+//===== Hercules Script ======================================
+//= Barter shop demo
+//===== By: ==================================================
+//= 4144
+//===== Current Version: =====================================
+//= 1.0
+//===== Description: =========================================
+//= Barter shop demo in prontera.
+//============================================================
+
+prontera,159,284,4 trader Barter Shop#prt 4_M_KID1,{
+OnInit:
+ tradertype(NST_BARTER);
+ sellitem White_Herb, 100, Red_Potion, 2;
+ sellitem Blue_Herb, 200, Orange_Potion, 3;
+ sellitem Green_Herb, 100, Red_Potion, 4;
+ sellitem White_Herb, 100, Orange_Potion, 1;
+ sellitem Apple, -1, Orange_Potion, 1;
+ sellitem Praetorian_Shield, 100, Berserk_Potion, 10;
+ end;
+}