summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoams <toams85@gmail.com>2018-10-30 20:12:25 +0100
committerMicksha <Micksha@users.noreply.github.com>2018-11-05 21:34:37 +0100
commitd8ce7cd1205c4c69682d7223ed77a28f460998ec (patch)
tree921a75352414dd52901118a1415c73f38a7b6106
parentad2f8c62f204809dd4839c546580134bb35f48ab (diff)
downloadserverdata-d8ce7cd1205c4c69682d7223ed77a28f460998ec.tar.gz
serverdata-d8ce7cd1205c4c69682d7223ed77a28f460998ec.tar.bz2
serverdata-d8ce7cd1205c4c69682d7223ed77a28f460998ec.tar.xz
serverdata-d8ce7cd1205c4c69682d7223ed77a28f460998ec.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;
+}