diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
commit | cf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch) | |
tree | f9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/029-1/tutorial.txt | |
parent | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff) | |
download | serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2 serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip |
Override
Diffstat (limited to 'npc/029-1/tutorial.txt')
-rwxr-xr-x | npc/029-1/tutorial.txt | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/npc/029-1/tutorial.txt b/npc/029-1/tutorial.txt new file mode 100755 index 00000000..870104d7 --- /dev/null +++ b/npc/029-1/tutorial.txt @@ -0,0 +1,52 @@ +- script #TutorialConfig NPC32767,{ + end; + +OnInit: + $@ScorpionFighter = 0; + $@ScorpionTimer = 0; + set $@ScorpDeath, 0; + $@SpokeToKaan = (1 << 31); + end; +} +029-2,21,26,0 script TutDebug NPC154,{ + mes "[TutDebug]"; + mes "Reset?"; + menu + "Reset Kaan/Hasan",L_Kaan, + "Yes.",L_Reset, + "No.",L_close; + +L_Kaan: + QL_BEGIN = 8; + STARTAREA = STARTAREA &~ $@SpokeToKaan; + mes "Reset!"; + goto L_close; + +L_Reset: + TUT_var = 0; + QL_BEGIN = 0; + STARTAREA = STARTAREA &~ $@SpokeToKaan; + mes "Reset!"; + goto L_close; + +L_close: + close; + +OnInit: + if(!debug) + disablenpc "TutDebug"; + end; +} +029-1,32,99,0 script #tutorialoutside NPC45,0,0,{ + if (QL_BEGIN >= 8) + goto L_Warp; + goto L_ResetTutorial; + +L_ResetTutorial: + QL_BEGIN = 8; + goto L_Warp; + +L_Warp: + warp "029-2", 114, 92; + end; +} |