diff options
author | The Kandiman <kandiman@kandiman.(none)> | 2011-09-11 20:33:46 -0400 |
---|---|---|
committer | The Kandiman <kandiman@kandiman.(none)> | 2011-09-11 20:33:46 -0400 |
commit | ea8bb7b0cd86321ad0f85cc7a145671c527c10f9 (patch) | |
tree | 58128461e815f6aef84d7989e6fc5e0463b00235 /world/map/npc/028-1/Portal.txt | |
parent | 1cb0e75cbd356485ebe35bb3f5af10e1454e57a5 (diff) | |
download | serverdata-ea8bb7b0cd86321ad0f85cc7a145671c527c10f9.tar.gz serverdata-ea8bb7b0cd86321ad0f85cc7a145671c527c10f9.tar.bz2 serverdata-ea8bb7b0cd86321ad0f85cc7a145671c527c10f9.tar.xz serverdata-ea8bb7b0cd86321ad0f85cc7a145671c527c10f9.zip |
Tab conversion and script formatting project.
Final commit, maps 024-1 through 042-2 complete.
Diffstat (limited to 'world/map/npc/028-1/Portal.txt')
-rw-r--r-- | world/map/npc/028-1/Portal.txt | 55 |
1 files changed, 32 insertions, 23 deletions
diff --git a/world/map/npc/028-1/Portal.txt b/world/map/npc/028-1/Portal.txt index f286739a..7dbdff22 100644 --- a/world/map/npc/028-1/Portal.txt +++ b/world/map/npc/028-1/Portal.txt @@ -1,8 +1,8 @@ 028-1.gat,63,68,0|script|Portal#_M|127,{ -if (isin("028-1.gat",59,64,67,70)) goto L_Main; + if (isin("028-1.gat",59,64,67,70)) goto L_Main; mes "There is something there, but you aren't quite close enough to see exactly what it is."; -close; + close; L_Main: mes "[Portal]"; @@ -22,10 +22,11 @@ L_Main: mes "[Portal]"; mes ""; mes "What do you do?"; - menu "Jump through, without looking back.", L_No_Hesitation, + menu + "Jump through, without looking back.", L_No_Hesitation, "Take one more look around.", L_Look, "Leave it alone.", -; -close; + close; L_No_Hesitation: mes "There has been quite enough of this harsh place. You jump through without hesitation..."; @@ -35,58 +36,66 @@ L_No_Hesitation: mes "Dizzying colors whirl around you. You collapse."; savepoint "009-1", 52, 39; itemheal -hp -1, 0; -close; + close; L_Look: mes "[Portal]"; mes ""; mes "There was a lot here. You don't know where it came from, or quite how you ended up here."; - if ((Easter_2010_QuestState >> E10_STATE_ROSE_SHIFT) & E10_STATE_ROSE_MASK == E10_STATE_ROSE_ROSE_COMPLETE) goto L_Full_Helped; - if ((Easter_2010_QuestState >> E10_HELPED_DOCTOR_SHIFT) & E10_HELPED_DOCTOR_MASK) goto L_Somewhat_Helped; - if ((Easter_2010_QuestState >> E10_FLAG_KNOWS_DOCTOR_SHIFT) & E10_FLAG_KNOWS_DOCTOR) goto L_Met; - if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) goto L_Unknown_Defeat; + if ((Easter_2010_QuestState >> E10_STATE_ROSE_SHIFT) & E10_STATE_ROSE_MASK == E10_STATE_ROSE_ROSE_COMPLETE) + goto L_Full_Helped; + if ((Easter_2010_QuestState >> E10_HELPED_DOCTOR_SHIFT) & E10_HELPED_DOCTOR_MASK) + goto L_Somewhat_Helped; + if ((Easter_2010_QuestState >> E10_FLAG_KNOWS_DOCTOR_SHIFT) & E10_FLAG_KNOWS_DOCTOR) + goto L_Met; + if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) + goto L_Unknown_Defeat; mes "Come to think of it, there is still quite a lot you're not sure about. There was talk about something big, but you must have missed it... whatever it was, it seems gone now."; -goto L_Post_Look; + goto L_Post_Look; L_Full_Helped: - if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) goto L_Full_Helped_Defeat; + if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) + goto L_Full_Helped_Defeat; mes "Your assistance was helpful, you know that much. If only you could have faced the darkness that plagued this world more directly..."; -goto L_Post_Look; + goto L_Post_Look; L_Full_Helped_Defeat: mes "You know you have done everything that you could have. Your determination will have surely meant the world will be restored, once more."; -goto L_Post_Look; + goto L_Post_Look; L_Somewhat_Helped: - if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) goto L_Somewhat_Helped_Defeat; + if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) + goto L_Somewhat_Helped_Defeat; mes "You feel your help was not for nothing, though you can't quite shake the feeling there was still something more to do."; -goto L_Post_Look; + goto L_Post_Look; L_Somewhat_Helped_Defeat: mes "Your help was not for nothing. Your destruction of evil would surely help heal this world!"; -goto L_Post_Look; + goto L_Post_Look; L_Met: - if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) goto L_Met_Defeat; + if ((Easter_2010_QuestState >> E10_FLAG_RETURN_READY_SHIFT) & E10_FLAG_RETURN_READY_MASK) + goto L_Met_Defeat; mes "While you only met the Doctor briefly, he seemed to think there was something wrong. If only there was a way you could have helped, somehow."; -goto L_Post_Look; + goto L_Post_Look; L_Met_Defeat: mes "Striking down that evil, dark, figure would surely make a difference. While you only met the Doctor briefly, he seemed to think there was something wrong... with any luck, this defeat would be, at the very least, a significant setback."; -goto L_Post_Look; + goto L_Post_Look; L_Unknown_Defeat: mes "Striking down that evil, dark, figure would surely make a difference. You just wish you knew what that was about... if only there had been someone that could have explained it all."; -goto L_Post_Look; + goto L_Post_Look; L_Post_Look: next; mes "What do you do?"; - menu "Jump through", L_Jump, + menu + "Jump through", L_Jump, "Leave it alone", -; -close; + close; L_Jump: mes "[Portal]"; @@ -121,5 +130,5 @@ L_Jump: mes "[Home]"; mes ""; mes "You land softly. It is good to be home..."; -close; + close; } |