diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-2-1/_import.txt | 3 | ||||
-rw-r--r-- | npc/000-2-1/chest.txt | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/npc/000-2-1/_import.txt b/npc/000-2-1/_import.txt index a8bdc89d..c06250b8 100644 --- a/npc/000-2-1/_import.txt +++ b/npc/000-2-1/_import.txt @@ -9,4 +9,5 @@ npc: npc/000-2-1/arpan.txt npc: npc/000-2-1/knife.txt npc: npc/000-2-1/dan.txt npc: npc/000-2-1/savepoint.txt -npc: npc/000-2-1/hammock.txt
\ No newline at end of file +npc: npc/000-2-1/hammock.txt +npc: npc/000-2-1/chest.txt
\ No newline at end of file diff --git a/npc/000-2-1/chest.txt b/npc/000-2-1/chest.txt new file mode 100644 index 00000000..cac4c1d4 --- /dev/null +++ b/npc/000-2-1/chest.txt @@ -0,0 +1,30 @@ +// 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; + +} |