phone_selfies.qsrc 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447
  1. # phone_selfies
  2. !2021/05/02
  3. !{ HOW TO USE:
  4. - UNLOCKING A PICTURE:
  5. There are different types of pictures that can be viewed with the phone. These need to be unlocked for them to become viewable.
  6. This is done by setting the correct variable to 1 INSIDE the event itself.
  7. <<npcname>> should be replaced by the name of the npc for who you want to unlock something.
  8. - Pictures Sveta gets sent by an npc:
  9. <<npcname>>[i] = 1
  10. - Pictures Sveta takes herself with an npc:
  11. <<npcname>>sveta[i] = 1
  12. - Explicit pictures from an npc (could include Sveta):
  13. <<npcname>>sex[i] = 1
  14. - Pictures Sveta takes of an npc:
  15. <<npcname>>photo[i] = 1
  16. - Pictures Sveta takes of herself:
  17. Here the code is run through the camera option on the phone and it will automatically unlock the correct picture.
  18. - INCREASE THE PICTURE COUNTER IN THIS FILE:
  19. NPC Pictures:
  20. As pictures are added the number in 'listretrieve2' inside this file needs to be increased by the amount of pictures you are adding.
  21. - loopmax:
  22. For selfies sent by an npc
  23. - loopmaxsveta:
  24. For selfies with an npc taken on Sveta''s phone
  25. - loopmaxsex:
  26. For explicit selfies
  27. - loopmaxev:
  28. For pictures Sveta takes of an npc
  29. SVETA SELFIES:
  30. The total amounts are kept in 'phone_selfies', 'Phone_selfie_totals'.
  31. Increase the correct variable in there to have it added to the phone.
  32. }
  33. ! For setting the selfies
  34. if $ARGS[0] = 'Phone_selfie_totals':
  35. $selfieLoc[0] = 'misc'
  36. $selfieLocDesc[0] = 'Me'
  37. $selfieFilePrefix[0] = 'phone_selfie'
  38. selfieClotot[0] = 2
  39. selfieUndtot[0] = 0
  40. selfieNudtot[0] = 0
  41. selfieTitflash[0] = 0
  42. selfieAssflash[0] = 0
  43. selfiePussyflash[0] = 0
  44. selfieBathtot[0] = 0
  45. selfieShowertot[0] = 0
  46. selfieSwimtot[0] = 0
  47. $selfieLoc[1] = 'bathroom'
  48. $selfieLocDesc[1] = 'Bathroom'
  49. $selfieFilePrefix[1] = ''
  50. selfieClotot[1] = 30
  51. selfieUndtot[1] = 23
  52. selfieNudtot[1] = 30
  53. selfieTitflash[1] = 30
  54. selfieAssflash[1] = 5
  55. selfiePussyflash[1] = 22
  56. selfieBathtot[1] = 30
  57. selfieShowertot[1] = 27
  58. selfieSwimtot[1] = 0
  59. $selfieLoc[2] = 'bedroom'
  60. $selfieLocDesc[2] = 'Bedroom'
  61. $selfieFilePrefix[2] = ''
  62. selfieClotot[2] = 30
  63. selfieUndtot[2] = 22
  64. selfieNudtot[2] = 30
  65. selfieTitflash[2] = 30
  66. selfieAssflash[2] = 26
  67. selfiePussyflash[2] = 25
  68. selfieBathtot[2] = 0
  69. selfieShowertot[2] = 0
  70. selfieSwimtot[2] = 0
  71. $selfieLoc[3] = 'kitchen'
  72. $selfieLocDesc[3] = 'Kitchen'
  73. $selfieFilePrefix[3] = ''
  74. selfieClotot[3] = 27
  75. selfieUndtot[3] = 23
  76. selfieNudtot[3] = 23
  77. selfieTitflash[3] = 21
  78. selfieAssflash[3] = 1
  79. selfiePussyflash[3] = 10
  80. selfieBathtot[3] = 0
  81. selfieShowertot[3] = 0
  82. selfieSwimtot[3] = 0
  83. $selfieLoc[4] = 'livingroom'
  84. $selfieLocDesc[4] = 'Livingroom'
  85. $selfieFilePrefix[4] = ''
  86. selfieClotot[4] = 30
  87. selfieUndtot[4] = 27
  88. selfieNudtot[4] = 30
  89. selfieTitflash[4] = 30
  90. selfieAssflash[4] = 5
  91. selfiePussyflash[4] = 20
  92. selfieBathtot[4] = 0
  93. selfieShowertot[4] = 0
  94. selfieSwimtot[4] = 0
  95. $selfieLoc[5] = 'changingroom'
  96. $selfieLocDesc[5] = 'Changingroom'
  97. $selfieFilePrefix[5] = ''
  98. selfieClotot[5] = 30
  99. selfieUndtot[5] = 30
  100. selfieNudtot[5] = 30
  101. selfieTitflash[5] = 30
  102. selfieAssflash[5] = 20
  103. selfiePussyflash[5] = 28
  104. selfieBathtot[5] = 0
  105. selfieShowertot[5] = 0
  106. selfieSwimtot[5] = 0
  107. $selfieLoc[6] = 'park'
  108. $selfieLocDesc[6] = 'Park'
  109. $selfieFilePrefix[6] = ''
  110. selfieClotot[6] = 30
  111. selfieUndtot[6] = 4
  112. selfieNudtot[6] = 17
  113. selfieTitflash[6] = 26
  114. selfieAssflash[6] = 2
  115. selfiePussyflash[6] = 8
  116. selfieBathtot[6] = 0
  117. selfieShowertot[6] = 0
  118. selfieSwimtot[6] = 0
  119. $selfieLoc[7] = 'locker'
  120. $selfieLocDesc[7] = 'locker'
  121. $selfieFilePrefix[7] = ''
  122. selfieClotot[7] = 26
  123. selfieUndtot[7] = 21
  124. selfieNudtot[7] = 13
  125. selfieTitflash[7] = 13
  126. selfieAssflash[7] = 2
  127. selfiePussyflash[7] = 3
  128. selfieBathtot[7] = 0
  129. selfieShowertot[7] = 0
  130. selfieSwimtot[7] = 0
  131. $selfieLoc[8] = 'beach'
  132. $selfieLocDesc[8] = 'Beach'
  133. $selfieFilePrefix[8] = ''
  134. selfieClotot[8] = 0
  135. selfieUndtot[8] = 0
  136. selfieNudtot[8] = 20
  137. selfieTitflash[8] = 17
  138. selfieAssflash[8] = 3
  139. selfiePussyflash[8] = 4
  140. selfieBathtot[8] = 0
  141. selfieShowertot[8] = 0
  142. selfieSwimtot[8] = 21
  143. $selfieLoc[9] = 'school_classroom'
  144. $selfieLocDesc[9] = 'School Classroom'
  145. $selfieFilePrefix[9] = ''
  146. selfieClotot[9] = 11
  147. selfieUndtot[9] = 2
  148. selfieNudtot[9] = 0
  149. selfieTitflash[9] = 3
  150. selfieAssflash[9] = 0
  151. selfiePussyflash[9] = 3
  152. selfieBathtot[9] = 0
  153. selfieShowertot[9] = 0
  154. selfieSwimtot[9] = 0
  155. $selfieLoc[10] = 'school_bathroom'
  156. $selfieLocDesc[10] = 'School Bathroom'
  157. $selfieFilePrefix[10] = ''
  158. selfieClotot[10] = 28
  159. selfieUndtot[10] = 12
  160. selfieNudtot[10] = 0
  161. selfieTitflash[10] = 8
  162. selfieAssflash[10] = 1
  163. selfiePussyflash[10] = 7
  164. selfieBathtot[10] = 0
  165. selfieShowertot[10] = 0
  166. selfieSwimtot[10] = 0
  167. $selfieLoc[11] = 'restroom'
  168. $selfieLocDesc[11] = 'Restroom'
  169. $selfieFilePrefix[11] = ''
  170. selfieClotot[11] = 30
  171. selfieUndtot[11] = 25
  172. selfieNudtot[11] = 3
  173. selfieTitflash[11] = 30
  174. selfieAssflash[11] = 13
  175. selfiePussyflash[11] = 21
  176. selfieBathtot[11] = 0
  177. selfieShowertot[11] = 0
  178. selfieSwimtot[11] = 0
  179. end
  180. if $ARGS[0] = 'send_selfie_handler':
  181. $temp_ssh_ret_loc = $ARGS[1]
  182. $temp_ssh_ret_arg = $ARGS[2]
  183. temp_suppress_other_selfies = 1
  184. gt 'phone_selfies', 'selfies'
  185. end
  186. if $ARGS[0] = 'selfies':
  187. menu_off = 0
  188. *clr & cla
  189. gs 'phone_selfies', 'Phone_selfie_totals'
  190. *p func('phone_selfies', 'get_selfie_layout')
  191. gs 'phone_selfies', 'act_exit'
  192. end
  193. if $ARGS[0] = 'act_exit':
  194. act 'Stop watching selfies':
  195. if temp_suppress_other_selfies = 0:
  196. gt $menu_loc, $menu_arg
  197. else
  198. killvar 'temp_suppress_other_selfies'
  199. gt $temp_ssh_ret_loc, $temp_ssh_ret_arg
  200. end
  201. end
  202. end
  203. if $ARGS[0] = 'get_selfie_layout':
  204. $result = '<center><h4><font color="maroon">Photo library</font></h4></center>'
  205. $result += '<br>'
  206. $result += '<table><tr><th>Selfies</th></tr>'
  207. temp_locationCnt = 0
  208. :LocationLoop
  209. $result += '<tr><td><a href="exec: gt ''phone_selfies'', ''showlocation'', <<temp_locationCnt>>"><<$selfieLocDesc[temp_locationCnt]>> selfies</a></td></tr>'
  210. temp_locationCnt += 1
  211. if temp_locationCnt < arrsize('$selfieLoc'): jump 'LocationLoop'
  212. if temp_suppress_other_selfies = 0:
  213. $result += '<tr></tr><tr><th>Family and friends</th></tr>'
  214. $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''family''">Family</a></td></tr>'
  215. $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''school''">School friends</a></td></tr>'
  216. $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''teacher''">Teachers</a></td></tr>'
  217. $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''pavlovsk''">Pavlovsk friends</a></td></tr>'
  218. $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''city''">City friends</a></td></tr>'
  219. end
  220. killvar 'temp_locationCnt'
  221. $result += '</table>'
  222. end
  223. ! ARGS[1] is the index of the location in $selfieLoc[]
  224. if $ARGS[0] = 'showlocation':
  225. '<center><h4><font color="maroon"><<$selfieLocDesc[ARGS[1]]>> selfies</font></h4></center>'
  226. *nl
  227. *p func('phone_selfies', 'listretrieve', ARGS[1], $selfieLoc[ARGS[1]])
  228. act 'Back': gt 'phone_selfies', 'selfies'
  229. gs 'phone_selfies', 'act_exit'
  230. end
  231. ! ARGS[1] is the index of the location in $selfieLoc[]
  232. ! $ARGS[2] is the selfie location (park, home, etc)
  233. if $ARGS[0] = 'listretrieve':
  234. $result = '<center><table width=80%>'
  235. $result += func('phone_selfies', 'retrieve_clothed_selfies', ARGS[1], $ARGS[2])
  236. $result += func('phone_selfies', 'retrieve_swim_selfies', ARGS[1], $ARGS[2])
  237. $result += func('phone_selfies', 'retrieve_underwear_selfies', ARGS[1], $ARGS[2])
  238. $result += func('phone_selfies', 'retrieve_nude_selfies', ARGS[1], $ARGS[2])
  239. $result += func('phone_selfies', 'retrieve_bath_selfies', ARGS[1], $ARGS[2])
  240. $result += func('phone_selfies', 'retrieve_shower_selfies', ARGS[1], $ARGS[2])
  241. $result += func('phone_selfies', 'retrieve_titflash_selfies', ARGS[1], $ARGS[2])
  242. $result += func('phone_selfies', 'retrieve_assflash_selfies', ARGS[1], $ARGS[2])
  243. $result += func('phone_selfies', 'retrieve_pussyflash_selfies', ARGS[1], $ARGS[2])
  244. $result += '</table></center>'
  245. end
  246. ! ARGS[1] is the index of the location in $selfieLoc[]
  247. ! $ARGS[2] is the selfie location
  248. if $ARGS[0] = 'retrieve_clothed_selfies':
  249. !!Loop for clothed selfies, dynamics set variables as mixing them in loop instructions is bad
  250. if selfieClotot[ARGS[1]] > 0:
  251. $result += '<tr><th colspan=5>Clothed selfies</th></tr>'
  252. $result += '<tr></tr><tr>'
  253. temp_cnum = 0
  254. temp_clocnt = 1
  255. :temp_loop
  256. !!setting value to unmixed variable so it can be checked in the if below
  257. dynamic 'phone_locval = <<$ARGS[2]>>_closelfie[<<temp_clocnt>>]'
  258. if phone_locval = 1:
  259. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  260. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'clothed', ARGS[1], temp_clocnt) + '</td>'
  261. temp_cnum += 1
  262. end
  263. temp_clocnt += 1
  264. if temp_clocnt <= selfieClotot[ARGS[1]]: jump 'temp_loop'
  265. if temp_cnum ! 4: $result += '<td></td>'
  266. $result += '</tr><tr></tr>'
  267. killvar 'temp_cnum'
  268. killvar 'temp_clocnt'
  269. end
  270. elseif $ARGS[0] = 'retrieve_swim_selfies':
  271. if selfieSwimtot[ARGS[1]] > 0:
  272. $result += '<tr><th colspan=5>Swimwear selfies</th></tr>'
  273. $result += '<tr></tr><tr>'
  274. temp_cnum = 0
  275. temp_swicnt = 1
  276. :temp_loop1
  277. !!setting value to unmixed variable so it can be checked in the if below
  278. dynamic 'phone_locval = <<$ARGS[2]>>_swim[<<temp_swicnt>>]'
  279. if phone_locval = 1:
  280. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  281. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'bikini', ARGS[1], temp_swicnt) + '</td>'
  282. temp_cnum += 1
  283. end
  284. temp_swicnt += 1
  285. if temp_swicnt <= selfieSwimtot[ARGS[1]]: jump 'temp_loop1'
  286. if temp_cnum ! 4: $result += '<td></td>'
  287. $result += '</tr><tr></tr>'
  288. killvar 'temp_cnum'
  289. killvar 'temp_swicnt'
  290. end
  291. elseif $ARGS[0] = 'retrieve_underwear_selfies':
  292. if selfieUndtot[ARGS[1]] > 0:
  293. $result += '<tr><th colspan=5>Underwear selfies</th></tr>'
  294. $result += '<tr></tr><tr>'
  295. temp_cnum = 0
  296. temp_undcnt = 1
  297. :temp_loop2
  298. dynamic 'phone_locval = <<$ARGS[2]>>_undselfie[<<temp_undcnt>>]'
  299. if phone_locval = 1:
  300. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  301. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'underwear', ARGS[1], temp_undcnt) + '</td>'
  302. temp_cnum += 1
  303. end
  304. temp_undcnt += 1
  305. if temp_undcnt <= selfieUndtot[ARGS[1]]: jump 'temp_loop2'
  306. if temp_cnum ! 4: $result += '<td></td>'
  307. $result += '</tr><tr></tr>'
  308. killvar 'temp_cnum'
  309. killvar 'temp_undcnt'
  310. end
  311. elseif $ARGS[0] = 'retrieve_nude_selfies':
  312. if selfieNudtot[ARGS[1]] > 0:
  313. $result += '<tr><th colspan=5>Nude selfies</th></tr>'
  314. $result += '<tr></tr><tr>'
  315. temp_cnum = 0
  316. temp_nudcnt = 1
  317. :temp_loop3
  318. dynamic 'phone_locval = <<$ARGS[2]>>_nudselfie[<<temp_nudcnt>>]'
  319. if phone_locval = 1:
  320. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  321. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'nude', ARGS[1], temp_nudcnt) + '</td>'
  322. temp_cnum += 1
  323. end
  324. temp_nudcnt += 1
  325. if temp_nudcnt <= selfieNudtot[ARGS[1]]: jump 'temp_loop3'
  326. if temp_cnum ! 4: $result += '<td></td>'
  327. $result += '</tr><tr></tr>'
  328. killvar 'temp_cnum'
  329. killvar 'temp_nudcnt'
  330. end
  331. elseif $ARGS[0] = 'retrieve_bath_selfies':
  332. !!loop for bath selfies
  333. if selfieBathtot[ARGS[1]] > 0:
  334. $result += '<tr><th colspan=5>Bath selfies</th></tr>'
  335. $result += '<tr></tr><tr>'
  336. temp_cnum = 0
  337. temp_bathcnt = 1
  338. :temp_loop4
  339. dynamic 'phone_locval = <<$ARGS[2]>>_bathselfie[<<temp_bathcnt>>]'
  340. if phone_locval = 1:
  341. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  342. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'bath', ARGS[1], temp_bathcnt) + '</td>'
  343. temp_cnum += 1
  344. end
  345. temp_bathcnt += 1
  346. if temp_bathcnt <= selfieBathtot[ARGS[1]]: jump 'temp_loop4'
  347. if temp_cnum ! 4: $result += '<td></td>'
  348. $result += '</tr><tr></tr>'
  349. killvar 'temp_cnum'
  350. killvar 'temp_bathcnt'
  351. end
  352. elseif $ARGS[0] = 'retrieve_shower_selfies':
  353. !!loop for shower selfies
  354. if selfieShowertot[ARGS[1]] > 0:
  355. $result += '<tr><th colspan=5>Shower selfies</th></tr>'
  356. $result += '<tr></tr><tr>'
  357. temp_cnum = 0
  358. temp_showercnt = 1
  359. :temp_loop5
  360. dynamic 'phone_locval = <<$ARGS[2]>>_showerselfie[<<temp_showercnt>>]'
  361. if phone_locval = 1:
  362. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  363. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'shower', ARGS[1], temp_showercnt) + '</td>'
  364. temp_cnum += 1
  365. end
  366. temp_showercnt += 1
  367. if temp_showercnt <= selfieShowertot[ARGS[1]]: jump 'temp_loop5'
  368. if temp_cnum ! 4: $result += '<td></td>'
  369. $result += '</tr><tr></tr>'
  370. killvar 'temp_cnum'
  371. killvar 'temp_showercnt'
  372. end
  373. elseif $ARGS[0] = 'retrieve_titflash_selfies':
  374. !!loop for flashing tits selfies
  375. if selfieTitflash[ARGS[1]] > 0:
  376. $result += '<tr><th colspan=5>Flashing tits selfies</th></tr>'
  377. $result += '<tr></tr><tr>'
  378. temp_cnum = 0
  379. temp_flashtitscnt = 1
  380. :temp_loop6
  381. dynamic 'phone_locval = <<$ARGS[2]>>_titflash[<<temp_flashtitscnt>>]'
  382. if phone_locval = 1:
  383. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  384. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'titflash', ARGS[1], temp_flashtitscnt) + '</td>'
  385. temp_cnum += 1
  386. end
  387. temp_flashtitscnt += 1
  388. if temp_flashtitscnt <= selfieTitflash[ARGS[1]]: jump 'temp_loop6'
  389. if temp_cnum ! 4: $result += '<td></td>'
  390. $result += '</tr><tr></tr>'
  391. killvar 'temp_cnum'
  392. killvar 'temp_flashtitscnt'
  393. end
  394. elseif $ARGS[0] = 'retrieve_assflash_selfies':
  395. !!loop for flashing ass selfies
  396. if selfieAssflash[ARGS[1]] > 0:
  397. $result += '<tr><th colspan=5>Flashing ass selfies</th></tr>'
  398. $result += '<tr></tr><tr>'
  399. temp_cnum = 0
  400. temp_flashasscnt = 1
  401. :temp_loop7
  402. dynamic 'phone_locval = <<$ARGS[2]>>_assflash[<<temp_flashasscnt>>]'
  403. if phone_locval = 1:
  404. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  405. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'assflash', ARGS[1], temp_flashasscnt) + '</td>'
  406. temp_cnum += 1
  407. end
  408. temp_flashasscnt += 1
  409. if temp_flashasscnt <= selfieAssflash[ARGS[1]]: jump 'temp_loop7'
  410. if temp_cnum ! 4: $result += '<td></td>'
  411. $result += '</tr><tr></tr>'
  412. killvar 'temp_cnum'
  413. killvar 'temp_flashasscnt'
  414. end
  415. elseif $ARGS[0] = 'retrieve_pussyflash_selfies':
  416. !!loop for flashing pussy selfies
  417. if selfiePussyflash[ARGS[1]] > 0:
  418. $result += '<tr><th colspan=5>Flashing pussy selfies</th></tr>'
  419. $result += '<tr></tr><tr>'
  420. temp_cnum = 0
  421. temp_flashpussycnt = 1
  422. :temp_loop8
  423. dynamic 'phone_locval = <<$ARGS[2]>>_pussyflash[<<temp_flashpussycnt>>]'
  424. if phone_locval = 1:
  425. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  426. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'pussyflash', ARGS[1], temp_flashpussycnt) + '</td>'
  427. temp_cnum += 1
  428. end
  429. temp_flashpussycnt += 1
  430. if temp_flashpussycnt <= selfiePussyflash[ARGS[1]]: jump 'temp_loop8'
  431. if temp_cnum ! 4: $result += '<td></td>'
  432. $result += '</tr><tr></tr>'
  433. killvar 'temp_cnum'
  434. killvar 'temp_flashpussycnt'
  435. end
  436. end
  437. if $ARGS[0] = 'family':
  438. '<center><h4><font color="maroon">Family members</font></h4></center>'
  439. $textgrup = ''
  440. count1 = 0
  441. i = 1
  442. '<center><table cellspacing="3" width=80%>'
  443. :familygruploop
  444. if npc_selfieon['A<<i>>'] = 1 and npc_grupTipe['A<<i>>'] = 7:
  445. count1 += 1
  446. $textgrup += '' + '<td bgcolor=<<$theme[''table_bg_alt'']>> align="center"><img height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"><br>' + $npc_selfie['A<<i>>'] + '</td>'
  447. if count1 = 6:
  448. $textgrup +='</tr><tr>'
  449. count1 = 0
  450. end
  451. end
  452. i += 1
  453. if i <= aarraynumber: jump 'familygruploop'
  454. '<<$textgrup>>'
  455. '</table></center>'
  456. act 'Back': gt 'phone_selfies', 'selfies'
  457. gs 'phone_selfies', 'act_exit'
  458. end
  459. if $ARGS[0] = 'school':
  460. '<center><h4><font color="maroon">School friends</font></h4></center>'
  461. $textgrup = ''
  462. count1 = 0
  463. i = 1
  464. '<center><table cellspacing="3" width=80%>'
  465. :schoolgruploop
  466. if npc_selfieon['A<<i>>'] = 1 and (npc_grupTipe['A<<i>>'] = 1 or npc_grupTipe['A<<i>>'] = 2 or npc_grupTipe['A<<i>>'] = 3 or npc_grupTipe['A<<i>>'] = 4 or npc_grupTipe['A<<i>>'] = 5):
  467. count1 += 1
  468. $textgrup += '' + '<td bgcolor=<<$theme[''table_bg_alt'']>> align="center"><img height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"><br>' + $npc_selfie['A<<i>>'] + '</td>'
  469. if count1 = 6:
  470. $textgrup +='</tr><tr>'
  471. count1 = 0
  472. end
  473. end
  474. i += 1
  475. if i <= aarraynumber: jump 'schoolgruploop'
  476. '<<$textgrup>>'
  477. '</table></center>'
  478. act 'Back': gt 'phone_selfies', 'selfies'
  479. gs 'phone_selfies', 'act_exit'
  480. end
  481. if $ARGS[0] = 'teacher':
  482. '<center><h4><font color="maroon">Teachers</font></h4></center>'
  483. $textgrup = ''
  484. count1 = 0
  485. i = 1
  486. '<center><table cellspacing="3" width=80%>'
  487. :teachergruploop
  488. if npc_selfieon['A<<i>>'] = 1 and npc_grupTipe['A<<i>>'] = 6:
  489. count1 += 1
  490. $textgrup += '' + '<td bgcolor=<<$theme[''table_bg_alt'']>> align="center"><img height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"><br>' + $npc_selfie['A<<i>>'] + '</td>'
  491. if count1 = 6:
  492. $textgrup +='</tr><tr>'
  493. count1 = 0
  494. end
  495. end
  496. i += 1
  497. if i <= aarraynumber: jump 'teachergruploop'
  498. '<<$textgrup>>'
  499. '</table></center>'
  500. act 'Back': gt 'phone_selfies', 'selfies'
  501. gs 'phone_selfies', 'act_exit'
  502. end
  503. if $ARGS[0] = 'pavlovsk':
  504. '<center><h4><font color="maroon">Pavlovsk friends</font></h4></center>'
  505. $textgrup = ''
  506. count1 = 0
  507. i = 1
  508. '<center><table cellspacing="3" width=80%>'
  509. :pavgruploop
  510. if npc_grupTipe['A<<i>>'] = 8 and npc_selfieon['A<<i>>'] = 1:
  511. count1 += 1
  512. $textgrup += '' + '<td bgcolor=<<$theme[''table_bg_alt'']>> align="center"><img height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"><br>' + $npc_selfie['A<<i>>'] + '</td>'
  513. if count1 = 6:
  514. $textgrup +='</tr><tr>'
  515. count1 = 0
  516. end
  517. end
  518. i += 1
  519. if i <= aarraynumber: jump 'pavgruploop'
  520. '<<$textgrup>>'
  521. '</table></center>'
  522. act 'Back': gt 'phone_selfies', 'selfies'
  523. gs 'phone_selfies', 'act_exit'
  524. end
  525. if $ARGS[0] = 'city':
  526. '<center><h4><font color="maroon">City friends</font></h4></center>'
  527. act 'Back': gt 'phone_selfies', 'selfies'
  528. gs 'phone_selfies', 'act_exit'
  529. end
  530. !! Sets up a list of selfies taken by category
  531. !! loops through the arrays of selfie flags (1 means that se;lfie has been taken by the player)
  532. !! adds the image path for each taken selfie to the relevant array
  533. !! So to check if any nude selfies are on the phone we can do if arrsize('$selfieTakenNud') > 0:
  534. !! then we can get the image paths for the elements of that array to get the pictures taken
  535. !! $selfieTakenClo[]
  536. !! $selfieTakenUnd[]
  537. !! $selfieTakenNud[]
  538. !! $selfieTakenTitflash[]
  539. !! $selfieTakenAssflash[]
  540. !! $selfieTakenPussyflash[]
  541. !! $selfieTakenBath[]
  542. !! $selfieTakenShower[]
  543. !! $selfieTakenSwim[]
  544. if $ARGS[0] = 'PopulateSelfiesList':
  545. killvar '$selfieTakenClo'
  546. killvar '$selfieTakenUnd'
  547. killvar '$selfieTakenNud'
  548. killvar '$selfieTakenTitflash'
  549. killvar '$selfieTakenAssflash'
  550. killvar '$selfieTakenPussyflash'
  551. killvar '$selfieTakenBath'
  552. killvar '$selfieTakenShower'
  553. killvar '$selfieTakenSwim'
  554. temp_locationCnt = 1
  555. :LocationTakenLoop
  556. CloMaxSize = selfieClotot[temp_locationCnt]
  557. if CloMaxSize > 0:
  558. gs 'phone_selfies', 'populateClothesType', 'closelfie', '$selfieTakenClo', 'clothed', CloMaxSize
  559. end
  560. CloMaxSize = selfieSwimtot[temp_locationCnt]
  561. if CloMaxSize > 0:
  562. gs 'phone_selfies', 'populateClothesType', 'swim', '$selfieTakenSwim', 'bikini', CloMaxSize
  563. end
  564. CloMaxSize = selfieUndtot[temp_locationCnt]
  565. if CloMaxSize > 0:
  566. gs 'phone_selfies', 'populateClothesType', 'undselfie', '$selfieTakenUnd', 'underwear', CloMaxSize
  567. end
  568. CloMaxSize = selfieNudtot[temp_locationCnt]
  569. if CloMaxSize > 0:
  570. gs 'phone_selfies', 'populateClothesType', 'nudselfie', '$selfieTakenNud', 'nude', CloMaxSize
  571. end
  572. CloMaxSize = selfieBathtot[temp_locationCnt]
  573. if CloMaxSize > 0:
  574. gs 'phone_selfies', 'populateClothesType', 'bathselfie', '$selfieTakenBath', 'bath', CloMaxSize
  575. end
  576. CloMaxSize = selfieShowertot[temp_locationCnt]
  577. if CloMaxSize > 0:
  578. gs 'phone_selfies', 'populateClothesType', 'showerselfie', '$selfieTakenShower', 'shower', CloMaxSize
  579. end
  580. CloMaxSize = selfieTitflash[temp_locationCnt]
  581. if CloMaxSize > 0:
  582. gs 'phone_selfies', 'populateClothesType', 'titflash', '$selfieTakenTitflash', 'titflash', CloMaxSize
  583. end
  584. CloMaxSize = selfieAssflash[temp_locationCnt]
  585. if CloMaxSize > 0:
  586. gs 'phone_selfies', 'populateClothesType', 'assflash', '$selfieTakenAssflash', 'assflash', CloMaxSize
  587. end
  588. CloMaxSize = selfiePussyflash[temp_locationCnt]
  589. if CloMaxSize > 0:
  590. gs 'phone_selfies', 'populateClothesType', 'pussyflash', '$selfieTakenPussyflash', 'pussyflash', CloMaxSize
  591. end
  592. temp_locationCnt += 1
  593. if temp_locationCnt < arrsize('$selfieLoc'): jump 'LocationTakenLoop'
  594. end
  595. if $ARGS[0] = 'populateClothesType':
  596. $CloTypePrefix = $ARGS[1]
  597. $CloArraySize = 'arrsize(''<<$ARGS[2]>>'')'
  598. $CloFolder = $ARGS[3]
  599. $CloVar = '<<$ARGS[2]>>[tmpIndex]'
  600. CloMaxSize = ARGS[4]
  601. temp_clocnt = 0
  602. :tempCloTakenLoop
  603. dynamic 'phone_locval = <<$selfieLoc[temp_locationCnt]>>_<<$CloTypePrefix>>[<<temp_clocnt>>]'
  604. if phone_locval = 1:
  605. dynamic 'tmpIndex = <<$CloArraySize>>'
  606. dynamic "<<$CloVar>> = 'images/pc/activities/phone/selfies/<<$selfieLoc[temp_locationCnt]>>/<<$CloFolder>>/<<$selfieFilePrefix[temp_locationCnt]>><<temp_clocnt>>.jpg'"
  607. end
  608. temp_clocnt += 1
  609. if temp_clocnt <= CloMaxSize: jump 'tempCloTakenLoop'
  610. end
  611. if $ARGS[0] = 'get_npc_selfie_totals':
  612. if ARGS[1] = 1:
  613. '<center><h4><font color="maroon">Dimka pictures</font></h4></center>'
  614. $photoloc = 'images/pc/pictures/dimka/'
  615. $imgloc = 'images/characters/pavlovsk/school/boy/dimka/selfies/'
  616. $selfienpc = 'dimka'
  617. loopmaxev = 0
  618. loopmax = 0
  619. loopmaxsveta = 0
  620. loopmaxsex = 0
  621. elseif ARGS[1] = 2:
  622. '<center><h4><font color="maroon">Artem pictures</font></h4></center>'
  623. $photoloc = 'images/pc/pictures/artem/'
  624. $imgloc = 'images/characters/pavlovsk/school/boy/artem/selfies/'
  625. $selfienpc = 'artem'
  626. loopmaxev = 0
  627. loopmax = 0
  628. loopmaxsveta = 0
  629. loopmaxsex = 0
  630. elseif ARGS[1] = 3:
  631. '<center><h4><font color="maroon">Ivan pictures</font></h4></center>'
  632. $photoloc = 'images/pc/pictures/ivan/'
  633. $imgloc = 'images/characters/pavlovsk/school/boy/ivan/selfies/'
  634. $selfienpc = 'ivan'
  635. loopmaxev = 0
  636. loopmax = 0
  637. loopmaxsveta = 0
  638. loopmaxsex = 0
  639. elseif ARGS[1] = 4:
  640. '<center><h4><font color="maroon">Igor pictures</font></h4></center>'
  641. $photoloc = 'images/pc/pictures/igor/'
  642. $imgloc = 'images/characters/pavlovsk/school/boy/igor/selfies/'
  643. $selfienpc = 'igor'
  644. loopmaxev = 0
  645. loopmax = 0
  646. loopmaxsveta = 0
  647. loopmaxsex = 0
  648. elseif ARGS[1] = 5:
  649. '<center><h4><font color="maroon">Fedor pictures</font></h4></center>'
  650. $photoloc = 'images/pc/pictures/fedor/'
  651. $imgloc = 'images/characters/pavlovsk/school/boy/fedor/selfies/'
  652. $selfienpc = 'fedor'
  653. loopmaxev = 0
  654. loopmax = 0
  655. loopmaxsveta = 0
  656. loopmaxsex = 0
  657. elseif ARGS[1] = 6:
  658. '<center><h4><font color="maroon">Petka pictures</font></h4></center>'
  659. $photoloc = 'images/pc/pictures/petka/'
  660. $imgloc = 'images/characters/pavlovsk/school/boy/petka/selfies/'
  661. $selfienpc = 'petka'
  662. loopmaxev = 0
  663. loopmax = 0
  664. loopmaxsveta = 0
  665. loopmaxsex = 0
  666. elseif ARGS[1] = 7:
  667. '<center><h4><font color="maroon">Lesco pictures</font></h4></center>'
  668. $photoloc = 'images/pc/pictures/lesco/'
  669. $imgloc = 'images/characters/pavlovsk/school/boy/lesco/selfies/'
  670. $selfienpc = 'lesco'
  671. loopmaxev = 0
  672. loopmax = 0
  673. loopmaxsveta = 0
  674. loopmaxsex = 0
  675. elseif ARGS[1] = 8:
  676. '<center><h4><font color="maroon">Svyatoslav pictures</font></h4></center>'
  677. $photoloc = 'images/pc/pictures/svyatoslav/'
  678. $imgloc = 'images/characters/pavlovsk/school/boy/svyatoslav/selfies/'
  679. $selfienpc = 'svyatoslav'
  680. loopmaxev = 0
  681. loopmax = 0
  682. loopmaxsveta = 0
  683. loopmaxsex = 0
  684. elseif ARGS[1] = 9:
  685. '<center><h4><font color="maroon">Vitek pictures</font></h4></center>'
  686. $photoloc = 'images/pc/pictures/vitek/'
  687. $imgloc = 'images/characters/pavlovsk/school/boy/vitek/selfies/'
  688. $selfienpc = 'vitek'
  689. loopmaxev = 0
  690. loopmax = 0
  691. loopmaxsveta = 0
  692. loopmaxsex = 0
  693. elseif ARGS[1] = 10:
  694. '<center><h4><font color="maroon">Dan pictures</font></h4></center>'
  695. $photoloc = 'images/pc/pictures/dan/'
  696. $imgloc = 'images/characters/pavlovsk/school/boy/dan/selfies/'
  697. $selfienpc = 'dan'
  698. loopmaxev = 0
  699. loopmax = 0
  700. loopmaxsveta = 0
  701. loopmaxsex = 0
  702. elseif ARGS[1] = 11:
  703. '<center><h4><font color="maroon">Vasily pictures</font></h4></center>'
  704. $photoloc = 'images/pc/pictures/vasily/'
  705. $imgloc = 'images/characters/pavlovsk/school/boy/vasily/selfies/'
  706. $selfienpc = 'vasily'
  707. loopmaxev = 0
  708. loopmax = 0
  709. loopmaxsveta = 0
  710. loopmaxsex = 0
  711. elseif ARGS[1] = 12:
  712. '<center><h4><font color="maroon">Julia pictures</font></h4></center>'
  713. $photoloc = 'images/pc/pictures/julia/'
  714. $imgloc = 'images/characters/pavlovsk/school/boy/julia/selfies/'
  715. $selfienpc = 'julia'
  716. loopmaxev = 0
  717. loopmax = 0
  718. loopmaxsveta = 0
  719. loopmaxsex = 0
  720. elseif ARGS[1] = 13:
  721. '<center><h4><font color="maroon">Lariska pictures</font></h4></center>'
  722. $photoloc = 'images/pc/pictures/lariska/'
  723. $imgloc = 'images/characters/pavlovsk/school/boy/lariska/selfies/'
  724. $selfienpc = 'lariska'
  725. loopmaxev = 0
  726. loopmax = 0
  727. loopmaxsveta = 0
  728. loopmaxsex = 0
  729. elseif ARGS[1] = 14:
  730. '<center><h4><font color="maroon">Katja pictures</font></h4></center>'
  731. $photoloc = 'images/pc/pictures/katja/'
  732. $imgloc = 'images/characters/pavlovsk/school/boy/katja/selfies/'
  733. $selfienpc = 'katja'
  734. loopmaxev = 0
  735. loopmax = 0
  736. loopmaxsveta = 0
  737. loopmaxsex = 0
  738. elseif ARGS[1] = 15:
  739. '<center><h4><font color="maroon">Vicky pictures</font></h4></center>'
  740. $photoloc = 'images/pc/pictures/vicky/'
  741. $imgloc = 'images/characters/pavlovsk/school/boy/vicky/selfies/'
  742. $selfienpc = 'vicky'
  743. loopmaxev = 0
  744. loopmax = 0
  745. loopmaxsveta = 0
  746. loopmaxsex = 0
  747. elseif ARGS[1] = 16:
  748. '<center><h4><font color="maroon">Natasha pictures</font></h4></center>'
  749. $photoloc = 'images/pc/pictures/natasha/'
  750. $imgloc = 'images/characters/pavlovsk/school/boy/natasha/selfies/'
  751. $selfienpc = 'natasha'
  752. loopmaxev = 0
  753. loopmax = 0
  754. loopmaxsveta = 0
  755. loopmaxsex = 0
  756. elseif ARGS[1] = 17:
  757. '<center><h4><font color="maroon">Inna pictures</font></h4></center>'
  758. $photoloc = 'images/pc/pictures/inna/'
  759. $imgloc = 'images/characters/pavlovsk/school/boy/inna/selfies/'
  760. $selfienpc = 'inna'
  761. loopmaxev = 0
  762. loopmax = 0
  763. loopmaxsveta = 0
  764. loopmaxsex = 0
  765. elseif ARGS[1] = 18:
  766. '<center><h4><font color="maroon">Christina pictures</font></h4></center>'
  767. $photoloc = 'images/pc/pictures/christina/'
  768. $imgloc = 'images/characters/pavlovsk/school/boy/christina/selfies/'
  769. $selfienpc = 'christina'
  770. loopmaxev = 0
  771. loopmax = 0
  772. loopmaxsveta = 0
  773. loopmaxsex = 0
  774. elseif ARGS[1] = 19:
  775. '<center><h4><font color="maroon">Lina pictures</font></h4></center>'
  776. $photoloc = 'images/pc/pictures/lina/'
  777. $imgloc = 'images/characters/pavlovsk/school/boy/lina/selfies/'
  778. $selfienpc = 'lina'
  779. loopmaxev = 0
  780. loopmax = 0
  781. loopmaxsveta = 0
  782. loopmaxsex = 0
  783. elseif ARGS[1] = 20:
  784. '<center><h4><font color="maroon">Lena pictures</font></h4></center>'
  785. $photoloc = 'images/pc/pictures/lena/'
  786. $imgloc = 'images/characters/pavlovsk/school/boy/lena/selfies/'
  787. $selfienpc = 'lena'
  788. loopmaxev = 0
  789. loopmax = 0
  790. loopmaxsveta = 0
  791. loopmaxsex = 0
  792. elseif ARGS[1] = 21:
  793. '<center><h4><font color="maroon">Lera pictures</font></h4></center>'
  794. $photoloc = 'images/pc/pictures/lera/'
  795. $imgloc = 'images/characters/pavlovsk/school/boy/lera/selfies/'
  796. $selfienpc = 'lera'
  797. loopmaxev = 0
  798. loopmax = 0
  799. loopmaxsveta = 0
  800. loopmaxsex = 0
  801. elseif ARGS[1] = 22:
  802. '<center><h4><font color="maroon">Bella pictures</font></h4></center>'
  803. $photoloc = 'images/pc/pictures/bella/'
  804. $imgloc = 'images/characters/pavlovsk/school/boy/bella/selfies/'
  805. $selfienpc = 'bella'
  806. loopmaxev = 0
  807. loopmax = 0
  808. loopmaxsveta = 0
  809. loopmaxsex = 0
  810. elseif ARGS[1] = 23:
  811. '<center><h4><font color="maroon">Albina pictures</font></h4></center>'
  812. $photoloc = 'images/pc/pictures/albina/'
  813. $imgloc = 'images/characters/pavlovsk/school/boy/albina/selfies/'
  814. $selfienpc = 'albina'
  815. loopmaxev = 0
  816. loopmax = 0
  817. loopmaxsveta = 0
  818. loopmaxsex = 0
  819. elseif ARGS[1] = 24:
  820. '<center><h4><font color="maroon">Pauline pictures</font></h4></center>'
  821. $photoloc = 'images/pc/pictures/pauline/'
  822. $imgloc = 'images/characters/pavlovsk/school/boy/pauline/selfies/'
  823. $selfienpc = 'pauline'
  824. loopmaxev = 0
  825. loopmax = 0
  826. loopmaxsveta = 0
  827. loopmaxsex = 0
  828. elseif ARGS[1] = 25:
  829. '<center><h4><font color="maroon">Sonia pictures</font></h4></center>'
  830. $photoloc = 'images/pc/pictures/sonia/'
  831. $imgloc = 'images/characters/pavlovsk/school/girl/sonia/selfies/'
  832. $selfienpc = 'sonia'
  833. loopmaxev = 0
  834. loopmax = 45
  835. loopmaxsveta = 25
  836. loopmaxsex = 9
  837. elseif ARGS[1] = 26:
  838. '<center><h4><font color="maroon">Anatoly pictures</font></h4></center>'
  839. $photoloc = 'images/pc/pictures/anatoly/'
  840. $imgloc = 'images/characters/pavlovsk/school/teacher/anatoly/selfies/'
  841. $selfienpc = 'anatoly'
  842. loopmaxev = 0
  843. loopmax = 0
  844. loopmaxsveta = 0
  845. loopmaxsex = 0
  846. elseif ARGS[1] = 28:
  847. '<center><h4><font color="maroon">Stepfather pictures</font></h4></center>'
  848. $photoloc = 'images/pc/pictures/vladimir/'
  849. $imgloc = 'images/characters/pavlovsk/resident/vladimir/selfies/'
  850. $selfienpc = 'vladimir'
  851. loopmaxev = 0
  852. loopmax = 0
  853. loopmaxsveta = 0
  854. loopmaxsex = 0
  855. elseif ARGS[1] = 29:
  856. '<center><h4><font color="maroon">Mother pictures</font></h4></center>'
  857. $photoloc = 'images/pc/pictures/mom/'
  858. $imgloc = 'images/characters/pavlovsk/resident/mom/selfies/'
  859. $selfienpc = 'mom'
  860. loopmaxev = 0
  861. loopmax = 0
  862. loopmaxsveta = 0
  863. loopmaxsex = 0
  864. elseif ARGS[1] = 33:
  865. '<center><h4><font color="maroon">Anya pictures</font></h4></center>'
  866. $photoloc = 'images/pc/pictures/anya/'
  867. $imgloc = 'images/characters/pavlovsk/resident/anya/selfies/'
  868. $selfienpc = 'anya'
  869. loopmaxev = 0
  870. loopmax = 0
  871. loopmaxsveta = 0
  872. loopmaxsex = 0
  873. elseif ARGS[1] = 34:
  874. '<center><h4><font color="maroon">Kolka pictures</font></h4></center>'
  875. $photoloc = 'images/pc/pictures/kolka/'
  876. $imgloc = 'images/characters/pavlovsk/resident/kolka/selfies/'
  877. $selfienpc = 'kolka'
  878. loopmaxev = 0
  879. loopmax = 0
  880. loopmaxsveta = 0
  881. loopmaxsex = 0
  882. elseif ARGS[1] = 35:
  883. '<center><h4><font color="maroon">Father pictures</font></h4></center>'
  884. $photoloc = 'images/pc/pictures/???/'
  885. !! Where are these located?
  886. $imgloc = 'images/characters/pavlovsk/resident/???/selfies/'
  887. $selfienpc = 'father'
  888. loopmaxev = 0
  889. loopmax = 0
  890. loopmaxsveta = 0
  891. loopmaxsex = 0
  892. elseif ARGS[1] = 54:
  893. '<center><h4><font color="maroon">Uncle Misha pictures</font></h4></center>'
  894. $photoloc = 'images/pc/pictures/misha/'
  895. $imgloc = 'images/characters/pavlovsk/resident/misha/selfies/'
  896. $selfienpc = 'misha'
  897. loopmaxev = 0
  898. loopmax = 0
  899. loopmaxsveta = 0
  900. loopmaxsex = 0
  901. elseif ARGS[1] = 56:
  902. '<center><h4><font color="maroon">Roma pictures</font></h4></center>'
  903. $photoloc = 'images/pc/pictures/roma/'
  904. $imgloc = 'images/characters/pavlovsk/resident/roma/selfies/'
  905. $selfienpc = 'roma'
  906. loopmaxev = 0
  907. loopmax = 0
  908. loopmaxsveta = 0
  909. loopmaxsex = 0
  910. elseif ARGS[1] = 57:
  911. '<center><h4><font color="maroon">Rex pictures</font></h4></center>'
  912. $photoloc = 'images/pc/pictures/rex/'
  913. $imgloc = 'images/characters/pavlovsk/resident/rex/selfies/'
  914. $selfienpc = 'rex'
  915. loopmaxev = 0
  916. loopmax = 0
  917. loopmaxsveta = 0
  918. loopmaxsex = 0
  919. elseif ARGS[1] = 69:
  920. '<center><h4><font color="maroon">Mikhail pictures</font></h4></center>'
  921. $photoloc = 'images/pc/pictures/mikhail/'
  922. $imgloc = 'images/characters/pavlovsk/school/teacher/mikhail/selfies/'
  923. $selfienpc = 'coachmikhail'
  924. loopmaxev = 0
  925. loopmax = 0
  926. loopmaxsveta = 0
  927. loopmaxsex = 0
  928. elseif ARGS[1] = 112:
  929. '<center><h4><font color="maroon">Sergey pictures</font></h4></center>'
  930. $photoloc = 'images/pc/pictures/sergey/'
  931. $imgloc = 'images/characters/pavlovsk/resident/sergey/selfies/'
  932. $selfienpc = 'sergey'
  933. loopmaxev = 0
  934. loopmax = 0
  935. loopmaxsveta = 0
  936. loopmaxsex = 0
  937. elseif ARGS[1] = 128:
  938. '<center><h4><font color="maroon">Makar pictures</font></h4></center>'
  939. $photoloc = 'images/pc/pictures/makar/'
  940. $imgloc = 'images/characters/pavlovsk/school/teacher/makar/selfies/'
  941. $selfienpc = 'makar'
  942. loopmaxev = 0
  943. loopmax = 0
  944. loopmaxsveta = 0
  945. loopmaxsex = 0
  946. elseif ARGS[1] = 129:
  947. '<center><h4><font color="maroon">Serafim pictures</font></h4></center>'
  948. $photoloc = 'images/pc/pictures/serafim/'
  949. $imgloc = 'images/characters/pavlovsk/school/teacher/serafim/selfies/'
  950. $selfienpc = 'serafim'
  951. loopmaxev = 0
  952. loopmax = 0
  953. loopmaxsveta = 0
  954. loopmaxsex = 0
  955. elseif ARGS[1] = 130:
  956. '<center><h4><font color="maroon">Ilya pictures</font></h4></center>'
  957. $photoloc = 'images/pc/pictures/ilya/'
  958. $imgloc = 'images/characters/pavlovsk/school/teacher/ilya/selfies/'
  959. $selfienpc = 'ilya'
  960. loopmaxev = 0
  961. loopmax = 0
  962. loopmaxsveta = 0
  963. loopmaxsex = 0
  964. elseif ARGS[1] = 131:
  965. '<center><h4><font color="maroon">Viktor pictures</font></h4></center>'
  966. $photoloc = 'images/pc/pictures/viktor/'
  967. $imgloc = 'images/characters/pavlovsk/school/teacher/viktor/selfies/'
  968. $selfienpc = 'viktor'
  969. loopmaxev = 0
  970. loopmax = 0
  971. loopmaxsveta = 0
  972. loopmaxsex = 0
  973. elseif ARGS[1] = 132:
  974. '<center><h4><font color="maroon">Ruslan pictures</font></h4></center>'
  975. $photoloc = 'images/pc/pictures/ruslan/'
  976. $imgloc = 'images/characters/pavlovsk/school/teacher/ruslan/selfies/'
  977. $selfienpc = 'ruslan'
  978. loopmaxev = 0
  979. loopmax = 0
  980. loopmaxsveta = 0
  981. loopmaxsex = 0
  982. elseif ARGS[1] = 133:
  983. '<center><h4><font color="maroon">Rolan pictures</font></h4></center>'
  984. $photoloc = 'images/pc/pictures/rolan/'
  985. $imgloc = 'images/characters/pavlovsk/school/teacher/rolan/selfies/'
  986. $selfienpc = 'rolan'
  987. loopmaxev = 0
  988. loopmax = 0
  989. loopmaxsveta = 0
  990. loopmaxsex = 0
  991. elseif ARGS[1] = 134:
  992. '<center><h4><font color="maroon">Aleksandrina pictures</font></h4></center>'
  993. $photoloc = 'images/pc/pictures/aleksandrina/'
  994. $imgloc = 'images/characters/pavlovsk/school/teacher/aleksandrina/selfies/'
  995. $selfienpc = 'aleksandrina'
  996. loopmaxev = 0
  997. loopmax = 0
  998. loopmaxsveta = 0
  999. loopmaxsex = 0
  1000. elseif ARGS[1] = 135:
  1001. '<center><h4><font color="maroon">Yeva pictures</font></h4></center>'
  1002. $photoloc = 'images/pc/pictures/yeva/'
  1003. $imgloc = 'images/characters/pavlovsk/school/teacher/yeva/selfies/'
  1004. $selfienpc = 'yeva'
  1005. loopmaxev = 0
  1006. loopmax = 0
  1007. loopmaxsveta = 0
  1008. loopmaxsex = 0
  1009. elseif ARGS[1] = 136:
  1010. '<center><h4><font color="maroon">Olga pictures</font></h4></center>'
  1011. $photoloc = 'images/pc/pictures/olga/'
  1012. $imgloc = 'images/characters/pavlovsk/school/teacher/olga/selfies/'
  1013. $selfienpc = 'olga'
  1014. loopmaxev = 0
  1015. loopmax = 0
  1016. loopmaxsveta = 0
  1017. loopmaxsex = 0
  1018. elseif ARGS[1] = 137:
  1019. '<center><h4><font color="maroon">Raven pictures</font></h4></center>'
  1020. $photoloc = 'images/pc/pictures/raven/'
  1021. $imgloc = 'images/characters/pavlovsk/school/teacher/raven/selfies/'
  1022. $selfienpc = 'raven'
  1023. loopmaxev = 0
  1024. loopmax = 0
  1025. loopmaxsveta = 0
  1026. loopmaxsex = 0
  1027. elseif ARGS[1] = 138:
  1028. '<center><h4><font color="maroon">Arina pictures</font></h4></center>'
  1029. $photoloc = 'images/pc/pictures/arina/'
  1030. $imgloc = 'images/characters/pavlovsk/school/teacher/arina/selfies/'
  1031. $selfienpc = 'arina'
  1032. loopmaxev = 0
  1033. loopmax = 0
  1034. loopmaxsveta = 0
  1035. loopmaxsex = 0
  1036. elseif ARGS[1] = 139:
  1037. '<center><h4><font color="maroon">Stasya pictures</font></h4></center>'
  1038. $photoloc = 'images/pc/pictures/stasya/'
  1039. $imgloc = 'images/characters/pavlovsk/school/boy/stasya/selfies/'
  1040. $selfienpc = 'stasya'
  1041. loopmaxev = 0
  1042. loopmax = 0
  1043. loopmaxsveta = 0
  1044. loopmaxsex = 0
  1045. elseif ARGS[1] = 140:
  1046. '<center><h4><font color="maroon">Lizaveta pictures</font></h4></center>'
  1047. $photoloc = 'images/pc/pictures/lizaveta/'
  1048. $imgloc = 'images/characters/pavlovsk/school/boy/lizaveta/selfies/'
  1049. $selfienpc = 'lizaveta'
  1050. loopmaxev = 0
  1051. loopmax = 0
  1052. loopmaxsveta = 0
  1053. loopmaxsex = 0
  1054. elseif ARGS[1] = 141:
  1055. '<center><h4><font color="maroon">Veronika pictures</font></h4></center>'
  1056. $photoloc = 'images/pc/pictures/veronika/'
  1057. $imgloc = 'images/characters/pavlovsk/school/boy/veronika/selfies/'
  1058. $selfienpc = 'veronika'
  1059. loopmaxev = 0
  1060. loopmax = 0
  1061. loopmaxsveta = 0
  1062. loopmaxsex = 0
  1063. elseif ARGS[1] = 142:
  1064. '<center><h4><font color="maroon">Zinaida pictures</font></h4></center>'
  1065. $photoloc = 'images/pc/pictures/zinaida/'
  1066. $imgloc = 'images/characters/pavlovsk/school/boy/zinaida/selfies/'
  1067. $selfienpc = 'zinaida'
  1068. loopmaxev = 0
  1069. loopmax = 0
  1070. loopmaxsveta = 0
  1071. loopmaxsex = 0
  1072. elseif ARGS[1] = 143:
  1073. '<center><h4><font color="maroon">Alyona pictures</font></h4></center>'
  1074. $photoloc = 'images/pc/pictures/alyona/'
  1075. $imgloc = 'images/characters/pavlovsk/school/boy/alyona/selfies/'
  1076. $selfienpc = 'alyona'
  1077. loopmaxev = 0
  1078. loopmax = 0
  1079. loopmaxsveta = 0
  1080. loopmaxsex = 0
  1081. elseif ARGS[1] = 144:
  1082. '<center><h4><font color="maroon">Anushka pictures</font></h4></center>'
  1083. $photoloc = 'images/pc/pictures/anushka/'
  1084. $imgloc = 'images/characters/pavlovsk/school/girl/anushka/selfies/'
  1085. $selfienpc = 'anushka'
  1086. loopmaxev = 6
  1087. loopmax = 22
  1088. loopmaxsveta = 2
  1089. loopmaxsex = 7
  1090. elseif ARGS[1] = 145:
  1091. '<center><h4><font color="maroon">Ekaterina pictures</font></h4></center>'
  1092. $photoloc = 'images/pc/pictures/ekaterina/'
  1093. $imgloc = 'images/characters/pavlovsk/school/boy/ekaterina/selfies/'
  1094. $selfienpc = 'ekaterina'
  1095. loopmaxev = 0
  1096. loopmax = 0
  1097. loopmaxsveta = 0
  1098. loopmaxsex = 0
  1099. elseif ARGS[1] = 146:
  1100. '<center><h4><font color="maroon">Marcus pictures</font></h4></center>'
  1101. $photoloc = 'images/pc/pictures/marcus/'
  1102. $imgloc = 'images/characters/pavlovsk/school/boy/marcus/selfies/'
  1103. $selfienpc = 'marcus'
  1104. loopmaxev = 0
  1105. loopmax = 0
  1106. loopmaxsveta = 0
  1107. loopmaxsex = 0
  1108. elseif ARGS[1] = 147:
  1109. '<center><h4><font color="maroon">Andrey pictures</font></h4></center>'
  1110. $photoloc = 'images/pc/pictures/andrey/'
  1111. $imgloc = 'images/characters/pavlovsk/school/boy/andrey/selfies/'
  1112. $selfienpc = 'andrey'
  1113. loopmaxev = 0
  1114. loopmax = 0
  1115. loopmaxsveta = 0
  1116. loopmaxsex = 0
  1117. elseif ARGS[1] = 148:
  1118. '<center><h4><font color="maroon">Mefodiy pictures</font></h4></center>'
  1119. $photoloc = 'images/pc/pictures/mefodiy/'
  1120. $imgloc = 'images/characters/pavlovsk/school/boy/mefodiy/selfies/'
  1121. $selfienpc = 'mefodiy'
  1122. loopmaxev = 0
  1123. loopmax = 0
  1124. loopmaxsveta = 0
  1125. loopmaxsex = 0
  1126. elseif ARGS[1] = 149:
  1127. '<center><h4><font color="maroon">Lazar pictures</font></h4></center>'
  1128. $photoloc = 'images/pc/pictures/lazar/'
  1129. $imgloc = 'images/characters/pavlovsk/school/boy/lazar/selfies/'
  1130. $selfienpc = 'lazar'
  1131. loopmaxev = 0
  1132. loopmax = 0
  1133. loopmaxsveta = 0
  1134. loopmaxsex = 0
  1135. elseif ARGS[1] = 150:
  1136. '<center><h4><font color="maroon">Erast pictures</font></h4></center>'
  1137. $photoloc = 'images/pc/pictures/erast/'
  1138. $imgloc = 'images/characters/pavlovsk/school/boy/erast/selfies/'
  1139. $selfienpc = 'erast'
  1140. loopmaxev = 0
  1141. loopmax = 0
  1142. loopmaxsveta = 0
  1143. loopmaxsex = 0
  1144. elseif ARGS[1] = 151:
  1145. '<center><h4><font color="maroon">Evgeny pictures</font></h4></center>'
  1146. $photoloc = 'images/pc/pictures/evgeny/'
  1147. $imgloc = 'images/characters/pavlovsk/school/boy/evgeny/selfies/'
  1148. $selfienpc = 'evgeny'
  1149. loopmaxev = 0
  1150. loopmax = 0
  1151. loopmaxsveta = 0
  1152. loopmaxsex = 0
  1153. elseif ARGS[1] = 152:
  1154. '<center><h4><font color="maroon">Feofan pictures</font></h4></center>'
  1155. $photoloc = 'images/pc/pictures/feofan/'
  1156. $imgloc = 'images/characters/pavlovsk/school/boy/feofan/selfies/'
  1157. $selfienpc = 'feofan'
  1158. loopmaxev = 0
  1159. loopmax = 0
  1160. loopmaxsveta = 0
  1161. loopmaxsex = 0
  1162. elseif ARGS[1] = 153:
  1163. '<center><h4><font color="maroon">Gerasim pictures</font></h4></center>'
  1164. $photoloc = 'images/pc/pictures/gerasim/'
  1165. $imgloc = 'images/characters/pavlovsk/school/boy/gerasim/selfies/'
  1166. $selfienpc = 'gerasim'
  1167. loopmaxev = 0
  1168. loopmax = 0
  1169. loopmaxsveta = 0
  1170. loopmaxsex = 0
  1171. elseif ARGS[1] = 154:
  1172. '<center><h4><font color="maroon">Radomir pictures</font></h4></center>'
  1173. $photoloc = 'images/pc/pictures/radomir/'
  1174. $imgloc = 'images/characters/pavlovsk/school/boy/radomir/selfies/'
  1175. $selfienpc = 'radomir'
  1176. loopmaxev = 0
  1177. loopmax = 0
  1178. loopmaxsveta = 0
  1179. loopmaxsex = 0
  1180. elseif ARGS[1] = 155:
  1181. '<center><h4><font color="maroon">Lavrenti pictures</font></h4></center>'
  1182. $photoloc = 'images/pc/pictures/lavrenti/'
  1183. $imgloc = 'images/characters/pavlovsk/school/boy/lavrenti/selfies/'
  1184. $selfienpc = 'lavrenti'
  1185. loopmaxev = 0
  1186. loopmax = 0
  1187. loopmaxsveta = 0
  1188. loopmaxsex = 0
  1189. elseif ARGS[1] = 156:
  1190. '<center><h4><font color="maroon">Arkadi pictures</font></h4></center>'
  1191. $photoloc = 'images/pc/pictures/arkadi/'
  1192. $imgloc = 'images/characters/pavlovsk/school/boy/arkadi/selfies/'
  1193. $selfienpc = 'arkadi'
  1194. loopmaxev = 0
  1195. loopmax = 0
  1196. loopmaxsveta = 0
  1197. loopmaxsex = 0
  1198. elseif ARGS[1] = 157:
  1199. '<center><h4><font color="maroon">Roman pictures</font></h4></center>'
  1200. $photoloc = 'images/pc/pictures/roman/'
  1201. $imgloc = 'images/characters/pavlovsk/school/boy/roman/selfies/'
  1202. $selfienpc = 'roman'
  1203. loopmaxev = 0
  1204. loopmax = 0
  1205. loopmaxsveta = 0
  1206. loopmaxsex = 0
  1207. elseif ARGS[1] = 158:
  1208. '<center><h4><font color="maroon">Valentin pictures</font></h4></center>'
  1209. $photoloc = 'images/pc/pictures/valentin/'
  1210. $imgloc = 'images/characters/pavlovsk/school/boy/valentin/selfies/'
  1211. $selfienpc = 'valentin'
  1212. loopmaxev = 0
  1213. loopmax = 0
  1214. loopmaxsveta = 0
  1215. loopmaxsex = 0
  1216. elseif ARGS[1] = 159:
  1217. '<center><h4><font color="maroon">Petia pictures</font></h4></center>'
  1218. $photoloc = 'images/pc/pictures/petia/'
  1219. $imgloc = 'images/characters/pavlovsk/school/boy/petia/selfies/'
  1220. $selfienpc = 'petia'
  1221. loopmaxev = 0
  1222. loopmax = 0
  1223. loopmaxsveta = 0
  1224. loopmaxsex = 0
  1225. elseif ARGS[1] = 165:
  1226. '<center><h4><font color="maroon">Vanya pictures</font></h4></center>'
  1227. $photoloc = 'images/pc/pictures/vanya/'
  1228. $imgloc = 'images/characters/pavlovsk/school/boy/vanya/selfies/'
  1229. $selfienpc = 'vanya'
  1230. loopmaxev = 0
  1231. loopmax = 0
  1232. loopmaxsveta = 0
  1233. loopmaxsex = 0
  1234. elseif ARGS[1] = 189:
  1235. '<center><h4><font color="maroon">Nikolai pictures</font></h4></center>'
  1236. $photoloc = 'images/pc/pictures/nikolai/'
  1237. $imgloc = 'images/characters/pavlovsk/school/boy/nikolai/selfies/'
  1238. $selfienpc = 'nikolai'
  1239. loopmaxev = 0
  1240. loopmax = 0
  1241. loopmaxsveta = 0
  1242. loopmaxsex = 0
  1243. else
  1244. !! New npcs with selfies should be included above
  1245. end
  1246. end
  1247. if $ARGS[0] = 'listretrieve2':
  1248. gs 'phone_selfies', 'get_npc_selfie_totals', numnpc
  1249. $temp_table = '<table>'
  1250. if loopmaxev > 0:
  1251. $temp_table += '<tr><th colspan=5>Pictures</th></tr>'
  1252. $temp_table += '<tr></tr><tr>'
  1253. temp_cnum = 0
  1254. lr2_pic_i = 1
  1255. :temp_loopev
  1256. dynamic '$selfie = <<$selfienpc>>photo[<<lr2_pic_i>>]'
  1257. if $selfie = 1:
  1258. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  1259. $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', $photoloc, lr2_pic_i) + '</td>'
  1260. temp_cnum += 1
  1261. end
  1262. lr2_pic_i += 1
  1263. if lr2_pic_i <= loopmax: jump 'temp_loopev'
  1264. if temp_cnum ! 4: $temp_table += '<td></td>'
  1265. $temp_table += '</tr><tr></tr>'
  1266. killvar 'temp_cnum'
  1267. killvar 'lr2_pic_i'
  1268. end
  1269. if loopmax > 0:
  1270. $temp_table += '<tr><th colspan=5>Regular selfies</th></tr>'
  1271. $temp_table += '<tr></tr><tr>'
  1272. temp_cnum = 0
  1273. lr2_regself_i = 1
  1274. :temp_loopselfies
  1275. dynamic '$selfie = <<$selfienpc>>[<<lr2_regself_i>>]'
  1276. if $selfie = 1:
  1277. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  1278. $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', $imgloc, lr2_regself_i) + '</td>'
  1279. temp_cnum += 1
  1280. end
  1281. lr2_regself_i += 1
  1282. if lr2_regself_i <= loopmax: jump 'temp_loopselfies'
  1283. if temp_cnum ! 4: $temp_table += '<td></td>'
  1284. $temp_table += '</tr><tr></tr>'
  1285. killvar 'temp_cnum'
  1286. killvar 'lr2_regself_i'
  1287. end
  1288. if loopmaxsveta > 0:
  1289. $temp_table += '<tr><th colspan=5>Selfies with me</th></tr>'
  1290. $temp_table += '<tr></tr><tr>'
  1291. temp_cnum = 0
  1292. lr2_swm_i = 1
  1293. :temp_loopselfiessveta
  1294. dynamic '$selfie = <<$selfienpc>>sveta[<<lr2_swm_i>>]'
  1295. if $selfie = 1:
  1296. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  1297. $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', '<<$imgloc>>sveta/', lr2_swm_i) + '</td>'
  1298. temp_cnum += 1
  1299. end
  1300. lr2_swm_i += 1
  1301. if lr2_swm_i <= loopmaxsveta: jump 'temp_loopselfiessveta'
  1302. if temp_cnum ! 4: $temp_table += '<td></td>'
  1303. $temp_table += '</tr><tr></tr>'
  1304. killvar 'temp_cnum'
  1305. killvar 'lr2_swm_i'
  1306. end
  1307. if loopmaxsex > 0:
  1308. $temp_table += '<tr><th colspan=5>Sex selfies</th></tr>'
  1309. $temp_table += '<tr></tr><tr>'
  1310. temp_cnum = 0
  1311. lr2_sex_i = 1
  1312. :temp_loopselfiessex
  1313. dynamic '$selfie = <<$selfienpc>>sex[<<lr2_sex_i>>]'
  1314. if $selfie = 1:
  1315. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  1316. $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', '<<$imgloc>>sex/', lr2_sex_i) + '</td>'
  1317. temp_cnum += 1
  1318. end
  1319. lr2_sex_i += 1
  1320. if lr2_sex_i <= loopmaxsex: jump 'temp_loopselfiessex'
  1321. if temp_cnum ! 4: $temp_table += '<td></td>'
  1322. $temp_table += '</tr><tr></tr>'
  1323. killvar 'temp_cnum'
  1324. killvar 'lr2_sex_i'
  1325. end
  1326. $temp_table += '</table>'
  1327. *p $temp_table
  1328. act 'Back': gt 'phone_selfies', 'selfies'
  1329. gs 'phone_selfies', 'act_exit'
  1330. end
  1331. --- phone_selfies ---------------------------------