mod_iwhore.qsrc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. # mod_iwhore
  2. !input mod entry point here. this will be checked on every location, please keep it clean and brief to avoid game lag
  3. !pav_residential BEGIN
  4. if $curloc = 'pav_residential' and fame['pav_slut'] > 200 and hour > 6 and hour < 18 and rand(1, 10) < 6 and new_whore < 1 and new_whore_day ! daystart:
  5. 'A guy approaches you, a hungry look in his eyes. "Hey sexy, you look like a girl that knows her way in life." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go someplace quiet and have some fun?"'
  6. act 'approach': gt 'mod_iwhore_begin', 'easymoney'
  7. act 'Decline':gt 'pav_residential'
  8. end
  9. if $curloc = 'pav_residential' and fame['pav_slut'] > 200 and hour > 6 and hour < 18 and rand(1, 10) < 6 and new_whore >= 1 and new_whore =< 4 and new_whore_day ! daystart:
  10. 'A guy approaches you, a hungry look in his eyes. "Hey sexy, you look like a girl that knows her way in life." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go someplace quiet and have some fun?"'
  11. act 'approach': gt 'mod_iwhore_begin', 'habits'
  12. act 'Decline':gt 'pav_residential'
  13. end
  14. if $curloc = 'pav_residential' and fame['pav_slut'] > 200 and hour > 6 and hour < 18 and rand(1, 10) < 6 and new_whore = 5 and new_whore_day ! daystart:
  15. 'As you walk in the street a car approaches you; a man through the car windows call for your attention. "Hey sexy, you look like a girl that knows her way in life." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go some quiet place and have some fun?"'
  16. act 'approach': gt 'mod_iwhore_begin', 'hookup'
  17. act 'Decline':gt 'pav_residential'
  18. end
  19. !HIGHWAY
  20. if $curloc = 'road' and nroad = 20 and fame['pav_slut'] > 200 and new_whore >= 7 and PCloStyle = 4 and gennadij_mem ! 1:
  21. ! if inna_varvara_pimp >= 13: gs 'mod_iwhore_dincollect', 'whore_check_pro'
  22. act 'Go to work': gt 'mod_iwhore_highway', 'start'
  23. end
  24. !pav_residential
  25. if $curloc = 'pav_residential' and fame['pav_slut'] > 200 and new_whore >= 45 and gennadij_mem ! 1:
  26. killvar 'ms_temp'
  27. killvar 'ms_ender'
  28. killvar 'gfy_rand'
  29. gs 'mod_iwhore_dincollect' , 'hooking'
  30. if hour > 6 and hour < 18:
  31. if hooked_walk =< 2:
  32. 'A <a href="exec:minut += 1 & gt ''mod_iwhore_mainstreet'', ''hookedcar''">guy in a car</a> approaches you, a hungry look in his eyes. "Hey sexy, you look like a girl that knows her way around a cock." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go someplace quiet and have some fun?"'
  33. elseif hooked_walk >= 3 and hooked_walk =< 5:
  34. 'A <a href="exec:minut += 1 & gt ''mod_iwhore_mainstreet'', ''hooked''">guy</a> approaches you, a hungry look in his eyes. "Hey sexy, you look like a girl that knows her way around a cock." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go someplace quiet and have some fun?"'
  35. else
  36. act 'Catch some attention': gt 'mod_iwhore_mainstreet', 'mshooker'
  37. end
  38. elseif hour < 6 or hour >= 18:
  39. if hooked_walk =< 3:
  40. 'A <a href="exec:minut += 1 & gt ''mod_iwhore_mainstreet'', ''hookedcar''">guy in a car</a> approaches you, a hungry look in his eyes. "Hey sexy, you look like a girl that knows her way around a cock." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go someplace quiet and have some fun?"'
  41. elseif hooked_walk >= 3 and hooked_walk =< 7:
  42. 'A <a href="exec:minut += 1 & gt ''mod_iwhore_mainstreet'', ''hooked''">guy</a> approaches you, a hungry look in his eyes. "Hey sexy, you look like a girl that knows her way around a cock." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go someplace quiet and have some fun?"'
  43. else
  44. ! act 'Catch some attention': gt 'mod_iwhore_mainstreet', 'mshooker'
  45. act 'Catch some attention':
  46. if meth_man >= 1 and rapewhore_count = 5 and rand (0,10) >= 3 and hour >= 18 and hour =< 20 and new_gh_whore >= 2:
  47. gt 'mod_iwhore_jenna', 'skip_it'
  48. ! gt 'mod_iwhore_jenna', 'beast'
  49. else
  50. gt 'mod_iwhore_mainstreet', 'mshooker'
  51. end
  52. end
  53. end
  54. else
  55. ''
  56. end
  57. end
  58. if $curloc = 'pav_residential' and gennadij_hunter = 1 and gennadij_day < daystart:
  59. if rand(1,100) < 15: gt 'mod_iwhore_jenna', 'stabbed'
  60. end
  61. if $curloc = 'pav_residential' and fame['pav_slut'] > 200 and new_whore >= 45 and gennadij_mem = 1 and inna_varvara_pimp < 1 and pcs_was_trauma < 1 and pcs_awake_trauma < 1:
  62. if hour >= 18 and hour < 23:
  63. act 'Catch some attention':gt 'mod_iwhore_jenna', 'vivid'
  64. else
  65. ''
  66. end
  67. end
  68. !POD_EZD!!!!!!!!!!!!!!!SCHOOLGIRL
  69. if $curloc = 'pod_ezd' and $ARGS[0] = 'etaj_2' and home_owned[2] = 1 and gennadij_mem = 1 and inna_varvara_pimp = 1:
  70. gt 'mod_iwhore_begin', 'inna'
  71. end
  72. !ETOEXHIB!!!!!!!!!!!!!!!TGSTART
  73. if $curloc = 'etoexhib' and $ARGS[0] = 'pos51' and home_owned[1] > 0 and gennadij_mem = 1 and inna_varvara_pimp = 1:
  74. gt 'mod_iwhore_begin', 'inna'
  75. end
  76. if $curloc = 'pav_residential' and gennadij_prey = 1 and gennadij_day < daystart and inna_varvara_pimp = 5:
  77. if hour >= 10 and hour < 18: inna_varvara_pimp = 6 & gt 'mod_iwhore_begin', 'message'
  78. end
  79. !pav_complexb
  80. if $curloc = 'pav_complex' and $ARGS[0] = 'start':
  81. act 'Nearby complex':gt 'mod_iwhore_innapodz', 'etaj_1'
  82. 'Your complex is not the only <a href="exec:minut += 3 & gt ''mod_iwhore_innapodz'', ''etaj_1''">one</a>.'
  83. end
  84. !pav_complexb2!!!!!!INNAPT
  85. !if $curloc = 'pav_complexb2' and $ARGS[0] = 'etaj_5' and inna_varvara_pimp >= 2:
  86. ! if inna_varvara_pimp > 10:
  87. ! act 'Inna''s apartment':gt 'mod_iwhore_innapt', 'start'
  88. ! elseif inna_varvara_pimp = 4:
  89. ! act 'Slip the signed photo':gt 'mod_iwhore_begin', 'slipped'
  90. ! elseif inna_varvara_pimp = 5 or inna_varvara_pimp = 6:
  91. ! act '...':gt 'mod_iwhore_begin', 'slipped'
  92. ! elseif inna_varvara_pimp = 8 or inna_varvara_pimp = 9:
  93. ! act '...':gt 'mod_iwhore_begin', 'slipped'
  94. ! elseif inna_varvara_pimp = 10:
  95. ! gt 'mod_iwhore_begin', 'pimp'
  96. ! else
  97. ! act 'Look for the woman':gt 'mod_iwhore_begin', 'start'
  98. ! end
  99. !end
  100. !pav_commercial
  101. if $curloc = 'pav_commercial' and fame['pav_slut'] > 200 and new_whore >= 45 and gennadij_mem ! 1:
  102. killvar 'ms_temp'
  103. killvar 'ms_ender'
  104. killvar 'gfy_rand'
  105. gs 'mod_iwhore_dincollect' , 'hooking'
  106. if hour > 6 and hour < 18:
  107. if hooked_walk =< 2:
  108. 'A <a href="exec:minut += 1 & gt ''mod_iwhore_mainstreet'', ''hookedcar''">guy in a car</a> approaches you, a hungry look in his eyes. "Hey sexy, you look like a girl that knows her way around a cock." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go someplace quiet and have some fun?"'
  109. elseif hooked_walk >= 3 and hooked_walk =< 5:
  110. 'A <a href="exec:minut += 1 & gt ''mod_iwhore_mainstreet'', ''hooked''">guy</a> approaches you, a hungry look in his eyes. "Hey sexy, you look like a girl that knows her way around a cock." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go someplace quiet and have some fun?"'
  111. else
  112. act 'Catch some attention': gt 'mod_iwhore_mainstreet', 'mshooker'
  113. end
  114. elseif hour < 6 or hour >= 18:
  115. if hooked_walk =< 3:
  116. 'A <a href="exec:minut += 1 & gt ''mod_iwhore_mainstreet'', ''hookedcar''">guy in a car</a> approaches you, a hungry look in his eyes. "Hey sexy, you look like a girl that knows her way around a cock." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go someplace quiet and have some fun?"'
  117. elseif hooked_walk >= 3 and hooked_walk =< 7:
  118. 'A <a href="exec:minut += 1 & gt ''mod_iwhore_mainstreet'', ''hooked''">guy</a> approaches you, a hungry look in his eyes. "Hey sexy, you look like a girl that knows her way around a cock." He laughs and licks his lips while looking you over. "I got some money, and if you have some time, how about we go someplace quiet and have some fun?"'
  119. else
  120. act 'Catch some attention': gt 'mod_iwhore_mainstreet', 'mshooker'
  121. end
  122. else
  123. end
  124. end
  125. if $curloc = 'pav_commercial' and gennadij_hunter = 1 and gennadij_day < daystart:
  126. if rand(1,100) < 15: gt 'mod_iwhore_jenna', 'stabbed'
  127. end
  128. !PARK
  129. if $curloc = 'pav_park' and fame['pav_slut'] > 200 and new_whore >= 45 and gennadij_mem ! 1:
  130. killvar 'hook_park'
  131. act 'Catch some attention': gt 'mod_iwhore_park', 'parkhooker'
  132. end
  133. if $curloc = 'pav_park' and inna_varvara_pimp = 7:
  134. act 'Look behind the bench': gt 'mod_iwhore_begin', 'message'
  135. end
  136. !HERESTARTTHEENTRY!UPDATE3!
  137. !if $curloc = 'pav_park':
  138. if $curloc = 'pav_park' and $ARGS[0] = 'start':
  139. !RussMeyerTribute!
  140. if meth_man = 1 and (hour < 6 or hour >= 18) and gennadij_mem ! 1 and Krestovoz_pimp_protection ! 1 and mosol =< 40:
  141. 'Far from people eyes, in the deep of the park, there''s a <a href="exec:minut += 1 & gt ''mod_iwhore_methman'', ''running_meth''">fountain</a> where people can rest and drink some water.'
  142. else
  143. 'Far from people eyes, in the deep of the park, there''s a <a href="exec:minut += 1 & gt ''mod_iwhore_fountain'', ''start''">fountain</a> where people can rest and drink some water.'
  144. end
  145. end
  146. if $curloc = 'pav_park' and $ARGS[0] = 'start' and new_whore >= 30 and meth_man < 1 and $clothingworntype = 'danilovich_outfits' and $shoeworntype = 'danilovich' and daybeplacer_pav_park = daystart and (hour < 6 or hour >= 18) and gennadij_mem ! 1:
  147. gt 'mod_iwhore_methman', 'running_meth'
  148. end
  149. !BATH
  150. if $curloc = 'pav_residential':
  151. 'You can see the <a href="exec:minut += 1 & gt ''mod_iwhore_pbath'', ''start''">public restrooms</a>, they are not fee free... .'
  152. end
  153. !THERAPIST!
  154. if $curloc = 'therapist' and $args[0] = '':
  155. if pcs_was_trauma > 0:
  156. act 'Deal with losing the baby':
  157. cla
  158. *clr
  159. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/clinic/therapist/room.jpg"></center>'
  160. $therapy = 'loss'
  161. '"I would like some help dealing with my beatings and losing my child."'
  162. '"I think the best way to do that would be hypnotherapy."'
  163. act 'Regular therapy':
  164. cls
  165. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/clinic/therapist/therapy1.jpg"></center>'
  166. minut += 60
  167. pcs_was_trauma -= 1
  168. gs 'stat'
  169. 'You talk about your traumatic issues, and Dr. Pavlov makes some suggestions, and asks some pointed questions. Although he makes you uncomfortable, it somehow makes you feel better about yourself.'
  170. if pcs_was_trauma = 0:
  171. 'You were able to give the events a place in your life and you are finally ready to move on.'
  172. end
  173. '"Please, visit me again if you have any further problems, I will be glad to help!" Says Dr. Pavlov, as he escort you out of his door.'
  174. act 'Leave':gt $loc
  175. end
  176. act 'Hypnotherapy':gt 'mod_iwhore_therapy', 'hypno'
  177. end
  178. end
  179. if pcs_awake_trauma > 0:
  180. act 'Deal with your awakening':
  181. cla
  182. *clr
  183. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/clinic/therapist/room.jpg"></center>'
  184. $therapy = 'trauma'
  185. '"I would like some help dealing with my beatings and awakening."'
  186. '"I think the best way to do that would be hypnotherapy."'
  187. act 'Regular therapy':
  188. cls
  189. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/clinic/therapist/therapy1.jpg"></center>'
  190. minut += 60
  191. pcs_awake_trauma -= 1
  192. gs 'stat'
  193. 'You talk about your traumatic issues, and Dr. Pavlov makes some suggestions, and asks some pointed questions. Although he makes you uncomfortable, it somehow makes you feel better about yourself.'
  194. if pcs_awake_trauma = 0:
  195. 'You were able to give the events a place in your life and you are finally ready to move on.'
  196. end
  197. '"Please, visit me again if you have any further problems, I will be glad to help!" Says Dr. Pavlov, as he escort you out of his door.'
  198. act 'Leave':gt $loc
  199. end
  200. act 'Hypnotherapy':gt 'mod_iwhore_therapy', 'hypno'
  201. end
  202. end
  203. end
  204. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  205. !!!!!!!!!!!!!!!!!!HOOKING RAND!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  206. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  207. ! if PCloStyle = 4:
  208. ! d'approached' hooked_walk = rand(0,50)--->[d 0,5] (51) ratio = 6/51 ---> 0,117
  209. ! d'work' hooked_walk = (5,50)--->[d 0,9] (45) ratio = 10/45---> 0,222
  210. ! n'approached' hooked_walk = rand(0,50)--->[n 0,7] (51) ratio = 8/51 ---> 0,156
  211. ! n'work' hooked_walk = (7,50)--->[n 0,12](43) ratio = 13/43 ---> 0,302
  212. ! else
  213. ! d'approached' hooked_walk = rand(0,70)--->[d 0,5] (71) ratio = 6/71 ---> 0,084
  214. ! d'work' hooked_walk = (5,70)--->[d 0,9] (65) ratio = 10/65---> 0,153
  215. ! n'approached' hooked_walk = rand(0,70)--->[n 0,7] (71) ratio = 8/71 ---> 0,112
  216. ! n'work' hooked_walk = (4,70)--->[n 0,12](58) ratio = 13/58---> 0,224
  217. ! end
  218. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  219. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  220. !entry point 1: if player is on bed, create a new link to make her sleepy
  221. !if $curloc = 'bed2' and $args[0] = '':
  222. ! if pcs_sleep > 80:
  223. ! '[mod]... But You can make yourself <a href="exec:pcs_sleep=0&gt $curloc">sleepy!</a>'
  224. ! else
  225. ! '[mod]... And you are already sleepy.'
  226. ! end
  227. !end
  228. !entry point 2: goto school directly from room
  229. !Note that location name are case sensetive. you can use lcase() or ucase() to prevent bug
  230. !if lcase($curloc) = 'bedrpar' or ucase($curloc) = 'KORRPAR':
  231. ! act '[mod]<font color = green><b>Go to school</b></font>': minut += 1 & gt 'gschool_grounds', 'main'
  232. !end
  233. !entry point 3: replace exit room act in apartment
  234. !if $curloc = 'bedrPar':
  235. ! delact 'Exit the room'
  236. ! act 'Exit the room':
  237. ! msg 'Now mod isample will send you to school directly'
  238. ! minut += 1 & gt 'gschool_grounds', 'main'
  239. ! end
  240. !end
  241. !entry point 4: access in-mod location
  242. !if $curloc = 'pav_residential':
  243. ! act '[mod]Chase the rabbit':
  244. ! gt 'mod_isample_pav_residential'
  245. ! end
  246. !end
  247. !if $curloc = 'city_residential':
  248. ! act '[mod]Jump into rabit hole':
  249. ! *clr & cla
  250. ! '[mod]Suddenly, everything blank out'
  251. ! gs 'mod_isample_street'
  252. ! end
  253. !end
  254. --- mod_iwhore ---------------------------------