flash.qsrc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. # flash
  2. !2020/10/16/Gwen
  3. !2024/03/25/Anjuna - Rewrite of flash code
  4. !2024/07/23/Anjuna - Added the option to enforce the
  5. !! Centralised flashing location
  6. !! For flashing events only, do not use for exposure leading to sex
  7. !! To be used in the following format
  8. !! gs 'flash', '[type]', '[location]', [time], [option]
  9. !! [time] in minutes, default is 0
  10. !! Available options as follows
  11. !! [type] - bra, panty, pantyrear, tits, butt, pussy, full
  12. !! [location] - indoors, outdoors
  13. !! [option]
  14. !! - Nothing or 0 will clear the screen and give a standard text and randome picture. flashVars will be deleted
  15. !! - 1 will only advance time and set the diferent variables but not clear the screen, generate text or picture. Optional events will NOT trigger.
  16. !! - flashVars['image'] contains the generated image
  17. !! - flashVars['text_before'] contains the generated text of the flash itself before the arousal call
  18. !! - flashVars['text_after'] contains the generated text of the covering up, after the arousal call
  19. !! - 2 will add the variables and advance time and set the random picture, but not clear screen or generate text. flashVars will be deleted
  20. !!
  21. !! You enforce the displayed text and image in the following way:
  22. !! - $flash_image or $flash_video will set the image or video (if video is set, that will have priority)
  23. !! - $flash_text[0] sets all of the flash itself, before the arousal call
  24. !! - $flash_text[1] sets all of the covering up, after the arousal call
  25. !! eg. gs 'flash', 'tits', 'outdoors', 15, 0
  26. !! There is no continue action so you must add this as required
  27. !! You should add checks for underwear before allowing the player to flash them but a non-event contingency is included
  28. if $ARGS[0] = 'panties': $ARGS[0] = 'panty'
  29. if $ARGS[0] = 'panties_rear': $ARGS[0] = 'pantyrear'
  30. if $ARGS[0] = 'butt' and analplugin = 1: $ARGS[0] = 'butt_plug'
  31. if $ARGS[0] = 'get_image' and $flash_image = '' and $flash_video = '':
  32. flashVars['dress_ind_bra'] = 3
  33. flashVars['dress_ind_tits'] = 12
  34. flashVars['dress_ind_panty'] = 4
  35. flashVars['dress_ind_pantyrear'] = 12
  36. flashVars['dress_ind_pussy'] = 8
  37. flashVars['dress_ind_pussy_hairy'] = 9
  38. flashVars['dress_ind_butt'] = 7
  39. flashVars['dress_ind_full'] = 5
  40. flashVars['dress_ind_full_hairy'] = 7
  41. flashVars['dress_out_bra'] = 4
  42. flashVars['dress_out_tits'] = 20
  43. flashVars['dress_out_panty'] = 18
  44. flashVars['dress_out_pantyrear'] = 8
  45. flashVars['dress_out_pussy'] = 19
  46. flashVars['dress_out_pussy_hairy'] = 9
  47. flashVars['dress_out_butt'] = 9
  48. flashVars['dress_out_butt_plug'] = 8
  49. flashVars['dress_out_full'] = 13
  50. flashVars['dress_out_full_hairy'] = 11
  51. flashVars['pants_ind_bra'] = 6
  52. flashVars['pants_ind_tits'] = 19
  53. flashVars['pants_ind_panty'] = 1
  54. flashVars['pants_ind_pantyrear'] = 1
  55. flashVars['pants_ind_pussy'] = 4
  56. flashVars['pants_ind_pussy_hairy'] = 3
  57. flashVars['pants_ind_butt'] = 6
  58. flashVars['pants_ind_full'] = 1
  59. flashVars['pants_ind_full_hairy'] = 1
  60. flashVars['pants_out_bra'] = 5
  61. flashVars['pants_out_tits'] = 19
  62. flashVars['pants_out_panty'] = 6
  63. flashVars['pants_out_pantyrear'] = 10
  64. flashVars['pants_out_pussy'] = 11
  65. flashVars['pants_out_pussy_hairy'] = 8
  66. flashVars['pants_out_butt'] = 19
  67. flashVars['pants_out_butt_plug'] = 6
  68. flashVars['pants_out_full'] = 9
  69. flashVars['pants_out_full_hairy'] = 6
  70. $flash_image = 'images/pc/activities/flashing/'
  71. $temp_id_text = ''
  72. if PCloSkirt > 0:
  73. $temp_id_text += 'dress_'
  74. $flash_image += 'dress/'
  75. else
  76. $temp_id_text += 'pants_'
  77. $flash_image += 'pants/'
  78. end
  79. if $ARGS[2] = 'inside' or $ARGS[2] = 'indoors':
  80. $temp_id_text += 'ind_'
  81. $flash_image += 'inside/'
  82. else
  83. $temp_id_text += 'out_'
  84. $flash_image += 'outside/'
  85. end
  86. $temp_id_text += $ARGS[1]
  87. $flash_image += $ARGS[1]
  88. $flash_image += '/'
  89. if ($ARGS[1] = 'pussy' or $ARGS[1] = 'full') and pcs_pubes > 20:
  90. $temp_id_text += '_hairy'
  91. $flash_image += 'hairy'
  92. end
  93. flashVars['rand'] = rand(1, flashVars[$temp_id_text])
  94. $flash_image += str(flashVars['rand']) + '.jpg'
  95. $flashVars['image'] = $flash_image
  96. killvar 'temp_id_text'
  97. end
  98. if $ARGS[0] = 'display_image':
  99. if $flash_video = '':
  100. '<center><img <<$set_imgh>> src="<<$flash_image>>"></center>'
  101. else
  102. '<center><video autoplay loop src="<<$flash_video>>"></video></center>'
  103. end
  104. end
  105. !!=========================================================!!
  106. !! !!
  107. !! TYPES !!
  108. !! !!
  109. !!=========================================================!!
  110. if $ARGS[0] = 'bra':
  111. if Exhibitionist_lvl < 1 or pcs_inhib < 40: gs 'flash', 'exhibitionism', 1
  112. $flashVars['text_before'] = 'You glance around to see who is in the area, then you pull up your top and expose your bra clad breasts to the world. Most people don''t notice but a few do, some smile, others frown or shake their head in disgust.'
  113. $flashVars['text_after'] = 'You pull your top back down, feeling the thrill of excitement running down your spine.'
  114. if ARGS[3] < 1:
  115. *clr
  116. $flash_text[0] = $flashVars['text_before']
  117. $flash_text[1] = $flashVars['text_after']
  118. end
  119. gs 'flash', 'get_image', $ARGS[0], $ARGS[1]
  120. if ARGS[4] ! 1: gs 'flash', 'display_image'
  121. if $flash_text[0] ! '': '<<$flash_text[0]>>'
  122. gs 'arousal', 'flashlite', ARGS[2]
  123. if ARGS[4] ! 1: gs 'flash', 'events', $ARGS[1], $ARGS[2], ARGS[3], ARGS[4]
  124. if $flash_text[1] ! '': '<<$flash_text[1]>>'
  125. gs 'arousal', 'end'
  126. gs 'flash', 'cleanup', ARGS[3]
  127. end
  128. if $ARGS[0] = 'tits':
  129. gs 'flash', 'exhibitionism', 1
  130. $flashVars['text_before'] = 'You glance around to see who is in the area, then you pull up your top and expose your bare breasts to the world. Most people don''t notice but a few do, some smile, others frown or shake their head in disgust.'
  131. $flashVars['text_before'] = 'You pull your top back down, feeling the thrill of excitement running down your spine.'
  132. if ARGS[3] < 1:
  133. $flash_text[0] = $flashVars['text_before']
  134. $flash_text[1] = $flashVars['text_after']
  135. end
  136. gs 'flash', 'get_image', $ARGS[0], $ARGS[1]
  137. if ARGS[4] ! 1: gs 'flash', 'display_image'
  138. if $flash_text[0] ! '': '<<$flash_text[0]>>'
  139. gs 'arousal', 'flashlite', ARGS[2]
  140. if ARGS[4] ! 1: gs 'flash', 'events', $ARGS[1], $ARGS[2], ARGS[3], ARGS[4]
  141. if $flash_text[1] ! '': '<<$flash_text[1]>>'
  142. gs 'arousal', 'end'
  143. gs 'flash', 'cleanup', ARGS[3]
  144. end
  145. if $ARGS[0] = 'panty' or $ARGS[0] = 'panties':
  146. gs 'flash', 'exhibitionism', 2
  147. $flashVars['text_before'] = 'You glance around to see who is in the area, then you ' + iif(PCloSkirt > 0, 'lift the front of your skirt', 'pull down the front of your pants') + ' to show off your panties. Most people don''t notice but a few do, some smile, others frown or shake their head in disgust.'
  148. $flashVars['text_before'] = 'You ' + iif(PCloSkirt > 0, 'lower the skirt back in place', 'pull your pants back up') + ', feeling the thrill of excitement running down your spine.'
  149. if ARGS[3] < 1:
  150. $flash_text[0] = $flashVars['text_before']
  151. $flash_text[1] = $flashVars['text_after']
  152. end
  153. gs 'flash', 'get_image', $ARGS[0], $ARGS[1]
  154. if ARGS[4] ! 1: gs 'flash', 'display_image'
  155. if $flash_text[0] ! '': '<<$flash_text[0]>>'
  156. gs 'arousal', 'flash', ARGS[2]
  157. if ARGS[4] ! 1: gs 'flash', 'events', $ARGS[1], $ARGS[2], ARGS[3], ARGS[4]
  158. if $flash_text[1] ! '': '<<$flash_text[1]>>'
  159. gs 'arousal', 'end'
  160. gs 'flash', 'cleanup', ARGS[3]
  161. end
  162. if $ARGS[0] = 'pantyrear' or $ARGS[0] = 'panties_rear':
  163. gs 'flash', 'exhibitionism', 2
  164. $flashVars['text_before'] = 'You glance around to see who is in the area, then you pull ' + iif(PCloSkirt > 0, 'up your skirt', 'down the back of your pants') + ' to show off your panty-clad butt. Most people don''t notice but a few do, some smile, others frown or shake their head in disgust.'
  165. $flashVars['text_before'] = 'You ' + iif(PCloSkirt > 0, 'lower the skirt back in place', 'pull your pants back up') + ', feeling the thrill of excitement running down your spine.'
  166. if ARGS[3] < 1:
  167. $flash_text[0] = $flashVars['text_before']
  168. $flash_text[1] = $flashVars['text_after']
  169. end
  170. gs 'flash', 'get_image', $ARGS[0], $ARGS[1]
  171. if ARGS[4] ! 1: gs 'flash', 'display_image'
  172. if $flash_text[0] ! '': '<<$flash_text[0]>>'
  173. gs 'arousal', 'flash', ARGS[2]
  174. if ARGS[4] ! 1: gs 'flash', 'events', $ARGS[1], $ARGS[2], ARGS[3], ARGS[4]
  175. if $flash_text[1] ! '': '<<$flash_text[1]>>'
  176. gs 'arousal', 'end'
  177. gs 'flash', 'cleanup', ARGS[3]
  178. end
  179. if $ARGS[0] = 'butt' or $ARGS[0] = 'butt_plug':
  180. gs 'flash', 'exhibitionism', 2
  181. $flashVars['text_before'] = 'You glance around to see who is in the area, then you pull ' + iif(PCloSkirt > 0, 'up the back of your skirt', 'down the back of your pants') + ' to show off your butt. Most people don''t notice but a few do, some smile, others frown or shake their head in disgust.'
  182. $flashVars['text_before'] = 'You ' + iif(PCloSkirt > 0, 'lower the skirt back in place', 'pull your pants back up') + ', feeling the thrill of excitement running down your spine.'
  183. if ARGS[3] < 1:
  184. $flash_text[0] = $flashVars['text_before']
  185. $flash_text[1] = $flashVars['text_after']
  186. end
  187. gs 'flash', 'get_image', $ARGS[0], $ARGS[1]
  188. if ARGS[4] ! 1: gs 'flash', 'display_image'
  189. if $flash_text[0] ! '': '<<$flash_text[0]>>'
  190. gs 'arousal', 'flash', ARGS[2]
  191. if ARGS[4] ! 1: gs 'flash', 'events', $ARGS[1], $ARGS[2], ARGS[3], ARGS[4]
  192. if $flash_text[1] ! '': '<<$flash_text[1]>>'
  193. gs 'arousal', 'end'
  194. gs 'flash', 'cleanup', ARGS[3]
  195. end
  196. if $ARGS[0] = 'pussy':
  197. gs 'flash', 'exhibitionism', 3
  198. $flashVars['text_before'] = 'You glance around to see who is in the area, then you pull ' + iif(PCloSkirt > 0, 'up the front of your skirt', 'down the front of your pants') + ' to show off your pussy. Most people don''t notice but a few do, some smile, others frown or shake their head in disgust.'
  199. $flashVars['text_before'] = 'You ' + iif(PCloSkirt > 0, 'lower the skirt back in place', 'pull your pants back up') + ', feeling the thrill of excitement running down your spine.'
  200. if ARGS[3] < 1:
  201. $flash_text[0] = $flashVars['text_before']
  202. $flash_text[1] = $flashVars['text_after']
  203. end
  204. gs 'flash', 'get_image', $ARGS[0], $ARGS[1]
  205. if ARGS[4] ! 1: gs 'flash', 'display_image'
  206. if $flash_text[0] ! '': '<<$flash_text[0]>>'
  207. gs 'arousal', 'flash', ARGS[2]
  208. if ARGS[4] ! 1: gs 'flash', 'events', $ARGS[1], $ARGS[2], ARGS[3], ARGS[4]
  209. if $flash_text[1] ! '': '<<$flash_text[1]>>'
  210. gs 'arousal', 'end'
  211. gs 'flash', 'cleanup', ARGS[3]
  212. end
  213. if $ARGS[0] = 'full':
  214. gs 'flash', 'exhibitionism', 3
  215. $flashflashVars['text_before'] = 'Making sure there are no children around and it''s not too busy you ' + iif(PCloSkirt > 0, 'lift your skirt and top', 'lower your pants and lift your top') + ' to expose both your pussy and breasts. Most people who see you are shocked but some look at you admiringly.'
  216. $flashVars['text_before'] = 'You quickly cover up again enjoying a buzz of excitement.'
  217. if ARGS[3] < 1:
  218. $flash_text[0] = $flashVars['text_before']
  219. $flash_text[1] = $flashVars['text_after']
  220. end
  221. gs 'flash', 'get_image', $ARGS[0], $ARGS[1]
  222. if ARGS[4] ! 1: gs 'flash', 'display_image'
  223. if $flash_text[0] ! '': '<<$flash_text[0]>>'
  224. gs 'arousal', 'flash', ARGS[2]
  225. if ARGS[4] ! 1: gs 'flash', 'events', $ARGS[1], $ARGS[2], ARGS[3], ARGS[4]
  226. if $flash_text[1] ! '': '<<$flash_text[1]>>'
  227. gs 'arousal', 'end'
  228. gs 'flash', 'cleanup', ARGS[3]
  229. end
  230. !!For us only when Sveta chooses to flash
  231. !!1 point for exposing breasts, 2 for ass and 3 for pussy. 4 for extreme nude situations
  232. if $ARGS[0] = 'exhibitionism':
  233. if ARGS[1] > 4: ARGS[1] = 4
  234. if ARGS[1] = 1:
  235. pcs_exhib += 1
  236. if exhibitionist_lvl = 1: pcs_horny += 5
  237. if exhibitionist_lvl = 2: pcs_horny += 10
  238. if exhibitionist_lvl = 3: pcs_horny += 15
  239. elseif ARGS[1] = 2:
  240. pcs_exhib += 2
  241. if exhibitionist_lvl = 1: pcs_horny += 10
  242. if exhibitionist_lvl = 2: pcs_horny += 20
  243. if exhibitionist_lvl = 3: pcs_horny += 30
  244. elseif ARGS[1] = 3:
  245. pcs_exhib += 3
  246. if exhibitionist_lvl = 1: pcs_horny += 15
  247. if exhibitionist_lvl = 2: pcs_horny += 25
  248. if exhibitionist_lvl = 3: pcs_horny += 40
  249. elseif ARGS[1] = 4:
  250. pcs_exhib += 4
  251. if exhibitionist_lvl = 1: pcs_horny += 20
  252. if exhibitionist_lvl = 2: pcs_horny += 40
  253. if exhibitionist_lvl = 3: pcs_horny += 80
  254. end
  255. if pcs_exhib > 100: pcs_exhib = 100
  256. end
  257. if $ARGS[0] = 'cleanup':
  258. if ARGS[1] ! 1: killvar 'flashVars'
  259. killvar '$flash_image'
  260. killvar '$flash_video'
  261. killvar '$flash_text'
  262. end
  263. !!=========================================================!!
  264. !! !!
  265. !! EVENTS !!
  266. !! !!
  267. !!=========================================================!!
  268. !! $ARGS[1] = type
  269. !! $ARGS[2] = location
  270. !! ARGS[3] = time
  271. !! ARGS[4] = option
  272. if $ARGS[0] = 'events':
  273. gs 'blackmailer', 'init_check', $ARGS[0], $ARGS[1]
  274. end
  275. --- flash ---------------------------------