# budgetclothes
if $ARGS[0] = 'start':
$metka = $ARGS[0]
$loc = $CURLOC
$location_type = 'event'
'
Welcome to G & M - Clothes for all your needs'
'> src="images/locations/city/citycenter/mall/gandm/shop.jpg"'
clr
gs 'stat'
if night_mode = 1:
fcolor = rgb(255, 255, 255)
bcolor = rgb(0, 0, 0)
lcolor = rgb(106, 90, 205)
else
fcolor = rgb(0, 0, 0)
bcolor = rgb(255, 255, 255)
lcolor = rgb(106, 90, 205)
end
act 'Visit clothing department':
cla
act 'View cheap clothing':
minut += 5
gt 'budgetclothes', 'clothes'
end
act 'View office wear':
minut += 5
gt 'budgetclothes', 'office'
end
act 'View uniforms':
minut += 5
gt 'budgetclothes', 'uniform'
end
act 'View school uniforms':
minut += 5
gt 'budgetclothes', 'school'
end
act 'Return':gt 'budgetclothes', 'start'
end
act 'Visit shoe department':
cla
act 'Look at regular shoes':
minut += 5
gt 'budgetclothes', 'shoes'
end
act 'Look at exercise shoes':
minut += 5
gt 'budgetclothes', 'trainers'
end
act 'Return':gt 'budgetclothes', 'start'
end
act 'View coats':
cla
minut += 5
gt 'budgetclothes', 'coats'
end
act 'Leave the store':
cla
if torg = 1:
minut += 3
gt 'torgcentr'
else
gt 'Gshveyfab', 'start'
end
end
end
if $ARGS[0] = 'clothes':
$metka = $ARGS[0]
$loc = $CURLOC
cls
gs'stat'
act 'Return':
cla
minut += 5
gt 'budgetclothes', 'start'
end
i = Clothingstock + 1
if Clothingstock - 18 > 0:
i -= 18
elseif Clothingstock - 12 > 0:
i -= 12
elseif Clothingstock - 6 > 0:
i -= 6
end
:loopcheap
if cheap[i] = 0:*p ''
i += 6
if i = 77:i = 83
if i <= 413:jump 'loopcheap'
end
if $ARGS[0] = 'cheapclo':
cla
if cheap[i] ! 0:
msg 'You already own these clothes.'
gt 'budgetclothes', 'clothes'
end
gt 'clothing', 'view_clothing_item', 'shop', 'cheap',i, 2000
end
if $ARGS[0] = 'office':
$metka = $ARGS[0]
$loc = $CURLOC
cls
gs'stat'
act 'Return':
cla
minut += 5
gt 'budgetclothes', 'start'
end
if Clothingstock > 15:
i = 1
elseif Clothingstock > 7:
i = 2
else
i = 3
end
:loopoffice
if office[i] = 0:*p ''
i += 3
if i <= 101:jump 'loopoffice'
end
if $ARGS[0] = 'officeclo':
cla
if office[i] ! 0:
msg 'You already own these clothes.'
gt 'budgetclothes', 'office'
end
gt 'clothing', 'view_clothing_item', 'shop', 'office',i, 4000
end
if $ARGS[0] = 'uniform':
$metka = $ARGS[0]
$loc = $CURLOC
cls
gs'stat'
act 'Return':
cla
minut += 5
gt 'budgetclothes', 'start'
end
if Clothingstock > 15:
i = 1
elseif Clothingstock > 7:
i = 2
else
i = 3
end
:loopuniform
if uniform[i] = 0:*p ''
i += 3
if i <= 49:jump 'loopuniform'
end
if $ARGS[0] = 'uniformclo':
cla
if uniform[i] ! 0:
msg 'You already own these clothes.'
gt 'budgetclothes', 'uniform'
end
gt 'clothing', 'view_clothing_item', 'shop', 'uniform',i, 3000
end
if $ARGS[0] = 'school':
$metka = $ARGS[0]
$loc = $CURLOC
cls
gs'stat'
act 'Return':
cla
minut += 5
gt 'budgetclothes', 'start'
end
if Clothingstock > 15:
i = 1
elseif Clothingstock > 7:
i = 2
else
i = 3
end
:loopschool
if school[i] = 0:*p ''
i += 3
if i = 6:i = 9
if i <= 62:jump 'loopschool'
end
if $ARGS[0] = 'schoolclo':
cla
if school[i] ! 0:
msg 'You already own these clothes.'
gt 'budgetclothes', 'school'
end
gt 'clothing', 'view_clothing_item', 'shop', 'school',i, 3000
end
if $ARGS[0] = 'shoes':
$metka = 'shoes'
$loc = 'budgetclothes'
cls
gs'stat'
act 'Return':
cla
minut += 5
gt 'budgetclothes', 'start'
end
if Clothingstock > 15:
i = 1
elseif Clothingstock > 7:
i = 2
else
i = 3
end
:loopgandm_shoes
if sgandm[i] = 0:*p ''
i += 3
if i = 6:i = 9
if i <= 51:jump 'loopgandm_shoes'
end
if $ARGS[0] = 'budget_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'gandm',i, 1500
if $ARGS[0] = 'trainers':
$metka = 'trainers'
$loc = 'budgetclothes'
cls
gs'stat'
act 'Return':
cla
minut += 5
gt 'budgetclothes', 'start'
end
if Clothingstock > 11:
i = 1
else
i = 2
end
:looptrainers_shoes
if strainers[i] = 0:*p ''
i += 2
if i = 21:i = 23
if i <= 29:jump 'looptrainers_shoes'
end
if $ARGS[0] = 'training_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'trainers',i, 2500
if $ARGS[0] = 'coats':
$metka = $ARGS[0]
$loc = $CURLOC
cls
gs'stat'
act 'Return':
cla
minut += 5
gt 'budgetclothes', 'start'
end
i = 2
:loopcoats
if coat[i] = 0:*p ''
i += 1
if i = 5:i = 6
if i = 9:i = 10
if i = 11:i = 12
if i <= 19:jump 'loopcoats'
end
if $ARGS[0] = 'coatsclo':
cla
if coat[i] ! 0:
msg 'You already own these clothes.'
gt 'budgetclothes', 'coats'
end
gt 'clothing', 'view_clothing_item', 'shop', 'coat',i, 8000
end
--- budgetclothes ---------------------------------