phone_selfies.qsrc 40 KB

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