123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- # 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'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/housemates.jpg"></center>'
- '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 = 'etaj1'
- menu_off = 0
- CLOSE ALL
- if sound = 0:PLAY 'sound/podezd.mp3',30
- gs 'stat'
- '<center><b><font color = maroon>Ground floor of the apartment building</font></b></center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/podezd2.jpg"></center>'
- '<center>A dirty and poorly maintained stairwell, the same as any other in your town.</center>'
- '<<$pod_ev_rnd>>'
- 'There''s a <a href="exec: dynamic $housemates">list</a> of the people who live here on the wall.'
- 'Someone put up some <a href="exec:GT ''pavComplexb3'',''pod_objava''">advertisements</a> 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'
- '<center>2nd floor of the apartment building</center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2.jpg"></center>'
- '<center>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.</center>'
- 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'
- '<center>3rd floor of the apartment building</center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg"></center>'
- '<center>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.</center>'
- 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'
- '<center>4th floor of the apartment building</center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj4.jpg"></center>'
- '<center>The fourth floor stairwell was renovated not long ago, but some hoodlums already sprayed graffiti on the walls.</center>'
- 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'
- '<center>Floor #5</center>'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
- '<center>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.</center>'
- 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'
- '<center>Roof</center>'
- if month >= 11 or month <= 3:
- !!if hour >= 8 and hour <= 21:
- !!'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
- !!else
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
- !!end
- else
- if hour >= 8 and hour <= 21:
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg"></center>'
- end
- end
- '<center>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.</center>'
- act 'Go down to the fifth floor':
- if $clothingworntype = 'swimwear' or $clothingworntype = 'nude':
- msg '<center><font color = red>You need to get dressed first</font></center>'
- 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'
- '<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/zagar1.jpg"></center>'
- 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'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
- '<center>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 <a href="exec:GT ''pavComplexb3'',''elev_objava''">notification</a> in the elevator.</center>'
- 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'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
- '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'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
- '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'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
- act 'Continue': gt 'pavComplexb3','lift'
- end
- !locked ads
- if $ARGS[0] = 'pod_objava':
- menu_off = 1
- *clr & cla
- minut +=1
- gs 'stat'
- '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
- act 'Continue': gt 'pavComplexb3','etaj_1'
- end
- --- pavComplexb3 ---------------------------------
|