diff options
-rw-r--r-- | npc/000-2-1/_import.txt | 1 | ||||
-rw-r--r-- | npc/000-2-1/knife.txt | 26 |
2 files changed, 27 insertions, 0 deletions
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; +} |