# pavComplexb3
!SETTINGS:
CLOSE ALL
gs 'themes', 'indoors'
$metka = $ARGS[0]
$loc = $CURLOC
!elevator does not work
if liftnotwork_day ! daystart: liftnotwork_count = 1
!Apartment Uncle Misha
if mishahouse_day ! daystart: mishahouse_count = 1
!how much money for sex give boys
$rnd_money_sex = ''+rand(50,350)+''
rnd_money_sex = $rnd_money_sex
!================================================================================================!
!FLOORS: ---------------------------Entrance to the town-------------------------------------- FLOORS:!
!================================================================================================!
!housemates
$housemates = {
menu_off = 1
*clr & cla
minut +=1
gs 'stat'
'
> src="images/locations/pavlovsk/resident/apartment/stairs/housemates.jpg">'
'Floor 1 - Apartment number 1: Rolan Matveev'
'Floor 2 - Apartment number'
'Floor 3 - Apartment number'
'Floor 4 - Apartment number 30: Shared'
'Floor 5 - Apartment number'
act 'Leave': gt 'pavComplexb3', 'etaj_1'
}
!!locked in Pavlovsk, floor 1
if $ARGS[0] = 'etaj_1':
$menu_loc = 'pavComplexb3'
$menu_arg = 'etaj_1'
menu_off = 0
CLOSE ALL
if sound = 0:PLAY 'sound/podezd.mp3',30
gs 'stat'
'Ground floor of the apartment building'
'> src="images/locations/pavlovsk/resident/apartment/podezd2.jpg">'
'A dirty and poorly maintained stairwell, the same as any other in your town.'
'<<$pod_ev_rnd>>'
'There''s a list of the people who live here on the wall.'
'Someone put up some advertisements on the wall, near the entrance.'
act 'Leave the building': minut += 1 & gt 'pavcomplex', 'start'
act 'Go up to the second floor': minut +=1 & gt 'pavComplexb3','etaj_2'
act 'Take the elevator': gt 'pavComplexb3','lift','etaj_1'
!! if rolanblockhome ! 1 and storyline = 1:
!! act 'Apartment 1: Mr. Matveev''s': gt 'rolanapt','home'
!! end
end
!floor 2
if $ARGS[0] = 'etaj_2':
$menu_loc = 'pavComplexb3'
$menu_arg = 'etaj_2'
menu_off = 0
gs 'stat'
'2nd floor of the apartment building'
'> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2.jpg">'
'The second floor stairwell is clean and well maintained. It was renovated not long ago, and the inhabitants do their best to keep it clean.'
act 'Go down to the first floor': minut +=1 & gt 'pavComplexb3','etaj_1'
act 'Go up to the third floor': minut +=1 & gt 'pavComplexb3','etaj_3'
act 'Take the elevator': gt 'pavComplexb3','lift','etaj_2'
end
!floor 3
if $ARGS[0] = 'etaj_3':
$menu_loc = 'pavComplexb3'
$menu_arg = 'etaj_3'
menu_off = 0
gs 'stat'
'3rd floor of the apartment building'
'> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg">'
'The third floor stairwell is clean and well maintained. It was renovated not long ago, and the inhabitants do their best to keep it clean.'
act 'Go down to the second floor': minut +=1 & gt 'pavComplexb3','etaj_2'
act 'Go up to the fourth floor': minut +=1 & gt 'pavComplexb3','etaj_4'
act 'Take the elevator': gt 'pavComplexb3','lift','etaj_3'
end
!floor 4
if $ARGS[0] = 'etaj_4':
$menu_loc = 'pavComplexb3'
$menu_arg = 'etaj_4'
menu_off = 0
gs 'stat'
'4th floor of the apartment building'
'> src="images/locations/pavlovsk/resident/apartment/stairs/etaj4.jpg">'
'The fourth floor stairwell was renovated not long ago, but some hoodlums already sprayed graffiti on the walls.'
act 'Go down to the third floor': minut +=1 & gt 'pavComplexb3','etaj_3'
act 'Go up to the fifth floor': minut +=1 & gt 'pavComplexb3','etaj_5'
if seenAd = 0:
gt 'pavSharedApt', 'advertNo30'
else
act 'Apartment 30: Shared apartment': gt 'pavSharedApt', 'doorNo30'
end
act 'Take the elevator': gt 'pavComplexb3','lift','etaj_4'
end
!floor 5
if $ARGS[0] = 'etaj_5':
$menu_loc = 'pavComplexb3'
$menu_arg = 'etaj_5'
menu_off = 0
gs 'stat'
'Floor #5'
'> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg">'
'The fifth floor stairwell looks much like most of the other floors, though it has a final set of stairs at the other end of the hall that go up to the roof.'
act 'Go down to the fourth floor': minut +=1 & gt 'pavComplexb3','etaj_4'
act 'Go up to the roof': minut +=1 & gt 'pavComplexb3', 'roof'
act 'Take the elevator': gt 'pavComplexb3','lift','etaj_5'
end
!!roof
if $ARGS[0] = 'roof':
$menu_loc = 'pavComplexb3'
$menu_arg = 'roof'
menu_off = 0
minut +=1
gs 'stat'
'Roof'
if month >= 11 or month <= 3:
!!if hour >= 8 and hour <= 21:
!!'> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg">'
!!else
'> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg">'
!!end
else
if hour >= 8 and hour <= 21:
'> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg">'
else
'> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg">'
end
end
'The roof is fairly flat, with the roof access door in a raised part in the middle of the roof. Along one of the walls is another door to some type of storage or maintenances access. There is several ventilation stacks on the roof as well.'
act 'Go down to the fifth floor':
if $clothingworntype = 'swimwear' or $clothingworntype = 'nude':
msg 'You need to get dressed first'
gt 'pavComplexb3','roof'
else
minut += 1
gt 'pavComplexb3','etaj_5'
end
end
if $clothingworntype = 'swimwear' or $clothingworntype = 'nude':
act 'Change back into clothes':
minut += 5
gs 'underwear', 'wear'
gs 'clothing', 'wear_last_worn'
gt 'pavComplexb3','roof'
end
end
if temper >= 15 and hour >= 8 and hour <= 20:
if ARRSIZE('swimwear') > 0 and $clothingworntype ! 'swimwear':
act 'Change into a bikini':gt 'changingroom', 'view_swim_list'
end
if $clothingworntype = 'swimwear':
act 'Sunbathe (1:00)':
cla
*clr
menu_off = 1
minut += 60
inhib_exp += rand(1,3)
if pcs_sweat < 35: pcs_sweat += 5
pcs_mood += 5
gs 'stat'
'> src="images/locations/city/residential/apartment/zagar1.jpg">'
if krem = 0:
pcs_tan += 1
'You lie down to sunbathe.'
elseif krem > 0:
krem -= 1
pcs_tan += 3
'You put the sunblock on your body and lied down on the roof to sunbathe.'
end
act 'Get Up':gt 'pavComplexb3', 'roof'
end
end
end
end
!================================================================================================!
!ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
!================================================================================================!
!the lift
if $ARGS[0] = 'lift':
menu_off = 1
*clr & cla
minut +=1
gs 'stat'
'> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg">'
'The elevator in the apartment building is quite old. The building supervisor does his best to keep it running, but it breaks down a lot. Someone put up a notification in the elevator.'
act 'Push button: floor 1': gt 'pavComplexb3','etaj_1'
act 'Push button: floor 2': gt 'pavComplexb3','etaj_2'
act 'Push button: floor 3': gt 'pavComplexb3','etaj_3'
act 'Push button: floor 4': gt 'pavComplexb3','etaj_4'
act 'Push button: floor 5': gt 'pavComplexb3','etaj_5'
pod_lift_ev = RAND(0,100)
if pod_lift_ev <=5:
*clr & cla
minut +=1
gs 'stat'
'> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg">'
'When the elevator door opens, you see a naked woman standing in it! She looks at you in panic and is frantically pressing all the elevator buttons. You''re too baffled to do anything until it''s too late. The door is already closed again, and the elevator is moving away from you.'
act 'Leave': gt 'pavComplexb3',$ARGS[1]
elseif pod_lift_ev <=10 or liftnotwork_count <=0:
*clr & cla
minut +=1
liftnotwork_day = daystart
liftnotwork_count -= 1
gs 'stat'
'> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg">'
'The building supervisor put a sign on the elevator: "Dear tenants, the elevator is out of order for today. Don''t worry, I should have it working again by tomorrow!"'
act 'Leave': gt 'pavComplexb3',$ARGS[1]
end
killvar 'pod_lift_ev'
end
!elevator ads
if $ARGS[0] = 'elev_objava':
*clr & cla
minut +=1
gs 'stat'
'> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg">'
act 'Continue': gt 'pavComplexb3','lift'
end
!locked ads
if $ARGS[0] = 'pod_objava':
menu_off = 1
*clr & cla
minut +=1
gs 'stat'
'> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg">'
act 'Continue': gt 'pavComplexb3','etaj_1'
end
--- pavComplexb3 ---------------------------------