summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoams <toams85@gmail.com>2018-10-30 20:12:25 +0100
committertoams <toams85@gmail.com>2018-10-30 20:12:25 +0100
commit4736b28a8462e652a632f57ee7496f791847d461 (patch)
treedff5298710e141cd99c7db3d42de50fd09c3c3ee
parent4cc5009ae938b742ce35f81ef091e6a242d23afd (diff)
downloadserverdata-4736b28a8462e652a632f57ee7496f791847d461.tar.gz
serverdata-4736b28a8462e652a632f57ee7496f791847d461.tar.bz2
serverdata-4736b28a8462e652a632f57ee7496f791847d461.tar.xz
serverdata-4736b28a8462e652a632f57ee7496f791847d461.zip
Rename bartender to barron and add a shop
-rw-r--r--npc/008-2-2/barron.txt32
-rw-r--r--npc/008-2-2/bartender.txt20
-rw-r--r--npc/008-2-2/shop.txt25
3 files changed, 57 insertions, 20 deletions
diff --git a/npc/008-2-2/barron.txt b/npc/008-2-2/barron.txt
new file mode 100644
index 00000000..48ad1120
--- /dev/null
+++ b/npc/008-2-2/barron.txt
@@ -0,0 +1,32 @@
+// Evol scripts.
+// Author:
+// Micksha
+// Description:
+// Barron, the bartender of the Rusty Pick.
+
+008-2-2,43,28,0 script Barron#008-2-2 NPC_GENERAL_STORE,{
+speech S_LAST_NEXT,
+ l("Hi!"),
+ l("I am the bartender here, can I provide you with some delicious beverage?"),
+ l("Or you can take seat and ask Melinda if you need something.");
+
+ switch (select(l("What beverages do you have?"),
+ l("I'll ask Melinda later")))
+ {
+ case 1:
+ closeclientdialog;
+ shop "#Invisible008-2-2";
+ close;
+ case 2:
+ speech S_FIRST_BLANK_LINE,
+ l("Make sure to tip her, it will brighten up her day.");
+ close;
+ }
+
+
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 2;
+ end;
+}
diff --git a/npc/008-2-2/bartender.txt b/npc/008-2-2/bartender.txt
deleted file mode 100644
index eb3b9393..00000000
--- a/npc/008-2-2/bartender.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-// Evol scripts.
-// Author:
-// Micksha
-// Description:
-// Bartender of the Rusty Pick.
-// THIS IS A PLACEHOLDER!
-
-008-2-2,43,28,0 script Bartender#008-1 NPC_GENERAL_STORE,{
- speech
- l("Hi!"),
- l("I am the Bartender here, the name doesnt matter at all.");
- lg("If you need something, please ask this beautiful girl on my right. (She needs the tip).");
-
- close;
-
-OnInit:
- .sex = G_MALE;
- .distance = 2;
- end;
-}
diff --git a/npc/008-2-2/shop.txt b/npc/008-2-2/shop.txt
new file mode 100644
index 00000000..823e62c8
--- /dev/null
+++ b/npc/008-2-2/shop.txt
@@ -0,0 +1,25 @@
+// Evol scripts.
+// Authors:
+// 4144
+// Reid
+// Description:
+// Inn hidden shop.
+
+008-2-2,40,30,0 trader #Invisible008-2-2 NPC_HIDDEN,{
+
+OnInit:
+ tradertype(NST_MARKET);
+
+ sellitem Beer, -1, 50;
+
+ .sex = G_OTHER;
+ .distance = 10;
+ end;
+
+OnClock0000:
+ restoreshopitem Beer, 20;
+OnClock0800:
+ restoreshopitem Beer, 20;
+OnClock1600:
+ restoreshopitem Beer, 20;
+}