summaryrefslogtreecommitdiff
path: root/npc/002-1/knife.txt
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-02-06 21:09:35 +0100
committerSaulc <lucashelaine14@gmail.com>2018-02-06 21:09:35 +0100
commitf127d9cc42a1a1431dff8ca39d7d3f515216d1a2 (patch)
tree94b8a3f4716d99259c5f2e37bac741b1762b81fe /npc/002-1/knife.txt
parentb3bf92fd561ef1a9514841817c94b1060dc7063b (diff)
downloadserverdata-f127d9cc42a1a1431dff8ca39d7d3f515216d1a2.tar.gz
serverdata-f127d9cc42a1a1431dff8ca39d7d3f515216d1a2.tar.bz2
serverdata-f127d9cc42a1a1431dff8ca39d7d3f515216d1a2.tar.xz
serverdata-f127d9cc42a1a1431dff8ca39d7d3f515216d1a2.zip
add npc's on 002-1
Diffstat (limited to 'npc/002-1/knife.txt')
-rw-r--r--npc/002-1/knife.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/npc/002-1/knife.txt b/npc/002-1/knife.txt
new file mode 100644
index 000000000..1280d0bed
--- /dev/null
+++ b/npc/002-1/knife.txt
@@ -0,0 +1,48 @@
+// Evol scripts.
+// Authors:
+// Ablu
+// Saulc
+// Qwerty Dragon
+// Description:
+// Knife on the table.
+// Variable:
+// ShipQuests_Knife
+// Values:
+// 0 Default, not taken.
+// 1 Knife taken.
+
+002-1,50,24,0 script #knife NPC_KNIVES,{
+ .@q = getq(ShipQuests_Knife);
+ if (.@q) close;
+
+ mesn "Narrator";
+ mes col(l("There are some old rusty knives on the table. Would you like to take one?"), 9);
+ next;
+
+ menu
+ l("Yeah !."), L_Give,
+ l("Na."), -;
+
+ closedialog;
+ close;
+
+L_Give:
+ mes "";
+ inventoryplace RustyKnife, 1;
+
+ setq ShipQuests_Knife, 1;
+ getitem RustyKnife, 1;
+
+ mesn "Narrator";
+ mes col(l("To open your inventory, use the F3 key or use your mouse to select it in the above menu in your client."), 9);
+ next;
+ mes col(l("When your inventory is open, you can equip an item by selecting it and clicking 'Equip'. You can do the same to unequip an item by clicking on 'Unequip'."), 9);
+ next;
+ mes col(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9);
+
+ close;
+
+OnInit:
+ .distance = 2;
+ end;
+}