1
0

city_redlight.tw 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. :: city_redlight[outdoors public region_city]
  2. <<ConnectedLocation 'Industrial Area' 'city_industrial' '' 'locations/city/industrial/nord.jpg' 5>>
  3. <h2>St. Petersburg - Red Light District</h2>
  4. <<image "locations/city/redlight/redlight.jpg">>
  5. This small area inside the Industrial District is home to a number of strip clubs and sex shops.
  6. /*<<if $time.hour >= 18 or $time.hour < 3>>
  7. The bright lights and booming music of the <<link "Fuzzy Dice">><<gt 'stripclub' 'start'>><</link>> strip club attract men from all over the city.
  8. <<else>>
  9. The strip club is closed for the day and will reopen at 18:00.
  10. <</if>>
  11. <<if getvar("$pornstudio") >= 1 and $time.hour >= 10 and $time.hour < 22>>
  12. A <<link "porn studio">><<gt 'pornstudio' 'start'>><</link>> is housed within one of the few warehouses that hasn''t been abandoned.
  13. <<elseif getvar("$pornstudio") >= 1 and ($time.hour < 10 or $time.hour >= 22)>>
  14. The porn studio is closed and will reopen at 10:00.
  15. <</if>>*/
  16. <p>
  17. <<ConnectedLocation 'Sex Shop' 'sexshop' '' '' 1>>
  18. A seedy looking shop that sells sex toys and other erotic merchandise
  19. <<if $time.hour < 3 or $time.hour >= 11>>
  20. is open for perverts from all around the city to browse its stock.
  21. <<else>>
  22. . It is currently closed and will reopen at 11:00.
  23. <</if>>
  24. </p>
  25. /*
  26. <<if getvar("$bordel") > 0 and func('bordel', 'is_open')>>
  27. Inside the courtyard is the entrance to the <<link "brothel">><<gt 'bordel'>><</link>>.
  28. <</if>>
  29. <<if $time.hour >= 10>>
  30. You see a small <<link "printing shop">><<gt 'city_redlight' 'city_copy_shop'>><</link>> tucked away between two larger buildings.
  31. <<else>>
  32. You see a small printing shop tucked away between two larger buildings. It is currently closed and will open at 10:00.
  33. <</if>>
  34. <<if $time.hour >= 19 or $time.hour < 2>>
  35. A <<link "Hookah Lounge">><<gt 'hookahlounge' 'start'>><</link>> sits on a corner, with Indian music and the scent of exotic spices streaming from an open door.
  36. <<else>>
  37. The Hookah Lounge is currently closed and will reopen at 19:00.
  38. <</if>>
  39. <<gs 'taxi'>>
  40. <<if getvar("$car") > 0>>
  41. <<if getvar("$wrek") == 0 and ((cardrive == 7 and func('autoservisF', 'is_open') == 0) or (cardrive == 9 and func('autotraidF', 'is_open') == 0))>>
  42. <<set 'It looks like the ' + iif(cardrive = 7, 'repair shop', 'car dealership') + ' moved your car outside before they closed.'>>
  43. <<set $cardrive = 3>>
  44. <</if>>
  45. <<if getvar("$cardrive") == 3 or getvar("$cardrive") == 6 or (cardrive == 7 and func('autoservisF', 'is_open')) or (cardrive == 9 and func('autotraidF', 'is_open')) or getvar("$cardrive") == 27>>
  46. <!-- FAILED TO CONVERT
  47. 'Your <a href="exec:' + iif(cardrive = 27, '', 'minut += 1 & ') + 'gs ''carF'', ''start''"><<$car>></a> sits in the parking lot.'
  48. -----
  49. <<set ERROR: FAILED TO CONVERT LITERAL: """'Your <a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:'""" + ERROR: FAILED TO CONVERT LITERAL: """iif(cardrive = 27""" , '' , 'minut + ERROR: FAILED TO CONVERT LITERAL: """= 1""">>
  50. -->
  51. <<warn "CONVERSION ERROR 5c440adb88bc0ab3e93e9553dc665bf5">>
  52. <</if>>
  53. <</if>>
  54. <<if $time.hour >= 20 or $time.hour <= 4>>
  55. There are prostitutes working near here.
  56. <<if $pc.pcs_makeup > 2 and $wardrobe.PCloStyle == 4 and $pc.pcs_inhib >= 40>>
  57. <<actCLA 'Prostitute yourself'>>
  58. <<set $prst_loc = 1>> <<gt 'street_walker' 'work'>>
  59. <</actCLA>>
  60. <<elseif $pc.pcs_inhib >= 40>>
  61. You could work as a prostitute, but you need to wear appropriate clothes and more than a little bit of makeup.
  62. <<else>>
  63. You could work as a prostitute, but you aren''t comfortable with the idea.
  64. <</if>>
  65. <</if>>
  66. <</if>>
  67. <<if $location_var[$here][0] == 'city_copy_shop'>>
  68. <<set $menu_off = 1>>
  69. <<set $time.minutes += 1>>
  70. <<image "locations/city/redlight/bm_seller.jpg">>
  71. <p>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.</p>
  72. <<if getvar("$fakepassport") == 2>>
  73. <!-- !!only notify player 1 time after events triggered-->
  74. <<set $fakepassport = 0>>
  75. <p>He gives you a hard stare. "A fake passport will cost you 30,000 <b>₽</b>," he says quietly.</p>
  76. <</if>>
  77. <<if getvar("$university['fakediplom']") == 2>>
  78. <!-- !!only notify player 1 time after events triggered-->
  79. <<setinit $university['fakediplom'] = 0>>
  80. <p>"A diploma for a bachelor's degree will cost you 100,000 <b>₽</b>," he says quietly.</p>
  81. <</if>>
  82. <<actCLA 'Leave'>>
  83. <<gt 'city_redlight' 'start'>>
  84. <</actCLA>>
  85. <<if getvar("$pc.age") < 18 and getvar("$fakepassport") != 1>>
  86. <<if $finances.cash >= 30000>>
  87. <<actCLA 'Buy fake passport (30,000 <b>₽</b>)'>>
  88. <<set $time.minutes += 60>>
  89. <<set $finances.cash -= 30000>>
  90. <<set $fakepassport = 1>>
  91. <<image "locations/city/redlight/bm_seller.jpg">>
  92. 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.
  93. <<actCLA 'Leave'>>
  94. <<gt 'city_redlight' 'start'>>
  95. <</actCLA>>
  96. <</actCLA>>
  97. <<else>>
  98. <!-- FAILED TO CONVERT
  99. 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>'
  100. -----
  101. <<actCLA 'Buy fake passport (<font color="red">30,000 <b>₽</b></font>)'>>
  102. <<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You don't have enough money to buy the fake passport.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
  103. <</actCLA>>
  104. -->
  105. <<warn "CONVERSION ERROR 00e86ea718530ab7c04055f73d56455d">>
  106. <</if>>
  107. <</if>>
  108. <<if getvar("$university['diploma']") == 0 and getvar("$university['fakediplom']") == 0>>
  109. <<if $finances.cash >= 100000>>
  110. <<actCLA 'Buy fake diploma (100,000 <b>₽</b>)'>>
  111. <<set $time.minutes += 60>>
  112. <<set $finances.cash -= 100000>>
  113. <<setinit $university['fakediplom'] = 1>>
  114. <<image "locations/city/redlight/bm_seller.jpg">>
  115. You buy a fake diploma.
  116. <<actCLA 'Leave'>>
  117. <<gt 'city_redlight' 'start'>>
  118. <</actCLA>>
  119. <</actCLA>>
  120. <<else>>
  121. <!-- FAILED TO CONVERT
  122. 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>'
  123. -----
  124. <<actCLA 'Buy fake diploma (<font color="red">100,000 <b>₽</b></font>)'>>
  125. <<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You don't have enough money to buy the fake diploma.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
  126. <</actCLA>>
  127. -->
  128. <<warn "CONVERSION ERROR b78b6003fe3e9a22536c9191e30624da">>
  129. <</if>>
  130. <</if>>
  131. <</if>>
  132. */