Cum_Manage.qsrc 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988
  1. # Cum_Manage
  2. !!
  3. !! THIS IS A CORE FILE TO GAME MECHANICS. Please edit CAREFULLY, and leave as many comments as possible!!
  4. !!
  5. !! The comments in this file serve as tutorial to managing cum/sperm during scene writing and game-play. Please read them.
  6. !!
  7. !! spafinloc and cum array naming takes precident over other naming schemes. Always import and export variables by their cum array names
  8. !!
  9. !!------------------------------------------------------------------------------------------------------------
  10. !!
  11. !! Cum Array indices:
  12. !!
  13. !! cumarrnam : Sperm Owner
  14. !! cumarrppt : Sperm Potential Potency (max sperm delivery)
  15. !! cumarrcpt : Sperm Current Potency (current amount of sperm)
  16. !! cumarrdel : Sperm "Delivery" (method of *VAGINAL ONLY* acquisition)
  17. !! cumarrcon : Contraception typ used
  18. !! cumarrage : Sperm age in hours
  19. !! cumarrkno : Did you know/realize who did it?
  20. !! cumarrcnt : Unique identifier of the exact which time the MC has had this sperm incident occur.
  21. !!
  22. !!
  23. !!
  24. !! Spatter Array indices:
  25. !!
  26. !! sparrloc : Location of the sperm, as per cumarrdel
  27. !! sparrnam : Spatter Owner
  28. !! sparrppt : Spatter Potential Potency (Used to increase potency if you don't clean yourself out)
  29. !! sparridt : Did you know/realize who did it?
  30. !! sparrvol : Volume of the spatter. 40 is average.
  31. !! sparrslc : Spread status of the spatter. High volume can spread the contaminant from it's starting place.
  32. !! sparrcnt : Unique identifier of the exact which time the MC has had this spatter incident occur.
  33. !!
  34. !!
  35. !!
  36. !! Values of 'cumarrdel' as defined by the cum_arr:
  37. !!
  38. !! cumarrdel = 0 : 'Vaginal intercourse'
  39. !! cumarrdel = 1 : 'From spatter on labia'
  40. !! cumarrdel = 2 : 'From the anal area'
  41. !! cumarrdel = 3 : 'From sperm on clothing'
  42. !! cumarrdel = 4 : 'From sperm on fingers'
  43. !! cumarrdel = 5 : 'From sperm on wipes'
  44. !! cumarrdel = 6 : 'Unknown'
  45. !!
  46. !!
  47. !!
  48. !! Values of 'cumarrcon' as defined by the cum_arr:
  49. !!
  50. !! cumarrcon = 0: 'No contraception used'
  51. !! cumarrcon = 1: 'You lied about being on the pill'
  52. !! cumarrcon = 2: 'You were on the pill'
  53. !! cumarrcon = 3: 'You used a condom'
  54. !! cumarrcon = 4: 'The condom broke'
  55. !! cumarrcon = 5: 'The condom slipped off inside you'
  56. !! cumarrcon = 6: 'The condom was sabotaged by someone else'
  57. !! cumarrcon = 7: 'You sabotaged the condom'
  58. !! cumarrcon = 8: 'Precum had sperm in it'
  59. !! cumarrcon = 9: 'You believe are sterile'
  60. !!
  61. !!
  62. !!
  63. !! Values of 'cumarrkno' as defined by the cum_arr:
  64. !!
  65. !! cumarrkno = -2 : 'You were unaware there was sperm in you'
  66. !! cumarrkno = -1 : 'You do not think that any sperm has gotten into you'
  67. !! cumarrkno = 0 : 'You know somebody got sperm in you, but you don''t know that person'
  68. !! cumarrkno = 1 : 'You know who got sperm in you'
  69. !!
  70. !! Setting for no STD checks
  71. !!
  72. !! cumnostd = 1 : No risk of STD, resets at end of file so must be used for all related cum_management calls
  73. !!
  74. !! Locations to be defined by 'spafinloc'
  75. !!
  76. !! 0 = 'In your Vagina'
  77. !! 1 = 'On your labia'
  78. !! 2 = 'On your panties over your vagina'
  79. !! 3 = 'In your anus'
  80. !! 4 = 'On your butt'
  81. !! 5 = 'On your panties over your butt'
  82. !! 6 = 'On your clothes in your groin area'
  83. !! 7 = 'On your clothes'
  84. !! 8 = 'On your back'
  85. !! 9 = 'On your legs'
  86. !! 10 = 'On your arms'
  87. !! 11 = 'On your face'
  88. !! 12 = 'Inside your mouth'
  89. !! 13 = 'On your hands'
  90. !! 14 = 'On your stomach'
  91. !! 15 = 'On your breasts'
  92. !! 16 = 'In your hair'
  93. !! 17 = 'In a condom in your vagina'
  94. !!
  95. !!------------------------------------------------------------------------------------------------------------
  96. if $ARGS[0] = '':
  97. !!{ Debug information, comment out in release versions. }
  98. !! '<br><b><font color="red">Cum_Manage</font> called with: spafinloc=<<spafinloc>> cumarrkno=<<cumarrkno>> cummarrcon=<<cumarrcon>> cumarrdel=<<cumarrdel>></b>'
  99. !!{ We count every time somebody cum on or inside the MC. It is used for spatter and cum matching in femcyc}
  100. stat['cum_count'] += 1
  101. condom_break = 0
  102. !!{ Here we define our important variables.}
  103. dick = npc_dick[$boy]
  104. if sexvolume <= 0: sexvolume = 40
  105. if sexspecpot = 0: sexspecpot = npc_spermpot[$boy]
  106. if sexspecpot = 0: sexspecpot = sexvolume * rand(250, 300)
  107. if sexspecpot < 0: sexspecpot = 0
  108. if vibratorIN = 1 and spafinloc = 0 and replace_vib = 0: vibratorIN = 0
  109. if analplugIN = 1 and spafinloc = 3 and replace_analplug = 0: analplugIN = 0
  110. !!{ Set the cum array temp to the current size of the cum array to add a new entry to the end of file. Then checks to see if you are on the pill. If you are and there is no contraception used, it flags this as a "done with pill" act, which means a pregnancy will be a pill failure.}
  111. cumarrtemp = arrsize('$cumarrnam')
  112. if sexcontra = 0 and pillcon2 > 1000: sexcontra = 2
  113. !!{Check for previous deposit, and if it was by the same guy and precum, it sets cumarrtemp back by one}
  114. !! if $cumarrnam[cumarrtemp-1] = $boy and cumarrkno[cumarrtemp-1] = -1:cumarrtemp -= 1 & sexspecpot = cumarrppt[cumarrtemp]
  115. if cumprecheck = 1 and cumnostd = 0:
  116. cumarrkno[cumarrtemp] = -1
  117. gs 'dinSex', 'std_trigger'
  118. elseif sexunaware > 0:
  119. cumarrkno[cumarrtemp] = -2
  120. elseif sexpartkno = 1:
  121. cumarrkno[cumarrtemp] = 1
  122. else
  123. cumarrkno[cumarrtemp] = 0
  124. end
  125. !!{ If a condom slipped in the vagina, it will pushed deeper inside the vagina during vaginal sex.}
  126. if spafinloc <= 0 and cumcondslip > 0:
  127. if dick > cumcondslip_deep:
  128. cumcondslip_deep = dick + rand (0,2)
  129. else
  130. cumcondslip_deep += rand (0,2)
  131. end
  132. end
  133. sparrtemp = arrsize('sparrvol')
  134. !!{ Check to see if this is flagged as a preejaculate emmission. All vaginal penetrations that flag this as cumprecheck contain preejaculate. Guidelines for calling it: If your boy is likely to have masterbated, had sex, or otherwise encouraged semen to leak out of their urethra in the last 48 hours, they probably have some fertile preejaculate. If in doubt, let it leak. The chances of pregnancy from it are low, and the MC should have been wearing protection.}
  135. if cumprecheck ! 1:
  136. !!{ Here it checks for anal deposit and increments anal creampie variable.}
  137. if spafinloc = 3:
  138. if sexunaware = 1 or sexcontra = 6:
  139. pcs_acp_unknown += 1
  140. else
  141. pcs_acp_known += 1
  142. end
  143. end
  144. !!{ Here it checks for vaginal deposit.}
  145. if spafinloc <= 0:
  146. !!{ Next it sets the variables in the array. The cumming boys name is first and cum age to 0.
  147. !! The cum delivery location is set to vaginally, and we check to see if this is an unknowing sex act.
  148. !! If it is, it makes it so the MC doesn''t know who did it.
  149. !! If the boy has a custom specified potency 'sexspecpot', it flags the potency. Otherwise it sets it to the default.
  150. !! Default potency potential is generated from a random multiplier of sexvolume.
  151. !! Sexvolume defaults to 40 (4 mL), but may be overwritten with 'sexvolume'.}
  152. $cumarrnam[cumarrtemp] = $boy
  153. cumarrage[cumarrtemp] = 0
  154. cumarrdel[cumarrtemp] = 0
  155. cumarrcnt[cumarrtemp] = stat['cum_count']
  156. cumarrppt[cumarrtemp] = sexspecpot
  157. !!{ Now it sets up the splatter and actual internal cum.
  158. !! First it sets the array to the spatter end of file. Then it checks for riding bareback.
  159. !! If theres a condom, it gives a chance for the condom to fail in general, slip off and remain in the vagina, or break.}
  160. if sexcontra > 2:
  161. if noprotect = 1: noprotect = 0 & sexcontra = 4
  162. if sexcontra = 3:
  163. temprand = rand(0,1000)
  164. dick_wid = 3
  165. if $dick_girth = 'skinny': dick_wid = 2
  166. if $dick_girth = 'slim': dick_wid = 3
  167. if $dick_girth = 'well proportioned': dick_wid = 3
  168. if $dick_girth = 'thicker than average': dick_wid = 4
  169. if $dick_girth = 'thick': dick_wid = 4
  170. if $dick_girth = 'massive': dick_wid = 5
  171. if $dick_girth = 'monstrous': dick_wid = 6
  172. break_thresh = dick_wid * 2
  173. break_thresh -= pcs_vag / 4
  174. break_thresh += dick / 4
  175. slip_thresh = 36 - (dick_wid * 2)
  176. slip_thresh -= (pcs_vag / 2)
  177. slip_thresh -= dick / 2
  178. if break_thresh < 1: break_thresh = 1
  179. if slip_thresh < 4: slip_thresh = 4
  180. break_thresh += slip_thresh
  181. slip_thresh = 0
  182. if temprand = 0:
  183. cumarrcpt[cumarrtemp] += cumarrppt[cumarrtemp]/4
  184. cumarrcon[cumarrtemp] = 3
  185. elseif temprand <= break_thresh:
  186. cumarrcpt[cumarrtemp] += cumarrppt[cumarrtemp]/2
  187. cumarrcon[cumarrtemp] = 4
  188. sexcontra = 4
  189. sparrage[sparrtemp] = 0
  190. sparrloc[sparrtemp] = 0
  191. $sparrnam[sparrtemp] = $boy
  192. sparrcnt[sparrtemp] = stat['cum_count']
  193. sparrppt[sparrtemp] = sexspecpot
  194. sparrvol[sparrtemp] += sexvolume
  195. cumsumbod += sexvolume
  196. cumsumvag += sexvolume
  197. condom_break = 1
  198. stat['broken_condoms'] += 1
  199. sparridt[sparrtemp] = cumarrkno[cumarrtemp]
  200. sparrslc[sparrtemp] = 0
  201. dynamic $ferteggfather
  202. else
  203. cumarrcpt[cumarrtemp] += 5
  204. cumarrcon[cumarrtemp] = 3
  205. end
  206. !!{ Next it checks to see if the event is calling specifically for a burst or slipped off condom.
  207. !! It treats them the same as if the condom above had a failure.}
  208. elseif sexcontra = 4:
  209. cumarrcpt[cumarrtemp] += cumarrppt[cumarrtemp]/2
  210. cumarrcon[cumarrtemp] = 4
  211. sparrage[sparrtemp] = 0
  212. sparrloc[sparrtemp] = 0
  213. $sparrnam[sparrtemp] = $boy
  214. sparrcnt[sparrtemp] = stat['cum_count']
  215. sparrppt[sparrtemp] = sexspecpot
  216. sparrvol[sparrtemp] += sexvolume
  217. cumsumbod += sexvolume
  218. cumsumvag += sexvolume
  219. condom_break = 1
  220. sparridt[sparrtemp] = cumarrkno[cumarrtemp]
  221. sparrslc[sparrtemp] = 0
  222. dynamic $ferteggfather
  223. elseif sexcontra = 5:
  224. cumarrcpt[cumarrtemp] += cumarrppt[cumarrtemp]/200
  225. cumarrcon[cumarrtemp] = 5
  226. cumcondslip = 1
  227. cumcondsanb = cumarrtemp
  228. sparrage[sparrtemp] = 0
  229. sparrloc[sparrtemp] = 17
  230. $sparrnam[sparrtemp] = $boy
  231. sparrcnt[sparrtemp] = stat['cum_count']
  232. sparrppt[sparrtemp] = sexspecpot
  233. sparrvol[sparrtemp] += sexvolume
  234. cumsumbod += sexvolume
  235. cumsumvag += sexvolume
  236. sparridt[sparrtemp] = cumarrkno[cumarrtemp]
  237. sparrslc[sparrtemp] = 0
  238. cumcondslip += 1
  239. if cumcondslip_deep <= 0:cumcondslip_deep = rand(1, dick)
  240. if sparridt[sparrtemp] >= 0:cumcondslip_aware = 1
  241. dynamic $ferteggfather
  242. !!{ Next, check for sabotaged condoms. First sabotaged by you, then sabotaged by the guy.
  243. !! If they were sabotaged, it acts similar to a condom failure, but worse.}
  244. elseif sexcontra = 6:
  245. cumarrcpt[cumarrtemp] += cumarrppt[cumarrtemp]/3
  246. cumarrcon[cumarrtemp] = 6
  247. elseif sexcontra = 7:
  248. cumarrcpt[cumarrtemp] += cumarrppt[cumarrtemp]/3
  249. cumarrcon[cumarrtemp] = 7
  250. dynamic $ferteggfather
  251. end
  252. !!{ If you have no protection, you get a nice, full load of semen.}
  253. else
  254. sparrage[sparrtemp] = 0
  255. sparrloc[sparrtemp] = 0
  256. $sparrnam[sparrtemp] = $boy
  257. sparrcnt[sparrtemp] = stat['cum_count']
  258. sparrppt[sparrtemp] = sexspecpot
  259. sparrvol[sparrtemp] += sexvolume
  260. cumsumbod += sexvolume
  261. cumsumvag += sexvolume
  262. sparridt[sparrtemp] = cumarrkno[cumarrtemp]
  263. sparrslc[sparrtemp] = 0
  264. cumarrcpt[cumarrtemp] += cumarrppt[cumarrtemp]/5*4
  265. cumarrcon[cumarrtemp] = sexcontra
  266. dynamic $ferteggfather
  267. end
  268. !! creampie vaginal statistics:
  269. if spafinloc = 0:
  270. !!STD checks
  271. if cumnostd = 0: gs 'dinSex', 'std_trigger'
  272. !! safe creampie (if cycle > 3 or on pill or succubus):
  273. if cycle > 3 or birth_control['safe'] = 1 or succubusflag = 1:
  274. if sexunaware = 1 or sexcontra = 6:
  275. pcs_cp_safe_unknown += 1
  276. else
  277. pcs_cp_safe_known += 1
  278. end
  279. !! pretty safe creampie (if cycle = 3 or cycle = 0):
  280. elseif cycle = 0 or cycle = 3:
  281. if sexunaware = 1 or sexcontra = 6:
  282. pcs_cp_notsafe_unknown += 1
  283. else
  284. pcs_cp_notsafe_known += 1
  285. end
  286. !! risky creampie (not on pill, fertile part of the cycle):
  287. else
  288. if sexunaware = 1 or sexcontra = 6:
  289. pcs_cp_risky_unknown += 1
  290. else
  291. pcs_cp_risky_known += 1
  292. end
  293. end
  294. end
  295. !!{ If you arent getting it in the vagina, and the boy isnt pumping it into a condom, a spatter is made and applied.
  296. !! If you arent wearing any panties and it was called to hit your panties, it goes directly to your groin.
  297. !! If you are naked and it calls for a clothing strike, it will go to your body instead.}
  298. elseif spafinloc > 0 and sexcontra < 3:
  299. sparrage[sparrtemp] = 0
  300. sparrcnt[sparrtemp] = stat['cum_count']
  301. if $pantyworntype = 'none':
  302. if spafinloc = 2:
  303. spafinloc = 1
  304. elseif spafinloc = 5:
  305. spafinloc = 4
  306. end
  307. end
  308. if $clothingworntype = 'nude':
  309. if spafinloc = 2:
  310. spafinloc = 1
  311. elseif spafinloc = 5:
  312. spafinloc = 4
  313. elseif spafinloc = 6:
  314. if rand(0,1) = 0:
  315. spafinloc = 1
  316. else
  317. spafinloc = 4
  318. end
  319. elseif spafinloc = 7:
  320. if rand(0,1) = 0:
  321. spafinloc = 14
  322. else
  323. spafinloc = 15
  324. end
  325. end
  326. end
  327. sparrloc[sparrtemp] = spafinloc
  328. if spafinloc = 12 and pcs_breath = 1: pcs_breath = 0
  329. if spafinloc = 12 and swallow >= 10 and rand(0,3) = 0: pcs_energy += 2 & pcs_hydra += 1
  330. $sparrnam[sparrtemp] = $boy
  331. sparrppt[sparrtemp] = sexspecpot
  332. sparrvol[sparrtemp] += sexvolume
  333. cumsumbod += sexvolume
  334. if spafinloc = 3:
  335. cumsumass += sexvolume
  336. end
  337. sparridt[sparrtemp] = cumarrkno[cumarrtemp]
  338. sparrslc[sparrtemp] = 0
  339. end
  340. if cumarrppt[cumarrtemp] < cumarrcpt[cumarrtemp]:cumarrcpt[cumarrtemp] = cumarrppt[cumarrtemp]
  341. sexpartkno = 0
  342. sexunaware = 0
  343. !!{ And this is the pre ejaculate release talked about above.}
  344. elseif sexcontra < 3 and spafinloc = 0:
  345. $cumarrnam[cumarrtemp] = $boy
  346. cumarrcnt[cumarrtemp] = stat['cum_count']
  347. cumarrppt[cumarrtemp] = sexspecpot
  348. cumarrage[cumarrtemp] = 0
  349. cumarrdel[cumarrtemp] = 0
  350. cumarrcon[cumarrtemp] = sexcontra
  351. cumarrcpt[cumarrtemp] += cumarrppt[cumarrtemp]/12
  352. if cumarrppt[cumarrtemp] < cumarrcpt[cumarrtemp]:cumarrcpt[cumarrtemp] = cumarrppt[cumarrtemp]
  353. end
  354. !!STD from anal check
  355. if spafinloc = 3 and cumnostd = 0: gs 'dinSex', 'std_trigger'
  356. !!STD from oral check
  357. if spafinloc = 12 and cumnostd = 0: gs 'dinSex', 'std_trigger_oral'
  358. cumprecheck = 0
  359. spafinloc = 0
  360. sexvolume = 0
  361. dynamic $din_Update_Condom_Counts
  362. if cumsumass >= 60:
  363. arrmodtmp = arrpos('sparrloc',3)
  364. if sparrslc[arrmodtmp] <= 0: sparrslc[arrmodtmp] += 1
  365. end
  366. if cumsumvag >= 60:
  367. arrmodtmp = arrpos('sparrloc',0)
  368. if sparrslc[arrmodtmp] <= 0: sparrslc[arrmodtmp] += 1
  369. end
  370. killvar 'sexspecpot'
  371. killvar 'cumnostd'
  372. end
  373. if $ARGS[0] = 'cumgather':
  374. cloc = ARGS[1]
  375. i = arrpos('sparrloc', cloc)
  376. if i ! -1 and i < arrsize('sparrloc'):
  377. if cloc = 0:
  378. $part = 'pussy'
  379. elseif cloc = 1:
  380. $part = 'pussylips'
  381. elseif cloc = 2 or cloc = 5:
  382. $part = 'your panties'
  383. elseif cloc = 3:
  384. $part = 'anus'
  385. elseif cloc = 4:
  386. $part = 'buttocks'
  387. elseif cloc = 6 or cloc = 7:
  388. $part = 'clothes'
  389. elseif cloc = 8:
  390. $part = 'back'
  391. elseif cloc = 9:
  392. $part = 'legs'
  393. elseif cloc = 10:
  394. $part = 'arms'
  395. elseif cloc = 11:
  396. stat['cum_facial'] += 1
  397. $part = 'face'
  398. elseif cloc = 14:
  399. $part = 'stomach'
  400. elseif cloc = 15:
  401. $part = 'breasts'
  402. elseif cloc = 16:
  403. $part = 'hair'
  404. else
  405. $part = 'unknown'
  406. end
  407. if salfetka > 0:
  408. salfetka -= 1
  409. minut += 5
  410. 'You use a wipe to clean the sperm from your <<$part>>.'
  411. gs 'cum_cleanup', 'cleanloc', cloc
  412. gs 'stat'
  413. end
  414. end
  415. end
  416. if $ARGS[0] = 'cumeater_icon':
  417. *nl
  418. j = 0
  419. :cumeater_icon_jump
  420. if cumloc[j] > 0 and j ! 12: gs 'cum_manage', 'cumeater', j
  421. if j < 17: j += 1 & jump 'cumeater_icon_jump'
  422. end
  423. if $ARGS[0] = 'cumeater':
  424. cloc = ARGS[1]
  425. i = arrpos('sparrloc', cloc)
  426. if i ! -1 and i < arrsize('sparrloc'):
  427. cumloc[12] = 1
  428. pcs_breath = 0
  429. $part = ''
  430. if cloc = 13:
  431. gs 'cum_cleanup', 'cleanloc', cloc
  432. 'You carefully lick the sperm residue from both hands, enjoying the tart taste of semen.'
  433. else
  434. if cloc = 0:
  435. $part = 'pussy'
  436. elseif cloc = 1:
  437. $part = 'pussylips'
  438. elseif cloc = 2 or cloc = 5:
  439. $part = 'your panties'
  440. gs 'cum_cleanup', 'cleanloc', 2
  441. gs 'cum_cleanup', 'cleanloc', 5
  442. elseif cloc = 3:
  443. $part = 'anus'
  444. elseif cloc = 4:
  445. $part = 'buttocks'
  446. elseif cloc = 6 or cloc = 7:
  447. $part = 'clothes'
  448. gs 'cum_cleanup', 'cleanloc', 6
  449. gs 'cum_cleanup', 'cleanloc', 7
  450. elseif cloc = 8:
  451. $part = 'back'
  452. elseif cloc = 9:
  453. $part = 'legs'
  454. elseif cloc = 10:
  455. $part = 'arms'
  456. elseif cloc = 11:
  457. $part = 'face'
  458. elseif cloc = 14:
  459. $part = 'stomach'
  460. elseif cloc = 15:
  461. $part = 'breasts'
  462. elseif cloc = 16:
  463. $part = 'hair'
  464. else
  465. $part = 'unknown'
  466. end
  467. if rand(0, 1) = 0:
  468. 'You collect a handful of sperm from your <<$part>> in your hand and lick it all up, enjoying the tart taste of semen.'
  469. else
  470. 'You collect the sperm from your <<$part>> with your fingers and lick them, enjoying the tart taste of semen.'
  471. end
  472. gs 'cum_cleanup', 'cleanloc', cloc
  473. end
  474. minut += 2
  475. gs 'stat'
  476. end
  477. end
  478. if $ARGS[0] = 'cum_stat_display':
  479. if Enable_clearcum > 0: gs 'cum_cleanup', 'reset'
  480. killvar 'cumvolume'
  481. killvar 'i'
  482. killvar 'knownguy'
  483. killvar 'cumcount'
  484. killvar 'cumowner'
  485. if arrsize('sparrvol') > 0:
  486. !!go through every location
  487. :locationloop
  488. !!start from the freshest load
  489. idx = arrsize('sparrloc')-1
  490. :spermitemloop
  491. !!if the currently examined load loaction is the location of the current cycle, execute
  492. if sparrloc[idx] = i:
  493. !!setting the age of the current load
  494. !! 0: mouth
  495. !! 1: in this hour
  496. !! 2: in four hours
  497. !! 3: at least five hours ago
  498. !! 4: in body (pussy or ass)
  499. !! 5: no more than 12 hours in condom
  500. !! 6: no more than 48 hours in condom
  501. !! 7: more than two days old, in condom
  502. if i = 12:
  503. j = 0
  504. elseif i = 17:
  505. if sparrage[idx] <= 12:
  506. j = 5
  507. elseif sparrage[idx] <= 48:
  508. j = 6
  509. else
  510. j = 7
  511. end
  512. elseif i = 0 or i = 3:
  513. j = 4
  514. else
  515. if sparrage[idx] <= 1:
  516. j = 1
  517. elseif sparrage[idx] <= 5:
  518. j = 2
  519. else
  520. j = 3
  521. end
  522. end
  523. cumvolume['<<i>>:<<j>>'] += sparrvol[idx]
  524. if sparrvol[idx] > 0:
  525. if sparridt[idx] = 0:
  526. !!unknown partner
  527. cumcount['<<i>>:<<j>>'] += 1
  528. elseif sparridt[idx] = 1:
  529. !!known partner
  530. !!storing the name of the cum owner (format: $cumowner[<cum location>:<age of cum>:<index of cum owner>])
  531. if knownguy['<<i>>:<<j>>'] > 0:
  532. gchk = 0
  533. :sameguycheck
  534. if $cumowner['<<i>>:<<j>>:<<gchk>>'] ! $sparrnam[idx] and gchk <= knownguy['<<i>>:<<j>>']:gchk += 1 & jump 'sameguycheck'
  535. if gchk > knownguy['<<i>>:<<j>>']:
  536. $cumowner['<<i>>:<<j>>:<<knownguy[''<<i>>:<<j>>'']>>'] = $sparrnam[idx]
  537. knownguy['<<i>>:<<j>>'] += 1
  538. cumcount['<<i>>:<<j>>'] += 1
  539. end
  540. else
  541. $cumowner['<<i>>:<<j>>:<<knownguy[''<<i>>:<<j>>'']>>'] = $sparrnam[idx]
  542. knownguy['<<i>>:<<j>>'] += 1
  543. cumcount['<<i>>:<<j>>'] += 1
  544. end
  545. end
  546. end
  547. end
  548. if idx > 0:idx -= 1 & jump 'spermitemloop'
  549. if i < 18:i += 1 & jump 'locationloop'
  550. killvar 'i'
  551. killvar 'idx'
  552. killvar 'j'
  553. end
  554. !!Clearing cum location array before positive entries are applied below in the icon and the text message codes
  555. killvar 'cumloc'
  556. $stat_cum_msg = ''
  557. $stat_cum_text = ''
  558. stat_visible_cum = 0
  559. stat_cumloc_check = 0
  560. i = 0
  561. :cumlocloop
  562. if i = 0:
  563. $icon_txtloc = 'your pussy'
  564. $txtloc = 'your <a href="exec:view''images/pc/body/cum/creampie/cumpussy'+rand(1,14)+'.jpg''">pussy</a>'
  565. elseif i = 1:
  566. $icon_txtloc = 'your labia'
  567. $txtloc = 'your <a href="exec:view''images/pc/body/cum/cumpussy/cumpus'+rand(1,4)+'.jpg''">labia</a>'
  568. elseif i = 2:
  569. $txtloc = 'the front of your panties'
  570. $icon_txtloc = $txtloc
  571. elseif i = 3:
  572. $icon_txtloc = 'your ass'
  573. $txtloc = 'your <a href="exec:view''images/pc/body/cum/cumanal/cumanal'+rand(1,11)+'.jpg''">ass</a>'
  574. elseif i = 4:
  575. $icon_txtloc = 'your butt'
  576. $txtloc = 'your <a href="exec:view''images/pc/body/cum/cumass/cumass'+rand(1,6)+'.jpg''">butt</a>'
  577. elseif i = 5:
  578. $txtloc = 'the back of your panties'
  579. $icon_txtloc = $txtloc
  580. elseif i = 6:
  581. $icon_txtloc = 'your clothes near your groin'
  582. $txtloc = 'your <a href="exec:view''images/pc/body/cum/cumclothes/'+rand(1,3)+'.jpg''">clothes near your groin</a>'
  583. elseif i = 7:
  584. $icon_txtloc = 'your clothes'
  585. $txtloc = 'your <a href="exec:view''images/pc/body/cum/cumclothes/cumclothes'+rand(1,21)+'.jpg''">clothes</a>'
  586. elseif i = 8:
  587. $txtloc = 'your back'
  588. $icon_txtloc = $txtloc
  589. elseif i = 9:
  590. $txtloc = 'your legs'
  591. $icon_txtloc = $txtloc
  592. elseif i = 10:
  593. $txtloc = 'your arms'
  594. $icon_txtloc = $txtloc
  595. elseif i = 11:
  596. if pcs_haircol = 0:
  597. $cum_face_image = 'brown/'
  598. $cum_face_image += rand(1, 31)
  599. elseif pcs_haircol = 1:
  600. $cum_face_image = 'black/'
  601. $cum_face_image += rand(1, 23)
  602. elseif pcs_haircol = 2:
  603. $cum_face_image = 'red/'
  604. $cum_face_image += rand(1, 19)
  605. elseif pcs_haircol = 3:
  606. $cum_face_image = 'blonde/'
  607. $cum_face_image += rand(1, 25)
  608. elseif pcs_haircol > 3:
  609. $cum_face_image = 'custom/'
  610. $cum_face_image += rand(1, 20)
  611. end
  612. $icon_txtloc = 'your face'
  613. $txtloc = 'your <a href="exec:view''images/pc/body/cum/cumface/<<$cum_face_image>>.jpg''">face</a>'
  614. killvar 'cum_face_image'
  615. elseif i = 13:
  616. $txtloc = 'your hands'
  617. $icon_txtloc = $txtloc
  618. elseif i = 14:
  619. $icon_txtloc = 'your stomach'
  620. $txtloc = 'your <a href="exec:view''images/pc/body/cum/cumbelly/cumbelly'+rand(1,12)+'.jpg''">stomach</a>'
  621. elseif i = 15:
  622. $icon_txtloc = 'your breasts'
  623. $txtloc = 'your <a href="exec:view''images/pc/body/cum/cumtits/cumtits'+rand(1,19)+'.jpg''">breasts</a>'
  624. elseif i = 16:
  625. $icon_txtloc = 'your hair'
  626. $txtloc = 'your hair</a>'
  627. elseif i = 17:
  628. $txtloc = 'in your vagina in a slipped condom'
  629. $icon_txtloc = $txtloc
  630. else
  631. $icon_txtloc = 'the gusset of your panties'
  632. $txtloc = 'the gusset of your panties</a>'
  633. end
  634. j = 0
  635. :ageloop
  636. if cumvolume['<<i>>:<<j>>'] > 0:
  637. !!Cum locations set for checking npc reactions
  638. cumloc[i] = 1
  639. cumvol[i] = cumvolume['<<i>>:<<j>>']
  640. if stat_cumloc_check ! 1 and i ! 12: stat_cumloc_check = 1
  641. !!amount setting
  642. if cumvolume['<<i>>:<<j>>'] > 250:
  643. !! 25 ml, about four-five load, gushing
  644. $txtamount = 'Enormous '
  645. elseif cumvolume['<<i>>:<<j>>'] > 100:
  646. !! 10 ml, about two load, flowing
  647. $txtamount = 'Huge '
  648. elseif cumvolume['<<i>>:<<j>>'] >= 20:
  649. !! 2 ml, seeping out
  650. $txtamount = 'Decent '
  651. else
  652. !! residue amount, no leakage
  653. $txtamount = 'Small '
  654. end
  655. !! if sperm age stage is 4, it means inside the body
  656. if j = 4:
  657. if (vibratorIN = 1 and i = 0) or (analplugin = 1 and i = 3):
  658. $txtproxy = 'being plugged in '
  659. elseif i = 0 and cumvolume['<<i>>:<<j>>'] < pcs_vag*5:
  660. $txtproxy = 'staying inside of '
  661. elseif i = 3 and pcs_ass <= 25:
  662. $txtproxy = 'staying inside of '
  663. else
  664. if cumvolume['<<i>>:<<j>>'] > 250:
  665. $txtproxy = 'gushing out of '
  666. elseif cumvolume['<<i>>:<<j>>'] > 100:
  667. $txtproxy = 'flowing out of '
  668. elseif cumvolume['<<i>>:<<j>>'] >= 40:
  669. $txtproxy = 'seeping out of '
  670. else
  671. $txtproxy = 'staying inside of '
  672. end
  673. end
  674. elseif j >= 5:
  675. !! if sperm age stage is over 4, meaning in condom
  676. if j = 5:
  677. $txtproxy = 'buried '
  678. elseif j = 6:
  679. $txtproxy = 'marinating '
  680. else
  681. $txtproxy = 'rotting '
  682. end
  683. if cumcondslip_deep > (vagina / 2): $txtproxy += 'deep '
  684. elseif j < 4 and j > 0:
  685. !!amount setting
  686. if cumvolume['<<i>>:<<j>>'] > 160:
  687. !! 10 ml, about two load, flowing
  688. $txtproxy = 'coating '
  689. elseif cumvolume['<<i>>:<<j>>'] > 40:
  690. !! 2 ml, seeping out
  691. $txtproxy = 'covering '
  692. else
  693. !! residue amount, no leakage
  694. $txtproxy = 'spattering '
  695. end
  696. if j = 1:
  697. $txtproxy += 'wetly '
  698. elseif j = 2:
  699. $txtproxy += 'dryly '
  700. else
  701. $txtproxy += 'powderly '
  702. end
  703. end
  704. $txtperson = ''
  705. if cumcount['<<i>>:<<j>>'] = 0:
  706. !!ToDo: No idea how to do the icon here (julzor)
  707. $txtiscum = 'some whitish substance '
  708. else
  709. $txtiscum = 'cum'
  710. if cumcount['<<i>>:<<j>>'] = knownguy['<<i>>:<<j>>']:
  711. !! everyone is known (one or more)
  712. if knownguy['<<i>>:<<j>>'] = 1:
  713. if $npc_usedname[$cumowner['<<i>>:<<j>>:0']] = 'stranger':
  714. $txtperson = $npc_firstname[$cumowner['<<i>>:<<j>>:0']] + ' '
  715. else
  716. $txtperson = $npc_usedname[$cumowner['<<i>>:<<j>>:0']] + ' '
  717. end
  718. else
  719. kmax = 0
  720. :nullocator1
  721. if $cumowner['<<i>>:<<j>>:<<kmax>>'] ! '':kmax += 1 & jump 'nullocator1'
  722. kmax -= 1
  723. k = 0
  724. :knownloop
  725. $txtperson += $npc_usedname[$cumowner['<<i>>:<<j>>:<<k>>']]
  726. if k < kmax-1:$txtperson += ', ' & k += 1 & jump 'knownloop'
  727. k += 1
  728. if $npc_usedname[$cumowner['<<i>>:<<j>>:<<k>>']] = 'stranger':
  729. $txtperson += ' and ' + $npc_firstname[$cumowner['<<i>>:<<j>>:<<k>>']] + ' '
  730. else
  731. $txtperson += ' and ' + $npc_usedname[$cumowner['<<i>>:<<j>>:<<k>>']] + ' '
  732. end
  733. end
  734. elseif knownguy['<<i>>:<<j>>'] = 0:
  735. !! no one is known (one or more)
  736. if cumcount['<<i>>:<<j>>'] = 1:
  737. $txtperson += 'some guy '
  738. else
  739. $txtperson += 'some guys '
  740. end
  741. else
  742. !! there are known and unknown guys in the mix
  743. if knownguy['<<i>>:<<j>>'] = 1:
  744. if $npc_usedname[$cumowner['<<i>>:<<j>>:<<k>>']] = 'stranger':
  745. $txtperson = $npc_firstname[$cumowner['<<i>>:<<j>>:0']] + ' and some guy'
  746. else
  747. $txtperson = $npc_usedname[$cumowner['<<i>>:<<j>>:0']] + ' and some guy'
  748. end
  749. else
  750. kmax = 0
  751. :nullocator2
  752. if $cumowner['<<i>>:<<j>>:<<kmax>>'] ! '':kmax += 1 & jump 'nullocator2'
  753. kmax -= 1
  754. k = 0
  755. :mixloop
  756. if $npc_usedname[$cumowner['<<i>>:<<j>>:<<k>>']] = 'stranger':
  757. $txtperson += $npc_firstname[$cumowner['<<i>>:<<j>>:<<k>>']] + ', '
  758. else
  759. $txtperson += $npc_usedname[$cumowner['<<i>>:<<j>>:<<k>>']] + ', '
  760. end
  761. if k < kmax: k += 1 & jump 'mixloop'
  762. $txtperson += 'and some guy'
  763. end
  764. if cumcount['<<i>>:<<j>>'] - knownguy['<<i>>:<<j>>'] > 1:
  765. $txtperson += 's '
  766. else
  767. $txtperson += ' '
  768. end
  769. end
  770. end
  771. $icon_txtiscum = $txtiscum
  772. if j <= 4 and pcs_traits['cumeater'] = 1 and $txtiscum = 'cum': $txtiscum = '<a href="exec:gs ''cum_manage'', ''cumeater'', <<i>>"><font color=#0064FF>' + $txtiscum + '</font></a>'
  773. if $txtperson ! '':
  774. $txtperson = ' from ' + $txtperson
  775. end
  776. if i = 0 and j = 4 and vibratorIN = 0 and pcs_vag*10 < cumvolume['<<i>>:<<j>>'] and cumvolume['<<i>>:<<j>>'] >= 20:
  777. $stat_cum_text += '<BR><b><font color="red">' + $txtamount + 'amounts of ' + $txtiscum + $txtperson + 'is ' + $txtproxy + $txtloc + iif($pantyworntype ! 'none', ' into your panties.', ' down your legs.')+'</font></b>'
  778. if $stat_cum_msg ! '': $stat_cum_msg += '<br>'
  779. $stat_cum_msg += $txtamount + 'amounts of ' + $icon_txtiscum + $txtperson + 'is ' + $txtproxy + $icon_txtloc + iif($pantyworntype ! 'none', ' into your panties.', ' down your legs.')
  780. elseif sparragestage >= 5:
  781. if cumcondslip_aware > 0: $stat_cum_text += '<BR><b><font color="red">' + $txtamount + 'amounts of ' + $txtiscum + $txtperson + 'is ' + $txtproxy + $txtloc + '.</font></b>'
  782. if $stat_cum_msg ! '': $stat_cum_msg += '<br>'
  783. $stat_cum_msg += $txtamount + 'amounts of ' + $icon_txtiscum + $txtperson + 'is ' + $txtproxy + $icon_txtloc + '.'
  784. elseif j ! 0:
  785. $stat_cum_text += '<BR><b><font color="red">' + $txtamount + 'amounts of ' + $txtiscum + $txtperson + 'is ' + $txtproxy + $txtloc + '.</font></b>'
  786. if $stat_cum_msg ! '': $stat_cum_msg += '<br>'
  787. $stat_cum_msg += $txtamount + 'amounts of ' + $icon_txtiscum + $txtperson + 'is ' + $txtproxy + $icon_txtloc + '.'
  788. else
  789. $stat_cum_text += '<BR><b><font color="red">Your mouth has the tangy aftertaste of sperm.</font></b>'
  790. if $stat_cum_msg ! '': $stat_cum_msg += '<br>'
  791. $stat_cum_msg += 'Your mouth has the tangy aftertaste of sperm.'
  792. end
  793. end
  794. if j < 7: j+=1 & jump 'ageloop'
  795. if i < 18: i+=1 & jump 'cumlocloop'
  796. killvar 'i'
  797. killvar 'j'
  798. killvar 'txtperson'
  799. killvar 'k'
  800. killvar 'kmax'
  801. killvar 'txtamount'
  802. killvar 'txtiscum'
  803. killvar '$icon_txtiscum'
  804. killvar 'txtperson'
  805. killvar 'txtproxy'
  806. killvar 'txtloc'
  807. killvar '$icon_txtloc'
  808. killvar 'cumvolume'
  809. killvar 'cumcount'
  810. killvar 'knownguy'
  811. killvar 'cumowner'
  812. $stat_visible_cum_temp = ''
  813. $stat_visible_cum_msg = ''
  814. if cumloc[6] = 1 or cumloc[7] = 1 or cumloc[11] = 1 or cumloc[13] = 1 or cumloc[16] = 1:
  815. if cumloc[6] = 1:
  816. stat_visible_cum = 1
  817. if $stat_visible_cum_temp ! '': $stat_visible_cum_temp += ', '
  818. $stat_visible_cum_temp += 'your clothes near your groin'
  819. end
  820. if cumloc[7] = 1:
  821. stat_visible_cum = 1
  822. if $stat_visible_cum_temp ! '': $stat_visible_cum_temp += ', '
  823. $stat_visible_cum_temp += 'your clothes'
  824. end
  825. if cumloc[11] = 1:
  826. stat_visible_cum = 1
  827. if $stat_visible_cum_temp ! '': $stat_visible_cum_temp += ', '
  828. $stat_visible_cum_temp += 'your face'
  829. end
  830. if cumloc[13] = 1:
  831. stat_visible_cum = 1
  832. if $stat_visible_cum_temp ! '': $stat_visible_cum_temp += ', '
  833. $stat_visible_cum_temp += 'your hands'
  834. end
  835. if cumloc[16] = 1:
  836. stat_visible_cum = 1
  837. if $stat_visible_cum_temp ! '': $stat_visible_cum_temp += ', '
  838. $stat_visible_cum_temp += 'your hair'
  839. end
  840. $stat_visible_cum_msg = 'People can see the cum on '+ $stat_visible_cum_temp + '.'
  841. end
  842. cum_loc['vagina'] = cumloc[0]
  843. cum_loc['labia'] = cumloc[1]
  844. cum_loc['panty_front'] = cumloc[2]
  845. cum_loc['anus'] = cumloc[3]
  846. cum_loc['butt'] = cumloc[4]
  847. cum_loc['panty_back'] = cumloc[5]
  848. cum_loc['clothes_groin'] = cumloc[6]
  849. cum_loc['clothes'] = cumloc[7]
  850. cum_loc['back'] = cumloc[8]
  851. cum_loc['legs'] = cumloc[9]
  852. cum_loc['arms'] = cumloc[10]
  853. cum_loc['face'] = cumloc[11]
  854. cum_loc['mouth'] = cumloc[12]
  855. cum_loc['hands'] = cumloc[13]
  856. cum_loc['stomach'] = cumloc[14]
  857. cum_loc['tits'] = cumloc[15]
  858. cum_loc['hair'] = cumloc[16]
  859. cum_loc['condom_in_pussy'] = cumloc[17]
  860. end
  861. --- Cum_Manage ---------------------------------