397_Prostitute 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. # Prostitute
  2. if $ARGS[0] = 'start':
  3. $metka = $ARGS[0]
  4. $loc = $CURLOC
  5. $metkaSex = $ARGS[0]
  6. $locSex = $CURLOC
  7. cla
  8. *clr
  9. set minut += 5
  10. '<center><B><font color = maroon>Hooker</font></B></center>'
  11. '<center><img src="images\etogame\park2.jpg"></center>'
  12. clr
  13. gs 'stat'
  14. gs 'time'
  15. if hour >= 16 and hour <= 23:
  16. if whoreQW = 2:
  17. 'Prostitutes look at you with curiosity.'
  18. end
  19. if whoreQW = 1:
  20. 'Prostitutes look at you with interest.'
  21. act 'Talk':
  22. cla
  23. set whoreQW = 2
  24. 'You went to a prostitute and asked her how things are done here at all. She began to explain. "We are free, do not work on anyone, but because of this many problems. Svimi Stella with her friends sometimes beat us and rob and sometimes come petty thugs and rob us of the money. If you want to work here, you have to pay and Stella and Bandyuk . course you cool, you can try to besiege Stella and her friends, but the bandits do not advise contact. And yet, you do not peck on customers, if you nebudesh dressed like a slut, you can buy some clothes in a sex shop. "'
  25. act 'Move away': gt 'prostitute','start'
  26. end
  27. end
  28. if whoreQW = 0:
  29. 'Hey, you´re not one of us, would valyl from our point, and that the teeth will not collect.'
  30. act 'Fuck you!':
  31. cla
  32. set minut += 15
  33. set $nameV = 'Stoned prostitute'
  34. !Статы
  35. set strenV = 20
  36. set speedV = 30
  37. set agilV = 30
  38. set reactV = 30
  39. set vitalV = 50
  40. set intelV = 10
  41. set willV = 10
  42. !Навыки
  43. set magikV = 10
  44. set boxingV = 10
  45. set shootV = 10
  46. !Параметры
  47. set healthV = vitalV * 10 + strenV * 5
  48. set mannaV = intelV * 10 + magikV * 10
  49. set willpowerV = willV * 10
  50. set BonusAtakV = 0
  51. set BonusDefV = 0
  52. !программа действий
  53. set program = 0
  54. set prostitutFight = 1
  55. if spellavtoklon = 1: set klon = 3
  56. if spellbefshild = 1: set defence = 500
  57. gt 'fight','start'
  58. end
  59. act 'And how to become one of your own?':
  60. cla
  61. 'And how to become one of your own? You asked. Brazen prostitute grinned spat. To do this, you have to pay Stella.'
  62. act 'Move away': gt 'prostitute','start'
  63. act 'I agree':
  64. cla
  65. whoreQW = 2
  66. 'You agreed. Prostitute told you that you need to buy the appropriate clothing in sex Shope. Then customers will immediately understand that you´re a prostitute.'
  67. act 'Move away': gt 'prostitute','start'
  68. end
  69. end
  70. end
  71. if whoreQW > 1 and hook = 1 and son > 0:
  72. act 'Stand on the panel (0:15)':
  73. cla
  74. set minut += 10
  75. set prosrand = RAND(0,(vnesh + hour)*2)
  76. if prosrand < 20:
  77. 'No you are not interested.'
  78. act 'Leave': gt 'prostitute','start'
  79. end
  80. if prosrand >= 20:
  81. 'To you a car drove up.'
  82. set proseventrand = RAND(0,100)
  83. if proseventrand <= 5:
  84. 'To you black jeep pulled up, opened the window and leaned out healthy brazen face. "Hey slut, it´s time to pay tribute. Shtukar Come here and get out on work."'
  85. if money >= 1000:
  86. act 'Giving money':
  87. cla
  88. set money -= 1000
  89. 'You gave the money big man in the jeep. He put them in his pocket and left.'
  90. act 'Move away': gt 'prostitute','start'
  91. end
  92. end
  93. if money < 1000:
  94. act 'I have not earned much':
  95. cla
  96. money = 0
  97. 'You big man began to explain that you have not earned it grabbed you by the arm and threw him into a jeep, there you have it brushed pocket and said that he will teach you how to work.'
  98. act 'Work':
  99. set $nameV = 'bandit'
  100. set $boy = 'Bandit'
  101. set dick = RAND(18,21)
  102. gt 'blowPR','start'
  103. end
  104. end
  105. end
  106. act 'Fuck you!':
  107. cla
  108. set minut += 15
  109. set $nameV = 'Bandit'
  110. !Статы
  111. set strenV = 200
  112. set speedV = 30
  113. set agilV = 20
  114. set reactV = 20
  115. set vitalV = 150
  116. set intelV = 10
  117. set willV = 10
  118. !Навыки
  119. set magikV = 10
  120. set boxingV = 10
  121. set shootV = 10
  122. !Параметры
  123. set healthV = vitalV * 10 + strenV * 5
  124. set mannaV = intelV * 10 + magikV * 10
  125. set willpowerV = willV * 10
  126. set BonusAtakV = 0
  127. set BonusDefV = 0
  128. !программа действий
  129. set program = 0
  130. set prostitutFight = 2
  131. if spellavtoklon = 1: set klon = 3
  132. if spellbefshild = 1: set defence = 500
  133. gt 'fight','start'
  134. end
  135. end
  136. if proseventrand > 5 and proseventrand <= 50:
  137. klient_needs = 0
  138. prosti = 0
  139. KlientMON = RAND(1,10)
  140. 'The client wants to blow and asks how much it will cost.'
  141. end
  142. if proseventrand > 50 and proseventrand <= 75:
  143. klient_needs = 1
  144. prosti = 0
  145. KlientMON = RAND(3,25)
  146. 'Client wants sex and asks how much it will cost.'
  147. end
  148. if proseventrand > 75 and proseventrand <= 95:
  149. klient_needs = 2
  150. prosti = 0
  151. KlientMON = RAND(5,40)
  152. 'Client wants anal and asks how much it will cost.'
  153. end
  154. if proseventrand > 5 and proseventrand <= 95:
  155. klienVNPR = RAND(0,30)
  156. act 'Leave': gt 'prostitute','start'
  157. if ProsMoney > 0:
  158. act '<<ProsMoney * 100>> rubles':
  159. cls
  160. dynamic $universalklient
  161. end
  162. end
  163. act 'Assign a price':
  164. cls
  165. gs 'stat'
  166. ProsMoney = input("Enter a number below, which will multiplied by 100")
  167. if ProsMoney < 1:
  168. 'The client looked at you in amazement and muttered "what that fucker." Then started the car and drove away.'
  169. act 'Leave': gt 'prostitute','start'
  170. else
  171. dynamic $universalklient
  172. end
  173. end
  174. end
  175. if proseventrand > 95:
  176. 'To you approached a prostitute. "I hear you, slut, if you do not want problems, you have to pay Stella. Pyatihatnik Come here and get out on work."'
  177. if money >= 500:
  178. act 'Giving money':
  179. cla
  180. set money -= 500
  181. 'You gave the money to the prostitute, she turned and walked away.'
  182. act 'Move away': gt 'prostitute','start'
  183. end
  184. end
  185. if money < 500:
  186. act 'I have not earned much':
  187. cla
  188. set money = 0
  189. 'You started zhalovatsya that do not earn much money. You searched prostitute taking everything of value and left.'
  190. act 'Move away': gt 'prostitute','start'
  191. end
  192. end
  193. act 'Fuck you!':
  194. cla
  195. set minut += 15
  196. set $nameV = 'Prostitute'
  197. !Статы
  198. set strenV = 50
  199. set speedV = 50
  200. set agilV = 40
  201. set reactV = 30
  202. set vitalV = 60
  203. set intelV = 10
  204. set willV = 10
  205. !Навыки
  206. set magikV = 10
  207. set boxingV = 10
  208. set shootV = 10
  209. !Параметры
  210. set healthV = vitalV * 10 + strenV * 5
  211. set mannaV = intelV * 10 + magikV * 10
  212. set willpowerV = willV * 10
  213. set BonusAtakV = 0
  214. set BonusDefV = 0
  215. !программа действий
  216. set program = 0
  217. set prostitutFight = 3
  218. if spellavtoklon = 1: set klon = 3
  219. if spellbefshild = 1: set defence = 500
  220. gt 'fight','start'
  221. end
  222. end
  223. end
  224. end
  225. end
  226. end
  227. act 'Leave':
  228. cla
  229. set minut += 5
  230. set prosta = 0
  231. gt 'park','start'
  232. end
  233. end
  234. --- Prostitute ---------------------------------
  235. # Menu.Info
  236. *NL 'Module to work with the menu'
  237. *NL 'Version: 1.0'
  238. *NL 'Author: Olegus t.Gl. (C) 2011'
  239. *NL 'Website: http://olegus.ifiction.ru'
  240. *NL 'e-mail: olegus.tgl @ gmail.com'
  241. *NL 'icq: 145540276'
  242. *NL 'Forum topic: http://forum.ifiction.ru/viewtopic.php?id = 1527'
  243. --- Menu.Info ---------------------------------
  244. # Menu.Create
  245. if $ARGS[0] = '': EXIT
  246. !----------
  247. $ARGS[0] = 'otg_Menyu_'+$ARGS[0]
  248. !----------
  249. killvar '<<$ARGS[0]>>'
  250. killvar '<<$ARGS[0]>>_Parametry'
  251. killvar '<<$ARGS[0]>>_Vybrali'
  252. killvar '<<$ARGS[0]>>_VybrannyyPunkt'
  253. killvar '<<$ARGS[0]>>_Vremya'
  254. killvar '<<$ARGS[0]>>_ModuliSobyty'
  255. --- Menu.Create ---------------------------------
  256. # Menu.Add
  257. if $ARGS[0] = '' or $ARGS[1] = '': EXIT
  258. !----------
  259. if $ARGS[1] = '---' or lcase($ARGS[1])='separator':
  260. dynamic "$otg_Меню_<<$ARGS[0]>>[] = '-: -'"
  261. EXIT
  262. end
  263. !----------
  264. ARGS[10] = arrsize('ARGS')
  265. if ARGS[10]<3: $ARGS[2] = ''
  266. if ARGS[10]<4: $ARGS[3] = ''
  267. !----------
  268. $ARGS[0] = 'otg_Menyu_<<$ARGS[0]>>'
  269. $ARGS[1] = replace($ARGS[1],'''','''''')
  270. if $ARGS[2]<>'': $ARGS[2] = ':'+replace($ARGS[2],'''','''''')
  271. if $ARGS[3]<>'': $ARGS[3] = replace($ARGS[3],'''','''''')
  272. !----------
  273. dynamic "
  274. $<<$ARGS[0]>>[] = '<<$ARGS[1]>>Menu.{Processing}<<$ARGS[2]>>'
  275. $<<$ARGS[0]>>_Параметры[str(arrsize('<<$ARGS[0]>>'))+'_Z'] = '<<$ARGS[1]>>'
  276. $<<$ARGS[0]>>_Параметры[str(arrsize('<<$ARGS[0]>>'))+'_F'] = '<<$ARGS[3]>>'
  277. "
  278. !----------
  279. $ARGS[3] = ''
  280. if ARGS[10]>4:
  281. ARGS[11] = 4
  282. :otg_menyu_metka_1
  283. if ARGS[11]<ARGS[10]:
  284. if $ARGS[ARGS[11]]<>'':
  285. $ARGS[3] += ''''+replace($ARGS[ARGS[11]],'''','''''')+''''
  286. else
  287. if ARGS[ARGS[11]]<>0:
  288. $ARGS[3] += ','+str(ARGS[ARGS[11]])
  289. else
  290. $ARGS[3] += ''' '''
  291. end
  292. end
  293. ARGS[11] += 1
  294. jump 'otg_menyu_metka_1'
  295. end
  296. end
  297. !----------
  298. dynamic "
  299. $<<$ARGS[0]>>_Параметры[str(arrsize('<<$ARGS[0]>>'))+'_P'] = '<<replace($ARGS[3],'''','''''')>>'
  300. "
  301. --- Menu.Add ---------------------------------
  302. # Menu.AddCondition
  303. if $ARGS[0] = '' or $ARGS[1] = '': EXIT
  304. !----------
  305. ARGS[10] = dyneval("Result = arrsize('otg_Menyu_<<$ARGS[0]>>')")
  306. if dyneval("$Result = $otg_Меню_<<$ARGS[0]>>[<<ARGS[10]>>-1]")='-: -': EXIT
  307. !----------
  308. dynamic "
  309. $otg_Меню_<<$ARGS[0]>>_Параметры['<<ARGS[10]>>y'] = '<<replace($ARGS[1],'''','''''')>>'
  310. "
  311. --- Menu.AddCondition ---------------------------------
  312. # Menu.AddModule
  313. if $ARGS[0] = '' or $ARGS[1] = '': EXIT
  314. !----------
  315. ARGS[10] = dyneval("Result = arrsize('otg_Menyu_<<$ARGS[0]>>')")
  316. if dyneval("$Result = $otg_Меню_<<$ARGS[0]>>[<<ARGS[10]>>-1]")='-: -': EXIT
  317. !----------
  318. dynamic "
  319. $otg_Меню_<<$ARGS[0]>>_Параметры['<<ARGS[10]>>_M'] = '<<replace($ARGS[1],'''','''''')>>'
  320. "
  321. --- Menu.AddModule ---------------------------------
  322. # Menu.AddEvent
  323. if $ARGS[0] = '' or $ARGS[1] = '': EXIT
  324. !----------
  325. $ARGS[1] = lcase(trim($ARGS[1]))
  326. !----------
  327. if $ARGS[1] = 'when you select':
  328. dynamic "$otg_Меню_<<$ARGS[0]>>_МодулиСобытий['<<$ARGS[1]>>'] = '<<replace($ARGS[2],'''','''''')>>'"
  329. elseif $ARGS[1] = 'selecting processing after':
  330. dynamic "$otg_Меню_<<$ARGS[0]>>_МодулиСобытий['<<$ARGS[1]>>'] = '<<replace($ARGS[2],'''','''''')>>'"
  331. elseif $ARGS[1] = 'failure of the choice':
  332. dynamic "$otg_Меню_<<$ARGS[0]>>_МодулиСобытий['<<$ARGS[1]>>'] = '<<replace($ARGS[2],'''','''''')>>'"
  333. end
  334. --- Menu.AddEvent ---------------------------------
  335. # Menu.Call
  336. if $ARGS[0] = '': EXIT
  337. !----------
  338. ARGS[10] = arrsize('otg_Menyu_<<$ARGS[0]>>')
  339. if ARGS[10] = 0: EXIT
  340. !----------
  341. $otg_Menu_Current = 'otg_Menyu_<<$ARGS[0]>>'
  342. killvar 'otg_Menyu_Vyzyvaemoe'
  343. killvar 'otg_Menu_Compliance'
  344. !----------
  345. ARGS[11] = 0
  346. :otg_menyu_metka_2
  347. if ARGS[11]<ARGS[10]:
  348. dynamic "
  349. $ARGS[0] = $<<$otg_Menu_Current>>_Параметры['<<ARGS[11]+1>>y']
  350. if $ARGS[0] = '':
  351. $otg_Меню_Вызываемое[] = $<<$otg_Menu_Current>>[<<ARGS[11]>>]
  352. otg_Menu_Compliance[]=<<ARGS[11]+1>>
  353. else
  354. if dyneval($ARGS[0])<>0:
  355. $otg_Меню_Вызываемое[] = $<<$otg_Menu_Current>>[<<ARGS[11]>>]
  356. otg_Menu_Compliance[]=<<ARGS[11]+1>>
  357. end
  358. end
  359. "
  360. ARGS[11] += 1
  361. !----------
  362. jump 'otg_menyu_metka_2'
  363. end
  364. !----------
  365. otg_Menu_Time = 0
  366. dynamic "
  367. <<$otg_Menu_Current>>_Выбрали = 0
  368. <<$otg_Menu_Current>>_ВыбранныйПункт = 0
  369. <<$otg_Menu_Current>>_Время = MSECSCOUNT
  370. "
  371. !----------
  372. menu 'otg_Menyu_Vyzyvaemoe'
  373. !----------
  374. dynamic "
  375. if <<$otg_Menu_Current>>_Выбрали = 0:
  376. <<$otg_Menu_Current>>_Время = MSECSCOUNT-<<$otg_Menu_Current>>_Время
  377. $ARGS[0] = $<<$otg_Menu_Current>>_МодулиСобытий['failure of the choice']
  378. if $ARGS[0]<>'': dynamic $ARGS[0]
  379. else
  380. $ARGS[0] = $<<$otg_Menu_Current>>_МодулиСобытий['selecting processing after']
  381. if $ARGS[0]<>'': dynamic $ARGS[0],$<<$otg_Menu_Current>>_Параметры[str(<<$otg_Menu_Current>>_ВыбранныйПункт)+'_Z']"+dyneval("$Result = $<<$otg_Menu_Current>>_Параметры[str(<<$otg_Menu_Current>>_ВыбранныйПункт)+'_P']")+"
  382. end
  383. "
  384. !----------
  385. killvar 'otg_Menyu_Tekuschee'
  386. killvar 'otg_Menyu_Vyzyvaemoe'
  387. killvar 'otg_Menu_Compliance'
  388. !----------
  389. Result = dyneval("Result = otg_Меню_<<$ARGS[0]>>_Выбрали")
  390. --- Menu.Call ---------------------------------
  391. # Menu.Chosen
  392. if $ARGS[0] = '': EXIT
  393. Result = dyneval("Result = otg_Меню_<<$ARGS[0]>>_Выбрали")
  394. --- Menu.Chosen ---------------------------------
  395. # Menu.Time
  396. if $ARGS[0] = '':
  397. Result = otg_Menu_Time
  398. else
  399. Result = dyneval("Result = otg_Меню_<<$ARGS[0]>>_Время")
  400. end
  401. --- Menu.Time ---------------------------------
  402. # Menu.Destroy
  403. if $ARGS[0] = '': EXIT
  404. GS 'Menu.Create',$ARGS[0]
  405. --- Menu.Destroy ---------------------------------
  406. # Menu.{Processing}
  407. ARGS[0] = otg_Menu_Compliance[ARGS[0]-1]
  408. !----------
  409. if ARGS[0] = 0: EXIT
  410. !----------
  411. $ARGS[0] = dyneval("$Result = $<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_F']")
  412. $ARGS[1] = dyneval("$Result = $<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_M']")
  413. !----------
  414. dynamic "
  415. if $ARGS[1]<>'' or ($ARGS[0]<>'' and LOC $ARGS[0]):
  416. <<$otg_Menu_Current>>_Время = MSECSCOUNT-<<$otg_Menu_Current>>_Время
  417. otg_Menu_Time=<<$otg_Menu_Current>>_Время
  418. <<$otg_Menu_Current>>_Выбрали = -1
  419. <<$otg_Menu_Current>>_ВыбранныйПункт=<<ARGS[0]>>
  420. !----------
  421. $ARGS[3] = $<<$otg_Menu_Current>>_МодулиСобытий['when you select']
  422. if $ARGS[3]<>'': dynamic $ARGS[3],$<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_Z']"+dyneval("$Result = $<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_P']")+"
  423. !----------
  424. if $ARGS[1]<>'':
  425. dynamic $ARGS[1]"+dyneval("$Result = $<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_P']")+"
  426. else
  427. GS $ARGS[0]"+dyneval("$Result = $<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_P']")+"
  428. end
  429. else
  430. MSG 'Location ''<<$ARGS[0]>>'' not found!'
  431. end
  432. ",$ARGS[0],$ARGS[1]
  433. --- Menu.{Processing} ---------------------------------