# Gshveyfab
CLOSE ALL
$location_type = 'public_indoors'
if $ARGS[0] = 'tailor':
*clr & cla
$metka = 'tailor'
$loc = 'Gshveyfab'
$menu_loc = 'Gshveyfab'
$menu_arg = 'tailor'
menu_off = 0
gs'stat'
'There is a small wooden counter and above that a sign that says "If you can''t wear it we''ll adjust it"'
'Behind the counter an elderly man is inspecting some repaired clothes, he stops and smiles gently, greeting you.'
'"Hello there young lady, do you want to adjust some of your clothing? It''ll cost you 500 ₽ per item."'
act 'Leave': gt 'pavIndustrial'
if money >= 500:
act 'Resize the clothes you''re wearing (500 ₽)':
*clr & cla
minut += 15
if CloStyle = 5 or $clothingworntype = 'exercise':
'The tailor is looking irritatingly at you, "Why are you wasting my time with exercise clothing? That type of clothing does not need to be resized..."'
else
money -= 500
dynamic '<<$clothingworntype>>B[<>] = pcs_hips'
'You are handed a t-shirt and shorts as you undress and give the clothes to the tailor for adjustment. The tailor is fast and only takes fifteen minutes until your clothes are ready.'
'You are handed your clothes back and quickly get dressed. You''re pleased with the job that the tailor has done.'
end
act 'Leave': minut += 5 & gt 'pavIndustrial'
end
act 'Resize your other clothes':gt 'clothing', 'view_clothing_list', 'resize'
act 'Resize all your clothes':gt 'portnoi2'
end
end
if $ARGS[0] = 'enter':
*clr & cla
$metka = 'tailor'
$loc = 'Gshveyfab'
$menu_loc = 'Gshveyfab'
$menu_arg = 'enter'
menu_off = 0
gs'stat'
'TEXTILE FACTORY, PARIS COMMUNE'
'
> src="images/locations/pavlovsk/factory/gshveyfab.jpg" >'
'You''re standing inside the building that is accommodating the biggest employer in Pavlovsk, the local textile factory.'
'There is a work schedule hanging on the wall:'
'First shift - 08:00 to 16:00.'
'Second shift - 16:00 to 20:00.'
*nl
if workFabrika = 0 and age < 18:'You can apply for a part-time job here.'
if work = 0 and workFabrika = 0 and age >= 18:'You can apply for a full-time job here.'
act 'Leave': minut += 5 & gt 'pavIndustrial'
if workFabrika = 1 and week >= 1 and week <= 5 and hour >= 8 and hour < 9 and age >= 18:
'Your shift is starting now.'
act 'Start shift': gt'Gshveyfab','job'
end
if workFabrika = 1 and week >= 1 and week <= 5 and hour >= 16 and hour < 17 and age < 18:
'Your shift is starting now.'
act 'Start shift': gt'Gshveyfab','job'
end
if workFabrika = 1:
'You can quit your job, but quitting will lead to a deducted wage.'
act 'Quit job':
menu_off = 1
if age < 18:
smenaFabrika -= 1
elseif age >= 18:
smenaFabrika -= 2
end
if smenaFabrika < 0:
smenaFabrika = 0
end
pay = smenaFabrika * 420
karta += pay
smenaFabrika = 0
workFabrika = 0
work = 0
minut += 5
gt 'Gshveyfab','enter'
end
end
end
if $ARGS[0] = 'job_start':
*clr & cla
$metka = 'tailor'
$loc = 'Gshveyfab'
$menu_loc = 'Gshveyfab'
$menu_arg = 'job_start'
menu_off = 0
gs'stat'
'FOREMAN''S OFFICE'
'
> src="images/characters/pavlovsk/resident/stepan/nachalnik.jpg" >'
'You head into the factory foreman, Stepan Sergeyevich office, and ask him if there''s an available job.'
act 'Leave': gt'Gshveyfab', 'enter'
if age < 18 and workFabrika = 0:
'"Sure, have a seat," he says. "Now, the work is difficult and meticulous, but doesn''t require any special knowledge. You should catch on pretty quick. Since you are not an adult yet, you can only work half-time, and the pay is 105 ₽ per hour. Once you become an adult, we can transfer you to full-time. Naturally, as this is a state-recognized company, we do require all the appropriate documentation. The main shift is on weekdays from 08:00 to 16:00, but you will be working the second shift, from 16:00 to 20:00.'
'But beware, if you miss more than three days of work in a single month, you will be fired. You will be paid at the end of the month and getting fired before then will forfeit any pay not yet received. So, is that okay?"'
act 'Accept the job':
cla
menu_off = 1
minut += 10
work = 1
workFabrika = 1
smenaFabrika = 0
FabrikaProgul = 0
'You hand him over your documents, which he takes and then reminds you to come in on every weekday, at 16:00.'
act 'Leave': gt'Gshveyfab', 'enter'
end
elseif age >= 18 and workFabrika = 0:
'"Sure, have a seat," he says. "Now, the work is difficult and meticulous, but doesn''t require any special knowledge. You should catch on pretty quick. Naturally, as this is a state-recognized company, we do require all the appropriate documentation. The main shift is on weekdays from 08:00 to 16:00, and the pay is 105 ₽ per hour.'
'But beware, if you miss more than three days of work in a single month, you will be fired. You will be paid at the end of the month, and getting fired before then will forfeit any pay not yet received. So, is that okay?"'
act 'Accept the job':
cla
menu_off = 1
minut += 10
work = 1
workFabrika = 1
smenaFabrika = 0
FabrikaProgul = 0
'You hand him your documents, which he takes and then reminds you to come in on every weekday, at 08:00.'
act 'Leave': gt'Gshveyfab', 'enter'
end
end
end
if $ARGS[0] = 'job':
*clr & cla
menu_off = 1
FabrikaProgul -= 1
if FabrikaProgul < 0: FabrikaProgul = 0
if age < 18:
minut += 240
smenaFabrika += 1
end
if age >= 18:
minut += 480
smenaFabrika += 2
end
gs'stat'
'TEXTILE FACTORY, PARIS COMMUNE'
'
> src="images/locations/pavlovsk/factory/gshveyfab.jpg" >'
'You work hard throughout your shift at the factory. The foreman has you running all over the factory performing all type of tasks. You barely even have time to rest during the shift.'
act 'Leave': minut += 5 & gt 'pavIndustrial'
end
--- Gshveyfab ---------------------------------