From f96a92f3f1f05da65855a2d85d2b405752aa909f Mon Sep 17 00:00:00 2001
From: Reid <reidyaro@gmail.com>
Date: Fri, 29 Jun 2012 12:55:18 +0200
Subject: Correct chest npc location and script.

---
 npc/000-1/_import.txt |  3 ++-
 npc/000-1/chest.txt   | 27 +++++++++++++++++++++++++++
 npc/000-2-1/arpan.txt |  1 -
 npc/000-2-1/chest.txt | 30 ------------------------------
 4 files changed, 29 insertions(+), 32 deletions(-)
 create mode 100644 npc/000-1/chest.txt
 delete mode 100644 npc/000-2-1/chest.txt

(limited to 'npc')

diff --git a/npc/000-1/_import.txt b/npc/000-1/_import.txt
index d8b30a37..40598232 100644
--- a/npc/000-1/_import.txt
+++ b/npc/000-1/_import.txt
@@ -8,4 +8,5 @@ npc: npc/000-1/muller.txt
 npc: npc/000-1/astapolos.txt
 npc: npc/000-1/max.txt
 npc: npc/000-1/sapartan.txt
-npc: npc/000-1/tarlan.txt
\ No newline at end of file
+npc: npc/000-1/tarlan.txt
+npc: npc/000-1/chest.txt
\ No newline at end of file
diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt
new file mode 100644
index 00000000..ea886b97
--- /dev/null
+++ b/npc/000-1/chest.txt
@@ -0,0 +1,27 @@
+// Evol scripts.
+// Authors:
+//  Hal9000 (Francesco Miglietta), Reid
+// Description:
+//    An opening treasure chest.
+// Variable:
+//  ShipQuests_TreasureChest
+// Values:
+//  0: Not opened.
+//  1: Opened.
+
+000-1.gat,58,31,0	script	Chest	316;2,{
+
+    set @q, geta(ShipQuests, ShipQuests_TreasureChest);
+    if (@q == 1) close;
+    
+
+L_FirstEncounter:
+    seta ShipQuests, ShipQuests_TreasureChest, 1;
+
+    mesn;
+    mesq l("Hey it works!");
+    close;
+
+
+
+}
diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt
index ce672b80..61925763 100644
--- a/npc/000-2-1/arpan.txt
+++ b/npc/000-2-1/arpan.txt
@@ -3,7 +3,6 @@
 //    Ablu
 // Description:
 //    Magic Arpan which tells new player how they came here.
-//    A box with clothes for every new player.
 // Variable:
 //    ShipQuests_Arpan
 // Values:
diff --git a/npc/000-2-1/chest.txt b/npc/000-2-1/chest.txt
deleted file mode 100644
index cac4c1d4..00000000
--- a/npc/000-2-1/chest.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-// Evol scripts.
-// Authors:
-//    Hal9000 (Francesco Miglietta)
-//  
-// Description:
-//    An opening chest.
-//
-// 2 bits array:
-//
-// Variable:
-//
-// Values:
-//
-//
-
-
-000-2-1.gat,57,31  script  Chest  320;2,{
-
-    set @q, geta(ChestStatus_1);
-    if (@q == 1) close;
-    
-
-L_FirstEncounter:
-    seta ChestStatus_1, 1;
-
-    mesn "Chest";
-    mesq ("Hey it works!");
-    close;
-
-}
-- 
cgit v1.2.3-70-g09d2