From 7eab67074fdcdcb8e23c3bdd46e1507a0ac0086a Mon Sep 17 00:00:00 2001 From: jesusalva Date: Mon, 26 Feb 2018 22:41:18 -0300 Subject: Include prision (and a Soul Menhir to leave Aeros) --- conf/map/maps.conf | 1 + db/map_index.txt | 5 +++-- maps/re/sec_pri.mcache | Bin 0 -> 68 bytes npc/001-1/_import.txt | 1 + npc/001-1/portal.txt | 15 +++++++++++++++ npc/_import.txt | 1 + npc/sec_pri/_import.txt | 2 ++ 7 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 maps/re/sec_pri.mcache create mode 100644 npc/001-1/portal.txt create mode 100644 npc/sec_pri/_import.txt diff --git a/conf/map/maps.conf b/conf/map/maps.conf index c4a98ae81..3a60f4270 100644 --- a/conf/map/maps.conf +++ b/conf/map/maps.conf @@ -49,6 +49,7 @@ map_list: ( "008-2-7", "008-2-8", "008-2-9", + "sec_pri", "test", "testbg", ) diff --git a/db/map_index.txt b/db/map_index.txt index cda6249bc..b42856fa8 100644 --- a/db/map_index.txt +++ b/db/map_index.txt @@ -46,5 +46,6 @@ 008-2-7 46 008-2-8 47 008-2-9 48 -test 49 -testbg 50 +sec_pri 49 +test 50 +testbg 51 diff --git a/maps/re/sec_pri.mcache b/maps/re/sec_pri.mcache new file mode 100644 index 000000000..dbbb57e1d Binary files /dev/null and b/maps/re/sec_pri.mcache differ diff --git a/npc/001-1/_import.txt b/npc/001-1/_import.txt index 1c524da11..aba3f649d 100644 --- a/npc/001-1/_import.txt +++ b/npc/001-1/_import.txt @@ -1,3 +1,4 @@ // Map 001-1: Floating Island of Aeros // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/001-1/mapflags.txt", +"npc/001-1/portal.txt", diff --git a/npc/001-1/portal.txt b/npc/001-1/portal.txt new file mode 100644 index 000000000..a8c459963 --- /dev/null +++ b/npc/001-1/portal.txt @@ -0,0 +1,15 @@ +001-1,301,43,0 script Soul Menhir NPC_SOUL_CLEAN,0,0,{ + mesn; + mes l("This Soul Menhir can send your soul and body back to the ground."); + mes l("Would you like to leave this place?"); + menu + "Yes.", L_Leave, + "No.", L_Close; + +L_Leave: + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); + goto L_Close; + +L_Close: + close; +} diff --git a/npc/_import.txt b/npc/_import.txt index cca29abf5..ed26e28cc 100644 --- a/npc/_import.txt +++ b/npc/_import.txt @@ -48,5 +48,6 @@ @include "npc/008-2-7/_import.txt" @include "npc/008-2-8/_import.txt" @include "npc/008-2-9/_import.txt" +@include "npc/sec_pri/_import.txt" @include "npc/test/_import.txt" @include "npc/testbg/_import.txt" diff --git a/npc/sec_pri/_import.txt b/npc/sec_pri/_import.txt new file mode 100644 index 000000000..84983cda7 --- /dev/null +++ b/npc/sec_pri/_import.txt @@ -0,0 +1,2 @@ +// Map sec_pri: Jesusalva's Jail +// This file is generated automatically. All manually added changes will be removed when running the Converter. -- cgit v1.2.3-60-g2f50