summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/000-1/_import.txt3
-rw-r--r--npc/000-1/chest.txt27
-rw-r--r--npc/000-2-1/arpan.txt1
-rw-r--r--npc/000-2-1/chest.txt30
4 files changed, 29 insertions, 32 deletions
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;
-
-}