city_residential.tw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. :: city_residential_script[script]
  2. setup.connections ??= {};
  3. setup.connections.city_park_city_residential = {time: 20};
  4. setup.locations ??= {};
  5. setup.locations.city_residential = {label: 'Residential Area',image: 'locations/city/residential/street.jpg'}
  6. :: city_residential[outdoors public region_city car]
  7. <<Connection 'city_residential' 'city_center'>>
  8. <<Connection 'city_residential' 'city_industrial'>>
  9. <h2>St. Petersburg - Residential Area</h2>
  10. <<if $time.isWinter>>
  11. <<imageDayNight "#" "locations/city/residential/streetw.jpg" "locations/city/residential/streetwn.jpg">>
  12. <<else>>
  13. <<imageDayNight "#" "locations/city/residential/street.jpg" "locations/city/residential/street_night.jpg">>
  14. <</if>>
  15. /*<<gs 'street_event' 'city_residential' 'extras'>>
  16. <<if getvar("$opusk") > 0 or getvar("$gnewQW") == 5>>
  17. <<if rand(0,9) == 0>>
  18. <<gt 'gopnew' 'start5'>>
  19. <</if>>
  20. <<if func('homes_properties', 'has_access', 'city_apartment')>>
  21. <p>Something is written on the wall near the entrance to your building. It reads:<b>"$pc.name_first $pc.name_last from apartment 69 is a cheap slut!"</b></p>
  22. <</if>>
  23. <</if>>
  24. <<if getvar("$gopdeath") == 1 and $vsehsdaladay != $time.daystart>>
  25. <<set $pc.gameover= 6>>
  26. <<gt 'gameover'>>
  27. <</if>>
  28. <<if func('homes_properties', 'is_property_of_status', 'owned', 'city_house')>>
  29. Your <a href="exec: minut += 10 & gs ''city_house_res_misc'', ''fronty''">house</a> is within walking distance.'
  30. <<actCLA '<b>Go to your house</b>'>>
  31. <<set $time.minutes += 10>>
  32. <<gt 'city_house_res_misc' 'fronty'>>
  33. <</actCLA>>
  34. <</if>>
  35. */
  36. <<if $time.hour >= 4 and $time.hour <= 23>>
  37. <<ConnectedLocation 'Metro' 'metro_city_residential' '' 'locations/city/shared/metro/platcenter.jpg' 5>>
  38. <</if>>
  39. <<ConnectedLocation 'Central Park' 'city_park' 'start' 'locations/city/centralpark/park.jpg' 20>>
  40. <<ConnectedLocation 'Lake' 'city_lake' 'start' 'locations/city/residential/lake/lake2.jpg' 40>>
  41. /*<<if getvar("$evt_chk") == 1>>
  42. <!-- !! We've got an event today, check it's location:-->
  43. <<gs 'emp_functions' 'disp_evt' 3>>
  44. <</if>>
  45. <<gs 'taxi'>>*/
  46. <<if $time.hour >= 8 and $time.hour <= 22>>
  47. <<ConnectedLocation 'Kiosk' 'kiosk' 'city_residential' 'locations/city/shared/kiosk/kiosk21.jpg' 1>>
  48. <p>You can see the kiosk selling cigarettes and magazines.</p>
  49. <</if>>
  50. /*<<if getvar("$Enable_tablemap") == 0>>
  51. <<if getvar("$katkey") == 1>>
  52. <<link "Kat''s">><<gt 'katspalnya' 'start'>><</link>> apartment
  53. <</if>>
  54. <<if getvar("$IrinaQW") >= 1>>
  55. <<link "Irene''s">><<gt 'city_irinaroom' 'start'>><</link>> apartment is not far from yours.
  56. <</if>>
  57. <<if $time.hour >= 16 and $time.hour < 22 and getvar("$dimaQW") > 0>>
  58. <<link "Dima''s">><<gt 'city_dima' 'start'>><</link>> apartment
  59. <</if>>
  60. <<if getvar("$klofQW") >= 2>>
  61. <<link "Jora''s">><<gt 'city_jorahouse' 'start'>><</link>> apartment
  62. <</if>>
  63. <<else>>
  64. <<set $st_count = 0>> <<set $show_table = ''>>
  65. <<if getvar("$katkey") == 1>>
  66. gs'show_table','<<link 'Kat''s'>><<gt 'katspalnya' 'start'>><</link>> apartment','3'
  67. <</if>>
  68. <<if getvar("$IrinaQW") >= 1>>
  69. gs'show_table','<<link 'Irene''s'>><<gt 'city_irinaroom' 'start'>><</link>> apartment is not far from yours.','3'
  70. <</if>>
  71. <<if $time.hour >= 16 and $time.hour < 22 and getvar("$dimaQW") > 0>>
  72. gs'show_table','<<link 'Dima''s'>><<gt 'city_dima' 'start'>><</link>> apartment','3'
  73. <</if>>
  74. <<if getvar("$klofQW") >= 2>>
  75. gs'show_table','<<link 'Jora''s'>><<gt 'city_jorahouse' 'start'>><</link>> apartment','3'
  76. <</if>>
  77. <<if $time.hour >= 10 and $time.hour < 22 and getvar("$lesbiQW") == 1>>
  78. gs'show_table','<<link 'Natalya Petrovna''s'>><<gt 'lesbidomhouse' 'start'>><</link>> apartment.', '3'
  79. <<elseif $lesbiday != $time.daystart and getvar("$subdom") == 2>>
  80. gs'show_table','<<link 'Your slave''s'>><<gt 'lesbisubhouse' 'start'>><</link>> apartment.','3'
  81. <<elseif $lesbiday != $time.daystart and $time.hour >= 8 and $time.hour < 22 and getvar("$lesbiQW") >= 2 and getvar("$lesbiQW") < 13>>
  82. gs'show_table','<<link 'Mistress''s'>><<gt 'lesbidomhouse' 'start'>><</link>> apartment.','3'
  83. <<elseif $lesbiday != $time.daystart and $time.hour >= 8 and $time.hour < 22 and getvar("$lesbiQW") >= 13>>
  84. gs'show_table','<<link 'Mistress''s'>><<gt 'lesbimistress' 'start'>><</link>> apartment.','3'
  85. <</if>>
  86. <<if getvar("$st_count") > 0>>
  87. <TABLE BORDER=1><<$show_table>></TR></TABLE>
  88. <</if>>
  89. <</if>>*/
  90. <p>
  91. <<if $time.hour >= 5 and $time.hour <= 23>>
  92. The metro station is a 5 minute walk away.
  93. <</if>>
  94. <<if setup.isOpen('shop')>>
  95. <<ConnectedLocationCode 'Supermarket' 'locations/shared/store/shop.jpg' 3>>
  96. <<gt 'shop'>>
  97. <</ConnectedLocationCode>>
  98. The supermarket is not far from here. It is open
  99. <<else>>
  100. The nearby supermarket opens
  101. <</if>>
  102. <<=setup.openTimeToString('shop')>>.
  103. </p>
  104. <p>
  105. <<if ($time.hour >= 8 and $time.hour <= 20) or $pc.preg == 2>>
  106. <<ConnectedLocation 'Clinic' 'city_clinic' 'start' 'locations/shared/clinic/poli.jpg' 1>>
  107. The clinic is also nearby.
  108. <<else>>
  109. The clinic is closed. It will open at 08:00.
  110. <</if>>
  111. <<if $time.hour >= 6 and $time.hour <= 9 and getvar("$military") == 1 and $time.weekday == 6>>
  112. <<ConnectedLocation 'military bus' 'Military' 'start' 'locations/city/shared/military/military.jpg' 60>>
  113. There is a military bus waiting on the other side of the street.
  114. <<elseif getvar("$military") == 1>>
  115. The military bus will wait between 06:00 and 09:00 on Saturdays.
  116. <</if>>
  117. /*<<if $time.hour >= 8 and $time.hour <= 14 and $time.weekday != 1>>
  118. <<ConnectedLocation 'Marketplace' 'city_market' 'start' 'locations/city/residential/market/rinok.jpg' 10>>
  119. You could go shopping at the noisy local marketplace.
  120. <<else>>
  121. You could go shopping at the noisy local marketplace, but it's
  122. <<if $time.weekday == 1>>
  123. closed on Mondays.
  124. <<else>>
  125. only open between 08:00 and 15:00.
  126. <</if>>
  127. <</if>>*/
  128. </p>
  129. <p>
  130. /*<<if $time.hour >= 8 and $time.hour <= 15 and $time.weekday < 6>>
  131. <<ConnectedLocation 'Tailor Shop' 'city_market' 'tailor' 'locations/city/residential/market/rinok.jpg' 10>>
  132. Near the market is a tailor shop where you can get your clothes resized if needed.
  133. <<else>>
  134. Near the market is a tailor shop where you can get your clothes resized if needed. It is open from 8:00 to 16:00 on weekdays.
  135. <</if>>*/
  136. /*<<if $time.hour >= 11 and $time.hour < 12 and $time.weekday > 1 and $time.weekday < 5 and getvar("$workKafe['job']") == 1>>
  137. The side door of <<link '"The Roadhouse"'>><<setn $time.minutes += 1>><<gt 'city_kafe' 'work'>><</link>> is open, allowing employees to enter to begin their shift.
  138. <<elseif $time.hour >= 12 and $time.hour <= 22 and $time.weekday != 1>>
  139. <<ConnectedLocation 'Roadhouse' 'city_kafe' 'start' 'locations/city/residential/cafe/kafe.jpg' 1>>
  140. In a side alley, next to the uniquely styled diner "The Roadhouse", you can hear some <<link "gopniks">><<set $time.minutes += 1>><<gt 'gopnew' 'start'>><</link>> swearing and laughing.
  141. <<elseif $time.hour > 22 or $time.hour <= 3>>
  142. You can hear the swearing and laughing of some <<link "gopniks">><<gt 'gopnew' 'start'>><</link>> in the parking lot of "The Roadhouse" diner.
  143. <<else>>
  144. The Roadhouse diner is closed right now. It's open between 12:00 and 23:00 every day except Monday.
  145. <</if>>*/
  146. The uniquely styled diner "The Roadhouse" is located in a side alley.
  147. <<if setup.isOpen('city_kafe')>>
  148. <<ConnectedLocation 'The Roadhouse' 'city_kafe' '' 'locations/city/residential/cafe/kafe.jpg' 3>>
  149. It is open
  150. <<else>>
  151. It opens
  152. <</if>>
  153. <<=setup.openTimeToString('city_kafe')>>.
  154. /*<<if getvar("$clener") >= 1 and $time.hour >= 7 and $time.hour <= 22>>
  155. There's a small office building where a <<link 'cleaning lady'>><<setn $time.minutes += 1>><<gt 'city_smalloffice' 'start'>><</link>> is needed.
  156. <</if>>*/
  157. </p>
  158. <p>
  159. The city's large central park is a 20 minute walk away.
  160. The city's only lake is a 40 minute walk away.
  161. </p>
  162. <p>
  163. <<ConnectedLocation 'Pharmacy' 'city_pharmacy' 'start' 'locations/pavlovsk/pharmacy/aptekabusy3.jpg' 5>>
  164. Nearby is a 24 Hour Pharmacy.
  165. </p>
  166. /*<p>
  167. <<if getvar("$Enable_tablemap") == 0>>
  168. <<if $time.hour >= 10 and $time.hour < 22 and getvar("$lesbiQW") == 1>>
  169. <<link `$npcs.get("A178",'fullname_possessive')`>><<gt 'lesbidomhouse' 'start'>><</link>> apartment.
  170. <<elseif $lesbiday != $time.daystart and getvar("$subdom") == 2>>
  171. <<link "Your slave's">><<gt 'lesbisubhouse' 'start'>><</link>> apartment.
  172. <<elseif $lesbiday != $time.daystart and $time.hour >= 8 and $time.hour < 22 and getvar("$lesbiQW") >= 2 and getvar("$lesbiQW") < 13>>
  173. <<link "Mistress's">><<gt 'lesbidomhouse' 'start'>><</link>> apartment.
  174. <<elseif $lesbiday != $time.daystart and $time.hour >= 8 and $time.hour < 22 and getvar("$lesbiQW") >= 13>>
  175. <<link "Mistress's">><<gt 'lesbimistress' 'start'>><</link>> apartment.
  176. <</if>>
  177. <</if>>
  178. </p>*/
  179. /*<p>
  180. <<if func('homes_properties', 'has_access', 'city_apartment') == 0>>
  181. <<ConnectedLocation 'Trash Bins' 'city_trashplace' 'start' 'locations/city/residential/musorka.jpg' 1>>
  182. You see several trash bins in the courtyard of one of the apartment buildings.'
  183. <<else>>
  184. 'You see several <<link 'apartment building'>><<setn $time.minutes += 1>><<gt 'city_trashplace'">trash bins</a> in the courtyard of your <a href="exec: gt 'city_apt_building' 'floor_1'>><</link>>.'
  185. <</if>>
  186. </p>
  187. <<if getvar("$SNarkPriton") > 0>>
  188. 'The <<link 'drug house'>><<setn $time.minutes += 1>><<gt 'city_drugden'>><</link>> is clearly recognizable by the syringes and trash that lies in front of it.'
  189. <</if>>
  190. <p>
  191. <<if $time.hour >= 8 and $time.hour <= 23 or getvar("$saunaWorkWhore") > 0 or getvar("$workDisk") == 2>>
  192. <<ConnectedLocation 'Sauna' 'city_sauna' 'start' 'locations/city/residential/sauna/sauna.jpg' 10>>
  193. The sauna is a 10 minute walk away. Rumors say that it's just a front for a brothel.
  194. <</if>>
  195. </p>
  196. <<if $time.hour >= 20 or $time.hour <= 4>>
  197. There are prostitutes working near here.
  198. <<if $pc.pcs_makeup > 2 and $wardrobe.PCloStyle == 4 and $pc.pcs_inhib >= 40 and ($pc.sexStat('vaginal') > 0 or $pc.fame('pav_slut') >= 100)>>
  199. <<actCLA 'Prostitute yourself'>>
  200. <<gt 'street_walker' 'work'>>
  201. <</actCLA>>
  202. <<elseif $pc.pcs_inhib >= 40 and ($pc.sexStat('vaginal') > 0 or $pc.fame('pav_slut') >= 100)>>
  203. You could work as a prostitute, but you need to wear appropriate clothes and more than a little bit of makeup.
  204. <<else>>
  205. You could work as a prostitute, but you aren''t comfortable with the idea.
  206. <</if>>
  207. <</if>>
  208. <<gs 'booty_call' 'home_links'>>*/