diff options
author | Haru <haru@dotalux.com> | 2014-10-26 02:06:46 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:50 +0100 |
commit | bf4b0a281207e46a9b21a9c9f779aeafaa739b62 (patch) | |
tree | 0230ee95510255548ebb7f4080460b466c9e2ca6 /npc/merchants/clothes_dyer.txt | |
parent | 6b20c5b6988c889df35b890d93c338f8b87fa430 (diff) | |
download | hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.gz hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.bz2 hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.xz hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.zip |
Replaced 'set' with direct assignment where applicable (common folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/merchants/clothes_dyer.txt')
-rw-r--r-- | npc/merchants/clothes_dyer.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/merchants/clothes_dyer.txt b/npc/merchants/clothes_dyer.txt index 94fab1d5c..b7e90febf 100644 --- a/npc/merchants/clothes_dyer.txt +++ b/npc/merchants/clothes_dyer.txt @@ -22,9 +22,9 @@ prt_in,284,168,2 script Dyer Ginedin Rephere 1_M_JOBTESTER,{ function Dyes; - set .@EnableDyes,1; // Disable (set to 0) if palettes cause errors [see note v2.4] + .@EnableDyes = 1; // Disable (set to 0) if palettes cause errors [see note v2.4] - set .n$,"[Dyer Ginedin Rephere]"; + .n$ = "[Dyer Ginedin Rephere]"; mes .n$; mes "11... 12... Mmm... good. I think I'll be able to finish before tonight's party. Oh! I didn't notice you were here!"; while(1) { @@ -135,11 +135,11 @@ L_End: function Dyes { setarray .@DyeName$[0],"the default color","Orange","Violet","Red","Black","Green","Blue","White","Yellow"; setarray .@DyeItems[0],0,980,981,975,983,979,978,982,976; - set .@menu$,"- Default:"; - for(set .@i,0; .@i<getargcount(); set .@i,.@i+2) - set .@menu$, .@menu$+"- "+.@DyeName$[getarg(.@i)]+":"; - set .@menu$, .@menu$+"- ^777777Cancel^000000"; - set .@s, select(.@menu$)-1; + .@menu$ = "- Default:"; + for(.@i = 0; .@i<getargcount(); .@i += 2) + .@menu$ += "- "+.@DyeName$[getarg(.@i)]+":"; + .@menu$ += "- ^777777Cancel^000000"; + .@s = select(.@menu$)-1; if (.@s == (getargcount()/2)+1) goto L_End; mes .n$; if (.@s == 0) { |