diff options
-rw-r--r-- | world/map/npc/functions/storage_chests.txt | 18 | ||||
-rw-r--r-- | world/map/npc/scripts.conf | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/world/map/npc/functions/storage_chests.txt b/world/map/npc/functions/storage_chests.txt new file mode 100644 index 00000000..1a603512 --- /dev/null +++ b/world/map/npc/functions/storage_chests.txt @@ -0,0 +1,18 @@ +// Storage Chests by Hello=). Idea by Thorbjorn. + +-|script|StorageChests|32767 +{ + openstorage; + end; + +OnInit: +// void intentional: even if puppet() fails, chests are just convenience. +// Map X Y Name 111 = Chest + void (puppet("009-2", 21, 99, "Storage#hurns", 111)); + void (puppet("020-2", 124, 63, "Storage#nivalis", 111)); + void (puppet("001-2", 61, 17, "Storage#tulimshar", 111)); + void (puppet("029-2", 29, 116, "Storage#candor", 111)); + void (puppet("026-2", 26, 118, "Storage#GyInn", 111)); + end; +} + diff --git a/world/map/npc/scripts.conf b/world/map/npc/scripts.conf index 66606bd8..a0aa5182 100644 --- a/world/map/npc/scripts.conf +++ b/world/map/npc/scripts.conf @@ -39,6 +39,7 @@ npc: npc/functions/global_event_handler.txt npc: npc/functions/teleport_manager.txt npc: npc/functions/treasure_hunt.txt npc: npc/functions/spawns_on_mobkill.txt +npc: npc/functions/storage_chests.txt // Item Functions npc: npc/items/purification_potion.txt |