diff options
author | The Kandiman <kandiman@kandiman.(none)> | 2011-09-10 20:15:17 -0400 |
---|---|---|
committer | The Kandiman <kandiman@kandiman.(none)> | 2011-09-11 16:48:18 -0400 |
commit | 1cb0e75cbd356485ebe35bb3f5af10e1454e57a5 (patch) | |
tree | 594bbf4a1bb428ef527f6ce6ec79e4eb3e478607 /world/map/npc/functions/soul_menhir.txt | |
parent | a9868851cfe19c503cc72b0289889c564b41dd20 (diff) | |
download | serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.gz serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.bz2 serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.xz serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.zip |
Tab conversion and formatting project.
npc/functions and npc/items complete.
Diffstat (limited to 'world/map/npc/functions/soul_menhir.txt')
-rw-r--r-- | world/map/npc/functions/soul_menhir.txt | 62 |
1 files changed, 32 insertions, 30 deletions
diff --git a/world/map/npc/functions/soul_menhir.txt b/world/map/npc/functions/soul_menhir.txt index a98681c6..607a737e 100644 --- a/world/map/npc/functions/soul_menhir.txt +++ b/world/map/npc/functions/soul_menhir.txt @@ -1,47 +1,49 @@ -function script SoulMenhir { - 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; +function|script|SoulMenhir|{ + 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", L_Return; + menu + "Touch it", -, + "Leave it alone", L_Return; - if (Menhir_Activated == 1) goto L_Shortversion; + 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 "(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 "(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; + 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; + 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; + 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; L_Save: - if (@x == 0 && @y == 0) goto L_FindPoint; + if (@x == 0 && @y == 0) + goto L_FindPoint; L_Do_Save: - savepoint @map$, @x, @y; - goto L_Return; + savepoint @map$, @x, @y; + goto L_Return; L_FindPoint: - set @n, rand(getarraysize(@Xs)); - set @x, @Xs[@n]; - set @y, @Ys[@n]; - goto L_Do_Save; + set @n, rand(getarraysize(@Xs)); + set @x, @Xs[@n]; + set @y, @Ys[@n]; + goto L_Do_Save; L_Return: - return; + return; } |