diff options
author | Haru <haru@dotalux.com> | 2014-10-26 05:00:08 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:51 +0100 |
commit | 54604096ac53398778a5481613061216fe47e5bc (patch) | |
tree | 4d9982857e3bd9ee7eab839cc743cb6f3e9dc7f3 /npc/quests/seals/sleipnir_seal.txt | |
parent | 46fbbaabefa29df1378ae68b7f063dbc64846042 (diff) | |
download | hercules-54604096ac53398778a5481613061216fe47e5bc.tar.gz hercules-54604096ac53398778a5481613061216fe47e5bc.tar.bz2 hercules-54604096ac53398778a5481613061216fe47e5bc.tar.xz hercules-54604096ac53398778a5481613061216fe47e5bc.zip |
Replaced 'set' with direct assignment where applicable (quests subfolders)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/seals/sleipnir_seal.txt')
-rw-r--r-- | npc/quests/seals/sleipnir_seal.txt | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/npc/quests/seals/sleipnir_seal.txt b/npc/quests/seals/sleipnir_seal.txt index 85005a4fd..54587ae94 100644 --- a/npc/quests/seals/sleipnir_seal.txt +++ b/npc/quests/seals/sleipnir_seal.txt @@ -53,7 +53,7 @@ yuno,164,200,4 script Noyee#G 4W_F_01,{ mes "Anyway, no one is really sure if it is or not. Recently, it's been the focus of many rumors. I have no idea if any of them are true though."; close2; if (god_sl_1 == 0) { - set god_sl_1,1; + god_sl_1 = 1; } } } @@ -134,7 +134,7 @@ que_god01,98,98,4 script Manager#G 1_F_04,{ mes "^3355FFYou've received"; mes "a temporary"; mes "admission pass.^000000"; - set god_sl_1,2; + god_sl_1 = 2; close2; break; } @@ -196,7 +196,7 @@ que_god01,98,98,4 script Manager#G 1_F_04,{ mes "Ah, there it is."; mes "It might not be much, but I hope you accept it as a token of my gratitude. Good luck on your travels!"; if ($God1 < $@god_check2) - set $God1,$God1+1; + $God1 += 1; if ($God1 == $@god_check1) announce "The 1st seal of [Sleipnir] has appeared.",bc_all; else if ($God1 == $@god_check2) { @@ -205,9 +205,9 @@ que_god01,98,98,4 script Manager#G 1_F_04,{ else announce "The 1st seal of [Sleipnir] has been released.",bc_all; } - set god_sl_1,51; - set .@god_treasure,rand(1,900); - set .@god_treasure1,rand(1,1000); + god_sl_1 = 51; + .@god_treasure = rand(1,900); + .@god_treasure1 = rand(1,1000); if (checkre(0)) { if (.@god_treasure < 101) { if (.@god_treasure1 < 210) getitem 2102,1; //Guard_ @@ -508,7 +508,7 @@ que_god01,98,98,4 script Manager#G 1_F_04,{ que_god01,66,125,6 script Researcher#G1 4_M_ORIENT02,{ if ($God1 < $@god_check2) { if (god_sl_1 == 2) { - set god_sl_1,11; + god_sl_1 = 11; } if ((god_sl_1 == 11) || (god_sl_1 == 22) || (god_sl_1 == 33) || (god_sl_1 == 44)) { if (god_sl_2 == 0) { @@ -534,7 +534,7 @@ que_god01,66,125,6 script Researcher#G1 4_M_ORIENT02,{ next; mes "[Hallandaute]"; mes "Since he's working on a project similar to mine, he might be in a position to help me. Metto lives in Juno, so you can easily find me."; - set god_sl_2,1; + god_sl_2 = 1; close; } else if (god_sl_2 == 1) { @@ -571,7 +571,7 @@ que_god01,66,125,6 script Researcher#G1 4_M_ORIENT02,{ mes "Huh. That's..."; mes "That's too bad. I don't know what to say. We used to go watch movies and celebrate our birthdays together. P-please give me a moment..."; emotion e_dots; - set god_sl_2,2; + god_sl_2 = 2; close; } } @@ -605,18 +605,18 @@ que_god01,66,125,6 script Researcher#G1 4_M_ORIENT02,{ next; mes "[Hallandaute]"; mes "Anyway, I thank you for helping me out earlier. That's basically all I needed, so please talk to the other researchers and see if they need any assistance."; - set god_sl_2,0; + god_sl_2 = 0; if (god_sl_1 == 11) { - set god_sl_1,12; + god_sl_1 = 12; } if (god_sl_1 == 22) { - set god_sl_1,23; + god_sl_1 = 23; } if (god_sl_1 == 33) { - set god_sl_1,34; + god_sl_1 = 34; } if (god_sl_1 == 44) { - set god_sl_1,50; + god_sl_1 = 50; } close; } @@ -674,7 +674,7 @@ que_god01,66,125,6 script Researcher#G1 4_M_ORIENT02,{ que_god01,11,136,6 script Researcher#G2 2_M_SAGE_B,{ if ($God1 < $@god_check2) { if (god_sl_1 == 2) { - set god_sl_1,21; + god_sl_1 = 21; } if ((god_sl_1 == 21) || (god_sl_1 == 32) || (god_sl_1 == 43) || (god_sl_1 == 14)) { if (god_sl_2 == 0) { @@ -724,7 +724,7 @@ que_god01,11,136,6 script Researcher#G2 2_M_SAGE_B,{ next; mes "[Aadin]"; mes "Have a safe trip~"; - set god_sl_2,1; + god_sl_2 = 1; close; } else if (god_sl_2 == 1) { @@ -776,7 +776,7 @@ que_god01,11,136,6 script Researcher#G2 2_M_SAGE_B,{ next; mes "[Aadin]"; mes "Are you sure you've listened to the tale in its entirety? I'm sorry to ask this of you, but would you go to Payon and listen to this story once more?"; - set god_sl_2,3; + god_sl_2 = 3; close; } else if (god_sl_2 == 3) { @@ -855,18 +855,18 @@ que_god01,11,136,6 script Researcher#G2 2_M_SAGE_B,{ next; mes "[Aadin]"; mes "After all, finding answers tends to cause new questions to arise. Nonetheless, I thank you for your help."; - set god_sl_2,0; + god_sl_2 = 0; if (god_sl_1 == 21) { - set god_sl_1,22; + god_sl_1 = 22; } if (god_sl_1 == 32) { - set god_sl_1,33; + god_sl_1 = 33; } if (god_sl_1 == 43) { - set god_sl_1,44; + god_sl_1 = 44; } if (god_sl_1 == 14) { - set god_sl_1,50; + god_sl_1 = 50; } close; } @@ -893,7 +893,7 @@ que_god01,11,136,6 script Researcher#G2 2_M_SAGE_B,{ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{ if ($God1 < $@god_check2) { if (god_sl_1 == 2) { - set god_sl_1,31; + god_sl_1 = 31; } if ((god_sl_1 == 31) || (god_sl_1 == 42) || (god_sl_1 == 13) || (god_sl_1 == 24)) { if (god_sl_2 == 0) { @@ -933,7 +933,7 @@ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{ next; mes "[Kurdt]"; mes "Anyway, I hope you don't run into too much trouble finding what I need for this experiment. Good luck~"; - set god_sl_2,1; + god_sl_2 = 1; close; } else if (god_sl_2 == 1) { @@ -949,64 +949,64 @@ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{ mes "You adventurers carry"; mes "a lot of things, don't you?"; if (countitem(918) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(950) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(951) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(956) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(959) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(960) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(961) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(962) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(963) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(964) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(965) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(966) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(7013) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1054) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1053) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1052) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1051) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1050) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1024) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } if (countitem(1023) > 8) { - set .@count_sl_1,.@count_sl_1 + 1; + ++.@count_sl_1; } next; if (.@count_sl_1 > 14) { @@ -1088,18 +1088,18 @@ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{ if (countitem(7013) > 8) { delitem 7013,9; //Coral_Reef } - set god_sl_2,0; + god_sl_2 = 0; if (god_sl_1 ==31) { - set god_sl_1,32; + god_sl_1 = 32; } if (god_sl_1 == 42) { - set god_sl_1,43; + god_sl_1 = 43; } if (god_sl_1 == 13) { - set god_sl_1,14; + god_sl_1 = 14; } if (god_sl_1 == 24) { - set god_sl_1,50; + god_sl_1 = 50; } close; } @@ -1159,7 +1159,7 @@ que_god01,55,47,3 script Researcher#G3 1_F_SIGNZISK,{ que_god01,14,47,3 script Researcher#G4 4_M_06,{ if ($God1 < $@god_check2) { if (god_sl_1 == 2) { - set god_sl_1,41; + god_sl_1 = 41; } if ((god_sl_1 == 41) || (god_sl_1 == 12) || (god_sl_1 == 23) || (god_sl_1 == 34)) { if (god_sl_2 == 0) { @@ -1177,7 +1177,7 @@ que_god01,14,47,3 script Researcher#G4 4_M_06,{ next; mes "[Pavel]"; mes "Anyway, go look at --^333333*Aaachooo!*^000000 that ^333333*Achoooo!*^000000 thing... ^333333*Sniff sniff*^000000"; - set god_sl_2,1; + god_sl_2 = 1; close; } else if (god_sl_2 == 1) { @@ -1210,7 +1210,7 @@ que_god01,14,47,3 script Researcher#G4 4_M_06,{ mes "[Pavel]"; mes "^333333*Sniff sniff*^000000"; mes "So I hope you don't mind ^333333*Achoo!*^000000 helping me remove ^333333*Cough*^000000 the device. Thank you so much. ^333333*Sniff*^000000"; - set god_sl_2,3; + god_sl_2 = 3; close; } else if (god_sl_2 == 3) { @@ -1233,18 +1233,18 @@ que_god01,14,47,3 script Researcher#G4 4_M_06,{ mes "[Pavel]"; mes "Great job~"; mes "You did some ^333333*Sniff*^000000 good work. Thank you so much for helping me. ^333333*Achoo! Achoo!*^000000"; - set god_sl_2,0; + god_sl_2 = 0; if (god_sl_1 == 41) { - set god_sl_1,42; + god_sl_1 = 42; } if (god_sl_1 == 12) { - set god_sl_1,13; + god_sl_1 = 13; } if (god_sl_1 == 23) { - set god_sl_1,24; + god_sl_1 = 24; } if (god_sl_1 == 34) { - set god_sl_1,50; + god_sl_1 = 50; } close; } @@ -1272,7 +1272,7 @@ que_god01,20,48,0 script Slab#G HIDDEN_NPC,{ mes "wkdusgks ^ff00fftkaryf^000000dnl durjfflrhsjs wkrdjswhgks ......"; mes "wkrdjswhgks shfh wkrdjswhgks wkdus wkr..."; mes "^ff00ffghswka^000000gks ........fusjs tmld........."; - set god_sl_2,2; + god_sl_2 = 2; next; mes "^3355FFThere is some writing engraved on this slab of stone. Since you can't read it and the stone looks weathered with time, it seems to be written in an ancient language.^000000"; next; @@ -1369,7 +1369,7 @@ que_god01,20,48,0 script Slab#G HIDDEN_NPC,{ mes "^3355FFYou still don't"; mes "understand what is"; mes "written on the slab.^000000"; - set god_sl_2,4; + god_sl_2 = 4; next; mes "After a while, the original engraving on the slab re-appeared, once again concealing the writing underneath. It seems you can only reveal the hidden letters temporarily."; close; @@ -1772,9 +1772,9 @@ payon,79,171,4 script Friar#G5 4_F_SISTER,{ mes "If you wish to listen to this story again, you're always welcome."; mes "Be safe on your adventures~"; if (god_sl_2 == 1) { - set god_sl_2,2; + god_sl_2 = 2; } else if (god_sl_2 == 3) { - set god_sl_2,4; + god_sl_2 = 4; } close; } |