1
0

phone_selfies.qsrc 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745
  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. !!======================================================!!
  181. !! !!
  182. !! TAKE A SELFIE !!
  183. !! !!
  184. !!======================================================!!
  185. if $ARGS[0] = 'open_camera':
  186. gs 'phone_selfies', 'Phone_selfie_totals'
  187. if $locclass = 'bedr':
  188. $phone_loc = 'bedroom'
  189. elseif $locclass = 'kitr':
  190. $phone_loc = 'kitchen'
  191. elseif $locclass = 'livingr':
  192. $phone_loc = 'livingroom'
  193. elseif $locclass = 'changingroom':
  194. $phone_loc = 'changingroom'
  195. elseif $locclass = 'city_park':
  196. $phone_loc = 'park'
  197. elseif $locclass = 'locker':
  198. $phone_loc = 'locker'
  199. elseif $locclass = 'beach':
  200. $phone_loc = 'beach'
  201. elseif $locclass = 'classroom':
  202. $phone_loc = 'classroom'
  203. elseif $locclass = 'school_bathroom':
  204. $phone_loc = 'school_bathroom'
  205. elseif $locclass = 'restroom':
  206. $phone_loc = 'restroom'
  207. elseif $location_type = 'bathroom':
  208. $phone_loc = 'bathroom'
  209. else
  210. $phone_loc = ''
  211. end
  212. $telefon['body'] = '<font size=6>Camera</font><br>
  213. <img src="images/system/phone/theme/<<$phonetheme_name[pcs_phonetheme]>>/icon_camera.png" height="80" width="80"><br><br>'
  214. !! Take a selfie depending on which clothes you are wearing
  215. $telefon['body'] += '<a href="exec:gs ''exp_gain'', ''photoskl'', 1 & gs ''phone_selfies'', ''camera_take_selfie'', ''<<$phone_loc>>'' "><b>Take a selfie</b></a><br>'
  216. !! Flashing selfie
  217. if $clothingworntype ! 'nude' and $phone_loc <> '':
  218. if Enable_Android = 1:
  219. locIndex = arrpos('$selfieLoc', $phone_loc,1)
  220. else
  221. locIndex = arrpos(1, '$selfieLoc', $phone_loc)
  222. end
  223. if (pcs_inhib >= 35 or exhibitionist_lvl > 0 or $phone_loc = 'bedroom') and selfieTitflash[locIndex] > 0:
  224. $telefon['body'] += '<a href="exec:gs ''exp_gain'', ''photoskl'', 1 & gs ''phone_selfies'', ''camera_take_selfie'', ''<<$phone_loc>>'', ''tits'' "><b>Flash your tits for a selfie</b></a><br>'
  225. end
  226. if (exhibitionist_lvl > 0 or $phone_loc = 'bedroom') and selfieAssflash[locIndex] > 0:
  227. $telefon['body'] += '<a href="exec:gs ''exp_gain'', ''photoskl'', 1 & gs ''phone_selfies'', ''camera_take_selfie'', ''<<$phone_loc>>'', ''ass'' "><b>Flash your ass for a selfie</b></a><br>'
  228. end
  229. if (exhibitionist_lvl > 1 or $phone_loc = 'bedroom') and selfiePussyflash[locIndex] > 0:
  230. $telefon['body'] += '<a href="exec:gs ''exp_gain'', ''photoskl'', 1 & gs ''phone_selfies'', ''camera_take_selfie'', ''<<$phone_loc>>'', ''pussy'' "><b>Flash your pussy for a selfie</b></a><br>'
  231. end
  232. killvar 'locIndex'
  233. end
  234. end
  235. !!picking the selfie image when taking photos, this sets the location variable
  236. !{
  237. $ARGS[1] is phone location if left blank it is a generic selfie (one of the locations in $selfieLoc[])
  238. $ARGS[2] is for flashing when clothed if left blank then it is not flashing
  239. }
  240. if $ARGS[0] = 'camera_take_selfie':
  241. minut += rand(5,7)
  242. if $ARGS[1] ! '':
  243. gs 'phone_selfies', 'camera_selfie_image', $ARGS[1], $ARGS[2]
  244. else
  245. phone_rand = RAND(1,selfieClotot[0])
  246. dynamic '<<$selfieLoc[0]>>_closelfie[<<phone_rand>>] = 1'
  247. gs 'stat'
  248. if usePopUps = 1:
  249. msg '<img src="images/pc/activities/phone/selfies/<<$selfieLoc[0]>>/clothed/<<$selfieFilePrefix[0]>><<phone_rand>>.jpg">'
  250. else
  251. view 'images/pc/activities/phone/selfies/<<$selfieLoc[0]>>/clothed/<<$selfieFilePrefix[0]>><<phone_rand>>.jpg'
  252. end
  253. killvar 'phone_rand'
  254. end
  255. !if cumsumbod-cumsumvag-cumsumass > 0: phone_rand = RAND (m,n) - for SELF in the semen
  256. !if photo_event_pic = x: phone_rand = RAND (x,y) - for photos during the events (by heart)
  257. !msg '<img src="images/system/phone/phone_selfie<<phone_rand>>.jpg">'
  258. end
  259. !!taking selfies, this chooses a random image for the location for clothed, underwear and nude
  260. !{
  261. $ARGS[1] is phone location (one of the locations in $selfieLoc[])
  262. $ARGS[2] is for flashing when clothed if left blank then it is not flashing
  263. }
  264. if $ARGS[0] = 'camera_selfie_image':
  265. if $ARGS[2] = '':
  266. if PCloswimwear = 1:
  267. !!changing to and unmixed variable so the rng will work
  268. if Enable_Android = 1:
  269. temp_swim = selfieSwimtot[arrpos('$selfieLoc', $ARGS[1], 1)]
  270. else
  271. temp_swim = selfieSwimtot[arrpos(1, '$selfieLoc', $ARGS[1])]
  272. end
  273. if temp_swim > 0:
  274. phone_rand = rand(1, temp_swim)
  275. !!Setting the image owned flag to 1
  276. dynamic '<<$ARGS[1]>>_swim[<<phone_rand>>] = 1'
  277. gs 'stat'
  278. if usePopUps = 1:
  279. msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/bikini/<<phone_rand>>.jpg">'
  280. else
  281. view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/bikini/<<phone_rand>>.jpg'
  282. end
  283. end
  284. killvar 'temp_swim'
  285. elseif $clothingworntype ! 'nude':
  286. !!changing to and unmixed variable so the rng will work
  287. if Enable_Android = 1:
  288. temp_clotot = selfieClotot[arrpos('$selfieLoc', $ARGS[1], 1)]
  289. else
  290. temp_clotot = selfieClotot[arrpos(1, '$selfieLoc', $ARGS[1])]
  291. end
  292. if temp_clotot > 0:
  293. phone_rand = rand(1, temp_clotot)
  294. !!Setting the image owned flag to 1
  295. dynamic '<<$ARGS[1]>>_closelfie[<<phone_rand>>] = 1'
  296. gs 'stat'
  297. if usePopUps = 1:
  298. msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/clothed/<<phone_rand>>.jpg">'
  299. else
  300. view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/clothed/<<phone_rand>>.jpg'
  301. end
  302. end
  303. killvar 'temp_clotot'
  304. elseif $pantyworntype ! 'none':
  305. if Enable_Android = 1:
  306. temp_undtot = selfieUndtot[arrpos('$selfieLoc', $ARGS[1], 1)]
  307. else
  308. temp_undtot = selfieUndtot[arrpos(1, '$selfieLoc', $ARGS[1])]
  309. end
  310. if temp_undtot > 0:
  311. phone_rand = rand(1, temp_undtot)
  312. dynamic '<<$ARGS[1]>>_undselfie[<<phone_rand>>] = 1'
  313. gs 'stat'
  314. if usePopUps = 1:
  315. msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/underwear/<<phone_rand>>.jpg">'
  316. else
  317. view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/underwear/<<phone_rand>>.jpg'
  318. end
  319. end
  320. killvar 'temp_undtot'
  321. else
  322. if Enable_Android = 1:
  323. temp_nudtot = selfieNudtot[arrpos('$selfieLoc', $ARGS[1], 1)]
  324. else
  325. temp_nudtot = selfieNudtot[arrpos(1, '$selfieLoc', $ARGS[1])]
  326. end
  327. if temp_nudtot > 0:
  328. phone_rand = rand(1, temp_nudtot)
  329. dynamic '<<$ARGS[1]>>_nudselfie[<<phone_rand>>] = 1'
  330. gs 'stat'
  331. if usePopUps = 1:
  332. msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/nude/<<phone_rand>>.jpg">'
  333. else
  334. view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/nude/<<phone_rand>>.jpg'
  335. end
  336. end
  337. killvar 'temp_nudtot'
  338. end
  339. else
  340. if $ARGS[2] = 'tits':
  341. if Enable_Android = 1:
  342. temp_titflash = selfieTitflash[arrpos('$selfieLoc', $ARGS[1], 1)]
  343. else
  344. temp_titflash = selfieTitflash[arrpos(1, '$selfieLoc', $ARGS[1])]
  345. end
  346. if temp_titflash > 0:
  347. phone_rand = rand(1, temp_titflash)
  348. dynamic '<<$ARGS[1]>>_titflash[<<phone_rand>>] = 1'
  349. gs 'stat'
  350. if usePopUps = 1:
  351. msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/titflash/<<phone_rand>>.jpg">'
  352. else
  353. view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/titflash/<<phone_rand>>.jpg'
  354. end
  355. end
  356. killvar 'temp_titflash'
  357. elseif $ARGS[2] = 'ass':
  358. if Enable_Android = 1:
  359. temp_assflash = selfieAssflash[arrpos('$selfieLoc', $ARGS[1], 1)]
  360. else
  361. temp_assflash = selfieAssflash[arrpos(1, '$selfieLoc', $ARGS[1])]
  362. end
  363. if temp_assflash > 0:
  364. phone_rand = rand(1, temp_assflash)
  365. dynamic '<<$ARGS[1]>>_assflash[<<phone_rand>>] = 1'
  366. gs 'stat'
  367. if usePopUps = 1:
  368. msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/assflash/<<phone_rand>>.jpg">'
  369. else
  370. view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/assflash/<<phone_rand>>.jpg'
  371. end
  372. end
  373. killvar 'temp_assflash'
  374. elseif $ARGS[2] = 'pussy':
  375. if Enable_Android = 1:
  376. temp_pussyflash = selfiePussyflash[arrpos('$selfieLoc', $ARGS[1], 1)]
  377. else
  378. temp_pussyflash = selfiePussyflash[arrpos(1, '$selfieLoc', $ARGS[1])]
  379. end
  380. if temp_pussyflash > 0:
  381. phone_rand = rand(1, temp_pussyflash)
  382. dynamic '<<$ARGS[1]>>_pussyflash[<<phone_rand>>] = 1'
  383. gs 'stat'
  384. if usePopUps = 1:
  385. msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/pussyflash/<<phone_rand>>.jpg">'
  386. else
  387. view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/pussyflash/<<phone_rand>>.jpg'
  388. end
  389. end
  390. killvar 'temp_pussyflash'
  391. end
  392. end
  393. killvar 'phone_rand'
  394. end
  395. !!taking selfies in the shower
  396. if $ARGS[0] = 'camera_selfie_image_shower':
  397. minut += rand(5,7)
  398. if Enable_Android = 1:
  399. temp_showertot = selfieShowertot[arrpos('$selfieLoc', 'bathroom', 1)]
  400. else
  401. temp_showertot = selfieShowertot[arrpos(1, '$selfieLoc', 'bathroom')]
  402. end
  403. phone_rand = rand(1, temp_showertot)
  404. !!Setting the image owned flag to 1
  405. bathroom_showerselfie[phone_rand] = 1
  406. gs 'stat'
  407. if usePopUps = 1:
  408. msg '<img src="images/pc/activities/phone/selfies/bathroom/shower/<<phone_rand>>.jpg">'
  409. else
  410. view 'images/pc/activities/phone/selfies/bathroom/shower/<<phone_rand>>.jpg'
  411. end
  412. end
  413. !!taking selfies in the bath
  414. if $ARGS[0] = 'camera_selfie_image_bathing':
  415. minut += rand(5,7)
  416. if Enable_Android = 1:
  417. temp_bathtot = selfieBathtot[arrpos('$selfieLoc', 'bathroom', 1)]
  418. else
  419. temp_bathtot = selfieBathtot[arrpos(1, '$selfieLoc', 'bathroom')]
  420. end
  421. phone_rand = rand(1, temp_bathtot)
  422. bathroom_bathselfie[phone_rand] = 1
  423. gs 'stat'
  424. if usePopUps = 1:
  425. msg '<img src="images/pc/activities/phone/selfies/bathroom/bath/<<phone_rand>>.jpg">'
  426. else
  427. view 'images/pc/activities/phone/selfies/bathroom/bath/<<phone_rand>>.jpg'
  428. end
  429. end
  430. !!======================================================!!
  431. !! !!
  432. !! SEND SELFIES !!
  433. !! !!
  434. !!======================================================!!
  435. if $ARGS[0] = 'send_selfie_handler':
  436. $temp_ssh_ret_loc = $ARGS[1]
  437. $temp_ssh_ret_arg = $ARGS[2]
  438. temp_suppress_other_selfies = 1
  439. gt 'phone_selfies', 'view_selfies'
  440. end
  441. !!======================================================!!
  442. !! !!
  443. !! VIEW SELFIES !!
  444. !! !!
  445. !!======================================================!!
  446. if $ARGS[0] = 'view_selfies':
  447. menu_off = 0
  448. *clr & cla
  449. gs 'phone_selfies', 'Phone_selfie_totals'
  450. *p func('phone_selfies', 'get_selfie_layout')
  451. gs 'phone_selfies', 'act_exit'
  452. end
  453. if $ARGS[0] = 'act_exit':
  454. act 'Stop watching selfies':
  455. if temp_suppress_other_selfies = 0:
  456. gt $menu_loc, $menu_arg
  457. else
  458. killvar 'temp_suppress_other_selfies'
  459. gt $temp_ssh_ret_loc, $temp_ssh_ret_arg
  460. end
  461. end
  462. end
  463. if $ARGS[0] = 'get_selfie_layout':
  464. $result = '<center><h4><font color="maroon">Photo library</font></h4></center>'
  465. $result += '<br>'
  466. $result += '<table><tr><th>Selfies</th></tr>'
  467. temp_locationCnt = 0
  468. :LocationLoop
  469. $result += '<tr><td><a href="exec: gt ''phone_selfies'', ''showlocation'', <<temp_locationCnt>>"><<$selfieLocDesc[temp_locationCnt]>> selfies</a></td></tr>'
  470. temp_locationCnt += 1
  471. if temp_locationCnt < arrsize('$selfieLoc'): jump 'LocationLoop'
  472. if temp_suppress_other_selfies = 0:
  473. $result += '<tr></tr><tr><th>Family and friends</th></tr>'
  474. $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''family''">Family</a></td></tr>'
  475. $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''school''">School friends</a></td></tr>'
  476. $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''teacher''">Teachers</a></td></tr>'
  477. $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''pavlovsk''">Pavlovsk friends</a></td></tr>'
  478. $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''city''">City friends</a></td></tr>'
  479. end
  480. killvar 'temp_locationCnt'
  481. $result += '</table>'
  482. end
  483. ! ARGS[1] is the index of the location in $selfieLoc[]
  484. if $ARGS[0] = 'showlocation':
  485. '<center><h4><font color="maroon"><<$selfieLocDesc[ARGS[1]]>> selfies</font></h4></center>'
  486. *nl
  487. *p func('phone_selfies', 'listretrieve', ARGS[1], $selfieLoc[ARGS[1]])
  488. act 'Back': gt 'phone_selfies', 'view_selfies'
  489. gs 'phone_selfies', 'act_exit'
  490. end
  491. ! ARGS[1] is the index of the location in $selfieLoc[]
  492. ! $ARGS[2] is the selfie location (park, home, etc)
  493. if $ARGS[0] = 'listretrieve':
  494. $result = '<center><table width=80%>'
  495. $result += func('phone_selfies', 'retrieve_clothed_selfies', ARGS[1], $ARGS[2])
  496. $result += func('phone_selfies', 'retrieve_swim_selfies', ARGS[1], $ARGS[2])
  497. $result += func('phone_selfies', 'retrieve_underwear_selfies', ARGS[1], $ARGS[2])
  498. $result += func('phone_selfies', 'retrieve_nude_selfies', ARGS[1], $ARGS[2])
  499. $result += func('phone_selfies', 'retrieve_bath_selfies', ARGS[1], $ARGS[2])
  500. $result += func('phone_selfies', 'retrieve_shower_selfies', ARGS[1], $ARGS[2])
  501. $result += func('phone_selfies', 'retrieve_titflash_selfies', ARGS[1], $ARGS[2])
  502. $result += func('phone_selfies', 'retrieve_assflash_selfies', ARGS[1], $ARGS[2])
  503. $result += func('phone_selfies', 'retrieve_pussyflash_selfies', ARGS[1], $ARGS[2])
  504. $result += '</table></center>'
  505. end
  506. ! ARGS[1] is the index of the location in $selfieLoc[]
  507. ! $ARGS[2] is the selfie location
  508. if $ARGS[0] = 'retrieve_clothed_selfies':
  509. !!Loop for clothed selfies, dynamics set variables as mixing them in loop instructions is bad
  510. if selfieClotot[ARGS[1]] > 0:
  511. $result += '<tr><th colspan=5>Clothed selfies</th></tr>'
  512. $result += '<tr></tr><tr>'
  513. temp_cnum = 0
  514. temp_clocnt = 1
  515. :temp_loop
  516. !!setting value to unmixed variable so it can be checked in the if below
  517. dynamic 'phone_locval = <<$ARGS[2]>>_closelfie[<<temp_clocnt>>]'
  518. if phone_locval = 1:
  519. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  520. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'clothed', ARGS[1], temp_clocnt) + '</td>'
  521. temp_cnum += 1
  522. end
  523. temp_clocnt += 1
  524. if temp_clocnt <= selfieClotot[ARGS[1]]: jump 'temp_loop'
  525. if temp_cnum ! 4: $result += '<td></td>'
  526. $result += '</tr><tr></tr>'
  527. killvar 'temp_cnum'
  528. killvar 'temp_clocnt'
  529. end
  530. elseif $ARGS[0] = 'retrieve_swim_selfies':
  531. if selfieSwimtot[ARGS[1]] > 0:
  532. $result += '<tr><th colspan=5>Swimwear selfies</th></tr>'
  533. $result += '<tr></tr><tr>'
  534. temp_cnum = 0
  535. temp_swicnt = 1
  536. :temp_loop1
  537. !!setting value to unmixed variable so it can be checked in the if below
  538. dynamic 'phone_locval = <<$ARGS[2]>>_swim[<<temp_swicnt>>]'
  539. if phone_locval = 1:
  540. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  541. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'bikini', ARGS[1], temp_swicnt) + '</td>'
  542. temp_cnum += 1
  543. end
  544. temp_swicnt += 1
  545. if temp_swicnt <= selfieSwimtot[ARGS[1]]: jump 'temp_loop1'
  546. if temp_cnum ! 4: $result += '<td></td>'
  547. $result += '</tr><tr></tr>'
  548. killvar 'temp_cnum'
  549. killvar 'temp_swicnt'
  550. end
  551. elseif $ARGS[0] = 'retrieve_underwear_selfies':
  552. if selfieUndtot[ARGS[1]] > 0:
  553. $result += '<tr><th colspan=5>Underwear selfies</th></tr>'
  554. $result += '<tr></tr><tr>'
  555. temp_cnum = 0
  556. temp_undcnt = 1
  557. :temp_loop2
  558. dynamic 'phone_locval = <<$ARGS[2]>>_undselfie[<<temp_undcnt>>]'
  559. if phone_locval = 1:
  560. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  561. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'underwear', ARGS[1], temp_undcnt) + '</td>'
  562. temp_cnum += 1
  563. end
  564. temp_undcnt += 1
  565. if temp_undcnt <= selfieUndtot[ARGS[1]]: jump 'temp_loop2'
  566. if temp_cnum ! 4: $result += '<td></td>'
  567. $result += '</tr><tr></tr>'
  568. killvar 'temp_cnum'
  569. killvar 'temp_undcnt'
  570. end
  571. elseif $ARGS[0] = 'retrieve_nude_selfies':
  572. if selfieNudtot[ARGS[1]] > 0:
  573. $result += '<tr><th colspan=5>Nude selfies</th></tr>'
  574. $result += '<tr></tr><tr>'
  575. temp_cnum = 0
  576. temp_nudcnt = 1
  577. :temp_loop3
  578. dynamic 'phone_locval = <<$ARGS[2]>>_nudselfie[<<temp_nudcnt>>]'
  579. if phone_locval = 1:
  580. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  581. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'nude', ARGS[1], temp_nudcnt) + '</td>'
  582. temp_cnum += 1
  583. end
  584. temp_nudcnt += 1
  585. if temp_nudcnt <= selfieNudtot[ARGS[1]]: jump 'temp_loop3'
  586. if temp_cnum ! 4: $result += '<td></td>'
  587. $result += '</tr><tr></tr>'
  588. killvar 'temp_cnum'
  589. killvar 'temp_nudcnt'
  590. end
  591. elseif $ARGS[0] = 'retrieve_bath_selfies':
  592. !!loop for bath selfies
  593. if selfieBathtot[ARGS[1]] > 0:
  594. $result += '<tr><th colspan=5>Bath selfies</th></tr>'
  595. $result += '<tr></tr><tr>'
  596. temp_cnum = 0
  597. temp_bathcnt = 1
  598. :temp_loop4
  599. dynamic 'phone_locval = <<$ARGS[2]>>_bathselfie[<<temp_bathcnt>>]'
  600. if phone_locval = 1:
  601. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  602. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'bath', ARGS[1], temp_bathcnt) + '</td>'
  603. temp_cnum += 1
  604. end
  605. temp_bathcnt += 1
  606. if temp_bathcnt <= selfieBathtot[ARGS[1]]: jump 'temp_loop4'
  607. if temp_cnum ! 4: $result += '<td></td>'
  608. $result += '</tr><tr></tr>'
  609. killvar 'temp_cnum'
  610. killvar 'temp_bathcnt'
  611. end
  612. elseif $ARGS[0] = 'retrieve_shower_selfies':
  613. !!loop for shower selfies
  614. if selfieShowertot[ARGS[1]] > 0:
  615. $result += '<tr><th colspan=5>Shower selfies</th></tr>'
  616. $result += '<tr></tr><tr>'
  617. temp_cnum = 0
  618. temp_showercnt = 1
  619. :temp_loop5
  620. dynamic 'phone_locval = <<$ARGS[2]>>_showerselfie[<<temp_showercnt>>]'
  621. if phone_locval = 1:
  622. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  623. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'shower', ARGS[1], temp_showercnt) + '</td>'
  624. temp_cnum += 1
  625. end
  626. temp_showercnt += 1
  627. if temp_showercnt <= selfieShowertot[ARGS[1]]: jump 'temp_loop5'
  628. if temp_cnum ! 4: $result += '<td></td>'
  629. $result += '</tr><tr></tr>'
  630. killvar 'temp_cnum'
  631. killvar 'temp_showercnt'
  632. end
  633. elseif $ARGS[0] = 'retrieve_titflash_selfies':
  634. !!loop for flashing tits selfies
  635. if selfieTitflash[ARGS[1]] > 0:
  636. $result += '<tr><th colspan=5>Flashing tits selfies</th></tr>'
  637. $result += '<tr></tr><tr>'
  638. temp_cnum = 0
  639. temp_flashtitscnt = 1
  640. :temp_loop6
  641. dynamic 'phone_locval = <<$ARGS[2]>>_titflash[<<temp_flashtitscnt>>]'
  642. if phone_locval = 1:
  643. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  644. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'titflash', ARGS[1], temp_flashtitscnt) + '</td>'
  645. temp_cnum += 1
  646. end
  647. temp_flashtitscnt += 1
  648. if temp_flashtitscnt <= selfieTitflash[ARGS[1]]: jump 'temp_loop6'
  649. if temp_cnum ! 4: $result += '<td></td>'
  650. $result += '</tr><tr></tr>'
  651. killvar 'temp_cnum'
  652. killvar 'temp_flashtitscnt'
  653. end
  654. elseif $ARGS[0] = 'retrieve_assflash_selfies':
  655. !!loop for flashing ass selfies
  656. if selfieAssflash[ARGS[1]] > 0:
  657. $result += '<tr><th colspan=5>Flashing ass selfies</th></tr>'
  658. $result += '<tr></tr><tr>'
  659. temp_cnum = 0
  660. temp_flashasscnt = 1
  661. :temp_loop7
  662. dynamic 'phone_locval = <<$ARGS[2]>>_assflash[<<temp_flashasscnt>>]'
  663. if phone_locval = 1:
  664. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  665. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'assflash', ARGS[1], temp_flashasscnt) + '</td>'
  666. temp_cnum += 1
  667. end
  668. temp_flashasscnt += 1
  669. if temp_flashasscnt <= selfieAssflash[ARGS[1]]: jump 'temp_loop7'
  670. if temp_cnum ! 4: $result += '<td></td>'
  671. $result += '</tr><tr></tr>'
  672. killvar 'temp_cnum'
  673. killvar 'temp_flashasscnt'
  674. end
  675. elseif $ARGS[0] = 'retrieve_pussyflash_selfies':
  676. !!loop for flashing pussy selfies
  677. if selfiePussyflash[ARGS[1]] > 0:
  678. $result += '<tr><th colspan=5>Flashing pussy selfies</th></tr>'
  679. $result += '<tr></tr><tr>'
  680. temp_cnum = 0
  681. temp_flashpussycnt = 1
  682. :temp_loop8
  683. dynamic 'phone_locval = <<$ARGS[2]>>_pussyflash[<<temp_flashpussycnt>>]'
  684. if phone_locval = 1:
  685. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  686. $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'pussyflash', ARGS[1], temp_flashpussycnt) + '</td>'
  687. temp_cnum += 1
  688. end
  689. temp_flashpussycnt += 1
  690. if temp_flashpussycnt <= selfiePussyflash[ARGS[1]]: jump 'temp_loop8'
  691. if temp_cnum ! 4: $result += '<td></td>'
  692. $result += '</tr><tr></tr>'
  693. killvar 'temp_cnum'
  694. killvar 'temp_flashpussycnt'
  695. end
  696. end
  697. !!======================================================!!
  698. !! !!
  699. !! NPC and other PICS !!
  700. !! !!
  701. !!======================================================!!
  702. if $ARGS[0] = 'family':
  703. '<center><h4><font color="maroon">Family members</font></h4></center>'
  704. $textgrup = ''
  705. count1 = 0
  706. i = 1
  707. '<center><table cellspacing="3" width=80%>'
  708. :familygruploop
  709. if npc_selfieon['A<<i>>'] = 1 and npc_grupTipe['A<<i>>'] = 7:
  710. count1 += 1
  711. $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>'
  712. if count1 = 6:
  713. $textgrup +='</tr><tr>'
  714. count1 = 0
  715. end
  716. end
  717. i += 1
  718. if i <= aarraynumber: jump 'familygruploop'
  719. '<<$textgrup>>'
  720. '</table></center>'
  721. act 'Back': gt 'phone_selfies', 'view_selfies'
  722. gs 'phone_selfies', 'act_exit'
  723. end
  724. if $ARGS[0] = 'school':
  725. '<center><h4><font color="maroon">School friends</font></h4></center>'
  726. $textgrup = ''
  727. count1 = 0
  728. i = 1
  729. '<center><table cellspacing="3" width=80%>'
  730. :schoolgruploop
  731. 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):
  732. count1 += 1
  733. $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>'
  734. if count1 = 6:
  735. $textgrup +='</tr><tr>'
  736. count1 = 0
  737. end
  738. end
  739. i += 1
  740. if i <= aarraynumber: jump 'schoolgruploop'
  741. '<<$textgrup>>'
  742. '</table></center>'
  743. act 'Back': gt 'phone_selfies', 'view_selfies'
  744. gs 'phone_selfies', 'act_exit'
  745. end
  746. if $ARGS[0] = 'teacher':
  747. '<center><h4><font color="maroon">Teachers</font></h4></center>'
  748. $textgrup = ''
  749. count1 = 0
  750. i = 1
  751. '<center><table cellspacing="3" width=80%>'
  752. :teachergruploop
  753. if npc_selfieon['A<<i>>'] = 1 and npc_grupTipe['A<<i>>'] = 6:
  754. count1 += 1
  755. $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>'
  756. if count1 = 6:
  757. $textgrup +='</tr><tr>'
  758. count1 = 0
  759. end
  760. end
  761. i += 1
  762. if i <= aarraynumber: jump 'teachergruploop'
  763. '<<$textgrup>>'
  764. '</table></center>'
  765. act 'Back': gt 'phone_selfies', 'view_selfies'
  766. gs 'phone_selfies', 'act_exit'
  767. end
  768. if $ARGS[0] = 'pavlovsk':
  769. '<center><h4><font color="maroon">Pavlovsk friends</font></h4></center>'
  770. $textgrup = ''
  771. count1 = 0
  772. i = 1
  773. '<center><table cellspacing="3" width=80%>'
  774. :pavgruploop
  775. if npc_grupTipe['A<<i>>'] = 8 and npc_selfieon['A<<i>>'] = 1:
  776. count1 += 1
  777. $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>'
  778. if count1 = 6:
  779. $textgrup +='</tr><tr>'
  780. count1 = 0
  781. end
  782. end
  783. i += 1
  784. if i <= aarraynumber: jump 'pavgruploop'
  785. '<<$textgrup>>'
  786. '</table></center>'
  787. act 'Back': gt 'phone_selfies', 'view_selfies'
  788. gs 'phone_selfies', 'act_exit'
  789. end
  790. if $ARGS[0] = 'city':
  791. '<center><h4><font color="maroon">City friends</font></h4></center>'
  792. act 'Back': gt 'phone_selfies', 'view_selfies'
  793. gs 'phone_selfies', 'act_exit'
  794. end
  795. !! Sets up a list of selfies taken by category
  796. !! loops through the arrays of selfie flags (1 means that se;lfie has been taken by the player)
  797. !! adds the image path for each taken selfie to the relevant array
  798. !! So to check if any nude selfies are on the phone we can do if arrsize('$selfieTakenNud') > 0:
  799. !! then we can get the image paths for the elements of that array to get the pictures taken
  800. !! $selfieTakenClo[]
  801. !! $selfieTakenUnd[]
  802. !! $selfieTakenNud[]
  803. !! $selfieTakenTitflash[]
  804. !! $selfieTakenAssflash[]
  805. !! $selfieTakenPussyflash[]
  806. !! $selfieTakenBath[]
  807. !! $selfieTakenShower[]
  808. !! $selfieTakenSwim[]
  809. if $ARGS[0] = 'PopulateSelfiesList':
  810. killvar '$selfieTakenClo'
  811. killvar '$selfieTakenUnd'
  812. killvar '$selfieTakenNud'
  813. killvar '$selfieTakenTitflash'
  814. killvar '$selfieTakenAssflash'
  815. killvar '$selfieTakenPussyflash'
  816. killvar '$selfieTakenBath'
  817. killvar '$selfieTakenShower'
  818. killvar '$selfieTakenSwim'
  819. temp_locationCnt = 1
  820. :LocationTakenLoop
  821. CloMaxSize = selfieClotot[temp_locationCnt]
  822. if CloMaxSize > 0:
  823. gs 'phone_selfies', 'populateClothesType', 'closelfie', '$selfieTakenClo', 'clothed', CloMaxSize
  824. end
  825. CloMaxSize = selfieSwimtot[temp_locationCnt]
  826. if CloMaxSize > 0:
  827. gs 'phone_selfies', 'populateClothesType', 'swim', '$selfieTakenSwim', 'bikini', CloMaxSize
  828. end
  829. CloMaxSize = selfieUndtot[temp_locationCnt]
  830. if CloMaxSize > 0:
  831. gs 'phone_selfies', 'populateClothesType', 'undselfie', '$selfieTakenUnd', 'underwear', CloMaxSize
  832. end
  833. CloMaxSize = selfieNudtot[temp_locationCnt]
  834. if CloMaxSize > 0:
  835. gs 'phone_selfies', 'populateClothesType', 'nudselfie', '$selfieTakenNud', 'nude', CloMaxSize
  836. end
  837. CloMaxSize = selfieBathtot[temp_locationCnt]
  838. if CloMaxSize > 0:
  839. gs 'phone_selfies', 'populateClothesType', 'bathselfie', '$selfieTakenBath', 'bath', CloMaxSize
  840. end
  841. CloMaxSize = selfieShowertot[temp_locationCnt]
  842. if CloMaxSize > 0:
  843. gs 'phone_selfies', 'populateClothesType', 'showerselfie', '$selfieTakenShower', 'shower', CloMaxSize
  844. end
  845. CloMaxSize = selfieTitflash[temp_locationCnt]
  846. if CloMaxSize > 0:
  847. gs 'phone_selfies', 'populateClothesType', 'titflash', '$selfieTakenTitflash', 'titflash', CloMaxSize
  848. end
  849. CloMaxSize = selfieAssflash[temp_locationCnt]
  850. if CloMaxSize > 0:
  851. gs 'phone_selfies', 'populateClothesType', 'assflash', '$selfieTakenAssflash', 'assflash', CloMaxSize
  852. end
  853. CloMaxSize = selfiePussyflash[temp_locationCnt]
  854. if CloMaxSize > 0:
  855. gs 'phone_selfies', 'populateClothesType', 'pussyflash', '$selfieTakenPussyflash', 'pussyflash', CloMaxSize
  856. end
  857. temp_locationCnt += 1
  858. if temp_locationCnt < arrsize('$selfieLoc'): jump 'LocationTakenLoop'
  859. end
  860. if $ARGS[0] = 'populateClothesType':
  861. $CloTypePrefix = $ARGS[1]
  862. $CloArraySize = 'arrsize(''<<$ARGS[2]>>'')'
  863. $CloFolder = $ARGS[3]
  864. $CloVar = '<<$ARGS[2]>>[tmpIndex]'
  865. CloMaxSize = ARGS[4]
  866. temp_clocnt = 0
  867. :tempCloTakenLoop
  868. dynamic 'phone_locval = <<$selfieLoc[temp_locationCnt]>>_<<$CloTypePrefix>>[<<temp_clocnt>>]'
  869. if phone_locval = 1:
  870. dynamic 'tmpIndex = <<$CloArraySize>>'
  871. dynamic "<<$CloVar>> = 'images/pc/activities/phone/selfies/<<$selfieLoc[temp_locationCnt]>>/<<$CloFolder>>/<<$selfieFilePrefix[temp_locationCnt]>><<temp_clocnt>>.jpg'"
  872. end
  873. temp_clocnt += 1
  874. if temp_clocnt <= CloMaxSize: jump 'tempCloTakenLoop'
  875. end
  876. if $ARGS[0] = 'get_npc_selfie_totals':
  877. if ARGS[1] = 1:
  878. '<center><h4><font color="maroon">Dimka pictures</font></h4></center>'
  879. $photoloc = 'images/pc/pictures/dimka/'
  880. $imgloc = 'images/characters/pavlovsk/school/boy/dimka/selfies/'
  881. $selfienpc = 'dimka'
  882. loopmaxev = 0
  883. loopmax = 0
  884. loopmaxsveta = 0
  885. loopmaxsex = 0
  886. elseif ARGS[1] = 2:
  887. '<center><h4><font color="maroon">Artem pictures</font></h4></center>'
  888. $photoloc = 'images/pc/pictures/artem/'
  889. $imgloc = 'images/characters/pavlovsk/school/boy/artem/selfies/'
  890. $selfienpc = 'artem'
  891. loopmaxev = 0
  892. loopmax = 0
  893. loopmaxsveta = 0
  894. loopmaxsex = 0
  895. elseif ARGS[1] = 3:
  896. '<center><h4><font color="maroon">Ivan pictures</font></h4></center>'
  897. $photoloc = 'images/pc/pictures/ivan/'
  898. $imgloc = 'images/characters/pavlovsk/school/boy/ivan/selfies/'
  899. $selfienpc = 'ivan'
  900. loopmaxev = 0
  901. loopmax = 0
  902. loopmaxsveta = 0
  903. loopmaxsex = 0
  904. elseif ARGS[1] = 4:
  905. '<center><h4><font color="maroon">Igor pictures</font></h4></center>'
  906. $photoloc = 'images/pc/pictures/igor/'
  907. $imgloc = 'images/characters/pavlovsk/school/boy/igor/selfies/'
  908. $selfienpc = 'igor'
  909. loopmaxev = 0
  910. loopmax = 0
  911. loopmaxsveta = 0
  912. loopmaxsex = 0
  913. elseif ARGS[1] = 5:
  914. '<center><h4><font color="maroon">Fedor pictures</font></h4></center>'
  915. $photoloc = 'images/pc/pictures/fedor/'
  916. $imgloc = 'images/characters/pavlovsk/school/boy/fedor/selfies/'
  917. $selfienpc = 'fedor'
  918. loopmaxev = 0
  919. loopmax = 0
  920. loopmaxsveta = 0
  921. loopmaxsex = 0
  922. elseif ARGS[1] = 6:
  923. '<center><h4><font color="maroon">Petka pictures</font></h4></center>'
  924. $photoloc = 'images/pc/pictures/petka/'
  925. $imgloc = 'images/characters/pavlovsk/school/boy/petka/selfies/'
  926. $selfienpc = 'petka'
  927. loopmaxev = 0
  928. loopmax = 0
  929. loopmaxsveta = 0
  930. loopmaxsex = 0
  931. elseif ARGS[1] = 7:
  932. '<center><h4><font color="maroon">Lesco pictures</font></h4></center>'
  933. $photoloc = 'images/pc/pictures/lesco/'
  934. $imgloc = 'images/characters/pavlovsk/school/boy/lesco/selfies/'
  935. $selfienpc = 'lesco'
  936. loopmaxev = 0
  937. loopmax = 0
  938. loopmaxsveta = 0
  939. loopmaxsex = 0
  940. elseif ARGS[1] = 8:
  941. '<center><h4><font color="maroon">Svyatoslav pictures</font></h4></center>'
  942. $photoloc = 'images/pc/pictures/svyatoslav/'
  943. $imgloc = 'images/characters/pavlovsk/school/boy/svyatoslav/selfies/'
  944. $selfienpc = 'svyatoslav'
  945. loopmaxev = 0
  946. loopmax = 0
  947. loopmaxsveta = 0
  948. loopmaxsex = 0
  949. elseif ARGS[1] = 9:
  950. '<center><h4><font color="maroon">Vitek pictures</font></h4></center>'
  951. $photoloc = 'images/pc/pictures/vitek/'
  952. $imgloc = 'images/characters/pavlovsk/school/boy/vitek/selfies/'
  953. $selfienpc = 'vitek'
  954. loopmaxev = 0
  955. loopmax = 0
  956. loopmaxsveta = 0
  957. loopmaxsex = 0
  958. elseif ARGS[1] = 10:
  959. '<center><h4><font color="maroon">Dan pictures</font></h4></center>'
  960. $photoloc = 'images/pc/pictures/dan/'
  961. $imgloc = 'images/characters/pavlovsk/school/boy/dan/selfies/'
  962. $selfienpc = 'dan'
  963. loopmaxev = 0
  964. loopmax = 0
  965. loopmaxsveta = 0
  966. loopmaxsex = 0
  967. elseif ARGS[1] = 11:
  968. '<center><h4><font color="maroon">Vasily pictures</font></h4></center>'
  969. $photoloc = 'images/pc/pictures/vasily/'
  970. $imgloc = 'images/characters/pavlovsk/school/boy/vasily/selfies/'
  971. $selfienpc = 'vasily'
  972. loopmaxev = 0
  973. loopmax = 0
  974. loopmaxsveta = 0
  975. loopmaxsex = 0
  976. elseif ARGS[1] = 12:
  977. '<center><h4><font color="maroon">Julia pictures</font></h4></center>'
  978. $photoloc = 'images/pc/pictures/julia/'
  979. $imgloc = 'images/characters/pavlovsk/school/boy/julia/selfies/'
  980. $selfienpc = 'julia'
  981. loopmaxev = 0
  982. loopmax = 0
  983. loopmaxsveta = 0
  984. loopmaxsex = 0
  985. elseif ARGS[1] = 13:
  986. '<center><h4><font color="maroon">Lariska pictures</font></h4></center>'
  987. $photoloc = 'images/pc/pictures/lariska/'
  988. $imgloc = 'images/characters/pavlovsk/school/boy/lariska/selfies/'
  989. $selfienpc = 'lariska'
  990. loopmaxev = 0
  991. loopmax = 0
  992. loopmaxsveta = 0
  993. loopmaxsex = 0
  994. elseif ARGS[1] = 14:
  995. '<center><h4><font color="maroon">Katja pictures</font></h4></center>'
  996. $photoloc = 'images/pc/pictures/katja/'
  997. $imgloc = 'images/characters/pavlovsk/school/boy/katja/selfies/'
  998. $selfienpc = 'katja'
  999. loopmaxev = 0
  1000. loopmax = 0
  1001. loopmaxsveta = 0
  1002. loopmaxsex = 0
  1003. elseif ARGS[1] = 15:
  1004. '<center><h4><font color="maroon">Vicky pictures</font></h4></center>'
  1005. $photoloc = 'images/pc/pictures/vicky/'
  1006. $imgloc = 'images/characters/pavlovsk/school/boy/vicky/selfies/'
  1007. $selfienpc = 'vicky'
  1008. loopmaxev = 0
  1009. loopmax = 0
  1010. loopmaxsveta = 0
  1011. loopmaxsex = 0
  1012. elseif ARGS[1] = 16:
  1013. '<center><h4><font color="maroon">Natasha pictures</font></h4></center>'
  1014. $photoloc = 'images/pc/pictures/natasha/'
  1015. $imgloc = 'images/characters/pavlovsk/school/boy/natasha/selfies/'
  1016. $selfienpc = 'natasha'
  1017. loopmaxev = 0
  1018. loopmax = 0
  1019. loopmaxsveta = 0
  1020. loopmaxsex = 0
  1021. elseif ARGS[1] = 17:
  1022. '<center><h4><font color="maroon">Inna pictures</font></h4></center>'
  1023. $photoloc = 'images/pc/pictures/inna/'
  1024. $imgloc = 'images/characters/pavlovsk/school/boy/inna/selfies/'
  1025. $selfienpc = 'inna'
  1026. loopmaxev = 0
  1027. loopmax = 0
  1028. loopmaxsveta = 0
  1029. loopmaxsex = 0
  1030. elseif ARGS[1] = 18:
  1031. '<center><h4><font color="maroon">Christina pictures</font></h4></center>'
  1032. $photoloc = 'images/pc/pictures/christina/'
  1033. $imgloc = 'images/characters/pavlovsk/school/boy/christina/selfies/'
  1034. $selfienpc = 'christina'
  1035. loopmaxev = 0
  1036. loopmax = 0
  1037. loopmaxsveta = 0
  1038. loopmaxsex = 0
  1039. elseif ARGS[1] = 19:
  1040. '<center><h4><font color="maroon">Lina pictures</font></h4></center>'
  1041. $photoloc = 'images/pc/pictures/lina/'
  1042. $imgloc = 'images/characters/pavlovsk/school/boy/lina/selfies/'
  1043. $selfienpc = 'lina'
  1044. loopmaxev = 0
  1045. loopmax = 0
  1046. loopmaxsveta = 0
  1047. loopmaxsex = 0
  1048. elseif ARGS[1] = 20:
  1049. '<center><h4><font color="maroon">Lena pictures</font></h4></center>'
  1050. $photoloc = 'images/pc/pictures/lena/'
  1051. $imgloc = 'images/characters/pavlovsk/school/boy/lena/selfies/'
  1052. $selfienpc = 'lena'
  1053. loopmaxev = 0
  1054. loopmax = 0
  1055. loopmaxsveta = 0
  1056. loopmaxsex = 0
  1057. elseif ARGS[1] = 21:
  1058. '<center><h4><font color="maroon">Lera pictures</font></h4></center>'
  1059. $photoloc = 'images/pc/pictures/lera/'
  1060. $imgloc = 'images/characters/pavlovsk/school/boy/lera/selfies/'
  1061. $selfienpc = 'lera'
  1062. loopmaxev = 0
  1063. loopmax = 0
  1064. loopmaxsveta = 0
  1065. loopmaxsex = 0
  1066. elseif ARGS[1] = 22:
  1067. '<center><h4><font color="maroon">Bella pictures</font></h4></center>'
  1068. $photoloc = 'images/pc/pictures/bella/'
  1069. $imgloc = 'images/characters/pavlovsk/school/boy/bella/selfies/'
  1070. $selfienpc = 'bella'
  1071. loopmaxev = 0
  1072. loopmax = 0
  1073. loopmaxsveta = 0
  1074. loopmaxsex = 0
  1075. elseif ARGS[1] = 23:
  1076. '<center><h4><font color="maroon">Albina pictures</font></h4></center>'
  1077. $photoloc = 'images/pc/pictures/albina/'
  1078. $imgloc = 'images/characters/pavlovsk/school/boy/albina/selfies/'
  1079. $selfienpc = 'albina'
  1080. loopmaxev = 0
  1081. loopmax = 0
  1082. loopmaxsveta = 0
  1083. loopmaxsex = 0
  1084. elseif ARGS[1] = 24:
  1085. '<center><h4><font color="maroon">Pauline pictures</font></h4></center>'
  1086. $photoloc = 'images/pc/pictures/pauline/'
  1087. $imgloc = 'images/characters/pavlovsk/school/boy/pauline/selfies/'
  1088. $selfienpc = 'pauline'
  1089. loopmaxev = 0
  1090. loopmax = 0
  1091. loopmaxsveta = 0
  1092. loopmaxsex = 0
  1093. elseif ARGS[1] = 25:
  1094. '<center><h4><font color="maroon">Sonia pictures</font></h4></center>'
  1095. $photoloc = 'images/pc/pictures/sonia/'
  1096. $imgloc = 'images/characters/pavlovsk/school/girl/sonia/selfies/'
  1097. $selfienpc = 'sonia'
  1098. loopmaxev = 0
  1099. loopmax = 45
  1100. loopmaxsveta = 25
  1101. loopmaxsex = 9
  1102. elseif ARGS[1] = 26:
  1103. '<center><h4><font color="maroon">Anatoly pictures</font></h4></center>'
  1104. $photoloc = 'images/pc/pictures/anatoly/'
  1105. $imgloc = 'images/characters/pavlovsk/school/teacher/anatoly/selfies/'
  1106. $selfienpc = 'anatoly'
  1107. loopmaxev = 0
  1108. loopmax = 0
  1109. loopmaxsveta = 0
  1110. loopmaxsex = 0
  1111. elseif ARGS[1] = 28:
  1112. '<center><h4><font color="maroon">Stepfather pictures</font></h4></center>'
  1113. $photoloc = 'images/pc/pictures/vladimir/'
  1114. $imgloc = 'images/characters/pavlovsk/resident/vladimir/selfies/'
  1115. $selfienpc = 'vladimir'
  1116. loopmaxev = 0
  1117. loopmax = 0
  1118. loopmaxsveta = 0
  1119. loopmaxsex = 0
  1120. elseif ARGS[1] = 29:
  1121. '<center><h4><font color="maroon">Mother pictures</font></h4></center>'
  1122. $photoloc = 'images/pc/pictures/mom/'
  1123. $imgloc = 'images/characters/pavlovsk/resident/mom/selfies/'
  1124. $selfienpc = 'mom'
  1125. loopmaxev = 0
  1126. loopmax = 0
  1127. loopmaxsveta = 0
  1128. loopmaxsex = 0
  1129. elseif ARGS[1] = 33:
  1130. '<center><h4><font color="maroon">Anya pictures</font></h4></center>'
  1131. $photoloc = 'images/pc/pictures/anya/'
  1132. $imgloc = 'images/characters/pavlovsk/resident/anya/selfies/'
  1133. $selfienpc = 'anya'
  1134. loopmaxev = 0
  1135. loopmax = 0
  1136. loopmaxsveta = 0
  1137. loopmaxsex = 0
  1138. elseif ARGS[1] = 34:
  1139. '<center><h4><font color="maroon">Kolka pictures</font></h4></center>'
  1140. $photoloc = 'images/pc/pictures/kolka/'
  1141. $imgloc = 'images/characters/pavlovsk/resident/kolka/selfies/'
  1142. $selfienpc = 'kolka'
  1143. loopmaxev = 0
  1144. loopmax = 0
  1145. loopmaxsveta = 0
  1146. loopmaxsex = 0
  1147. elseif ARGS[1] = 35:
  1148. '<center><h4><font color="maroon">Father pictures</font></h4></center>'
  1149. $photoloc = 'images/pc/pictures/???/'
  1150. !! Where are these located?
  1151. $imgloc = 'images/characters/pavlovsk/resident/???/selfies/'
  1152. $selfienpc = 'father'
  1153. loopmaxev = 0
  1154. loopmax = 0
  1155. loopmaxsveta = 0
  1156. loopmaxsex = 0
  1157. elseif ARGS[1] = 54:
  1158. '<center><h4><font color="maroon">Uncle Misha pictures</font></h4></center>'
  1159. $photoloc = 'images/pc/pictures/misha/'
  1160. $imgloc = 'images/characters/pavlovsk/resident/misha/selfies/'
  1161. $selfienpc = 'misha'
  1162. loopmaxev = 0
  1163. loopmax = 0
  1164. loopmaxsveta = 0
  1165. loopmaxsex = 0
  1166. elseif ARGS[1] = 56:
  1167. '<center><h4><font color="maroon">Roma pictures</font></h4></center>'
  1168. $photoloc = 'images/pc/pictures/roma/'
  1169. $imgloc = 'images/characters/pavlovsk/resident/roma/selfies/'
  1170. $selfienpc = 'roma'
  1171. loopmaxev = 0
  1172. loopmax = 0
  1173. loopmaxsveta = 0
  1174. loopmaxsex = 0
  1175. elseif ARGS[1] = 57:
  1176. '<center><h4><font color="maroon">Rex pictures</font></h4></center>'
  1177. $photoloc = 'images/pc/pictures/rex/'
  1178. $imgloc = 'images/characters/pavlovsk/resident/rex/selfies/'
  1179. $selfienpc = 'rex'
  1180. loopmaxev = 0
  1181. loopmax = 0
  1182. loopmaxsveta = 0
  1183. loopmaxsex = 0
  1184. elseif ARGS[1] = 69:
  1185. '<center><h4><font color="maroon">Mikhail pictures</font></h4></center>'
  1186. $photoloc = 'images/pc/pictures/mikhail/'
  1187. $imgloc = 'images/characters/pavlovsk/school/teacher/mikhail/selfies/'
  1188. $selfienpc = 'coachmikhail'
  1189. loopmaxev = 0
  1190. loopmax = 0
  1191. loopmaxsveta = 0
  1192. loopmaxsex = 0
  1193. elseif ARGS[1] = 112:
  1194. '<center><h4><font color="maroon">Sergey pictures</font></h4></center>'
  1195. $photoloc = 'images/pc/pictures/sergey/'
  1196. $imgloc = 'images/characters/pavlovsk/resident/sergey/selfies/'
  1197. $selfienpc = 'sergey'
  1198. loopmaxev = 0
  1199. loopmax = 0
  1200. loopmaxsveta = 0
  1201. loopmaxsex = 0
  1202. elseif ARGS[1] = 128:
  1203. '<center><h4><font color="maroon">Makar pictures</font></h4></center>'
  1204. $photoloc = 'images/pc/pictures/makar/'
  1205. $imgloc = 'images/characters/pavlovsk/school/teacher/makar/selfies/'
  1206. $selfienpc = 'makar'
  1207. loopmaxev = 0
  1208. loopmax = 0
  1209. loopmaxsveta = 0
  1210. loopmaxsex = 0
  1211. elseif ARGS[1] = 129:
  1212. '<center><h4><font color="maroon">Serafim pictures</font></h4></center>'
  1213. $photoloc = 'images/pc/pictures/serafim/'
  1214. $imgloc = 'images/characters/pavlovsk/school/teacher/serafim/selfies/'
  1215. $selfienpc = 'serafim'
  1216. loopmaxev = 0
  1217. loopmax = 0
  1218. loopmaxsveta = 0
  1219. loopmaxsex = 0
  1220. elseif ARGS[1] = 130:
  1221. '<center><h4><font color="maroon">Ilya pictures</font></h4></center>'
  1222. $photoloc = 'images/pc/pictures/ilya/'
  1223. $imgloc = 'images/characters/pavlovsk/school/teacher/ilya/selfies/'
  1224. $selfienpc = 'ilya'
  1225. loopmaxev = 0
  1226. loopmax = 0
  1227. loopmaxsveta = 0
  1228. loopmaxsex = 0
  1229. elseif ARGS[1] = 131:
  1230. '<center><h4><font color="maroon">Viktor pictures</font></h4></center>'
  1231. $photoloc = 'images/pc/pictures/viktor/'
  1232. $imgloc = 'images/characters/pavlovsk/school/teacher/viktor/selfies/'
  1233. $selfienpc = 'viktor'
  1234. loopmaxev = 0
  1235. loopmax = 0
  1236. loopmaxsveta = 0
  1237. loopmaxsex = 0
  1238. elseif ARGS[1] = 132:
  1239. '<center><h4><font color="maroon">Ruslan pictures</font></h4></center>'
  1240. $photoloc = 'images/pc/pictures/ruslan/'
  1241. $imgloc = 'images/characters/pavlovsk/school/teacher/ruslan/selfies/'
  1242. $selfienpc = 'ruslan'
  1243. loopmaxev = 0
  1244. loopmax = 0
  1245. loopmaxsveta = 0
  1246. loopmaxsex = 0
  1247. elseif ARGS[1] = 133:
  1248. '<center><h4><font color="maroon">Rolan pictures</font></h4></center>'
  1249. $photoloc = 'images/pc/pictures/rolan/'
  1250. $imgloc = 'images/characters/pavlovsk/school/teacher/rolan/selfies/'
  1251. $selfienpc = 'rolan'
  1252. loopmaxev = 0
  1253. loopmax = 0
  1254. loopmaxsveta = 0
  1255. loopmaxsex = 0
  1256. elseif ARGS[1] = 134:
  1257. '<center><h4><font color="maroon">Aleksandrina pictures</font></h4></center>'
  1258. $photoloc = 'images/pc/pictures/aleksandrina/'
  1259. $imgloc = 'images/characters/pavlovsk/school/teacher/aleksandrina/selfies/'
  1260. $selfienpc = 'aleksandrina'
  1261. loopmaxev = 0
  1262. loopmax = 0
  1263. loopmaxsveta = 0
  1264. loopmaxsex = 0
  1265. elseif ARGS[1] = 135:
  1266. '<center><h4><font color="maroon">Yeva pictures</font></h4></center>'
  1267. $photoloc = 'images/pc/pictures/yeva/'
  1268. $imgloc = 'images/characters/pavlovsk/school/teacher/yeva/selfies/'
  1269. $selfienpc = 'yeva'
  1270. loopmaxev = 0
  1271. loopmax = 0
  1272. loopmaxsveta = 0
  1273. loopmaxsex = 0
  1274. elseif ARGS[1] = 136:
  1275. '<center><h4><font color="maroon">Olga pictures</font></h4></center>'
  1276. $photoloc = 'images/pc/pictures/olga/'
  1277. $imgloc = 'images/characters/pavlovsk/school/teacher/olga/selfies/'
  1278. $selfienpc = 'olga'
  1279. loopmaxev = 0
  1280. loopmax = 0
  1281. loopmaxsveta = 0
  1282. loopmaxsex = 0
  1283. elseif ARGS[1] = 137:
  1284. '<center><h4><font color="maroon">Raven pictures</font></h4></center>'
  1285. $photoloc = 'images/pc/pictures/raven/'
  1286. $imgloc = 'images/characters/pavlovsk/school/teacher/raven/selfies/'
  1287. $selfienpc = 'raven'
  1288. loopmaxev = 0
  1289. loopmax = 0
  1290. loopmaxsveta = 0
  1291. loopmaxsex = 0
  1292. elseif ARGS[1] = 138:
  1293. '<center><h4><font color="maroon">Arina pictures</font></h4></center>'
  1294. $photoloc = 'images/pc/pictures/arina/'
  1295. $imgloc = 'images/characters/pavlovsk/school/teacher/arina/selfies/'
  1296. $selfienpc = 'arina'
  1297. loopmaxev = 0
  1298. loopmax = 0
  1299. loopmaxsveta = 0
  1300. loopmaxsex = 0
  1301. elseif ARGS[1] = 139:
  1302. '<center><h4><font color="maroon">Stasya pictures</font></h4></center>'
  1303. $photoloc = 'images/pc/pictures/stasya/'
  1304. $imgloc = 'images/characters/pavlovsk/school/boy/stasya/selfies/'
  1305. $selfienpc = 'stasya'
  1306. loopmaxev = 0
  1307. loopmax = 0
  1308. loopmaxsveta = 0
  1309. loopmaxsex = 0
  1310. elseif ARGS[1] = 140:
  1311. '<center><h4><font color="maroon">Lizaveta pictures</font></h4></center>'
  1312. $photoloc = 'images/pc/pictures/lizaveta/'
  1313. $imgloc = 'images/characters/pavlovsk/school/boy/lizaveta/selfies/'
  1314. $selfienpc = 'lizaveta'
  1315. loopmaxev = 0
  1316. loopmax = 0
  1317. loopmaxsveta = 0
  1318. loopmaxsex = 0
  1319. elseif ARGS[1] = 141:
  1320. '<center><h4><font color="maroon">Veronika pictures</font></h4></center>'
  1321. $photoloc = 'images/pc/pictures/veronika/'
  1322. $imgloc = 'images/characters/pavlovsk/school/boy/veronika/selfies/'
  1323. $selfienpc = 'veronika'
  1324. loopmaxev = 0
  1325. loopmax = 0
  1326. loopmaxsveta = 0
  1327. loopmaxsex = 0
  1328. elseif ARGS[1] = 142:
  1329. '<center><h4><font color="maroon">Zinaida pictures</font></h4></center>'
  1330. $photoloc = 'images/pc/pictures/zinaida/'
  1331. $imgloc = 'images/characters/pavlovsk/school/boy/zinaida/selfies/'
  1332. $selfienpc = 'zinaida'
  1333. loopmaxev = 0
  1334. loopmax = 0
  1335. loopmaxsveta = 0
  1336. loopmaxsex = 0
  1337. elseif ARGS[1] = 143:
  1338. '<center><h4><font color="maroon">Alyona pictures</font></h4></center>'
  1339. $photoloc = 'images/pc/pictures/alyona/'
  1340. $imgloc = 'images/characters/pavlovsk/school/boy/alyona/selfies/'
  1341. $selfienpc = 'alyona'
  1342. loopmaxev = 0
  1343. loopmax = 0
  1344. loopmaxsveta = 0
  1345. loopmaxsex = 0
  1346. elseif ARGS[1] = 144:
  1347. '<center><h4><font color="maroon">Anushka pictures</font></h4></center>'
  1348. $photoloc = 'images/pc/pictures/anushka/'
  1349. $imgloc = 'images/characters/pavlovsk/school/girl/anushka/selfies/'
  1350. $selfienpc = 'anushka'
  1351. loopmaxev = 6
  1352. loopmax = 22
  1353. loopmaxsveta = 2
  1354. loopmaxsex = 7
  1355. elseif ARGS[1] = 145:
  1356. '<center><h4><font color="maroon">Ekaterina pictures</font></h4></center>'
  1357. $photoloc = 'images/pc/pictures/ekaterina/'
  1358. $imgloc = 'images/characters/pavlovsk/school/boy/ekaterina/selfies/'
  1359. $selfienpc = 'ekaterina'
  1360. loopmaxev = 0
  1361. loopmax = 0
  1362. loopmaxsveta = 0
  1363. loopmaxsex = 0
  1364. elseif ARGS[1] = 146:
  1365. '<center><h4><font color="maroon">Marcus pictures</font></h4></center>'
  1366. $photoloc = 'images/pc/pictures/marcus/'
  1367. $imgloc = 'images/characters/pavlovsk/school/boy/marcus/selfies/'
  1368. $selfienpc = 'marcus'
  1369. loopmaxev = 0
  1370. loopmax = 0
  1371. loopmaxsveta = 0
  1372. loopmaxsex = 0
  1373. elseif ARGS[1] = 147:
  1374. '<center><h4><font color="maroon">Andrey pictures</font></h4></center>'
  1375. $photoloc = 'images/pc/pictures/andrey/'
  1376. $imgloc = 'images/characters/pavlovsk/school/boy/andrey/selfies/'
  1377. $selfienpc = 'andrey'
  1378. loopmaxev = 0
  1379. loopmax = 0
  1380. loopmaxsveta = 0
  1381. loopmaxsex = 0
  1382. elseif ARGS[1] = 148:
  1383. '<center><h4><font color="maroon">Mefodiy pictures</font></h4></center>'
  1384. $photoloc = 'images/pc/pictures/mefodiy/'
  1385. $imgloc = 'images/characters/pavlovsk/school/boy/mefodiy/selfies/'
  1386. $selfienpc = 'mefodiy'
  1387. loopmaxev = 0
  1388. loopmax = 0
  1389. loopmaxsveta = 0
  1390. loopmaxsex = 0
  1391. elseif ARGS[1] = 149:
  1392. '<center><h4><font color="maroon">Lazar pictures</font></h4></center>'
  1393. $photoloc = 'images/pc/pictures/lazar/'
  1394. $imgloc = 'images/characters/pavlovsk/school/boy/lazar/selfies/'
  1395. $selfienpc = 'lazar'
  1396. loopmaxev = 0
  1397. loopmax = 0
  1398. loopmaxsveta = 0
  1399. loopmaxsex = 0
  1400. elseif ARGS[1] = 150:
  1401. '<center><h4><font color="maroon">Erast pictures</font></h4></center>'
  1402. $photoloc = 'images/pc/pictures/erast/'
  1403. $imgloc = 'images/characters/pavlovsk/school/boy/erast/selfies/'
  1404. $selfienpc = 'erast'
  1405. loopmaxev = 0
  1406. loopmax = 0
  1407. loopmaxsveta = 0
  1408. loopmaxsex = 0
  1409. elseif ARGS[1] = 151:
  1410. '<center><h4><font color="maroon">Evgeny pictures</font></h4></center>'
  1411. $photoloc = 'images/pc/pictures/evgeny/'
  1412. $imgloc = 'images/characters/pavlovsk/school/boy/evgeny/selfies/'
  1413. $selfienpc = 'evgeny'
  1414. loopmaxev = 0
  1415. loopmax = 0
  1416. loopmaxsveta = 0
  1417. loopmaxsex = 0
  1418. elseif ARGS[1] = 152:
  1419. '<center><h4><font color="maroon">Feofan pictures</font></h4></center>'
  1420. $photoloc = 'images/pc/pictures/feofan/'
  1421. $imgloc = 'images/characters/pavlovsk/school/boy/feofan/selfies/'
  1422. $selfienpc = 'feofan'
  1423. loopmaxev = 0
  1424. loopmax = 0
  1425. loopmaxsveta = 0
  1426. loopmaxsex = 0
  1427. elseif ARGS[1] = 153:
  1428. '<center><h4><font color="maroon">Gerasim pictures</font></h4></center>'
  1429. $photoloc = 'images/pc/pictures/gerasim/'
  1430. $imgloc = 'images/characters/pavlovsk/school/boy/gerasim/selfies/'
  1431. $selfienpc = 'gerasim'
  1432. loopmaxev = 0
  1433. loopmax = 0
  1434. loopmaxsveta = 0
  1435. loopmaxsex = 0
  1436. elseif ARGS[1] = 154:
  1437. '<center><h4><font color="maroon">Radomir pictures</font></h4></center>'
  1438. $photoloc = 'images/pc/pictures/radomir/'
  1439. $imgloc = 'images/characters/pavlovsk/school/boy/radomir/selfies/'
  1440. $selfienpc = 'radomir'
  1441. loopmaxev = 0
  1442. loopmax = 0
  1443. loopmaxsveta = 0
  1444. loopmaxsex = 0
  1445. elseif ARGS[1] = 155:
  1446. '<center><h4><font color="maroon">Lavrenti pictures</font></h4></center>'
  1447. $photoloc = 'images/pc/pictures/lavrenti/'
  1448. $imgloc = 'images/characters/pavlovsk/school/boy/lavrenti/selfies/'
  1449. $selfienpc = 'lavrenti'
  1450. loopmaxev = 0
  1451. loopmax = 0
  1452. loopmaxsveta = 0
  1453. loopmaxsex = 0
  1454. elseif ARGS[1] = 156:
  1455. '<center><h4><font color="maroon">Arkadi pictures</font></h4></center>'
  1456. $photoloc = 'images/pc/pictures/arkadi/'
  1457. $imgloc = 'images/characters/pavlovsk/school/boy/arkadi/selfies/'
  1458. $selfienpc = 'arkadi'
  1459. loopmaxev = 0
  1460. loopmax = 0
  1461. loopmaxsveta = 0
  1462. loopmaxsex = 0
  1463. elseif ARGS[1] = 157:
  1464. '<center><h4><font color="maroon">Roman pictures</font></h4></center>'
  1465. $photoloc = 'images/pc/pictures/roman/'
  1466. $imgloc = 'images/characters/pavlovsk/school/boy/roman/selfies/'
  1467. $selfienpc = 'roman'
  1468. loopmaxev = 0
  1469. loopmax = 0
  1470. loopmaxsveta = 0
  1471. loopmaxsex = 0
  1472. elseif ARGS[1] = 158:
  1473. '<center><h4><font color="maroon">Valentin pictures</font></h4></center>'
  1474. $photoloc = 'images/pc/pictures/valentin/'
  1475. $imgloc = 'images/characters/pavlovsk/school/boy/valentin/selfies/'
  1476. $selfienpc = 'valentin'
  1477. loopmaxev = 0
  1478. loopmax = 0
  1479. loopmaxsveta = 0
  1480. loopmaxsex = 0
  1481. elseif ARGS[1] = 159:
  1482. '<center><h4><font color="maroon">Petia pictures</font></h4></center>'
  1483. $photoloc = 'images/pc/pictures/petia/'
  1484. $imgloc = 'images/characters/pavlovsk/school/boy/petia/selfies/'
  1485. $selfienpc = 'petia'
  1486. loopmaxev = 0
  1487. loopmax = 0
  1488. loopmaxsveta = 0
  1489. loopmaxsex = 0
  1490. elseif ARGS[1] = 165:
  1491. '<center><h4><font color="maroon">Vanya pictures</font></h4></center>'
  1492. $photoloc = 'images/pc/pictures/vanya/'
  1493. $imgloc = 'images/characters/pavlovsk/school/boy/vanya/selfies/'
  1494. $selfienpc = 'vanya'
  1495. loopmaxev = 0
  1496. loopmax = 0
  1497. loopmaxsveta = 0
  1498. loopmaxsex = 0
  1499. elseif ARGS[1] = 189:
  1500. '<center><h4><font color="maroon">Nikolai pictures</font></h4></center>'
  1501. $photoloc = 'images/pc/pictures/nikolai/'
  1502. $imgloc = 'images/characters/pavlovsk/school/boy/nikolai/selfies/'
  1503. $selfienpc = 'nikolai'
  1504. loopmaxev = 0
  1505. loopmax = 0
  1506. loopmaxsveta = 0
  1507. loopmaxsex = 0
  1508. else
  1509. !! New npcs with selfies should be included above
  1510. end
  1511. end
  1512. if $ARGS[0] = 'listretrieve2':
  1513. gs 'phone_selfies', 'get_npc_selfie_totals', numnpc
  1514. $temp_table = '<table>'
  1515. if loopmaxev > 0:
  1516. $temp_table += '<tr><th colspan=5>Pictures</th></tr>'
  1517. $temp_table += '<tr></tr><tr>'
  1518. temp_cnum = 0
  1519. lr2_pic_i = 1
  1520. :temp_loopev
  1521. dynamic '$selfie = <<$selfienpc>>photo[<<lr2_pic_i>>]'
  1522. if val($selfie) = 1:
  1523. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  1524. $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', $photoloc, lr2_pic_i) + '</td>'
  1525. temp_cnum += 1
  1526. end
  1527. lr2_pic_i += 1
  1528. if lr2_pic_i <= loopmax: jump 'temp_loopev'
  1529. if temp_cnum ! 4: $temp_table += '<td></td>'
  1530. $temp_table += '</tr><tr></tr>'
  1531. killvar 'temp_cnum'
  1532. killvar 'lr2_pic_i'
  1533. end
  1534. if loopmax > 0:
  1535. $temp_table += '<tr><th colspan=5>Regular selfies</th></tr>'
  1536. $temp_table += '<tr></tr><tr>'
  1537. temp_cnum = 0
  1538. lr2_regself_i = 1
  1539. :temp_loopselfies
  1540. dynamic '$selfie = <<$selfienpc>>[<<lr2_regself_i>>]'
  1541. if val($selfie) = 1:
  1542. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  1543. $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', $imgloc, lr2_regself_i) + '</td>'
  1544. temp_cnum += 1
  1545. end
  1546. lr2_regself_i += 1
  1547. if lr2_regself_i <= loopmax: jump 'temp_loopselfies'
  1548. if temp_cnum ! 4: $temp_table += '<td></td>'
  1549. $temp_table += '</tr><tr></tr>'
  1550. killvar 'temp_cnum'
  1551. killvar 'lr2_regself_i'
  1552. end
  1553. if loopmaxsveta > 0:
  1554. $temp_table += '<tr><th colspan=5>Selfies with me</th></tr>'
  1555. $temp_table += '<tr></tr><tr>'
  1556. temp_cnum = 0
  1557. lr2_swm_i = 1
  1558. :temp_loopselfiessveta
  1559. dynamic '$selfie = <<$selfienpc>>sveta[<<lr2_swm_i>>]'
  1560. if val($selfie) = 1:
  1561. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  1562. $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', '<<$imgloc>>sveta/', lr2_swm_i) + '</td>'
  1563. temp_cnum += 1
  1564. end
  1565. lr2_swm_i += 1
  1566. if lr2_swm_i <= loopmaxsveta: jump 'temp_loopselfiessveta'
  1567. if temp_cnum ! 4: $temp_table += '<td></td>'
  1568. $temp_table += '</tr><tr></tr>'
  1569. killvar 'temp_cnum'
  1570. killvar 'lr2_swm_i'
  1571. end
  1572. if loopmaxsex > 0:
  1573. $temp_table += '<tr><th colspan=5>Sex selfies</th></tr>'
  1574. $temp_table += '<tr></tr><tr>'
  1575. temp_cnum = 0
  1576. lr2_sex_i = 1
  1577. :temp_loopselfiessex
  1578. dynamic '$selfie = <<$selfienpc>>sex[<<lr2_sex_i>>]'
  1579. if val($selfie) = 1:
  1580. if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
  1581. $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', '<<$imgloc>>sex/', lr2_sex_i) + '</td>'
  1582. temp_cnum += 1
  1583. end
  1584. lr2_sex_i += 1
  1585. if lr2_sex_i <= loopmaxsex: jump 'temp_loopselfiessex'
  1586. if temp_cnum ! 4: $temp_table += '<td></td>'
  1587. $temp_table += '</tr><tr></tr>'
  1588. killvar 'temp_cnum'
  1589. killvar 'lr2_sex_i'
  1590. end
  1591. $temp_table += '</table>'
  1592. *p $temp_table
  1593. act 'Back': gt 'phone_selfies', 'view_selfies'
  1594. gs 'phone_selfies', 'act_exit'
  1595. end
  1596. --- phone_selfies ---------------------------------