bordel.qsrc 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. # bordel
  2. if $ARGS[0] = 'start' or $ARGS[0] = '':
  3. $location_type = 'event'
  4. menu_off = 1
  5. gs 'stat'
  6. '<center><b>Brothel</b></center>'
  7. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/bordel.jpg"></center>'
  8. 'The brothel madam looks you over as you enter.'
  9. if pcs_apprnc < 0:
  10. '"You look half dead, get yourself treated."'
  11. act 'Leave':gt 'city_industrial', 'redlight'
  12. elseif pcs_apprnc < 100:
  13. '"Look at you, no one will pay for such a product, get cleaned up and come back."'
  14. act 'Leave':gt 'city_industrial', 'redlight'
  15. else
  16. '"You can work tonight, head to your room and get ready."'
  17. act 'Go to your room':gt 'bordel', 'brothel'
  18. end
  19. end
  20. if $ARGS[0] = 'brothel':
  21. $sexloc = 'bordel'
  22. $loc_arg = $ARGS[0]
  23. $loc = 'bordel'
  24. $location_type = 'private'
  25. $menu_loc = 'bordel'
  26. $menu_arg = 'brothel'
  27. menu_off = 0
  28. killvar '$locclass'
  29. cla
  30. *clr
  31. gs 'stat'
  32. '<center><b>Your room in a brothel</b></center>'
  33. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/borroom.jpg"></center>'
  34. 'This is your room in the brothel. In the middle is a huge bed and not much else. There is a small side door to the <a href="exec:gt ''bordel'', ''dysh''">bathroom</a>.'
  35. *nl
  36. 'In a brothel there is a lot of competition. In order to avoid a massacre, they introduced a rule - no more than two clients per day.'
  37. act 'Leave':
  38. if $clothingworntype ! 'nude':
  39. gt 'city_industrial', 'redlight'
  40. else
  41. cla
  42. 'You can''t go outside naked.'
  43. act 'Go to the bathroom':gt 'bordel', 'dysh'
  44. end
  45. end
  46. if func('bordel', 'is_open'):
  47. act 'Go to the reception room and wait for customers':
  48. if (cumloc[6] = 1 or cumloc[7] = 1) or cumloc[11] = 1 or pcs_makeup < 2 or pcs_leghair > 3 or pcs_pubes > 3 or sweat > 25 or pcs_hairbsh = 0:
  49. cla
  50. 'The brothel madam comes over to you and says, "Our customers expect you to be clean, shaven, made-up and with your hair looking nice. Go and sort yourself out, now!"'
  51. act 'Go to the bathroom':gt 'bordel', 'dysh'
  52. elseif $clothingworntype ! 'fancy_burlesque' and PCloStyle ! 4 and $clothingworntype ! 'nude':
  53. cla
  54. 'You need to wear an outfit that can be used for prostitution. If you haven''t got anything suitable and you are desperate, you could work naked, but you will get paid less and might get treated badly.'
  55. 'You can change your clothes in the bathroom.'
  56. act 'Go to the bathroom':gt 'bordel', 'dysh'
  57. else
  58. gt 'bordel', 'var'
  59. end
  60. end
  61. end
  62. end
  63. if $ARGS[0] = 'dysh':
  64. $loc_arg = $ARGS[0]
  65. $loc = 'bordel'
  66. $locM_arg = 'dysh'
  67. $locM = 'bordel'
  68. $location_type = 'bathroom'
  69. $locclass = 'restroom'
  70. $menu_loc = 'bordel'
  71. $menu_arg = 'dysh'
  72. menu_off = 0
  73. cla
  74. *clr
  75. gs 'stat'
  76. '<center><img <<$set_imgh>> src="images/locations/city/residential/sauna/bordysh.jpg"></center>'
  77. 'The bathroom is well fitted and clean as customers can access it and hygiene is very important in a brothel.'
  78. 'Your room is so dedicated to its purpose that your clothes are stored in here.'
  79. *nl
  80. 'You can access your <a href="exec: quick_dress = 1 & gt ''wardrobe'', ''default''">default clothing</a> options directly.'
  81. act 'Return to your room':gt 'bordel', 'brothel'
  82. act 'Bathroom functions':
  83. bordysh = 1
  84. gt 'vann', 'start'
  85. end
  86. act 'Mirror':
  87. borMir = 1
  88. gt 'mirror', 'start'
  89. end
  90. act 'Change your clothes': gt 'wardrobe', 'start'
  91. end
  92. if $ARGS[0] = 'var':
  93. $location_type = 'event'
  94. menu_off = 1
  95. if borsexkol >= 2:gt 'bordel', 'brothel'
  96. if $clothingworntype = 'nude':
  97. bordelpay = 8
  98. else
  99. bordelpay = 10
  100. end
  101. gs 'npcgeneratec', 0, 'Client', rand(18,40)
  102. gs 'boyStat', $npclastgenerated
  103. minut += 30
  104. borrand = rand(0, 10)
  105. if borrand = 0:
  106. bordelpay *= 100
  107. 'A customer orders you (<<bordelpay>> <b>₽</b>).'
  108. gs 'willpower', 'sex', 'resist'
  109. if will_cost <= pcs_willpwr:
  110. act 'Refuse (<<will_cost>> Willpower)':
  111. gs 'willpower', 'sex', 'resist'
  112. gs 'willpower', 'pay', 'resist'
  113. gs 'stat'
  114. gt 'bordel', 'brothel'
  115. end
  116. else
  117. act 'Refuse (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  118. end
  119. act 'Agree':
  120. borsexkol += 1
  121. money += bordelpay
  122. slutty += 1
  123. bordelslutty += 1
  124. minut += 10
  125. zpprand = rand(0, 100)
  126. if zpprand >= 70:gs 'dinSex', 'std_trigger'
  127. picrand = rand(0,40)
  128. gt 'sex', 'start'
  129. end
  130. elseif borrand = 1:
  131. bordelpay *= 100
  132. 'A customer orders you and another girl (<<bordelpay>> <b>₽</b>).'
  133. gs 'willpower', 'sex', 'resist', 'hard'
  134. if will_cost <= pcs_willpwr:
  135. act 'Refuse (<<will_cost>> Willpower)':
  136. gs 'willpower', 'sex', 'resist', 'hard'
  137. gs 'willpower', 'pay', 'resist'
  138. gs 'stat'
  139. gt 'bordel', 'brothel'
  140. end
  141. else
  142. act 'Refuse (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  143. end
  144. act 'Agree':
  145. borsexkol += 1
  146. money += bordelpay
  147. slutty += 1
  148. bordelslutty += 1
  149. minut += 10
  150. zpprand = rand(0, 100)
  151. if zpprand >= 70:gs 'dinSex', 'std_trigger'
  152. gt 'podrsex', 'start'
  153. end
  154. elseif borrand = 2:
  155. bordelpay *= 150
  156. 'Two clients book you (<<bordelpay>> <b>₽</b>).'
  157. gs 'willpower', 'sex', 'resist', 'hard'
  158. if will_cost <= pcs_willpwr:
  159. act 'Refuse (<<will_cost>> Willpower)':
  160. gs 'willpower', 'sex', 'resist', 'hard'
  161. gs 'willpower', 'pay', 'resist'
  162. gs 'stat'
  163. gt 'bordel', 'brothel'
  164. end
  165. else
  166. act 'Refuse (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  167. end
  168. act 'Agree':
  169. borsexkol += 1
  170. money += bordelpay
  171. slutty += 1
  172. bordelslutty += 1
  173. minut += 10
  174. zpprand = rand(0, 100)
  175. if zpprand >= 70:gs 'dinSex', 'std_trigger'
  176. gs 'npcgeneratec', 0, 'Client', rand(18,40)
  177. gs 'boyStat', $npclastgenerated,'1'
  178. gt 'sexdvoe', 'start'
  179. end
  180. elseif borrand = 3:
  181. bordelpay *= 150
  182. 'Two clients book you and another girl (<<bordelpay>> <b>₽</b>).'
  183. gs 'willpower', 'sex', 'resist'
  184. if will_cost <= pcs_willpwr:
  185. act 'Refuse (<<will_cost>> Willpower)':
  186. gs 'willpower', 'sex', 'resist'
  187. gs 'willpower', 'pay', 'resist'
  188. gs 'stat'
  189. gt 'bordel', 'brothel'
  190. end
  191. else
  192. act 'Refuse (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  193. end
  194. act 'Agree':
  195. borsexkol += 1
  196. money += bordelpay
  197. slutty += 1
  198. bordelslutty += 1
  199. minut += 10
  200. zpprand = rand(0, 100)
  201. if zpprand >= 70:gs 'dinSex', 'std_trigger'
  202. gs 'npcgeneratec', 0, 'Client', rand(18,40)
  203. gs 'boyStat', $npclastgenerated,'1'
  204. gt 'sexdvanadva', 'start'
  205. end
  206. elseif borrand = 4:
  207. bordelpay *= 200
  208. 'A group of customers order you (<<bordelpay>> <b>₽</b>).'
  209. gs 'willpower', 'sex', 'resist', 'hard'
  210. if will_cost <= pcs_willpwr:
  211. act 'Refuse (<<will_cost>> Willpower)':
  212. gs 'willpower', 'sex', 'resist', 'hard'
  213. gs 'willpower', 'pay', 'resist'
  214. gs 'stat'
  215. gt 'bordel', 'brothel'
  216. end
  217. else
  218. act 'Refuse (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  219. end
  220. act 'Agree':
  221. borsexkol += 1
  222. money += bordelpay
  223. slutty += 1
  224. bordelslutty += 1
  225. minut += 10
  226. zpprand = rand(0, 100)
  227. if zpprand >= 70:gs 'dinSex', 'std_trigger'
  228. guy += 3
  229. killvar '$boy'
  230. gs 'npcgeneratec', 0, 'Bordel Client', rand(18,40)
  231. gs 'boyStat', $npclastgenerated
  232. gs 'npcgeneratec', 0, 'Bordel Client', rand(18,40)
  233. gs 'boyStat', $npclastgenerated,'1'
  234. gs 'npcgeneratec', 0, 'Bordel Client', rand(18,40)
  235. gs 'boyStat', $npclastgenerated,'2'
  236. gt 'paysex', 'start'
  237. end
  238. elseif borrand > 4:
  239. 'You are not chosen.'
  240. act 'Go to your room':gt 'bordel', 'brothel'
  241. act 'Wait for another':gt 'bordel', 'var'
  242. end
  243. end
  244. if $ARGS[0] = 'is_open':
  245. RESULT = hour >= func('bordel', 'open_hour') or hour <= func('bordel', 'close_hour')
  246. end
  247. if $ARGS[0] = 'open_hour':
  248. RESULT = 20
  249. end
  250. if $ARGS[0] = 'close_hour':
  251. RESULT = 3
  252. end
  253. --- bordel ---------------------------------