city_redlight.qsrc 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. # city_redlight
  2. if $ARGS[0] = 'start':
  3. $loc_arg = 'start'
  4. $loc = 'city_redlight'
  5. $region = 'city'
  6. $location_type = 'public_outdoors'
  7. $menu_loc = 'city_redlight'
  8. $menu_arg = 'start'
  9. menu_off = 0
  10. CLOSE ALL
  11. if sound = 0:
  12. if month >= 11 and month <= 12 or month >= 1 and month <= 3:
  13. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3', 30 & PLAY 'sound/street7.mp3', 30 & PLAY 'sound/zima.mp3', 30
  14. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3', 30 & PLAY 'sound/zima.mp3',30
  15. else
  16. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3', 30 & PLAY 'sound/street7.mp3', 30 & PLAY 'sound/street_leto.mp3', 30
  17. if hour >= 0 and hour <= 7: PLAY 'sound/street_night_leto.mp3' & PLAY 'sound/street_night.mp3', 30
  18. end
  19. end
  20. gs 'stat'
  21. '<center><h2>St. Petersburg</h2></center>'
  22. '<center><b>Red Light District</b></center>'
  23. '<center><img <<$set_imgh>> src="images/locations/city/redlight/redlight.jpg"></center>'
  24. 'This small area inside the Industrial District is home to a number of strip clubs and sex shops.'
  25. if hour >= 18 or hour < 3:
  26. 'The bright lights and booming music of the <a href="exec:gt ''stripclub'', ''start''">Fuzzy Dice</a> strip club attract men from all over the city.'
  27. else
  28. 'The strip club is closed for the day and will reopen at 18:00.'
  29. end
  30. if pornstudio > 0 and hour >= 10 and hour < 22:
  31. 'The <a href="exec:gt ''pornstudio'', ''start''">porn studio</a> is housed within one of the few warehouses that hasn''t been abandoned.'
  32. elseif pornstudio > 0 and (hour < 10 or hour >= 22):
  33. 'The porn studio is closed and will reopen at 10:00.'
  34. end
  35. if hour < 3 or hour >= 11:
  36. 'A <a href="exec:minut += 1 & gt ''shop_erotomaniac'', ''start''">seedy looking shop</a> that sells sex toys and other erotic merchandise is open for perverts from all around the city to browse its stock.'
  37. else
  38. 'A seedy looking shop that sells sex toys and other erotic merchandise. It is currently closed and will reopen at 11:00.'
  39. end
  40. if bordel > 0 and func('bordel', 'is_open'): 'Inside the courtyard is the entrance to the <a href="exec:gt ''bordel''">brothel</a>.'
  41. if hour >= 10:
  42. 'You see a small <a href="exec:gt ''city_redlight'',''city_copy_shop''">printing shop</a> tucked away between two larger buildings.'
  43. else
  44. 'You see a small printing shop tucked away between two larger buildings. It is currently closed and will open at 10:00.'
  45. end
  46. if hour >= 19 or hour < 2:
  47. 'A <a href="exec:gt ''hookahlounge'', ''start''">Hookah Lounge</a> sits on a corner, with Indian music and the scent of exotic spices streaming from an open door.'
  48. else
  49. 'The Hookah Lounge is currently closed and will reopen at 19:00.'
  50. end
  51. act 'Walk to the Industrial Region (0:05)': minut += 5 & gt 'city_industrial'
  52. gs 'taxi'
  53. if car > 0:
  54. if wrek = 0 and ((cardrive = 7 and func('autoservisF', 'is_open') = 0) or (cardrive = 9 and func('autotraidF', 'is_open') = 0)):
  55. 'It looks like the ' + iif(cardrive = 7, 'repair shop', 'car dealership') + ' moved your car outside before they closed.'
  56. cardrive = 3
  57. end
  58. if cardrive = 3 or cardrive = 6 or (cardrive = 7 and func('autoservisF', 'is_open')) or (cardrive = 9 and func('autotraidF', 'is_open')) or cardrive = 27:
  59. 'Your <a href="exec:' + iif(cardrive = 27, '', 'minut += 1 & ') + 'gs ''carF'', ''start''"><<$car>></a> sits in the parking lot.'
  60. end
  61. end
  62. if hour >= 20 or hour <= 4:
  63. *nl
  64. 'Prostitutes are working near here.'
  65. if pcs_makeup > 2 and PCloStyle = 4 and pcs_inhib >= 40:
  66. act 'Prostitute yourself': prst_loc = 1 & gt 'street_walker', 'work'
  67. elseif pcs_inhib >= 40:
  68. *nl
  69. 'You could work as a prostitute, but you need to wear appropriate clothes and more than a little bit of makeup.'
  70. else
  71. *nl
  72. 'You could work as a prostitute, but you aren''t comfortable with the idea.'
  73. end
  74. end
  75. end
  76. if $ARGS[0] = 'city_copy_shop':
  77. *clr & cla
  78. menu_off = 1
  79. minut += 1
  80. gs 'stat'
  81. '<center><img <<$set_imgh>> src="images/locations/city/redlight/bm_seller.jpg"></center>'
  82. 'You enter the run-down looking copy shop and look around. Scattered across the room are small tables with various dusty looking copy machines that don''t strike you as being very reliable. Watching you from behind a counter is a bored looking man with greasy hair and a sleazy look.'
  83. if fakepassport = 2:
  84. !!only notify player 1 time after events triggered
  85. fakepassport = 0
  86. 'He gives you a hard stare. "A fake passport will cost you 30,000 <b>₽</b>," he says quietly.'
  87. end
  88. if university['fakediplom'] = 2:
  89. !!only notify player 1 time after events triggered
  90. university['fakediplom'] = 0
  91. '"A diploma for a bachelor''s degree will cost you 100,000 <b>₽</b>," he says quietly.'
  92. end
  93. act 'Leave': gt 'city_redlight', 'start'
  94. if age < 18 and fakepassport ! 1:
  95. if money => 30000:
  96. act 'Buy fake passport (30,000 <b>₽</b>)':
  97. *clr & cla
  98. minut += 60
  99. money -= 30000
  100. fakepassport = 1
  101. '<center><img <<$set_imgh>> src="images/locations/city/redlight/bm_seller.jpg"></center>'
  102. 'He tells you to come in the back and takes a quick photo of your face, then tells you to wait out front until he''s done. About an hour goes by before he steps back out and hands you the passport, which shows your face but has an older age printed on it.'
  103. act 'Leave': gt 'city_redlight', 'start'
  104. end
  105. else
  106. act 'Buy fake passport (<font color="red">30,000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy the fake passport.</font>'
  107. end
  108. end
  109. if university['diploma'] = 0 and university['fakediplom'] = 0:
  110. if money => 100000:
  111. act 'Buy fake diploma (100,000 <b>₽</b>)':
  112. *clr & cla
  113. minut += 60
  114. money -= 100000
  115. university['fakediplom'] = 1
  116. '<center><img <<$set_imgh>> src="images/locations/city/redlight/bm_seller.jpg"></center>'
  117. 'You buy a fake diploma.'
  118. act 'Leave': gt 'city_redlight', 'start'
  119. end
  120. else
  121. act 'Buy fake diploma (<font color="red">100,000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy the fake diploma.</font>'
  122. end
  123. end
  124. end
  125. --- city_redlight ---------------------------------