From 97566cf6992649bc9ac9e0d3020cdd6026dad7de Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Tue, 3 Jan 2012 21:00:26 +0100 Subject: Added knife --- npc/000-2-1/_import.txt | 1 + npc/000-2-1/knife.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 npc/000-2-1/knife.txt diff --git a/npc/000-2-1/_import.txt b/npc/000-2-1/_import.txt index 1d51980e..09636b78 100644 --- a/npc/000-2-1/_import.txt +++ b/npc/000-2-1/_import.txt @@ -6,3 +6,4 @@ npc: npc/000-2-1/ronan.txt npc: npc/000-2-1/peter.txt npc: npc/000-2-1/devis.txt npc: npc/000-2-1/arpan.txt +npc: npc/000-2-1/knife.txt diff --git a/npc/000-2-1/knife.txt b/npc/000-2-1/knife.txt new file mode 100644 index 00000000..152ae2a6 --- /dev/null +++ b/npc/000-2-1/knife.txt @@ -0,0 +1,26 @@ +// Evol scripts. +// Authors: +// Ablu +// Description: +// Knife on the table +// Variable: +// ShipQuests_Knife +// Values: +// 0 default -> not taken +// 1 knife taken + +000-2-1.gat,39,25,0,2 script #name 100,{ + set @q, geta(ShipQuests, ShipQuests_Knife); + if (@q) close; + mesn l("Knife on the table"); + mes l("Take the knife?"); + menu + l("Yes."), l_Give, + l("No."), -; + close; + +l_Give: + seta ShipQuests, ShipQuests_Knife, 1; + getitem 3500, 1; + close; +} -- cgit v1.2.3-70-g09d2