From dfe3045aa45097d7626edb5d93a993420ce4a7ad Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 9 Apr 2008 23:22:48 +0000 Subject: Added savepoint scripts. --- changelog.txt | 4 +- conf/map_athena.conf | 5 +- data/resnametable.txt | 4 +- npc/savepoints/savepoints.txt | 132 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 142 insertions(+), 3 deletions(-) create mode 100644 npc/savepoints/savepoints.txt diff --git a/changelog.txt b/changelog.txt index 09a88153..a3462478 100644 --- a/changelog.txt +++ b/changelog.txt @@ -99,4 +99,6 @@ 03.04.08: * Crush: Added golden platemail. -04.04.08: * Crush: Added developers cap and crown. \ No newline at end of file +04.04.08: * Crush: Added developers cap and crown. + +04.04.10: * Crush: Added savepoint scripts. \ No newline at end of file diff --git a/conf/map_athena.conf b/conf/map_athena.conf index b17738aa..77d5a1f6 100644 --- a/conf/map_athena.conf +++ b/conf/map_athena.conf @@ -197,4 +197,7 @@ npc: npc/dimonds-cove/workers.txt // Easter 2008 //npc: npc/easter2008/monsters.txt -//npc: npc/easter2008/npc.txt \ No newline at end of file +//npc: npc/easter2008/npc.txt + +//Savepoints +//npc: npc/savepoints/savepoints.txt \ No newline at end of file diff --git a/data/resnametable.txt b/data/resnametable.txt index 3019fba6..4aa24b2e 100644 --- a/data/resnametable.txt +++ b/data/resnametable.txt @@ -75,8 +75,10 @@ new_18-1.gat#new_18-1.wlk# new_19-1.gat#new_19-1.wlk# new_20-1.gat#new_20-1.wlk# new_21-1.gat#new_21-1.wlk# -new_22-1.gat#new_22-1.wlk# +new_22-1.gat#new_22-1.wlk#2 new_23-1.gat#new_23-1.wlk# +new_24-1.gat#new_24-1.wlk# +new_25-1.gat#new_25-1.wlk# new_1-2.gat#new_zone02.gat# new_2-2.gat#new_zone02.gat# new_3-2.gat#new_zone02.gat# diff --git a/npc/savepoints/savepoints.txt b/npc/savepoints/savepoints.txt new file mode 100644 index 00000000..2e6d00fe --- /dev/null +++ b/npc/savepoints/savepoints.txt @@ -0,0 +1,132 @@ +new_19-1.gat,51,39,0 script Milly 114, { + mes "[Milly]"; + mes "This strange stone appeared here over night."; + mes "Noono knows how it got here."; + mes "It scares me. Better stay away from it."; + close; +} + +new_19-1.gat,53,40,0 script Soul Menhir 144, { + mes "[Soul Menhir]"; + mes "(A mystical aura surrounds this stone. You feel mysteriously attracted to it. Something tells you to touch it. What do you do?)"; + next; + + menu "Touch it",-,"Leave it alone",close; + + if (Menhir_Activated == 1) goto L_Shortversion; + + mes "[Soul Menhir]"; + mes "(You touch the mysteriouse stone. Somehow it feels warm and cold at the same time.)"; + next; + + + mes "[Soul Menhir]"; + mes "(Suddenly a strange sensation flows through you. It feels like your soul leaves your body and becomes one with the stone.)"; + next; + + mes "[Soul Menhir]"; + mes "(As suddenly as the feeling started it stops. The strange attraction is away from one moment to the next and the menhir feels like just an ordinary stone.)"; + next; + + set Menhir_Activated, 1; + goto L_Save; + + L_Shortversion: + mes "[Soul Menhir]"; + mes "(A strange sensation flows through you. It feels like your soul leaves your body and becomes one with the stone. as suddenly as the feeling started it stops.)"; + next; + + goto L_Save; + + L_Save: + savepoint "new_19-1.gat", 53, 41; +} + + +new_3-1.gat,38,69,0 script Soul Menhir 144, { + mes "[Soul Menhir]"; + mes "(A mystical aura surrounds this stone. You feel mysteriously attracted to it. Something tells you to touch it. What do you do?)"; + next; + + menu "Touch it",-,"Leave it alone",close; + + if (Menhir_Activated == 1) goto L_Shortversion; + + mes "[Soul Menhir]"; + mes "(You touch the mysteriouse stone. Somehow it feels warm and cold at the same time.)"; + next; + + + mes "[Soul Menhir]"; + mes "(Suddenly a strange sensation flows through you. It feels like your soul leaves your body and becomes one with the stone.)"; + next; + + mes "[Soul Menhir]"; + mes "(As suddenly as the feeling started it stops. The strange attraction is away from one moment to the next and the menhir feels like just an ordinary stone.)"; + next; + + set Menhir_Activated, 1; + goto L_Save; + + L_Shortversion: + mes "[Soul Menhir]"; + mes "(A strange sensation flows through you. It feels like your soul leaves your body and becomes one with the stone. as suddenly as the feeling started it stops.)"; + next; + + goto L_Save; + + L_Save: + savepoint "new_3-1.gat", 38, 70; +} + + +new_11-1.gat,66,90,0 script Geologist 103, { + mes "[Geologist]"; + mes "This... stone..."; + mes "I have never seen a mineral like this"; + mes "before."; + mes "And some strange... aura... seems to"; + mes "emit from it."; + next; + mes "Where did it come from?"; + mes "How did it got here?"; + mes "What's its purpose?"; + mes "I will solve its riddle for sure."; + close; +} + +new_11-1.gat,64,89,0 script Soul Menhir 144, { + mes "[Soul Menhir]"; + mes "(A mystical aura surrounds this stone. You feel mysteriously attracted to it. Something tells you to touch it. What do you do?)"; + next; + + menu "Touch it",-,"Leave it alone",close; + + if (Menhir_Activated == 1) goto L_Shortversion; + + mes "[Soul Menhir]"; + mes "(You touch the mysteriouse stone. Somehow it feels warm and cold at the same time.)"; + next; + + + mes "[Soul Menhir]"; + mes "(Suddenly a strange sensation flows through you. It feels like your soul leaves your body and becomes one with the stone.)"; + next; + + mes "[Soul Menhir]"; + mes "(As suddenly as the feeling started it stops. The strange attraction is away from one moment to the next and the menhir feels like just an ordinary stone.)"; + next; + + set Menhir_Activated, 1; + goto L_Save; + + L_Shortversion: + mes "[Soul Menhir]"; + mes "(A strange sensation flows through you. It feels like your soul leaves your body and becomes one with the stone. as suddenly as the feeling started it stops.)"; + next; + + goto L_Save; + + L_Save: + savepoint "new_11-1.gat", 64, 90; +} \ No newline at end of file -- cgit v1.2.3-70-g09d2