1
0

gas_station_gp_117.qsrc 17 KB

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