gas_station_gp_117.qsrc 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. # gas_station_gp_117
  2. !! NOTE: #mod_wlife_highway was the original file
  3. !! The Gazpromneft 117 gas station on the M11 a bit north-east of Pavlovsk
  4. $loc = 'gas_station_gp_117'
  5. $locM = 'gas_station_gp_117'
  6. $menu_loc = 'gas_station_gp_117'
  7. ! [x] First check over
  8. if $ARGS[0] = 'outside':
  9. gs 'prostitution_functions', 'work_clothes'
  10. gs 'gas_station_gp_117', 'event_check'
  11. CLOSE ALL
  12. if sound = 0:PLAY 'sound/highway.mp3',20
  13. $loc_arg = 'outside'
  14. $menu_arg = 'outside'
  15. menu_off = 0
  16. $location_type = 'public_outdoors'
  17. *clr & cla
  18. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/gas_'+iif(month > 10 or month < 4, 'winter', '')+iif(daystage = 5, 'night', 'day')+'.jpg"></center>'
  19. 'The gas station is modern and clean in comparison to other gas stations in the area. To the south of the station is the highway M-10 that goes from St. Petersburg to Moscow. To the north there are small villages and towns similar to Pavlovsk which is even further south than the highway.'
  20. *nl
  21. 'There is a small shop were you can buy something to eat or to drink and a public restroom is also nearby.'
  22. *nl
  23. if car > 0 and cardrive = 29: gs 'gas_station_gp_117', 'gas'
  24. *nl
  25. if prostitute['blocked'] = 0 and prostitute['gas_station'] = 1:
  26. if prostitute['earnings_day'] > 0:
  27. 'You have earned <<prostitute[''earnings_day'']>> <b>₽</b> today.'+iif(prostitute['payment_method'] = 0, ' Your share is <<prostitute[''earnings_day''] * prostitute[''share_player''] / 100>> <b>₽</b>'+iif(prostitute['debt_amount'] > 0, ', but your pimp will keep <<prostitute[''earnings_day''] * prostitute[''debt_payment_percent''] / 100>> <b>₽</b> to pay down your debt.', '.'), '')
  28. end
  29. gs 'prostitution_functions', 'work_clothes'
  30. if prostitute['work_clothes'] and prostitute['changed_for_work']:
  31. 'You are wearing the right outfit to work as a prostitute at the gas station. You can ' + iif(car > 0 and cardrive = 29, '<a href="exec: gt ''prostitution_functions'', ''change_back'' ">change back into your regular clothes</a> in your car or', 'change back into your regular clothes') + ' in a restroom.'
  32. elseif dressed_as_a_prostitute = 0 and prostitute['outfit_is_set']:
  33. 'You could work as a prostitute, but first you have to ' + iif(car > 0 and cardrive = 29, '<a href="exec: gt ''prostitution_functions'', ''change'' ">change into a more appropriate outfit</a> in your car or ', 'change into a more appropriate outfit ') + 'in a restroom.'
  34. else
  35. 'You are wearing the right outfit to work as a prostitute at the gas station.'
  36. end
  37. end
  38. if prostitute['payment_method'] = 1: '<br>You can take a bus to the '+iif(money < 75, 'train station', '<a href="exec: gt ''gas_station_gp_117'', ''bus_end''">train station</a>')+' in Pavlovsk. The bus ride and a short walk to the bus station will take and hour and a half minutes and cost 75 <b>₽</b>.'+iif(money < 75, ' You don''t have enough money.', '')
  39. gs 'stat'
  40. act 'Go inside the gas station': minut += 1 & gt 'gas_station_gp_117', 'shop'
  41. act 'Go to the public restroom': minut += 1 & gt 'gas_station_gp_117', 'restroom'
  42. if prostitute['blocked'] = 0 and prostitute['gas_station'] = 1 and prostitute['work_clothes']: act 'Go to work': gt 'gas_station_gp_117', 'work'
  43. act 'Wait': gs 'obj_din', 'wait'
  44. killvar 'dressed_as_a_prostitute'
  45. end
  46. ! [x] First check over
  47. if $ARGS[0] = 'shop' or $gas_shop_inside = 'yes':
  48. CLOSE ALL
  49. if sound = 0:PLAY 'sound/highway.mp3',5
  50. $loc_arg = 'shop'
  51. $menu_arg = 'shop'
  52. menu_off = 0
  53. $location_type = 'public_indoors'
  54. $gas_shop_inside = 'yes'
  55. *clr & cla
  56. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/gas_interior.jpg"></center>'
  57. 'The shop is stacked with some magazines, cigarettes, different things to eat and drink.'
  58. *nl
  59. if prostitute['tomas_timer'] = daystart:
  60. 'Behind the counter stands Tomas. He''s talking to another customer right now.'
  61. elseif week < 7:
  62. !!'Behind the counter stands <a href="exec: minut += 1 & gt ''gas_station_gp_117'',''tomas''">'+iif(prostitute['tomas'] = 0, 'a plump man', 'Tomas')+'</a>.'
  63. 'Behind the counter stands '+iif(prostitute['tomas'] = 0, 'a plump man.', 'Tomas.')
  64. elseif prostitute['tomas'] > 0 and week = 7:
  65. 'Tomas isn''t working on Sundays. Another guy you don''t know is standing behind the counter.'
  66. end
  67. *nl
  68. $prostitute_shop_tab = '<center><table align="center">'
  69. $prostitute_shop_tab += func ('$stock_item', 20, 'Cigarettes', 115, 'siga', $curloc)
  70. $prostitute_shop_tab += func ('$single_stock_item', 1, 'Fashion magazine', 430, 'fashmag', $curloc)
  71. $prostitute_shop_tab += func ('$single_stock_item', 1, 'Computer magazine', 430, 'compmag', $curloc)
  72. $prostitute_shop_tab += func ('$single_stock_item', 1, 'Biographical magazine', 430, 'biomag', $curloc)
  73. $prostitute_shop_tab += func ('$single_stock_item', 1, 'Cooking magazine', 430, 'cookmag', $curloc)
  74. $prostitute_shop_tab += func ('$single_stock_item', 1, 'Knitting magazine', 430, 'knitmag', $curloc)
  75. $prostitute_shop_tab += func ('$single_stock_item', 1, 'Fitness magazine', 430, 'fitmag', $curloc)
  76. $prostitute_shop_tab += func ('$stock_item', 10, 'Wipes', 50, 'mc_inventory[''makeup_wipes'']', $curloc, '', iif(bag > 0, 0, 1), 'You need a purse')
  77. $prostitute_shop_tab += func ('$stock_item', 20, 'Tampons', 200, 'mc_inventory[''tampons'']', $curloc)
  78. if umbrella = 0: $prostitute_shop_tab += func ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', $curloc, '', iif(bag > 0, 0, 1), 'You need a purse')
  79. $prostitute_shop_tab += '</table></center>'
  80. *pl $prostitute_shop_tab
  81. killvar '$prostitute_shop_tab'
  82. gs 'stat'
  83. act 'Go outside': $gas_shop_inside = 'no' & minut += 1 & gt 'gas_station_gp_117', 'outside'
  84. act 'Buy and eat a snack (100 <b>₽</b> and 0:05)':
  85. *clr & cla
  86. menu_off = 1
  87. minut += 5
  88. money -= 100
  89. pcs_health += 5
  90. pcs_mood += 40
  91. fat += 6
  92. pcs_energy += 60
  93. if pcs_hydra >= 100:
  94. pcs_hydra += 10
  95. else
  96. pcs_hydra += 20
  97. end
  98. cumspclnt = 2
  99. gs 'cum_cleanup'
  100. pcs_breath = 0
  101. gs 'stat'
  102. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/food.jpg"></center>'
  103. 'You enjoy a tasty snack.'
  104. act 'Continue': gt 'gas_station_gp_117', 'shop'
  105. end
  106. act 'Buy and eat a healthy snack (100 <b>₽</b> and 0:05)':
  107. *clr & cla
  108. menu_off = 1
  109. minut += 5
  110. money -= 100
  111. pcs_health += 40
  112. pcs_mood += 10
  113. fat += 2
  114. pcs_energy += 60
  115. if pcs_hydra >= 100:
  116. pcs_hydra += 10
  117. else
  118. pcs_hydra += 20
  119. end
  120. pcs_breath = 0
  121. cumspclnt = 2
  122. gs 'cum_cleanup'
  123. gs 'stat'
  124. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/food.jpg"></center>'
  125. 'You enjoy a healthy snack.'
  126. act 'Continue': gt 'gas_station_gp_117', 'shop'
  127. end
  128. act 'Buy and drink some water (40 <b>₽</b> and 0:05)':
  129. *clr & cla
  130. menu_off = 1
  131. frost = 1
  132. if alko > 0: alko -= 1
  133. minut += 5
  134. money -= 40
  135. pcs_health += 10
  136. pcs_energy += 4
  137. if pcs_hydra >= 100:
  138. pcs_hydra += 25
  139. else
  140. pcs_hydra += 75
  141. end
  142. pcs_breath = 0
  143. cumspclnt = 2
  144. gs 'cum_cleanup'
  145. gs 'stat'
  146. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/water.jpg"></center>'
  147. 'You enjoy a drink of water'
  148. act 'Continue': gt 'gas_station_gp_117', 'shop'
  149. end
  150. end
  151. ! [x] First check over
  152. if $ARGS[0] = 'restroom':
  153. CLOSE ALL
  154. if sound = 0:PLAY 'sound/highway.mp3',10
  155. $loc_arg = 'restroom'
  156. $menu_arg = 'restroom'
  157. menu_off = 0
  158. $location_type = 'public_outdoors'
  159. *clr & cla
  160. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/restroom_'+iif(daystage = 5, 'night', 'day')+'.jpg"></center>'
  161. 'The gas station has a public bathroom. '+iif(prostitute_status['restroom_chip'] = 0, 'It costs 10 <b>₽</b> to use it.', 'You have an employee chip and can use it for free.')+' On the right side of the restroom is a <a href="exec: minut += 1 & gt ''gas_station_gp_117'',''condom_dispenser''">condom dispenser</a>.'
  162. gs 'stat'
  163. act 'Go back': minut += 1 & gt 'gas_station_gp_117', 'outside'
  164. if money >= 10 and prostitute_status['restroom_chip'] = 0:
  165. act 'Enter the women''s restroom': money -= 10 & minut += 1 & gt 'gas_station_gp_117', 'restroom_women'
  166. act 'Enter the men''s restroom': money -= 10 & minut += 1 & gt 'gas_station_gp_117', 'restroom_men'
  167. else
  168. '<br>You don''t have enough money to use the restroom.'
  169. end
  170. if joint > 0:
  171. act 'Smoke a joint':
  172. *clr & cla
  173. menu_off = 1
  174. minut += 5
  175. '<center><img <<$set_imgh>> src="images/shared/drugs/joint_smoking.jpg"></center>'
  176. 'You go behind the restrooms and pull a joint out of your purse and light it up. Not before long you''re starting to feel the relaxing effects as you''re getting high.'
  177. gs 'drugs', 'joint'
  178. gs 'stat'
  179. act 'Go back': gt 'gas_station_gp_117', 'restroom'
  180. end
  181. end
  182. end
  183. ! [x] First check over
  184. if $ARGS[0] = 'condom_dispenser':
  185. CLOSE ALL
  186. if sound = 0:PLAY 'sound/highway.mp3',10
  187. $loc_arg = 'condom_dispenser'
  188. $menu_arg = 'condom_dispenser'
  189. menu_off = 0
  190. *clr & cla
  191. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/condoms.jpg"></center>'
  192. 'A condom costs 60 <b>₽</b> and you have <<prezikcount>> condoms.'
  193. gs 'stat'
  194. act 'Go back': minut += 1 & gt 'gas_station_gp_117', 'restroom'
  195. if money >= 60:
  196. act 'Buy a condom (60 <b>₽</b>)':
  197. minut += 1
  198. money -= 60
  199. if preziktype = 0: prezik += 1
  200. if preziktype = 1 or preziktype = 2: prezikcount += 1
  201. gt 'gas_station_gp_117', 'condom_dispenser'
  202. end
  203. end
  204. if money >= 300:
  205. act 'Buy five condoms (300 <b>₽</b>)':
  206. minut += 1
  207. money -= 300
  208. if preziktype = 0: prezik += 5
  209. if preziktype = 1 or preziktype = 2: prezikcount += 5
  210. gt 'gas_station_gp_117', 'condom_dispenser'
  211. end
  212. end
  213. if money >= 600:
  214. act 'Buy ten condoms (600 <b>₽</b>)':
  215. minut += 1
  216. money -= 600
  217. if preziktype = 0: prezik += 10
  218. if preziktype = 1 or preziktype = 2: prezikcount += 10
  219. gt 'gas_station_gp_117', 'condom_dispenser'
  220. end
  221. end
  222. end
  223. ! [x] First check over
  224. if $ARGS[0] = 'restroom_women':
  225. CLOSE ALL
  226. *clr & cla
  227. if sound = 0:PLAY 'sound/highway.mp3',5
  228. $loc_arg = 'restroom_women'
  229. $locM_arg = 'restroom_women'
  230. $menu_arg = 'restroom_women'
  231. menu_off = 0
  232. $location_type = 'bathroom'
  233. gs 'stat'
  234. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/restroom_women.jpg"></center>'
  235. 'The women''s restroom is relatively clean. It has has three bathroom stalls which over only a little privacy.'
  236. *nl
  237. 'A <a href="exec:gt ''mirror'',''start''">mirror</a>, where you can ' + iif(pcs_hairbsh = 0,'<a href="exec: gt ''mirror'',''brush''">brush</a>','brush') + ' your hair hangs over each sink.'
  238. act 'Go outside': minut += 1 & gt 'gas_station_gp_117', 'restroom'
  239. if dur > 0 and narkday ! daystart:
  240. act 'Do a line of cocaine (0:05)':
  241. *clr & cla
  242. menu_off = 1
  243. narkday = daystart
  244. gs 'drugs', 'cocaine'
  245. minut += 5
  246. gs 'stat'
  247. '<center><img <<$set_imgh>> src="images/shared/drugs/cocaine.jpg"></center>'
  248. 'You snort some cocaine, feeling dizzy for just a moment. After that you feel fantastic, horny and full of energy.'
  249. act 'Continue': gt 'gas_station_gp_117', 'restroom_women'
  250. end
  251. end
  252. dynamic $tampon
  253. dynamic $quickwash
  254. dynamic $basin
  255. dynamic $publicpan
  256. end
  257. ! [x]: First check over
  258. if $ARGS[0] = 'restroom_men':
  259. CLOSE ALL
  260. *clr & cla
  261. if sound = 0:PLAY 'sound/highway.mp3',5
  262. $loc_arg = 'restroom_men'
  263. $locM_arg = 'restroom_men'
  264. $menu_arg = 'restroom_men'
  265. menu_off = 0
  266. $location_type = 'bathroom'
  267. gs 'stat'
  268. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/restroom_men.jpg"></center>'
  269. 'The men''s restroom is dirty and smells like urine. It has has three bathroom stalls which over only a little privacy.'
  270. *nl
  271. 'A <a href="exec:gt ''mirror'',''start''">mirror</a>, where you can ' + iif(pcs_hairbsh = 0,'<a href="exec: gt ''mirror'',''brush''">brush</a>','brush') + ' your hair hangs over each sink.'
  272. act 'Go outside': minut += 1 & gt 'gas_station_gp_117', 'restroom'
  273. if dur > 0 and narkday ! daystart:
  274. act 'Do a line of cocaine (0:05)':
  275. *clr & cla
  276. menu_off = 1
  277. narkday = daystart
  278. gs 'drugs', 'cocaine'
  279. minut += 5
  280. gs 'stat'
  281. '<center><img <<$set_imgh>> src="images/shared/drugs/cocaine.jpg"></center>'
  282. 'You snort some cocaine, feeling dizzy for just a moment. After that you feel fantastic, horny and full of energy.'
  283. act 'Continue': gt 'gas_station_gp_117', 'restroom_men'
  284. end
  285. end
  286. dynamic $tampon
  287. dynamic $quickwash
  288. dynamic $basin
  289. dynamic $publicpan
  290. end
  291. if $ARGS[0] = 'gas':
  292. 'Your <a href="exec: gs ''carF'', ''start''"><<$car>></a> is parked here.'
  293. *nl
  294. 'You can buy petrol for your car, the price is 30 <b>₽</b> per liter.'
  295. if kanistra < 5:
  296. act 'Buy a canister and fill it with 5 liters of gasoline for 150 <b>₽</b>':
  297. cla
  298. kanistra += 1
  299. money -= 150
  300. 'You buy a canister of gasoline. (It will automatically be put in the trunk of your car)'
  301. act 'Disengage from the pump': gt 'gas_station_gp_117', 'outside'
  302. end
  303. end
  304. if benz < 50:
  305. zprbenz = 50 - benz
  306. if zprbenz * 30 <= money:
  307. act 'Fill the tank with petrol':
  308. cla
  309. *clr
  310. benz = 50
  311. zprpay = zprbenz * 30
  312. money -= zprpay
  313. ! WD: Uninitialised ~ 'pol'
  314. ! if pol > 0:'<center><img <<$set_imgh>> src="images/locations/shared/gas/zapr1.jpg"></center>'
  315. '<center><img <<$set_imgh>> src="images/locations/shared/gas/zapr1.jpg"></center>'
  316. 'You fill the tank and pay <<zprpay>> <b>₽</b>.'
  317. act 'Disengage from the pump':gt 'gas_station_gp_117', 'outside'
  318. end
  319. else
  320. 'You do not have enough money to refuel your car.'
  321. end
  322. end
  323. end
  324. ! [x] First check over
  325. ! NOTE: The functions relating to Tomas are removed for now, the attendant doesn''t make seses at the moment. Not really integral to the WLife story, so could be
  326. ! scavenged and used later if needed.
  327. !!------ Prostitution ------------------------------
  328. !! fc
  329. !!------ Working ----------------------------------------------------------------------------------
  330. ! [x] First check over
  331. ! NOTE: The first function - work - is location dependent, so this needs to be left here, and every location will need a similar one.
  332. if $ARGS[0] = 'work':
  333. CLOSE ALL
  334. if sound = 0:PLAY 'sound/highway.mp3',20
  335. *clr & cla
  336. $loc_arg = 'work'
  337. $used_name = 'street'
  338. $menu_arg = 'work'
  339. menu_off = 0
  340. gs 'stat'
  341. gs 'prostitution_functions', 'parameters'
  342. if $prostitute_names['street'] = '':
  343. 'If you want, you can tell your clients a different name.'
  344. $prostitute_names['street'] = input("What name do you want to tell your clients? (Leave blank for <<$pcs_nickname>>)")
  345. if $prostitute_names['street'] = '': $prostitute_names['street'] = $pcs_nickname
  346. end
  347. '<center><video autoplay src="images/shared/prostitution/car/normal/negotiation/search.mp4"></video></center>'
  348. 'You are walking near the gas station waiting for a client. On a scale from 1 to 10 you look like a <<hotcat>>. A good looking girl will always earn more money.'+iif(pcs_makeup < 2, ' You should '+iif(pcs_makeup = 0, 'fix your make-up', 'wear make-up')+' to increase your earnings.', ' Wearing make-up is a good way to increase your earnings.')+iif(pirsA > 0 and pirsA < 10000, ' Your tongue piercing will make a blowjob more enjoyable for most men, that could bring in a small bonus.', '')+iif($pantyworntype = 'eroto' and CloSkirtShortness > 4, ' Wearing such a short skirt reveals your slutty panties to your potential customers.', '')+iif(pcs_apprnc = -10, ' You don''t look healthy and should seek treatment for your STD. There is a high chance that a guy won''t touch you without a condom.', '')
  349. if klismaday ! daystart: '<br>Nearly all men won''t like dirty anal sex, even with a condom, and it''s probably a safe bet that they won''t pay a lot for it. You should start giving yourself an enema before going to work.'
  350. if mesec > 0: '<br>You are having your period, most men will pay less for vaginal sex during that time of the month.'
  351. if prostitute['cum_dressed'] = 1: '<br>You have visible cum stains on you. Most clients won''t like that and will offer less money.'
  352. if prostitute['earnings_day'] > 0: 'You have earned <<prostitute[''earnings_day'']>> <b>₽</b> today.'+iif(prostitute['payment_method'] = 0, ' Your share is <<prostitute[''earnings_day''] * prostitute[''share_player''] / 100>> <b>₽</b>'+iif(prostitute['debt_amount'] > 0, ', but your pimp will keep <<prostitute[''earnings_day''] * prostitute[''debt_payment_percent''] / 100>> <b>₽</b> to pay down your debt.', '.'), '')
  353. if prostitute['payment_method'] = 0: gs 'gas_station_gp_117', 'event_check'
  354. act 'Stop working': gt 'gas_station_gp_117', 'outside'
  355. gs 'willpower', 'prostitution', 'self', 'medium'
  356. if will_cost <= pcs_willpwr:
  357. act 'Look for a client (0:30 and <<will_cost>> Willpower)':
  358. gs 'willpower', 'pay', 'self'
  359. gt 'prostitution_car_negotiation', 'look_client'
  360. end
  361. elseif will_cost > pcs_willpwr:
  362. act 'Look for a client (0:30 and <font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  363. end
  364. if mc_inventory['makeup_wipes'] > 0 and (prostitute['cum_dressed'] = 1 or prostitute['cum_undressed'] = 1 or prostitute['cum_vaginal_mod'] = 1 or prostitute['cum_anal_mod'] = 1):
  365. act 'Remove the cum from your body (0:02)':
  366. minut += 2
  367. mc_inventory['makeup_wipes'] -= 1
  368. cumspclnt = 20
  369. gs 'cum_cleanup'
  370. gt 'gas_station_gp_117', 'work'
  371. end
  372. elseif mc_inventory['makeup_wipes'] = 0:
  373. '<br>You don''t have any tissues with you to remove cum from your body.'
  374. end
  375. !! NOTE: This is where the working/negotiationg part begins in the original file. Moved to a separate file.
  376. !! This call just displays the explanation and the "config" of the negotiations on the page.
  377. gs 'prostitution_car_negotiation', 'general_description'
  378. end
  379. if $ARGS[0] = 'event_check':
  380. !! TODO: Originally this was checking for story events. Now it should check for police raid or just check, attack, or anything else.
  381. !! If this is used in the city, then the initial pimp visits should be checked here too.
  382. !! gt 'mod_wlife_story', 'police'
  383. end
  384. ! [x] First check over
  385. if $ARGS[0] = 'bus_end':
  386. minut += 87
  387. money -= 75
  388. !!NOTE: Removed the checking for acceptance
  389. prostitute['earnings_day'] = 0
  390. prostitute['customer_day'] = 0
  391. gt 'pav_market'
  392. end
  393. --- gas_station_gp_117 ---------------------------------