diff options
author | Haru <haru@dotalux.com> | 2014-10-26 04:26:34 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:51 +0100 |
commit | 46fbbaabefa29df1378ae68b7f063dbc64846042 (patch) | |
tree | 8a29abc6017e4dfbc9430e6484871ead9ab41c49 /npc/re/warps/cities/dicastes.txt | |
parent | d853cc9c0ccdafb8e23ddf6b3f18e7859af0a710 (diff) | |
download | hercules-46fbbaabefa29df1378ae68b7f063dbc64846042.tar.gz hercules-46fbbaabefa29df1378ae68b7f063dbc64846042.tar.bz2 hercules-46fbbaabefa29df1378ae68b7f063dbc64846042.tar.xz hercules-46fbbaabefa29df1378ae68b7f063dbc64846042.zip |
Replaced 'set' with direct assignment where applicable (re folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/re/warps/cities/dicastes.txt')
-rw-r--r-- | npc/re/warps/cities/dicastes.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/re/warps/cities/dicastes.txt b/npc/re/warps/cities/dicastes.txt index 9af35d123..1d1476830 100644 --- a/npc/re/warps/cities/dicastes.txt +++ b/npc/re/warps/cities/dicastes.txt @@ -41,21 +41,21 @@ dic_in01,242,182,0 script #eldicastes0016 CLEAR_NPC,{ // Elevators - script Elevator#main -1,{ - set .@n, atoi(strnpcinfo(2)); - set .@eq, (isequipped(2782))?1:0; + .@n = atoi(strnpcinfo(2)); + .@eq = (isequipped(2782))?1:0; if (.@n <= 4) { - set .@m$, (.@eq)?"Civil Services:Archive Room:Situation Room:Administrative Office":"¢³¡ð¡Ð:¡ñ¡ñ¡ò:¡ø¡ø¡ð:¡÷¡ú¡ð"; + .@m$ = (.@eq)?"Civil Services:Archive Room:Situation Room:Administrative Office":"¢³¡ð¡Ð:¡ñ¡ñ¡ò:¡ø¡ø¡ð:¡÷¡ú¡ð"; setarray .@xy, 45,286,36,212,122,282,121,201; } else if (.@n <= 11) { - set .@m$, (.@eq)?"Residential Zone 1:Residential Zone 2:Residential Zone 3:Pub Burman Flone":"¡ô¡õ¡ñ ¡þ :¢³¡ü¡Ð ¡ú :¡ï¢³¢¤ ¢² :¢±¡Ð¡ñ"; + .@m$ = (.@eq)?"Residential Zone 1:Residential Zone 2:Residential Zone 3:Pub Burman Flone":"¡ô¡õ¡ñ ¡þ :¢³¡ü¡Ð ¡ú :¡ï¢³¢¤ ¢² :¢±¡Ð¡ñ"; setarray .@xy, 42,115,110,108,178,108,260,115; } else if (.@n <= 13) { - set .@m$, (.@eq)?"Battle Station:Galten Quarters":"¡ø¡ô¡ï ¡ò :¡ü¡÷¡ó ¡÷ "; + .@m$ = (.@eq)?"Battle Station:Galten Quarters":"¡ø¡ô¡ï ¡ò :¡ü¡÷¡ó ¡÷ "; setarray .@xy, 385,272,385,208; } - set .@m, select(.@m$) - 1; + .@m = select(.@m$) - 1; warp "dic_in01",.@xy[.@m*2],.@xy[.@m*2+1]; end; } |