booty_call.qsrc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. # booty_call
  2. if $ARGS[0] = 'scheduler':
  3. !! clear SMS
  4. !! clear schedule
  5. killvar 'booty_call_time'
  6. killvar 'npc_booty_call'
  7. killvar 'npc_booty_call_time'
  8. i = 0
  9. gs 'booty_call', 'scheduler2'
  10. end
  11. if $ARGS[0] = 'scheduler2':
  12. if i <= arrsize('$fuckbuddy'):
  13. gs 'booty_call', 'npc_stat_update'
  14. !! if (rand(1,10) <= npc_sexdrive[$FuckBuddy[i]] or npc_booty_call[$FuckBuddy[i]] = daystart) and npc_rel[$FuckBuddy[i]] > 0 and npc_no_booty_call[$FuckBuddy[i]] ! daystart and npc_big_fight[$FuckBuddy[i]] < daystart - 7:
  15. !! temporary removal of npc_rel requirement until boy initiated breakups can occur
  16. !! if (rand(1,10) <= npc_sexdrive[$FuckBuddy[i]] or npc_booty_call[$FuckBuddy[i]] = daystart) and npc_no_booty_call[$FuckBuddy[i]] ! daystart and (npc_big_fight[$FuckBuddy[i]] < daystart - 7 and daystart > 7):
  17. if $npc_rel_type[$FuckBuddy[i]] = 'sugar_daddy':
  18. if npc_sugar_daddy_timer[$FuckBuddy[i]] - (npc_rel[$FuckBuddy[i]] / 10) > daystart:
  19. npc_no_booty_call[$FuckBuddy[i]] = daystart
  20. elseif (npc_booty_call_date[$FuckBuddy[i]] = daystart or rand(1,10) <= npc_sexdrive[$FuckBuddy[i]] or rand(1,100) <= npc_rel[$FuckBuddy[i]]) and npc_no_booty_call[$FuckBuddy[i]] ! daystart:
  21. sugar_daddy_call[$FuckBuddy[i]] = 1
  22. gs 'booty_call', 'scheduler3'
  23. else
  24. npc_no_booty_call[$FuckBuddy[i]] = daystart
  25. end
  26. else
  27. if (npc_booty_call_date[$FuckBuddy[i]] = daystart or rand(1,10) <= npc_sexdrive[$FuckBuddy[i]] or rand(1,100) <= npc_rel[$FuckBuddy[i]]) and npc_no_booty_call[$FuckBuddy[i]] ! daystart:
  28. gs 'booty_call', 'scheduler3'
  29. else
  30. npc_no_booty_call[$FuckBuddy[i]] = daystart
  31. end
  32. end
  33. i += 1
  34. gs 'booty_call', 'scheduler2'
  35. end
  36. end
  37. if $ARGS[0] = 'scheduler3':
  38. if npc_booty_call[$FuckBuddy[i]] = daystart:
  39. booty_call_time[$FuckBuddy[i]] = ((npc_booty_call_time[$FuckBuddy[i]] * 60) + rand(0,180))
  40. elseif week = npc_day_off[$FuckBuddy[i]]:
  41. booty_call_time[$FuckBuddy[i]] = (600 + rand(0,720))
  42. elseif week ! npc_day_off[$FuckBuddy[i]]:
  43. booty_call_time[$FuckBuddy[i]] = (rand(npc_start_free_time[$FuckBuddy[i]],(npc_end_free_time[$FuckBuddy[i]] - 1)) * 60) + rand(0,180)
  44. else
  45. booty_call_time[$FuckBuddy[i]] = 2000
  46. end
  47. end
  48. !! if npc_start_free_time[$FuckBuddy[i]] = 0 or npc_day_off[$FuckBuddy[i]] = 0 or npc_end_free_time[$FuckBuddy[i]] = 0:
  49. !! $boy = $FuckBuddy[i]
  50. !! end
  51. !! if ((rand(1,10) <= npc_sexdrive[$FuckBuddy[i]] or npc_booty_call[$FuckBuddy[i]] = daystart) and (rand(1,npc_rel[$FuckBuddy[i]]) > 0)) and npc_no_booty_call[$FuckBuddy[i]] ! daystart and npc_big_fight[$FuckBuddy[i]] < daystart - 7:
  52. !! elseif week < 6:
  53. !! booty_call_time[$FuckBuddy[i]] = 900 + rand(0,210)
  54. !! else
  55. !! booty_call_time[$FuckBuddy[i]] = 600 + rand(0,720)
  56. if $ARGS[0] = 'set_booty_call_date':
  57. sex_ev['set_date'] = 1
  58. if sex_ev['invite_today'] = 1 or hour < 5:
  59. npc_booty_call_date[$boy] = daystart
  60. elseif sex_ev['invite_tomorrow'] = 1:
  61. npc_booty_call_date[$boy] = daystart + 1
  62. end
  63. if npc_booty_call_time[$boy] = 0:
  64. npc_booty_call_time[$boy] = npc_start_free_time[$boy]
  65. end
  66. if $npc_rel_type[$boy] = 'sugar_daddy': sugar_daddy_call[$boy] = 1
  67. end
  68. if $ARGS[0] = 'block_booty_calls':
  69. if sex_ev['invite_today'] = 1:
  70. npc_booty_call_date[$boy] = 0
  71. npc_no_booty_call[$boy] = daystart
  72. npc_booty_call_time[$boy] = 0
  73. elseif sex_ev['invite_tomorrow'] = 1:
  74. npc_no_booty_call[$boy] = daystart + 1
  75. end
  76. end
  77. if $ARGS[0] = 'SMS raiser':
  78. i = 0
  79. :booty_call_sms_raiser_loop
  80. if i < arrsize('$FuckBuddy'):
  81. if booty_call_time[$FuckBuddy[i]] < ((hour * 60) + minut) and npc_no_booty_call[$FuckBuddy[i]] ! daystart and npc_last_booty_call[$FuckBuddy[i]] ! daystart:
  82. gs 'booty_call_sms', 'start', $FuckBuddy[i]
  83. booty_call_time[$FuckBuddy[i]] = 2399
  84. !! this is a bit superfluous, but it makes the code run faster.
  85. booty_call_invite[$FuckBuddy[i]] = daystart
  86. end
  87. i += 1
  88. jump 'booty_call_sms_raiser_loop'
  89. end
  90. end
  91. if $ARGS[0] = 'home_links':
  92. i=0
  93. *nl
  94. :loopBC_homes
  95. if (npc_residence[$Fuckbuddy[i]] = 1 and $loc = 'pav_residential') or (npc_residence[$Fuckbuddy[i]] = 3 and $loc = 'city_residential')or (npc_residence[$Fuckbuddy[i]] = 4 and $loc = 'city_center'):
  96. dynamic(' ''<a href="exec: minut += 2 & gt ''''sex_ev_start'''',''''initiate_pre'''',''''<<$Fuckbuddy[i]>>'''' "><<$npc_firstname[$Fuckbuddy[i]]>>''''s</a> apartment is nearby.'' ')
  97. !! ''''
  98. end
  99. !! dynamic(' ''<a href="exec: minut += 2 & gt ''''sex_ev_start'''',''''fb_npc_home_start'''',''''<<$Fuckbuddy[i]>>'''' "><<$npc_firstname[$Fuckbuddy[i]]>>''''s</a> apartment is nearby.'' ')
  100. i +=1
  101. if i < arrsize('$Fuckbuddy') : jump 'loopBC_homes'
  102. end
  103. if $ARGS[0] = 'hotel_links':
  104. i=0
  105. *nl
  106. :loopBC_hotel
  107. if $booty_call_hotel[$Fuckbuddy[i]] = $region and booty_call_invite[$FuckBuddy[i]] = daystart:
  108. dynamic(' ''<a href="exec: minut += 2 & gt ''''sex_ev_start'''',''''initiate_pre'''',''''<<$Fuckbuddy[i]>>'''' "><<$npc_firstname[$Fuckbuddy[i]]>></a> booked a hotel room to meet you in.'' ')
  109. !! ''''
  110. end
  111. i +=1
  112. if i < arrsize('$Fuckbuddy') : jump 'loopBC_hotel'
  113. end
  114. !! booty_call_invite['B0']
  115. if $ARGS[0] = 'text':
  116. !! boy code?
  117. !! IMAGE HERE
  118. 'Your phone buzzes and you pull it out to see what''s happening. It''s a text from [boy code here].'
  119. *nl
  120. ' <b><font color="blue">hey <<$pcs_nickname>></font></b>'
  121. '<b><font color="pink">hey yourself</font></b>'
  122. *nl
  123. 'you text back.'
  124. *nl
  125. ' <b><font color="blue">i was thinking about you today</font></b>'
  126. act'What about?':
  127. cla & *clr
  128. !! IMAGE HERE
  129. ' <b><font color="blue">i was thinking about you today</font></b>'
  130. '<b><font color="pink">what were you thinking about?</font></b>'
  131. booty_call['text'] = rand(1,3)
  132. if booty_call['text'] = 1:
  133. ' <b><font color="blue">wanted to know if you wanted to come over to my place</font></b>'
  134. ' <b><font color="blue">have some fun?</font></b>'
  135. *nl
  136. 'You think you know what kind of fun he wants.'
  137. elseif booty_call['text'] = 2:
  138. ' <b><font color="blue">your mouth around my cock</font></b>'
  139. *nl
  140. 'You think you know what kind of fun he wants.'
  141. elseif booty_call['text'] = 3:
  142. ' <b><font color="blue">fucking you on my couch</font></b>'
  143. *nl
  144. 'You think you know what kind of fun he wants.'
  145. end
  146. end
  147. act'Me too':
  148. gt ''
  149. end
  150. act'About fucking me?':
  151. gt ''
  152. end
  153. end
  154. if $ARGS[0] = 'invite_yourself':
  155. end
  156. if $ARGS[0] = 'get_invited':
  157. if rand(0,1) = 1:
  158. '"Why don''t you come over to my place right now and we can have some fun?"'
  159. else
  160. '"Why don''t you come over to my place tonight and we can have some fun?"'
  161. end
  162. end
  163. !! ----------------------- text dialogue saved for possible future usage later ---------------------------------------
  164. if $ARGS[0] = 'text1':
  165. !! boy code?
  166. !! missing code
  167. !! IMAGE HERE
  168. 'Your phone buzzes and you pull it out to see what''s happening. It''s a text from [boy code here].'
  169. *nl
  170. ' <b><font color="blue">hey <<$pcs_nickname>></font></b>'
  171. '<b><font color="pink">hey yourself</font></b>'
  172. *nl
  173. 'you text back.'
  174. *nl
  175. ' <b><font color="blue">i was thinking about you today</font></b>'
  176. act'What about?':
  177. cla & *clr
  178. !! IMAGE HERE
  179. ' <b><font color="blue">i was thinking about you today</font></b>'
  180. '<b><font color="pink">what were you thinking about?</font></b>'
  181. booty_call['text'] = rand(1,3)
  182. if booty_call['text'] = 1:
  183. ' <b><font color="blue">wanted to know if you wanted to come over to my place</font></b>'
  184. ' <b><font color="blue">have some fun?</font></b>'
  185. *nl
  186. 'You think you know what kind of fun he wants.'
  187. elseif booty_call['text'] = 2:
  188. ' <b><font color="blue">your mouth around my cock</font></b>'
  189. elseif booty_call['text'] = 3:
  190. ' <b><font color="blue">fucking you on my bed</font></b>'
  191. end
  192. gs'booty_call_start','text2'
  193. end
  194. act'Me too':
  195. cla & *clr
  196. !! IMAGE HERE
  197. ' <b><font color="blue">i was thinking about you today</font></b>'
  198. '<b><font color="pink">me too</font></b>'
  199. ' <b><font color="blue">come over</font></b>'
  200. !! booty_call['text'] = rand(1,3)
  201. !! if booty_call['text'] = 1:
  202. ' <b><font color="blue">lets fuck like bunnies</font></b>'
  203. end
  204. end
  205. if $ARGS[0] = 'text2':
  206. act'Can''t':
  207. cla & *nl
  208. '<b><font color="pink">sorry, i cant</font></b>'
  209. '<b><font color="pink">i have stuff to do</font></b>'
  210. ' <b><font color="blue">shit</font></b>'
  211. ' <b><font color="blue">maybe next time then</font></b>'
  212. act'Put your phone away':gt'somewhere'
  213. end
  214. act'I''m on my way':
  215. cla & *nl
  216. '<b><font color="pink">ill come right now ;)</font></b>'
  217. if npc_humor[$boy] <= 1:
  218. ' <b><font color="blue">my cock is waiting for you</font></b>'
  219. elseif npc_humor[$boy] = 2:
  220. ' <b><font color="blue">in the street?</font></b>'
  221. ' <b><font color="blue">damn!</font></b>'
  222. ' <b><font color="blue">keep it in your pants till you get here!</font></b>'
  223. elseif npc_humor[$boy] = 3:
  224. ' <b><font color="blue">phrasing</font></b>'
  225. end
  226. !! missing code
  227. !! confirm player is coming over
  228. act'Put away your phone':gt $loc, $loc_arg
  229. end
  230. act'I''ll swing by later':
  231. cla & *nl
  232. '<b><font color="pink">not right now</font></b>'
  233. '<b><font color="pink">but i can come by later?</font></b>'
  234. ' <b><font color="blue">when?</font></b>'
  235. act 'Pick a time':
  236. cla & *clr
  237. !! IMAGE HERE
  238. !! missing code
  239. !! fix this code to work with this event
  240. contMeetHour[Call4Date["ContactIndex"]] = input ("When do you want to go over to his place? It is now <<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>>. [Enter the hour only <<hour>> - 22]")
  241. if contMeetHour[Call4Date["ContactIndex"]] <= hour or contMeetHour[Call4Date["ContactIndex"]] > 23:contMeetHour[Call4Date["ContactIndex"]] = 20
  242. '<b><font color="pink">maybe around <<contMeetHour[Call4Date["ContactIndex"]]>>:00?</font></b>'
  243. '"How about <<contMeetHour[Call4Date["ContactIndex"]]>>:00?."'
  244. '<<$Call4Date["CallerName"]>>, "Okay <<$Call4Date["SvetaName"]>>, see you at <<contMeetHour[Call4Date["ContactIndex"]]>>:00."'
  245. act'Put away your phone':gt $loc, $loc_arg
  246. end
  247. end
  248. end
  249. if $ARGS[0] = 'invite_yourself1':
  250. !! boy code?
  251. !! missing code
  252. !! IMAGE HERE
  253. 'You tap out a quick message on your and hit send.'
  254. *nl
  255. '<b><font color="pink">hey</font></b>'
  256. '<b><font color="pink">doing anything right now?</font></b>'
  257. *nl
  258. !! missing code
  259. !! better way of randomizing this? personality based?
  260. if rand(1,3) = 3:
  261. 'You don''t receive a response. He must be busy.'
  262. act'Put away your phone':gt $loc, $loc_arg
  263. elseif rand(1,2) = 2 and hour < 18:
  264. ' <b><font color="blue">im at work</font></b>'
  265. act'Sorry, never mind':
  266. cla & *nl
  267. '<b><font color="pink">oh</font></b>'
  268. '<b><font color="pink">sorry</font></b>'
  269. '<b><font color="pink">never mind</font></b>'
  270. '<b><font color="pink">i''ll text you later</font></b>'
  271. act'Put away your phone':gt $loc, $loc_arg
  272. end
  273. act'This is a booty call':
  274. cla & *nl
  275. '<b><font color="pink">when do you get off?</font></b>'
  276. '<b><font color="pink">this is a booty call</font></b>'
  277. ' <b><font color="blue">ill probably be free at 19:00</font></b>'
  278. ' <b><font color="blue">wanna come then?</font></b>'
  279. gs'booty_call_start','invite_yourself2'
  280. end
  281. act'I wanna fuck':
  282. cla & *nl
  283. '<b><font color="pink">i wanna fuck</font></b>'
  284. '<b><font color="pink">when do you get off?</font></b>'
  285. ' <b><font color="blue">ill probably be free at 19:00</font></b>'
  286. ' <b><font color="blue">wanna come then?</font></b>'
  287. gs'booty_call_start','invite_yourself2'
  288. end
  289. else
  290. ' <b><font color="blue">i was thinking about your naked body in my bed</font></b>'
  291. act'How about right now?':
  292. cla & *nl
  293. '<b><font color="pink">then we''re on the same page</font></b>'
  294. '<b><font color="pink">can i come over now?</font></b>'
  295. ' <b><font color="blue">yes</font></b>'
  296. ' <b><font color="blue">hurry</font></b>'
  297. ' <b><font color="blue">i want to fuck you right now</font></b>'
  298. '<b><font color="pink">i''m on my way <3</font></b>'
  299. !! missing code
  300. act'Put away your phone':gt $loc, $loc_arg
  301. end
  302. act'Can I come later?':
  303. cla & *nl
  304. !! missing code
  305. contMeetHour[Call4Date["ContactIndex"]] = input ("When do you want to go over to his place? It is now <<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>>. [Enter the hour only <<hour>> - 22]")
  306. if contMeetHour[Call4Date["ContactIndex"]] <= hour or contMeetHour[Call4Date["ContactIndex"]] > 23:contMeetHour[Call4Date["ContactIndex"]] = 20
  307. '<b><font color="pink">then we''re on the same page</font></b>'
  308. '<b><font color="pink">but i''m just trying to plan my day</font></b>'
  309. '<b><font color="pink">can i come over at <<contMeetHour[Call4Date["ContactIndex"]]>>:00?</font></b>'
  310. ' <b><font color="blue">what the fuck am i supposed to do until then?</font></b>'
  311. act'I don''t know':
  312. cla & *nl
  313. '<b><font color="pink">i dont know</font></b>'
  314. '<b><font color="pink">figure something out til i get there</font></b>'
  315. act'Put away your phone':gt $loc, $loc_arg
  316. end
  317. act'Try to stay hard':
  318. cla & *nl
  319. '<b><font color="pink">just try to stay hard</font></b>'
  320. '<b><font color="pink">i don''t want to get there and find out my meat stick has gone soft</font></b>'
  321. act'Put away your phone':gt $loc, $loc_arg
  322. end
  323. act'Dream on it':
  324. cla & *nl
  325. '<b><font color="pink">dream on it ;)</font></b>'
  326. act'Put away your phone':gt $loc, $loc_arg
  327. end
  328. end
  329. end
  330. end
  331. if $ARGS[0] = 'invite_yourself2':
  332. act'I''m busy then':
  333. cla & *nl
  334. '<b><font color="pink">shit</font></b>'
  335. '<b><font color="pink">im busy then</font></b>'
  336. '<b><font color="pink">maybe another day</font></b>'
  337. !! missing code
  338. !! add prevention so you can''t ask again today
  339. act'Put away your phone':gt $loc, $loc_arg
  340. end
  341. act'Yes':
  342. cla & *nl
  343. '<b><font color="pink">yeah, id like to come around that time ;)</font></b>'
  344. ' <b><font color="blue">great</font></b>'
  345. !! missing code
  346. !! add event to schedule
  347. act'Put away your phone':gt $loc, $loc_arg
  348. end
  349. end
  350. !! ------------ NPC Stat Updater ------------------------
  351. if $ARGS[0] = 'npc_stat_update':
  352. if npc_start_free_time[$FuckBuddy[i]] = 0 or npc_day_off[$FuckBuddy[i]] = 0:
  353. if npc_finance[$FuckBuddy[i]] = 0:
  354. if rand(1,3) = 1:
  355. npc_start_free_time[$FuckBuddy[i]] = 9
  356. npc_end_free_time[$FuckBuddy[i]] = 12
  357. elseif rand(1,2) = 1:
  358. npc_start_free_time[$FuckBuddy[i]] = 16
  359. npc_end_free_time[$FuckBuddy[i]] = 20
  360. else
  361. npc_start_free_time[$FuckBuddy[i]] = 20
  362. npc_end_free_time[$FuckBuddy[i]] = 23
  363. end
  364. elseif npc_finance[$FuckBuddy[i]] = 1:
  365. if rand(1,2) = 1:
  366. npc_start_free_time[$FuckBuddy[i]] = 9
  367. npc_end_free_time[$FuckBuddy[i]] = 12
  368. else
  369. npc_start_free_time[$FuckBuddy[i]] = 20
  370. npc_end_free_time[$FuckBuddy[i]] = 23
  371. end
  372. elseif npc_finance[$FuckBuddy[i]] = 2:
  373. if rand(1,2) = 1:
  374. npc_start_free_time[$npclastgenerated] = 8
  375. npc_end_free_time[$npclastgenerated] = 12
  376. npc_work_start[$npclastgenerated] = 13
  377. npc_work_end[$npclastgenerated] = 21
  378. else
  379. npc_start_free_time[$npclastgenerated] = 18
  380. npc_end_free_time[$npclastgenerated] = 22
  381. npc_work_start[$npclastgenerated] = 9
  382. npc_work_end[$npclastgenerated] = 17
  383. end
  384. npc_apt_type[$FuckBuddy[i]] = 5
  385. !!npc_apt_type[$npclastgenerated] = rand(5,6)
  386. !! apt_type 6 is disabled until pictures are added
  387. npc_occupation[$FuckBuddy[i]] = rand(14,18)
  388. npc_car[$FuckBuddy[i]] = rand(0,1)
  389. end
  390. npc_day_off[$FuckBuddy[i]] = rand(1,7)
  391. end
  392. end
  393. !! ------------ Legacy Backup ------------------------
  394. if $ARGS[0] = 'draw':
  395. ! this routine should invoke a the booty call sms from random friend in $lover list
  396. ! but I cannnot randomize the time because the probability is 100 % now
  397. ! I suppose that the routine will be modified later to take in account the lovers preferences
  398. if booty_call['A0'] ! daystart :
  399. $lover_drawn = $fuckbuddy[rand(0,arrsize('$fuckbuddy')-1)]
  400. gs 'booty_call_sms', 'start',$lover_drawn
  401. ! gs 'booty_call_sms', 'Add SMS', $lover_drawn
  402. booty_call['A0'] = daystart
  403. end
  404. end
  405. --- booty_call ---------------------------------