1
0

gas_station_gp_117.qsrc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  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['wl_block'] = 0 and prostitute['full_block'] = 0 and prostitute['gas_station'] = 1 and prostitute['active'] = 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['wl_block'] = 0 and prostitute['full_block'] = 0 and prostitute['gas_station'] = 1 and prostitute['work_clothes']: act 'Go to work': gt 'gas_station_gp_117', 'work'
  43. killvar 'dressed_as_a_prostitute'
  44. end
  45. ! [x] First check over
  46. if $ARGS[0] = 'shop' or $gas_shop_inside = 'yes':
  47. CLOSE ALL
  48. if sound = 0:PLAY 'sound/highway.mp3',5
  49. $loc_arg = 'shop'
  50. $loc_s = 'gas_station_gp_117'
  51. $args_s = 'shop'
  52. $menu_loc = 'gas_station_gp_117'
  53. $menu_arg = 'shop'
  54. menu_off = 0
  55. $location_type = 'public_indoors'
  56. $gas_shop_inside = 'yes'
  57. *clr & cla
  58. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/gas_interior.jpg"></center>'
  59. 'The shop is stacked with some magazines, cigarettes, different things to eat and drink.'
  60. *nl
  61. if prostitute['tomas_timer'] = daystart:
  62. 'Behind the counter stands Tomas. He''s talking to another customer right now.'
  63. elseif week < 7:
  64. !!'Behind the counter stands <a href="exec: minut += 1 & gt ''gas_station_gp_117'',''tomas''">'+iif(prostitute['tomas'] = 0, 'a plump man', 'Tomas')+'</a>.'
  65. 'Behind the counter stands '+iif(prostitute['tomas'] = 0, 'a plump man.', 'Tomas.')
  66. elseif prostitute['tomas'] > 0 and week = 7:
  67. 'Tomas isn''t working on Sundays. Another guy you don''t know is standing behind the counter.'
  68. end
  69. *nl
  70. gs 'item_cart', 'shoppping_aisle', 'prost_shop'
  71. gs 'stat'
  72. act 'Go outside': $gas_shop_inside = 'no' & minut += 1 & gt 'gas_station_gp_117', 'outside'
  73. act 'Buy and eat a snack (100 <b>₽</b> and 0:05)':
  74. *clr & cla
  75. menu_off = 1
  76. minut += 5
  77. money -= 100
  78. pcs_health += 5
  79. pcs_mood += 40
  80. fat += 6
  81. pcs_energy += 60
  82. if pcs_hydra >= 100:
  83. pcs_hydra += 10
  84. else
  85. pcs_hydra += 20
  86. end
  87. cumspclnt = 2
  88. gs 'cum_cleanup'
  89. pcs_breath = 0
  90. gs 'stat'
  91. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/food.jpg"></center>'
  92. 'You enjoy a tasty snack.'
  93. act 'Continue': gt 'gas_station_gp_117', 'shop'
  94. end
  95. act 'Buy and eat a healthy snack (100 <b>₽</b> and 0:05)':
  96. *clr & cla
  97. menu_off = 1
  98. minut += 5
  99. money -= 100
  100. pcs_health += 40
  101. pcs_mood += 10
  102. fat += 2
  103. pcs_energy += 60
  104. if pcs_hydra >= 100:
  105. pcs_hydra += 10
  106. else
  107. pcs_hydra += 20
  108. end
  109. pcs_breath = 0
  110. cumspclnt = 2
  111. gs 'cum_cleanup'
  112. gs 'stat'
  113. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/food.jpg"></center>'
  114. 'You enjoy a healthy snack.'
  115. act 'Continue': gt 'gas_station_gp_117', 'shop'
  116. end
  117. act 'Buy and drink some water (40 <b>₽</b> and 0:05)':
  118. *clr & cla
  119. menu_off = 1
  120. frost = 1
  121. if alko > 0: alko -= 1
  122. minut += 5
  123. money -= 40
  124. pcs_health += 10
  125. pcs_energy += 4
  126. if pcs_hydra >= 100:
  127. pcs_hydra += 25
  128. else
  129. pcs_hydra += 75
  130. end
  131. pcs_breath = 0
  132. cumspclnt = 2
  133. gs 'cum_cleanup'
  134. gs 'stat'
  135. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/water.jpg"></center>'
  136. 'You enjoy a drink of water'
  137. act 'Continue': gt 'gas_station_gp_117', 'shop'
  138. end
  139. end
  140. ! [x] First check over
  141. if $ARGS[0] = 'restroom':
  142. CLOSE ALL
  143. if sound = 0:PLAY 'sound/highway.mp3',10
  144. $loc_arg = 'restroom'
  145. $menu_arg = 'restroom'
  146. menu_off = 0
  147. $location_type = 'public_outdoors'
  148. *clr & cla
  149. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/restroom_'+iif(daystage = 5, 'night', 'day')+'.jpg"></center>'
  150. '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>.'
  151. gs 'stat'
  152. act 'Go back': minut += 1 & gt 'gas_station_gp_117', 'outside'
  153. if money >= 10 and prostitute_status['restroom_chip'] = 0:
  154. act 'Enter the women''s restroom': money -= 10 & minut += 1 & gt 'gas_station_gp_117', 'restroom_women'
  155. act 'Enter the men''s restroom': money -= 10 & minut += 1 & gt 'gas_station_gp_117', 'restroom_men'
  156. else
  157. '<br>You don''t have enough money to use the restroom.'
  158. end
  159. if mc_inventory['joints'] > 0:
  160. act 'Smoke a joint':
  161. *clr & cla
  162. menu_off = 1
  163. minut += 15
  164. gs 'drugs', 'joint'
  165. '<center><img <<$set_imgh>> src="images/shared/drugs/joint_smoking.jpg"></center>'
  166. '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.'
  167. act 'Go back': gt 'gas_station_gp_117', 'restroom'
  168. end
  169. end
  170. end
  171. ! [x] First check over
  172. if $ARGS[0] = 'condom_dispenser':
  173. CLOSE ALL
  174. if sound = 0:PLAY 'sound/highway.mp3',10
  175. $loc_arg = 'condom_dispenser'
  176. $menu_arg = 'condom_dispenser'
  177. menu_off = 0
  178. *clr & cla
  179. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/condoms.jpg"></center>'
  180. 'A condom costs 60 <b>₽</b> and you have <<mc_inventory[''normal_condoms'']>> condoms.'
  181. gs 'stat'
  182. act 'Go back': minut += 1 & gt 'gas_station_gp_117', 'restroom'
  183. if money >= 60:
  184. act 'Buy a condom (60 <b>₽</b>)':
  185. minut += 1
  186. money -= 60
  187. if preziktype = 0: mc_inventory['equipped_condoms'] += 1
  188. if preziktype = 1 or preziktype = 2: mc_inventory['normal_condoms'] += 1
  189. gt 'gas_station_gp_117', 'condom_dispenser'
  190. end
  191. end
  192. if money >= 300:
  193. act 'Buy five condoms (300 <b>₽</b>)':
  194. minut += 1
  195. money -= 300
  196. if preziktype = 0: mc_inventory['equipped_condoms'] += 5
  197. if preziktype = 1 or preziktype = 2: mc_inventory['normal_condoms'] += 5
  198. gt 'gas_station_gp_117', 'condom_dispenser'
  199. end
  200. end
  201. if money >= 600:
  202. act 'Buy ten condoms (600 <b>₽</b>)':
  203. minut += 1
  204. money -= 600
  205. if preziktype = 0: mc_inventory['equipped_condoms'] += 10
  206. if preziktype = 1 or preziktype = 2: mc_inventory['normal_condoms'] += 10
  207. gt 'gas_station_gp_117', 'condom_dispenser'
  208. end
  209. end
  210. end
  211. ! [x] First check over
  212. if $ARGS[0] = 'restroom_women':
  213. CLOSE ALL
  214. *clr & cla
  215. if sound = 0:PLAY 'sound/highway.mp3',5
  216. $loc_arg = 'restroom_women'
  217. $locM_arg = 'restroom_women'
  218. $menu_arg = 'restroom_women'
  219. menu_off = 0
  220. $location_type = 'bathroom'
  221. gs 'stat'
  222. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/restroom_women.jpg"></center>'
  223. 'The women''s restroom is relatively clean. It has has three bathroom stalls which over only a little privacy.'
  224. *nl
  225. '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.'
  226. act 'Go outside': minut += 1 & gt 'gas_station_gp_117', 'restroom'
  227. if mc_inventory['cocaine'] > 0 and drugVars['cocaine_day'] ! daystart:
  228. act 'Do a line of cocaine (0:05)':
  229. *clr & cla
  230. menu_off = 1
  231. gs 'drugs', 'cocaine'
  232. minut += 5
  233. gs 'stat'
  234. '<center><img <<$set_imgh>> src="images/shared/drugs/cocaine.jpg"></center>'
  235. 'You snort some cocaine, feeling dizzy for just a moment. After that you feel fantastic, horny and full of energy.'
  236. act 'Continue': gt 'gas_station_gp_117', 'restroom_women'
  237. end
  238. end
  239. dynamic $tampon
  240. dynamic $quickwash
  241. dynamic $basin
  242. dynamic $publicpan
  243. end
  244. ! [x]: First check over
  245. if $ARGS[0] = 'restroom_men':
  246. CLOSE ALL
  247. *clr & cla
  248. if sound = 0:PLAY 'sound/highway.mp3',5
  249. $loc_arg = 'restroom_men'
  250. $locM_arg = 'restroom_men'
  251. $menu_arg = 'restroom_men'
  252. menu_off = 0
  253. $location_type = 'bathroom'
  254. gs 'stat'
  255. '<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/restroom_men.jpg"></center>'
  256. 'The men''s restroom is dirty and smells like urine. It has has three bathroom stalls which over only a little privacy.'
  257. *nl
  258. '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.'
  259. act 'Go outside': minut += 1 & gt 'gas_station_gp_117', 'restroom'
  260. if mc_inventory['cocaine'] > 0 and drugVars['cocaine_day'] ! daystart:
  261. act 'Do a line of cocaine (0:05)':
  262. *clr & cla
  263. menu_off = 1
  264. gs 'drugs', 'cocaine'
  265. minut += 5
  266. gs 'stat'
  267. '<center><img <<$set_imgh>> src="images/shared/drugs/cocaine.jpg"></center>'
  268. 'You snort some cocaine, feeling dizzy for just a moment. After that you feel fantastic, horny and full of energy.'
  269. act 'Continue': gt 'gas_station_gp_117', 'restroom_men'
  270. end
  271. end
  272. dynamic $tampon
  273. dynamic $quickwash
  274. dynamic $basin
  275. dynamic $publicpan
  276. end
  277. if $ARGS[0] = 'gas':
  278. 'Your <a href="exec: gs ''carF'', ''start''"><<$car>></a> is parked here.'
  279. *nl
  280. 'You can buy petrol for your car, the price is 30 <b>₽</b> per liter.'
  281. if kanistra < 5:
  282. act 'Buy a canister and fill it with 5 liters of gasoline for 150 <b>₽</b>':
  283. cla
  284. kanistra += 1
  285. money -= 150
  286. 'You buy a canister of gasoline. (It will automatically be put in the trunk of your car)'
  287. act 'Disengage from the pump': gt 'gas_station_gp_117', 'outside'
  288. end
  289. end
  290. if benz < 50:
  291. zprbenz = 50 - benz
  292. if zprbenz * 30 <= money:
  293. act 'Fill the tank with petrol':
  294. cla
  295. *clr
  296. benz = 50
  297. zprpay = zprbenz * 30
  298. money -= zprpay
  299. ! WD: Uninitialised ~ 'pol'
  300. ! if pol > 0:'<center><img <<$set_imgh>> src="images/locations/shared/gas/zapr1.jpg"></center>'
  301. '<center><img <<$set_imgh>> src="images/locations/shared/gas/zapr1.jpg"></center>'
  302. 'You fill the tank and pay <<zprpay>> <b>₽</b>.'
  303. act 'Disengage from the pump':gt 'gas_station_gp_117', 'outside'
  304. end
  305. else
  306. 'You do not have enough money to refuel your car.'
  307. end
  308. end
  309. end
  310. ! [x] First check over
  311. ! 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
  312. ! scavenged and used later if needed.
  313. !!------ Prostitution ------------------------------
  314. !! fc
  315. !!------ Working ----------------------------------------------------------------------------------
  316. ! [x] First check over
  317. ! NOTE: The first function - work - is location dependent, so this needs to be left here, and every location will need a similar one.
  318. if $ARGS[0] = 'work':
  319. CLOSE ALL
  320. if sound = 0:PLAY 'sound/highway.mp3',20
  321. *clr & cla
  322. $loc_arg = 'work'
  323. $used_name = 'street'
  324. $menu_arg = 'work'
  325. menu_off = 0
  326. gs 'stat'
  327. gs 'prostitution_functions', 'parameters'
  328. if $prostitute_names['street'] = '':
  329. 'If you want, you can tell your clients a different name.'
  330. $prostitute_names['street'] = input("What name do you want to tell your clients? (Leave blank for <<$pcs_nickname>>)")
  331. if $prostitute_names['street'] = '': $prostitute_names['street'] = $pcs_nickname
  332. end
  333. '<center><video autoplay src="images/shared/prostitution/car/normal/negotiation/search.mp4"></video></center>'
  334. 'You are walking near the gas station waiting for a client. On a scale from 1 to 10 you look like a <<pcs_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(pcs_piercings['tongue'] > 0, ' 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.', '')
  335. 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.'
  336. if mesec > 0: '<br>You are having your period, most men will pay less for vaginal sex during that time of the month.'
  337. if prostitute['cum_dressed'] = 1: '<br>You have visible cum stains on you. Most clients won''t like that and will offer less money.'
  338. 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.', '.'), '')
  339. if prostitute['payment_method'] = 0: gs 'gas_station_gp_117', 'event_check'
  340. act 'Stop working': gt 'gas_station_gp_117', 'outside'
  341. gs 'willpower', 'prostitution', 'self', 'medium'
  342. if will_cost <= pcs_willpwr:
  343. act 'Look for a client (0:30 and <<will_cost>> Willpower)':
  344. gs 'willpower', 'pay', 'self'
  345. gt 'prostitution_car_negotiation', 'look_client'
  346. end
  347. elseif will_cost > pcs_willpwr:
  348. 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>'
  349. end
  350. 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):
  351. act 'Remove the cum from your body (0:02)':
  352. minut += 2
  353. mc_inventory['makeup_wipes'] -= 1
  354. cumspclnt = 20
  355. gs 'cum_cleanup'
  356. gt 'gas_station_gp_117', 'work'
  357. end
  358. elseif mc_inventory['makeup_wipes'] = 0:
  359. '<br>You don''t have any tissues with you to remove cum from your body.'
  360. end
  361. !! NOTE: This is where the working/negotiationg part begins in the original file. Moved to a separate file.
  362. !! This call just displays the explanation and the "config" of the negotiations on the page.
  363. gs 'prostitution_car_negotiation', 'general_description'
  364. end
  365. if $ARGS[0] = 'event_check':
  366. !! TODO: Originally this was checking for story events. Now it should check for police raid or just check, attack, or anything else.
  367. !! If this is used in the city, then the initial pimp visits should be checked here too.
  368. !! gt 'mod_wlife_story', 'police'
  369. end
  370. ! [x] First check over
  371. if $ARGS[0] = 'bus_end':
  372. minut += 87
  373. money -= 75
  374. !!NOTE: Removed the checking for acceptance
  375. prostitute['earnings_day'] = 0
  376. prostitute['customer_day'] = 0
  377. gt 'pav_market'
  378. end
  379. --- gas_station_gp_117 ---------------------------------