summaryrefslogtreecommitdiff
path: root/npc/merchants/clothes_dyer.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-26 02:06:46 +0100
committerHaru <haru@dotalux.com>2014-11-02 01:36:50 +0100
commitbf4b0a281207e46a9b21a9c9f779aeafaa739b62 (patch)
tree0230ee95510255548ebb7f4080460b466c9e2ca6 /npc/merchants/clothes_dyer.txt
parent6b20c5b6988c889df35b890d93c338f8b87fa430 (diff)
downloadhercules-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.txt14
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) {