arousal.qsrc 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889
  1. # arousal
  2. !!{ For checking arousal and when applicable triggering orgasms.
  3. $ARGS[0] the action causing arousal:
  4. All acts are from Sveta''s perspective and in cases of both giving and receiving, receiving should be used.
  5. It can be when receiving any of the following
  6. 'masturbate' - self stimulation
  7. 'porn' - viewing pornographic material
  8. 'voyeur_sex' - watching, usually as in spying on, other people have sex
  9. 'voyeur' - watching, usually as in spying on, erotic acts of others
  10. 'erotic' - being aroused by eroticism
  11. 'erotic_nudity' - being aroused by nudity of others
  12. 'trib' - rubbing pussy against another pussy
  13. 'massage' - rubbing your body, back, feet, etc. with their hands/arms
  14. 'cuni' - stimulation of your pussy by someones toungue
  15. 'rimming' - stimulation of your anus by someones toungue
  16. 'vaginal' 'vaginal_finger' 'vaginal_fist' 'vaginal_dildo' 'vaginal_strap' 'vaginal_vibe' - stimulation of your vagina with a penis and various others
  17. 'anal' 'anal_finger' 'anal_fist' 'anal_dildo' 'anal_strap' 'anal_vibe' - stimulation of your anus with a penis and various others
  18. 'kiss' - snogging, tonsil tennis, lip locking, etc.
  19. 'BDSM' - receiving candle wax, flogging, leash play, bondage etc
  20. 'pee' - being peed upon
  21. also when giving any of the following:
  22. 'flashlite' - flashing underwear
  23. 'flash' - flashing naked breasts/arse/vagina
  24. 'massage_give' - rubbing their body, back, feet, etc. with your hands/arms
  25. 'cuni_give' - stimulating someones pussy with your toungue
  26. 'rimming_give' - stimulating someones anus with your toungue
  27. 'vaginal_finger_give' 'vaginal_fist_give' 'vaginal_dildo_give' 'vaginal_strap_give' 'vaginal_vibe_give' - stimulating someones vagina in various ways
  28. 'anal_finger_give' 'anal_fist_give' 'anal_dildo_give' 'anal_vibe_give' 'anal_strap_give' - stimulating someones anus in various ways
  29. 'hj' - jerking a guy off with your hand
  30. 'bj' - sucking a guy off
  31. 'titjob' - using boobs to jerk off a guy
  32. 'footjob' - using feet to jerk off a guy
  33. 'BDSM_give' - giving candle wax, flogging, leash play, bondage etc
  34. 'pee_give' - peeing on somone
  35. finally
  36. 'foreplay' - receiving other stuff
  37. 'foreplay_give' - giving other stuff
  38. ARGS[1] for time taken in minutes - it is use partly for arousal calculation and partly for moving time ahead. If you want to calculate just the arousal and do not move time (simultaneous stimulation), use negative value.
  39. $ARGS[2] can be used for passing the name of boys dick variable .. 'dick' is default, which belong to $boy, else can be passed 'dick1' .. 'dick4' or 'dick[i]' along the boys parameters activation
  40. The variables used can be set by calling boyStat e.g. gs 'boyStat', 'A75', 'a' will set dick1 for NPC A75
  41. $ARGS[2] - [8] Are optional but can be upto 7 fetishes involved in the act and can be any of the following:
  42. 'maso' 'bound' 'beast' 'exhibitionism' 'rough' 'prostitution' 'dom' 'sub' 'incest' 'feet' 'lesbian' 'group' 'gangbang' 'humiliation' 'deepthroat' 'unknown' 'gloryhole' 'rape' 'futa'
  43. Format to use: gs 'arousal', 'act', 'duration', 'fetish', 'fetish', 'fetish', 'fetish', 'fetish', 'fetish', 'fetish'
  44. eg: gs 'arousal', 'trib', 10, 'bound', 'sub'
  45. In this case lesbianism is automatically added, much as feet would be applied to 'footjob'
  46. Lubrication - if one of the arguments $ARGS[2] - [8] is set to 'lube', it supposes that it is used some kind of lubricant - preferably from PCs supply of lube.
  47. The lube will remain applied to the orifice in question until 'end' is called. The usage of Svetas lube and checks for her having any must be done in the sex act.
  48. The lubrication is binded with anal or vaginal action. I think that the best combo is with 'anal_finger' and 'vaginal_finger'
  49. Only call one at a time, if more required, use multiple calls
  50. Unaware - if one of the arguments $ARGS[2] - [8] is set to 'unaware', Sveta is not aware of this Sexact. Sveta will never know she had Sex!
  51. You can override the orgasm to force or prevent, to do so use:
  52. $orgasm_or = 'yes' to force orgasm, it will reset in orgasm call so if you want to force it again, you have to enter it again
  53. *$orgasm_or = 'custom' to force orgasm and use custom text set as $orgasm_txt - *you can just add the text and call with 'yes' this is old method
  54. $orgasm_or = 'yes' and 'custom' require that the first arousal call is a call that can trigger an orgasm, the following arousal calls can trigger it: masturbate, cuni, rimming, trib, anal, anal_finger, anal_fist, anal_dildo, anal_strap, anal_vibe, vaginal, vaginal_finger, vaginal_fist, vaginal_dildo, vaginal_strap, vaginal_vibe can trigger
  55. $orgasm_or = 'no' to prevent orgasm, it will remain in place until manually changed, or if end is called.
  56. $orgasm_txt is used to add custom text that will be called if Sveta orgasms in the next arousal call. It will remain until cleared or orgasm so you must clear it if not forcing orgasm and don''t want it to be used on next orgasm.
  57. }
  58. temp_anal = 0
  59. temp_unaware = 0
  60. !!orgasms restricted to direct stimulation using this flag
  61. orgasm_flag = 0
  62. if $ARGS[0] ! 'end' and $ARGS[0] ! 'checks' and $ARGS[0] ! 'count' and $ARGS[0] ! 'count2':
  63. if strpos($ARGS[2]+$ARGS[3]+$ARGS[4]+$ARGS[5]+$ARGS[6]+ $ARGS[7]+ $ARGS[8],'unaware') > 0:
  64. temp_unaware = 1
  65. end
  66. if mid($ARGS[2],1,4) = 'dick':
  67. temp_dick = dyneval('result='+$ARGS[2])
  68. temp_silavag = dyneval('result=silavag'+mid($ARGS[2],5,len($ARGS[2])-4))
  69. $temp_dick_girth = dyneval('$result=$dick_girth'+mid($ARGS[2],5,len($ARGS[2])-4))
  70. else
  71. temp_dick = dick
  72. temp_silavag = silavag
  73. $temp_dick_girth = $dick_girth
  74. end
  75. if strpos($ARGS[2]+$ARGS[3]+$ARGS[4]+$ARGS[5]+$ARGS[6]+ $ARGS[7]+ $ARGS[8],'rough')+strpos($ARGS[2]+$ARGS[3]+$ARGS[4]+$ARGS[5]+$ARGS[6]+ $ARGS[7]+ $ARGS[8],'beast') > 0: temp_silavag = 0
  76. grange = dyneval('result=strpos(''skinny slimx well pr thicker thickx massive monstrous'',$ARGS[0])',mid($temp_dick_girth+'x',1,6))/2
  77. !! first let us determine how slippery are pc''s holes
  78. if vaginal_slip < pcs_horny / 10: vaginal_slip = pcs_horny / 10
  79. if strpos($ARGS[2]+$ARGS[3]+$ARGS[4]+$ARGS[5]+$ARGS[6]+ $ARGS[7]+ $ARGS[8],'lube') > 0:
  80. if ar_anal_lube = 0:
  81. if mid($ARGS[0],1,4) = 'anal':
  82. anal_slip = 8
  83. ar_anal_lube = 1
  84. end
  85. end
  86. if ar_vag_lube = 0:
  87. if mid($ARGS[0],1,4) = 'vagi':
  88. vaginal_slip = 8
  89. ar_vag_lube = 1
  90. end
  91. end
  92. end
  93. !! This is to allow a Succubus with the right skill level to handle any size then go back to original size
  94. if succubusflag = 1 and sucskill >= 4:
  95. if mid($ARGS[0],1,4) = 'vagi' and temp_dick ! pcs_vag:
  96. if temp_dick < pcs_vag - 5 or temp_dick > pcs_vag + 5: pcs_mood -= 10
  97. if sucvagorg = 0: sucvagorg = pcs_vag
  98. pcs_vag = temp_dick
  99. end
  100. if mid($ARGS[0],1,4) = 'anal' and temp_dick ! pcs_ass:
  101. if temp_dick < pcs_ass - 5 or temp_dick > pcs_ass + 5: pcs_mood -= 10
  102. if sucanusorg = 0: sucanusorg = pcs_ass
  103. pcs_ass = temp_dick
  104. end
  105. end
  106. !!set a magnitude as a random
  107. stim['mag'] = rand(0,3) + rand(0,3) + rand(0,3)
  108. !!add count and effects due to action
  109. if $ARGS[0] = 'masturbate':
  110. orgasm_flag = 1
  111. count['mast'] = 1
  112. stim['mag'] += 6
  113. stim['act'] = 100
  114. elseif $ARGS[0] = 'porn':
  115. count['porn'] = 1
  116. stim['act'] = 25
  117. elseif $ARGS[0] = 'voyeur':
  118. count['voyeur'] = 1
  119. stim['act'] = 20
  120. elseif $ARGS[0] = 'voyeur_sex':
  121. count['voyeur_sex'] = 1
  122. stim['act'] = 35
  123. elseif $ARGS[0] = 'erotic':
  124. stim['act'] = 5
  125. elseif $ARGS[0] = 'erotic_nudity':
  126. stim['act'] = 5
  127. count['erotic_nudity'] = 1
  128. elseif $ARGS[0] = 'kiss':
  129. count['kiss'] = 1
  130. stim['act'] = 10
  131. !! elseif $ARGS[0] = 'breasts':
  132. !! stim['act'] = 30
  133. !! !! No idea where else to put this. This is used for breast stimulation which will eventually cause lactation in sveta without her knowledge. If anyone knows a better place for this, please let me know. - milky_boobs.
  134. !! milkedvolume += func('lact_lib','$get_breastmilk', 8, ARGS[1])
  135. elseif $ARGS[0] = 'massage':
  136. count['massage'] = 1
  137. stim['act'] = 25
  138. elseif $ARGS[0] = 'foreplay':
  139. count['foreplay'] = 1
  140. stim['act'] = 20
  141. elseif $ARGS[0] = 'cuni':
  142. orgasm_flag = 1
  143. count['cuni'] = 1
  144. stim['mag'] += 4
  145. stim['act'] = 80
  146. elseif $ARGS[0] = 'rimming':
  147. orgasm_flag = 1
  148. count['rimming'] = 1
  149. stim['act'] = 30
  150. elseif $ARGS[0] = 'trib':
  151. orgasm_flag = 1
  152. count['trib'] = 1
  153. stim['mag'] += 3
  154. stim['act'] = 70
  155. stim_les = 1
  156. elseif $ARGS[0] = 'anal':
  157. orgasm_flag = 1
  158. temp_anal = 1
  159. if temp_unaware = 1:
  160. count['hidden_anal'] = 1
  161. else
  162. count['anal'] = 1
  163. end
  164. if pcs_ass < dick:pcs_ass += 1
  165. if pcs_ass*2 < dick:pcs_ass += 1
  166. !! length and girth abilities of anus are not also separated , but I suppose that they are related although it is not propable
  167. !! we can estimate difference in girth and length anal_girth_difference and anal_lenght_difference - names are shortened
  168. altdif = temp_dick - pcs_ass
  169. agrdif = grange - pcs_ass
  170. !! negative influence of the difference can be reduced by sex skill and also by lubricant
  171. !! I made it as simply as possible so you do not complain about reality, feel free to modify the algorithm
  172. !! when the boy is skilled, he can compensate the difference partly
  173. altdif = altdif / (temp_silavag+1)
  174. agrdif = agrdif *(5/4 - 1/(4 - temp_silavag))
  175. !! when the boy is skilled, he does not harm PC with his long dick
  176. if (temp_silavag = 2) and (altdif > 0): altdif = 0
  177. !! lube can compensate the difference a bit
  178. if -agrdif > anal_slip: agrdif = agrdif + anal_slip else if agrdif < 0: agrdif = 0
  179. if agrdif > anal_slip: agrdif = agrdif - anal_slip else if agrdif > 0: agrdif = 0
  180. stim['act'] = 80 - (iif(altdif>0,altdif,-altdif) + iif(agrdif >0,agrdif,-agrdif)) + temp_silavag*8
  181. !! if the dick is smaller, it cannot harm PC
  182. if agrdif < 0: agrdif = 0
  183. if altdif < 0: altdif = 0
  184. !! calculate the harm
  185. agape = iif((agrdif + altdif) > 10*agape,(agrdif + altdif)/10,agape)
  186. !! the pain lover the pleasure
  187. gs 'pain', (agrdif + altdif)/5 , 'asshole', 'stretch'
  188. stim['act'] = stim['act'] - (agrdif + altdif)
  189. elseif $ARGS[0] = 'anal_finger':
  190. orgasm_flag = 1
  191. temp_anal = 1
  192. count['anal_finger'] = 1
  193. stim['act'] = 40
  194. elseif $ARGS[0] = 'anal_fist':
  195. orgasm_flag = 1
  196. temp_anal = 1
  197. count['anal_fist'] = 1
  198. stim['act'] = 30
  199. if pcs_ass + anal_slip < 30:
  200. pcs_ass = 30
  201. gs 'pain', 4-agape, 'asshole', 'stretch'
  202. if agape < 3:agape = 3
  203. end
  204. elseif $ARGS[0] = 'anal_dildo':
  205. orgasm_flag = 1
  206. temp_anal = 1
  207. count['anal_dildo'] = 1
  208. !! the same as for 'anal'
  209. altdif = temp_dick - pcs_ass
  210. agrdif = grange - pcs_ass
  211. altdif = altdif / (temp_silavag+1)
  212. agrdif = agrdif *(5/4 - 1/(4 - temp_silavag))
  213. if (temp_silavag = 2) and (altdif > 0): altdif = 0
  214. if agrdif > anal_slip: agrdif = agrdif - anal_slip else if agrdif > 0: agrdif = 0
  215. if -agrdif > anal_slip: agrdif = agrdif + anal_slip else if agrdif < 0: agrdif = 0
  216. stim['act'] = 80 - (iif(altdif>0,altdif,-altdif) + iif(agrdif >0,agrdif,-agrdif)) + temp_silavag*8
  217. if agrdif < 0: agrdif = 0
  218. if altdif < 0: altdif = 0
  219. agape = iif((agrdif + altdif) > 10*agape,(agrdif + altdif)/10,agape)
  220. gs 'pain', (agrdif + altdif)/5 , 'asshole', 'stretch'
  221. stim['act'] = stim['act'] - (agrdif + altdif)
  222. elseif $ARGS[0] = 'anal_strap':
  223. orgasm_flag = 1
  224. temp_anal = 1
  225. count['anal_strap'] = 1
  226. !! the same as for 'anal'
  227. altdif = temp_dick - pcs_ass
  228. agrdif = grange - pcs_ass
  229. altdif = altdif / (temp_silavag+1)
  230. agrdif = agrdif *(5/4 - 1/(4 - temp_silavag))
  231. if (temp_silavag = 2) and (altdif > 0): altdif = 0
  232. if agrdif > anal_slip: agrdif = agrdif - anal_slip else if agrdif > 0: agrdif = 0
  233. if -agrdif > anal_slip: agrdif = agrdif + anal_slip else if agrdif < 0: agrdif = 0
  234. stim['act'] = 80 - (iif(altdif>0,altdif,-altdif) + iif(agrdif >0,agrdif,-agrdif)) + temp_silavag*8
  235. if agrdif < 0: agrdif = 0
  236. if altdif < 0: altdif = 0
  237. agape = iif((agrdif + altdif) > 10*agape,(agrdif + altdif)/10,agape)
  238. gs 'pain', (agrdif + altdif)/5 , 'asshole', 'stretch'
  239. stim['act'] = stim['act'] - (agrdif + altdif)
  240. elseif $ARGS[0] = 'anal_vibe':
  241. orgasm_flag = 1
  242. temp_anal = 1
  243. count['anal_vibe'] = 1
  244. stim['mag'] += 1
  245. stim['act'] = 60
  246. elseif $ARGS[0] = 'vaginal':
  247. orgasm_flag = 1
  248. !! pre-cum check
  249. if rand(0,120) < ARGS[1]: cumprecheck = 1 & gs 'cum_manage'
  250. if temp_unaware = 1:
  251. count['hidden_vaginal'] = 1
  252. else
  253. count['vaginal'] = 1
  254. end
  255. stim['mag'] += 3
  256. !! This section deals with pcs_vag if she still thinks she is virgin. There are many instances where virginity is
  257. !! checked via pcs_vag = 0, so for the time being i will not adjust pcs_vag if she believes.
  258. if temp_unaware = 0 or count['vaginal'] > 0:
  259. if pcs_vag < dick:pcs_vag += 1
  260. if pcs_vag*2 < dick:pcs_vag += 1
  261. end
  262. !! length and girth abilities of vagina are not separated , but I suppose that they are related
  263. !! we can estimate difference in girth and length vaginal_girth_difference and vaginal_lenght_difference - names are shortened
  264. vgrdif = grange - pcs_vag
  265. vltdif = temp_dick - pcs_vag
  266. !! negative influence of the difference can be reduced by sex skill and also by PCs horniness, using of a lubricant is not established yet
  267. !! I made it as simply as possible so you do not complain about reality, feel free to modify the algorithm
  268. !! when the boy is skilled, he can compensate the difference partly
  269. vltdif = vltdif / (temp_silavag+1)
  270. vgrdif = vgrdif *(5/4 - 1/(4 - temp_silavag))
  271. !! when the boy is skilled, he does not harm PC with his long dick
  272. if (temp_silavag = 2) and (vltdif > 0): vltdif = 0
  273. !! even PC horniness can compensate the difference
  274. if vgrdif > vaginal_slip: vgrdif = vgrdif - vaginal_slip else if (vgrdif > 0): vgrdif = 0
  275. if -1*vgrdif > vaginal_slip: vgrdif = vgrdif + vaginal_slip else if (vgrdif < 0): vgrdif = 0
  276. stim['act'] = 80 - (iif(vltdif>0,vltdif,-vltdif) + iif(vgrdif >0,vgrdif,-vgrdif)) + temp_silavag*8
  277. !! if the dick is smaller, it cannot harm PC
  278. if vgrdif < 0: vgrdif = 0
  279. if vltdif < 0: vltdif = 0
  280. !! calculate the harm
  281. vgape = iif((vgrdif + vltdif) > 10*vgape,(vgrdif + vltdif)/10,vgape)
  282. !! the pain lover the pleasure
  283. gs 'pain', (vgrdif + vltdif)/5 , 'vaginal', 'stretch'
  284. stim['act'] = stim['act'] - (vgrdif + vltdif)
  285. elseif $ARGS[0] = 'vaginal_finger':
  286. orgasm_flag = 1
  287. count['vaginal_finger'] = 1
  288. stim['mag'] += 1
  289. stim['act'] = 80
  290. elseif $ARGS[0] = 'vaginal_fist':
  291. orgasm_flag = 1
  292. count['vaginal_fist'] = 1
  293. stim['act'] = 70
  294. if pcs_vag + vaginal_slip < 30:
  295. !! same as for 'vaginal'
  296. if temp_unaware = 0 or count['vaginal'] > 0:pcs_vag += 3
  297. gs 'pain', 3 - vgape, 'vaginal', 'stretch'
  298. if vgape < 3:vgape = 3
  299. end
  300. elseif $ARGS[0] = 'vaginal_dildo':
  301. orgasm_flag = 1
  302. count['vaginal_dildo'] = 1
  303. stim['mag'] += 1
  304. !! the same as for 'vaginal'
  305. vgrdif = grange - pcs_vag
  306. vltdif = temp_dick - pcs_vag
  307. vltdif = vltdif / (temp_silavag+1)
  308. vgrdif = vgrdif *(5/4 - 1/(4 - temp_silavag))
  309. if (temp_silavag = 2) and (vltdif > 0): vltdif = 0
  310. if vgrdif > vaginal_slip: vgrdif = vgrdif - vaginal_slip else if (vgrdif > 0): vgrdif = 0
  311. if -1*vgrdif > vaginal_slip: vgrdif = vgrdif + vaginal_slip else if (vgrdif < 0): vgrdif = 0
  312. stim['act'] = 80 - (iif(vltdif>0,vltdif,-vltdif) + iif(vgrdif >0,vgrdif,-vgrdif)) + temp_silavag*8
  313. if vgrdif < 0: vgrdif = 0
  314. if vltdif < 0: vltdif = 0
  315. vgape = iif((vgrdif + vltdif) > 10*vgape,(vgrdif + vltdif)/10,vgape)
  316. gs 'pain', (vgrdif + vltdif)/5 , 'vaginal', 'stretch'
  317. stim['act'] = stim['act'] - (vgrdif + vltdif)
  318. elseif $ARGS[0] = 'vaginal_strap':
  319. orgasm_flag = 1
  320. count['vaginal_strap'] = 1
  321. stim['mag'] += 1
  322. !! virginal capacity increase
  323. if pcs_vag < dick:pcs_vag += 1
  324. if pcs_vag*2 < dick:pcs_vag += 1
  325. !! the same as for 'vaginal'
  326. vgrdif = grange - pcs_vag
  327. vltdif = temp_dick - pcs_vag
  328. vltdif = vltdif / (temp_silavag+1)
  329. vgrdif = vgrdif *(5/4 - 1/(4 - temp_silavag))
  330. if (temp_silavag = 2) and (vltdif > 0): vltdif = 0
  331. if vgrdif > vaginal_slip: vgrdif = vgrdif - vaginal_slip else if (vgrdif > 0): vgrdif = 0
  332. if -1*vgrdif > vaginal_slip: vgrdif = vgrdif + vaginal_slip else if (vgrdif < 0): vgrdif = 0
  333. stim['act'] = 80 - (iif(vltdif>0,vltdif,-vltdif) + iif(vgrdif >0,vgrdif,-vgrdif)) + temp_silavag*8
  334. if vgrdif < 0: vgrdif = 0
  335. if vltdif < 0: vltdif = 0
  336. vgape = iif((vgrdif + vltdif) > 10*vgape,(vgrdif + vltdif)/10,vgape)
  337. gs 'pain', (vgrdif + vltdif)/5 , 'vaginal', 'stretch'
  338. stim['act'] = stim['act'] - (vgrdif + vltdif)
  339. elseif $ARGS[0] = 'vaginal_vibe':
  340. orgasm_flag = 1
  341. count['vaginal_vibe'] = 1
  342. stim['mag'] += 2
  343. stim['act'] = 90
  344. elseif $ARGS[0] = 'flashlite':
  345. count['flashlite'] = 1
  346. stim['act'] = 10
  347. elseif $ARGS[0] = 'flash':
  348. count['flash'] = 1
  349. stim['act'] = 30
  350. elseif $ARGS[0] = 'BDSM':
  351. count['BDSM'] = 1
  352. stim['act'] = 20
  353. elseif $ARGS[0] = 'pee':
  354. count['pee'] = 1
  355. stim['act'] = 10
  356. elseif $ARGS[0] = 'massage_give':
  357. count['massage_give'] = 1
  358. stim['act'] = 10
  359. elseif $ARGS[0] = 'foreplay_give':
  360. count['foreplay_give'] = 1
  361. stim['act'] = 20
  362. elseif $ARGS[0] = 'cuni_give':
  363. count['cuni_give'] = 1
  364. stim['act'] = 30
  365. stim_les = 1
  366. elseif $ARGS[0] = 'rimming_give':
  367. count['rimming_give'] = 1
  368. stim['act'] = 25
  369. elseif $ARGS[0] = 'anal_finger_give':
  370. count['anal_finger_give'] = 1
  371. stim['act'] = 40
  372. elseif $ARGS[0] = 'anal_fist_give':
  373. count['anal_fist_give'] = 1
  374. stim['act'] = 30
  375. elseif $ARGS[0] = 'anal_dildo_give':
  376. count['anal_dildo_give'] = 1
  377. stim['act'] = 40
  378. elseif $ARGS[0] = 'anal_vibe_give':
  379. count['anal_vibe_give'] = 1
  380. stim['act'] = 40
  381. elseif $ARGS[0] = 'anal_strap_give':
  382. count['anal_strap_give'] = 1
  383. stim['act'] = 40
  384. elseif $ARGS[0] = 'vaginal_finger_give':
  385. count['vaginal_finger_give'] = 1
  386. stim['act'] = 60
  387. stim_les = 1
  388. elseif $ARGS[0] = 'vaginal_fist_give':
  389. count['vaginal_fist_give'] = 1
  390. stim['act'] = 50
  391. stim_les = 1
  392. elseif $ARGS[0] = 'vaginal_dildo_give':
  393. count['vaginal_dildo_give'] = 1
  394. stim['act'] = 60
  395. stim_les = 1
  396. elseif $ARGS[0] = 'vaginal_strap_give':
  397. count['vaginal_strap_give'] = 1
  398. stim['act'] = 70
  399. stim_les = 1
  400. elseif $ARGS[0] = 'vaginal_vibe_give':
  401. count['vaginal_vibe_give'] = 1
  402. stim['act'] = 60
  403. stim_les = 1
  404. elseif $ARGS[0] = 'hj':
  405. if temp_unaware = 1:
  406. count['hidden_hj'] = 1
  407. else
  408. count['hj'] = 1
  409. end
  410. stim['act'] = 25
  411. elseif $ARGS[0] = 'bj':
  412. if temp_unaware = 1:
  413. count['hidden_bj'] = 1
  414. else
  415. count['bj'] = 1
  416. end
  417. stim['act'] = 45
  418. if temp_dick > pcs_throat: pcs_throat += 1
  419. elseif $ARGS[0] = 'footjob':
  420. if temp_unaware = 1:
  421. count['hidden_footjob'] = 1
  422. else
  423. count['footjob'] = 1
  424. end
  425. stim['act'] = 25
  426. stim_foot = 1
  427. elseif $ARGS[0] = 'titjob':
  428. if temp_unaware = 1:
  429. count['hidden_titjob'] = 1
  430. else
  431. count['titjob'] = 1
  432. end
  433. stim['act'] = 45
  434. stim_titjob = 1
  435. elseif $ARGS[0] = 'BDSM_give':
  436. count['BDSM_give'] = 1
  437. stim['act'] = 20
  438. elseif $ARGS[0] = 'pee_give':
  439. count['pee_give'] = 1
  440. stim['act'] = 10
  441. end
  442. if stim['mag'] > 9: stim['mag'] = 9
  443. if ARGS[1] > 0: minut += ARGS[1]
  444. stim['time'] = iif(ARGS[1]>0,ARGS[1],-ARGS[1])
  445. !!Adds effects due to sexual perversions
  446. stim['kinkno'] = 0
  447. stim['kink'] = 0
  448. !! Auto adding of lesbian and foot fetishes for acts that must involve them
  449. if stim_les = 1:
  450. stim['kink'] += lesbian['exp']
  451. stim['pref'] += lesbian['pref']
  452. stim['kinkno'] += 1
  453. if temp_unaware = 1:
  454. stim['hidden_lesbian'] = 1
  455. else
  456. stim['lesbian'] = 1
  457. end
  458. end
  459. if stim_foot = 1:
  460. stim['kink'] += feet['exp']
  461. stim['pref'] += feet['pref']
  462. stim['kinkno'] += 1
  463. stim['feet'] = 1
  464. end
  465. if $ARGS[1] ! 'porn' and $ARGS[1] ! 'voyeur' and $ARGS[1] ! 'erotic':
  466. i = 2
  467. :stimloop
  468. if $ARGS[i] ! '':
  469. !!Skipping lesbian and foot where auto added to avoid duplication
  470. if stim_les = 1 and $ARGS[i] = 'lesbian':i += 1 & jump 'stimloop'
  471. if stim_foot = 1 and $ARGS[i] = 'feet':i += 1 & jump 'stimloop'
  472. if $ARGS[i] = 'bound':
  473. stim['kink'] += bound['exp']
  474. stim['pref'] += bound['pref']
  475. stim['kinkno'] += 1
  476. stim['bound'] = 1
  477. elseif $ARGS[i] = 'beast':
  478. stim['kink'] += beast['exp']
  479. stim['pref'] += beast['pref']
  480. stim['kinkno'] += 1
  481. stim['beast'] = 1
  482. elseif $ARGS[i] = 'exhibitionism':
  483. stim['kink'] += exhibitionism['exp']
  484. stim['pref'] += exhibitionism['pref']
  485. inhib_exp += rand(2,6)
  486. stim['kinkno'] += 1
  487. stim['exhibitionism'] = 1
  488. elseif $ARGS[i] = 'rough':
  489. stim['kink'] += rough['exp']
  490. stim['pref'] += rough['pref']
  491. stim['kinkno'] += 1
  492. stim['rough'] = 1
  493. elseif $ARGS[i] = 'prostitution':
  494. stim['kink'] += prostitution['exp']
  495. stim['pref'] += prostitution['pref']
  496. stim['kinkno'] += 1
  497. if temp_unaware = 1:
  498. stim['hidden_prostitution'] = 1
  499. else
  500. stim['prostitution'] = 1
  501. end
  502. elseif $ARGS[i] = 'dom':
  503. stim['kink'] += dom['exp']
  504. stim['pref'] += dom['pref']
  505. stim['kinkno'] += 1
  506. stim['dom'] = 1
  507. elseif $ARGS[i] = 'sub':
  508. stim['kink'] += sub['exp']
  509. stim['pref'] += sub['pref']
  510. stim['kinkno'] += 1
  511. stim['sub'] = 1
  512. elseif $ARGS[i] = 'incest':
  513. stim['kink'] += incest['exp']
  514. stim['pref'] += incest['pref']
  515. stim['kinkno'] += 1
  516. stim['incest'] = 1
  517. elseif $ARGS[i] = 'feet':
  518. stim['kink'] += feet['exp']
  519. stim['pref'] += feet['pref']
  520. stim['kinkno'] += 1
  521. stim['feet'] = 1
  522. elseif $ARGS[i] = 'lesbian':
  523. stim['kink'] += lesbian['exp']
  524. stim['pref'] += lesbian['pref']
  525. stim['kinkno'] += 1
  526. if temp_unaware = 1:
  527. stim['hidden_lesbian'] = 1
  528. else
  529. stim['lesbian'] = 1
  530. end
  531. elseif $ARGS[i] = 'group':
  532. stim['kink'] += group['exp']
  533. stim['pref'] += group['pref']
  534. stim['kinkno'] += 1
  535. if temp_unaware = 1:
  536. stim['hidden_group'] = 1
  537. else
  538. stim['group'] = 1
  539. end
  540. elseif $ARGS[i] = 'gangbang':
  541. stim['kink'] += gang['exp']
  542. stim['pref'] += gang['pref']
  543. stim['kinkno'] += 1
  544. if temp_unaware = 1:
  545. stim['hidden_gang'] = 1
  546. else
  547. stim['gang'] = 1
  548. end
  549. elseif $ARGS[i] = 'humiliation':
  550. stim['kink'] += humiliation['exp']
  551. stim['pref'] += humiliation['pref']
  552. stim['kinkno'] += 1
  553. stim['humiliation'] = 1
  554. elseif $ARGS[i] = 'maso':
  555. stim['kink'] += maso['exp']
  556. stim['pref'] += maso['pref']
  557. stim['kinkno'] += 1
  558. stim['maso'] = 1
  559. elseif $ARGS[i] = 'deepthroat':
  560. stim['kink'] += deepthroat['exp']
  561. stim['pref'] += deepthroat['pref']
  562. stim['kinkno'] += 1
  563. stim['deepthroat'] = 1
  564. !!unknown is for sex with an unknown partner, this could be a gloryhole or unconscious
  565. elseif $ARGS[i] = 'unknown':
  566. stim['kink'] += unknown['exp']
  567. stim['pref'] += unknown['pref']
  568. stim['kinkno'] += 1
  569. stim['unknown'] = 1
  570. elseif $ARGS[i] = 'gloryhole':
  571. stim['kink'] += gloryhole['exp']
  572. stim['pref'] += gloryhole['pref']
  573. stim['kinkno'] += 1
  574. if temp_unaware = 1:
  575. stim['hidden_gloryhole'] = 1
  576. else
  577. stim['gloryhole'] = 1
  578. end
  579. elseif $ARGS[i] = 'rape':
  580. stim['kink'] += rape['exp']
  581. stim['pref'] += rape['pref']
  582. stim['kinkno'] += 1
  583. rapeday = daystart
  584. if temp_unaware = 1:
  585. stim['hidden_rape'] = 1
  586. else
  587. stim['rape'] = 1
  588. end
  589. elseif $ARGS[i] = 'futa':
  590. stim['kink'] += futa['exp']
  591. stim['pref'] += futa['pref']
  592. stim['kinkno'] += 1
  593. if temp_unaware = 1:
  594. stim['hidden_futa'] = 1
  595. else
  596. stim['futa'] = 1
  597. end
  598. end
  599. i += 1
  600. jump 'stimloop'
  601. end
  602. end
  603. !!Fetishes are divided by total number of fetishes
  604. if stim['kinkno'] ! 0:
  605. stim['kink'] = stim['kink']/stim['kinkno']
  606. stim['pref'] = (stim['pref']/stim['kinkno'])
  607. stim['kinkno'] = 0
  608. end
  609. !!Bonus from fetishes, randomised chance for each level of bonus
  610. if rand(0,100) < stim['kink']:
  611. stim['kink'] = 120
  612. elseif rand(0,80) < stim['kink']:
  613. stim['kink'] = 110
  614. elseif rand(0,60) < stim['kink']:
  615. stim['kink'] = 100
  616. elseif rand(0,40) < stim['kink']:
  617. stim['kink'] = 90
  618. else
  619. stim['kink'] = 80
  620. end
  621. !!arousal calculation
  622. stim['total'] = ((stim['mag']*stim['act']*stim['kink']/100) + stim['pref'])*stim['time'] / 120
  623. !!Reduction in arousal linked to pain, masochism helps to deal with this
  624. if pain['total'] > 0:
  625. if maso['pref'] <= 0 and pain['total'] < 50:
  626. if pain['total'] - (maso['exp'] + 1 / 6) > 0:stim['total'] -= (pain['total'] - (maso['exp'] / 6))
  627. elseif maso['pref'] < 25 and pain['total'] < 55:
  628. stim['total'] += (pain['total'] * maso['exp'] +1 / 400)/60*stim['time']
  629. elseif maso['pref'] < 50 and pain['total'] < 70:
  630. stim['total'] += (pain['total'] * maso['exp'] + 1 / 300)/60*stim['time']
  631. elseif maso['pref'] < 75 and pain['total'] < 85:
  632. stim['total'] += (pain['total'] * maso['exp'] + 1 / 200)/60*stim['time']
  633. elseif maso['pref'] >= 75:
  634. stim['total'] += (pain['total'] * maso['exp'] + 1 / 100)/60*stim['time']
  635. else
  636. stim['total'] = 0
  637. end
  638. end
  639. stim['event'] += stim['total']
  640. pcs_horny += stim['total']
  641. !! This is to allow a Succubus with the right skill level to handle any size then go back to original size
  642. if sucvagorg ! 0 and sucvagorg ! pcs_vag: pcs_vag = sucvagorg & killvar 'sucvagorg'
  643. if sucanusorg ! 0 and sucanusorg ! pcs_ass: pcs_ass = sucanusorg & killvar 'sucanusorg'
  644. !!-------------------Orgasm-------------------
  645. !!This is intended to be hidden and the stats and calculations should not appear in game.
  646. orgasm_buildup += stim['total']
  647. if $orgasm_or ! 'no' and $ARGS[0] ! 'flashlite' and $ARGS[0] ! 'flash' and orgasm_flag ! 0:
  648. if $orgasm_or = 'yes' or $orgasm_or = 'custom':
  649. gs 'orgasm', $ARGS[0]
  650. elseif orgasm_buildup >= 100 and stim['total'] > 10 and rand(1,100) <= 20:
  651. gs 'orgasm', $ARGS[0]
  652. elseif orgasm_buildup >= 150 and stim['total'] > 6 and rand(1,100) <= 50:
  653. gs 'orgasm', $ARGS[0]
  654. elseif orgasm_buildup >= 200 and stim['total'] > 4:
  655. gs 'orgasm', $ARGS[0]
  656. end
  657. end
  658. if $orgasm_or ! 'no' and orgasm_buildup >= 300 and pcs_horny >= 60: gs 'orgasm', $ARGS[0]
  659. killvar 'temp_dick'
  660. killvar 'temp_unaware'
  661. killvar '$orgasm_txt'
  662. killvar '$stim_les'
  663. killvar '$stim_foot'
  664. gs 'nichUtil','onArouse',$ARGS[0]
  665. end
  666. !!-----------------------------------------------
  667. if $ARGS[0] = 'end':
  668. if orgasm_buildup > 350: orgasm_buildup = 350
  669. if orgasm_buildup > 300: orgasm_buildup -= 10
  670. if orgasm_buildup > 200: orgasm_buildup -= 10
  671. if orgasm_buildup > 100: orgasm_buildup -= 10
  672. if stim['lesbian'] = 1: lesbian += 1
  673. if stim['hidden_lesbian'] = 1: hidden_lesbian += 1
  674. if stim['gang'] = 1 or stim['group'] = 1: gang += 1
  675. if stim['hidden_gang'] = 1 or stim['hidden_group'] = 1: hidden_gang += 1
  676. if stim['gloryhole'] = 1: gloryhole += 1
  677. if stim['hidden_gloryhole'] = 1: hidden_gloryhole += 1
  678. if stim['rape'] = 1: rape += 1
  679. if stim['hidden_rape'] = 1: hidden_rape += 1
  680. if stim['futa'] = 1: futa += 1
  681. if stim['hidden_futa'] = 1: hidden_futa += 1
  682. if stim['prostitution'] = 1: slutty += 1
  683. if stim['hidden_prostitution'] = 1: hidden_slutty += 1
  684. killvar 'anal_slip'
  685. killvar 'ar_anal_lube'
  686. killvar 'vagi_slip'
  687. killvar 'ar_vag_lube'
  688. killvar '$orgasm_or'
  689. !!Updating fetish exp for acts carried out and clearing data
  690. gs 'arousal', 'checks', 'maso'
  691. gs 'arousal', 'checks', 'bound'
  692. gs 'arousal', 'checks', 'beast'
  693. gs 'arousal', 'checks', 'exhibitionism'
  694. gs 'arousal', 'checks', 'rough'
  695. gs 'arousal', 'checks', 'prostitution'
  696. gs 'arousal', 'checks', 'hidden_prostitution'
  697. gs 'arousal', 'checks', 'dom'
  698. gs 'arousal', 'checks', 'sub'
  699. gs 'arousal', 'checks', 'incest'
  700. gs 'arousal', 'checks', 'feet'
  701. gs 'arousal', 'checks', 'lesbian'
  702. gs 'arousal', 'checks', 'hidden_lesbian'
  703. gs 'arousal', 'checks', 'group'
  704. gs 'arousal', 'checks', 'hidden_group'
  705. gs 'arousal', 'checks', 'gang'
  706. gs 'arousal', 'checks', 'hidden_gang'
  707. gs 'arousal', 'checks', 'humiliation'
  708. gs 'arousal', 'checks', 'deepthroat'
  709. gs 'arousal', 'checks', 'unknown'
  710. gs 'arousal', 'checks', 'gloryhole'
  711. gs 'arousal', 'checks', 'hidden_gloryhole'
  712. gs 'arousal', 'checks', 'rape'
  713. gs 'arousal', 'checks', 'hidden_rape'
  714. gs 'arousal', 'checks', 'futa'
  715. gs 'arousal', 'checks', 'hidden_futa'
  716. stim['event'] = 0
  717. !!Adding to counts for character stats
  718. gs 'arousal', 'count', 'foreplay'
  719. gs 'arousal', 'count', 'mast'
  720. gs 'arousal', 'count', 'porn'
  721. gs 'arousal', 'count', 'cuni'
  722. gs 'arousal', 'count', 'rimming'
  723. gs 'arousal', 'count', 'trib'
  724. gs 'arousal', 'count', 'anal'
  725. gs 'arousal', 'count', 'hidden_anal'
  726. gs 'arousal', 'count', 'anal_finger'
  727. gs 'arousal', 'count', 'anal_fist'
  728. gs 'arousal', 'count', 'anal_dildo'
  729. gs 'arousal', 'count', 'anal_strap'
  730. gs 'arousal', 'count', 'anal_vibe'
  731. gs 'arousal', 'count', 'vaginal'
  732. gs 'arousal', 'count', 'hidden_vaginal'
  733. gs 'arousal', 'count', 'vaginal_finger'
  734. gs 'arousal', 'count', 'vaginal_fist'
  735. gs 'arousal', 'count', 'vaginal_dildo'
  736. gs 'arousal', 'count', 'vaginal_strap'
  737. gs 'arousal', 'count', 'vaginal_vibe'
  738. gs 'arousal', 'count', 'BDSM'
  739. gs 'arousal', 'count', 'pee'
  740. gs 'arousal', 'count', 'massage'
  741. gs 'arousal', 'count', 'foreplay_give'
  742. gs 'arousal', 'count', 'cuni_give'
  743. gs 'arousal', 'count', 'rimming_give'
  744. gs 'arousal', 'count', 'anal_finger_give'
  745. gs 'arousal', 'count', 'anal_fist_give'
  746. gs 'arousal', 'count', 'anal_dildo_give'
  747. gs 'arousal', 'count', 'anal_vibe_give'
  748. gs 'arousal', 'count', 'anal_strap_give'
  749. gs 'arousal', 'count', 'vaginal_finger_give'
  750. gs 'arousal', 'count', 'vaginal_fist_give'
  751. gs 'arousal', 'count', 'vaginal_dildo_give'
  752. gs 'arousal', 'count', 'vaginal_strap_give'
  753. gs 'arousal', 'count', 'vaginal_vibe_give'
  754. gs 'arousal', 'count', 'hj'
  755. gs 'arousal', 'count', 'hidden_hj'
  756. gs 'arousal', 'count', 'bj'
  757. gs 'arousal', 'count', 'hidden_bj'
  758. gs 'arousal', 'count', 'footjob'
  759. gs 'arousal', 'count', 'hidden_footjob'
  760. gs 'arousal', 'count', 'titjob'
  761. gs 'arousal', 'count', 'hidden_titjob'
  762. gs 'arousal', 'count', 'BDSM_give'
  763. gs 'arousal', 'count', 'pee_give'
  764. gs 'arousal', 'count', 'massage_give'
  765. gs 'arousal', 'count2', 'flashlite'
  766. gs 'arousal', 'count2', 'flash'
  767. gs 'arousal', 'count2', 'voyeur'
  768. gs 'arousal', 'count2', 'voyeur_sex'
  769. gs 'arousal', 'count2', 'erotic_nudity'
  770. !! Thats here because there is currently a variable zoo.
  771. if zoo > beast['exp']: beast['exp'] = zoo
  772. if beast['exp'] > zoo: zoo = beast['exp']
  773. !!
  774. end
  775. if $ARGS[0] = 'count':
  776. if dyneval('RESULT = count[''<<$ARGS[1]>>'']') = 1:
  777. dynamic 'count[''<<$ARGS[1]>>''] = 0'
  778. dynamic 'stat[''<<$ARGS[1]>>''] += 1'
  779. count['flashlite'] = 0
  780. count['flash'] = 0
  781. count['voyeur'] = 0
  782. end
  783. end
  784. if $ARGS[0] = 'count2':
  785. if dyneval('RESULT = count[''<<$ARGS[1]>>'']') = 1:
  786. dynamic 'count[''<<$ARGS[1]>>''] = 0'
  787. dynamic 'stat[''<<$ARGS[1]>>''] += 1'
  788. end
  789. end
  790. if $ARGS[0] = 'checks':
  791. if dyneval('RESULT = stim[''<<$ARGS[1]>>'']') = 1:
  792. dynamic 'stim[''<<$ARGS[1]>>''] = 0'
  793. dynamic '<<$ARGS[1]>>[''exp''] += 1'
  794. end
  795. end
  796. !!The auto lube application
  797. !!to use enter gs 'arousal', 'auto_lube', 'anal' or 'vag'
  798. !!add 'custom' to display a custom or no text by setting $lube_txt, if $lube_txt is '' no text will be displayed
  799. if $ARGS[0] = 'auto_lube':
  800. if $ARGS[1] = 'anal' and auto_anal_lube = 1:
  801. if lubri > 0:
  802. if $ARGS[2] ! 'custom':
  803. 'You rub some lube in and around you anus.'
  804. elseif $lube_txt ! '':
  805. $lube_txt
  806. end
  807. gs 'arousal', 'anal_finger', 1
  808. anal_slip = 8
  809. ar_anal_lube = 1
  810. lubri -= 1
  811. elseif $ARGS[2] ! 'custom' or ($ARGS[2] = 'custom' and $lube_txt ! ''):
  812. 'You do not have any lube left so cannot use it during this sex act.'
  813. end
  814. end
  815. if $ARGS[1] = 'vag' and auto_vag_lube = 1:
  816. if lubri > 0:
  817. if $ARGS[2] ! 'custom':
  818. 'You rub some lube in and around your vagina.'
  819. elseif $lube_txt ! '':
  820. $lube_txt
  821. end
  822. gs 'arousal', 'vaginal_finger', 1
  823. vagi_slip = 8
  824. ar_vag_lube = 1
  825. lubri -= 1
  826. elseif $ARGS[2] ! 'custom' or ($ARGS[2] = 'custom' and $lube_txt ! ''):
  827. 'You do not have any lube left so cannot use it during this sex act.'
  828. end
  829. end
  830. killvar '$lube_txt'
  831. end
  832. --- arousal ---------------------------------