12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745 |
- # phone_selfies
- !2021/05/02
- !{ HOW TO USE:
- - UNLOCKING A PICTURE:
- There are different types of pictures that can be viewed with the phone. These need to be unlocked for them to become viewable.
- This is done by setting the correct variable to 1 INSIDE the event itself.
- <<npcname>> should be replaced by the name of the npc for who you want to unlock something.
- - Pictures Sveta gets sent by an npc:
- <<npcname>>[i] = 1
- - Pictures Sveta takes herself with an npc:
- <<npcname>>sveta[i] = 1
- - Explicit pictures from an npc (could include Sveta):
- <<npcname>>sex[i] = 1
- - Pictures Sveta takes of an npc:
- <<npcname>>photo[i] = 1
- - Pictures Sveta takes of herself:
- Here the code is run through the camera option on the phone and it will automatically unlock the correct picture.
- - INCREASE THE PICTURE COUNTER IN THIS FILE:
- NPC Pictures:
- As pictures are added the number in 'listretrieve2' inside this file needs to be increased by the amount of pictures you are adding.
- - loopmax:
- For selfies sent by an npc
- - loopmaxsveta:
- For selfies with an npc taken on Sveta''s phone
- - loopmaxsex:
- For explicit selfies
- - loopmaxev:
- For pictures Sveta takes of an npc
- SVETA SELFIES:
- The total amounts are kept in 'phone_selfies', 'Phone_selfie_totals'.
- Increase the correct variable in there to have it added to the phone.
- }
- ! For setting the selfies
- if $ARGS[0] = 'Phone_selfie_totals':
- $selfieLoc[0] = 'misc'
- $selfieLocDesc[0] = 'Me'
- $selfieFilePrefix[0] = 'phone_selfie'
- selfieClotot[0] = 2
- selfieUndtot[0] = 0
- selfieNudtot[0] = 0
- selfieTitflash[0] = 0
- selfieAssflash[0] = 0
- selfiePussyflash[0] = 0
- selfieBathtot[0] = 0
- selfieShowertot[0] = 0
- selfieSwimtot[0] = 0
- $selfieLoc[1] = 'bathroom'
- $selfieLocDesc[1] = 'Bathroom'
- $selfieFilePrefix[1] = ''
- selfieClotot[1] = 30
- selfieUndtot[1] = 23
- selfieNudtot[1] = 30
- selfieTitflash[1] = 30
- selfieAssflash[1] = 5
- selfiePussyflash[1] = 22
- selfieBathtot[1] = 30
- selfieShowertot[1] = 27
- selfieSwimtot[1] = 0
- $selfieLoc[2] = 'bedroom'
- $selfieLocDesc[2] = 'Bedroom'
- $selfieFilePrefix[2] = ''
- selfieClotot[2] = 30
- selfieUndtot[2] = 22
- selfieNudtot[2] = 30
- selfieTitflash[2] = 30
- selfieAssflash[2] = 26
- selfiePussyflash[2] = 25
- selfieBathtot[2] = 0
- selfieShowertot[2] = 0
- selfieSwimtot[2] = 0
- $selfieLoc[3] = 'kitchen'
- $selfieLocDesc[3] = 'Kitchen'
- $selfieFilePrefix[3] = ''
- selfieClotot[3] = 27
- selfieUndtot[3] = 23
- selfieNudtot[3] = 23
- selfieTitflash[3] = 21
- selfieAssflash[3] = 1
- selfiePussyflash[3] = 10
- selfieBathtot[3] = 0
- selfieShowertot[3] = 0
- selfieSwimtot[3] = 0
- $selfieLoc[4] = 'livingroom'
- $selfieLocDesc[4] = 'Livingroom'
- $selfieFilePrefix[4] = ''
- selfieClotot[4] = 30
- selfieUndtot[4] = 27
- selfieNudtot[4] = 30
- selfieTitflash[4] = 30
- selfieAssflash[4] = 5
- selfiePussyflash[4] = 20
- selfieBathtot[4] = 0
- selfieShowertot[4] = 0
- selfieSwimtot[4] = 0
- $selfieLoc[5] = 'changingroom'
- $selfieLocDesc[5] = 'Changingroom'
- $selfieFilePrefix[5] = ''
- selfieClotot[5] = 30
- selfieUndtot[5] = 30
- selfieNudtot[5] = 30
- selfieTitflash[5] = 30
- selfieAssflash[5] = 20
- selfiePussyflash[5] = 28
- selfieBathtot[5] = 0
- selfieShowertot[5] = 0
- selfieSwimtot[5] = 0
- $selfieLoc[6] = 'park'
- $selfieLocDesc[6] = 'Park'
- $selfieFilePrefix[6] = ''
- selfieClotot[6] = 30
- selfieUndtot[6] = 4
- selfieNudtot[6] = 17
- selfieTitflash[6] = 26
- selfieAssflash[6] = 2
- selfiePussyflash[6] = 8
- selfieBathtot[6] = 0
- selfieShowertot[6] = 0
- selfieSwimtot[6] = 0
- $selfieLoc[7] = 'locker'
- $selfieLocDesc[7] = 'locker'
- $selfieFilePrefix[7] = ''
- selfieClotot[7] = 26
- selfieUndtot[7] = 21
- selfieNudtot[7] = 13
- selfieTitflash[7] = 13
- selfieAssflash[7] = 2
- selfiePussyflash[7] = 3
- selfieBathtot[7] = 0
- selfieShowertot[7] = 0
- selfieSwimtot[7] = 0
- $selfieLoc[8] = 'beach'
- $selfieLocDesc[8] = 'Beach'
- $selfieFilePrefix[8] = ''
- selfieClotot[8] = 0
- selfieUndtot[8] = 0
- selfieNudtot[8] = 20
- selfieTitflash[8] = 17
- selfieAssflash[8] = 3
- selfiePussyflash[8] = 4
- selfieBathtot[8] = 0
- selfieShowertot[8] = 0
- selfieSwimtot[8] = 21
- $selfieLoc[9] = 'school_classroom'
- $selfieLocDesc[9] = 'School Classroom'
- $selfieFilePrefix[9] = ''
- selfieClotot[9] = 11
- selfieUndtot[9] = 2
- selfieNudtot[9] = 0
- selfieTitflash[9] = 3
- selfieAssflash[9] = 0
- selfiePussyflash[9] = 3
- selfieBathtot[9] = 0
- selfieShowertot[9] = 0
- selfieSwimtot[9] = 0
- $selfieLoc[10] = 'school_bathroom'
- $selfieLocDesc[10] = 'School Bathroom'
- $selfieFilePrefix[10] = ''
- selfieClotot[10] = 28
- selfieUndtot[10] = 12
- selfieNudtot[10] = 0
- selfieTitflash[10] = 8
- selfieAssflash[10] = 1
- selfiePussyflash[10] = 7
- selfieBathtot[10] = 0
- selfieShowertot[10] = 0
- selfieSwimtot[10] = 0
- $selfieLoc[11] = 'restroom'
- $selfieLocDesc[11] = 'Restroom'
- $selfieFilePrefix[11] = ''
- selfieClotot[11] = 30
- selfieUndtot[11] = 25
- selfieNudtot[11] = 3
- selfieTitflash[11] = 30
- selfieAssflash[11] = 13
- selfiePussyflash[11] = 21
- selfieBathtot[11] = 0
- selfieShowertot[11] = 0
- selfieSwimtot[11] = 0
- end
- !!======================================================!!
- !! !!
- !! TAKE A SELFIE !!
- !! !!
- !!======================================================!!
- if $ARGS[0] = 'open_camera':
- gs 'phone_selfies', 'Phone_selfie_totals'
- if $locclass = 'bedr':
- $phone_loc = 'bedroom'
- elseif $locclass = 'kitr':
- $phone_loc = 'kitchen'
- elseif $locclass = 'livingr':
- $phone_loc = 'livingroom'
- elseif $locclass = 'changingroom':
- $phone_loc = 'changingroom'
- elseif $locclass = 'city_park':
- $phone_loc = 'park'
- elseif $locclass = 'locker':
- $phone_loc = 'locker'
- elseif $locclass = 'beach':
- $phone_loc = 'beach'
- elseif $locclass = 'classroom':
- $phone_loc = 'classroom'
- elseif $locclass = 'school_bathroom':
- $phone_loc = 'school_bathroom'
- elseif $locclass = 'restroom':
- $phone_loc = 'restroom'
- elseif $location_type = 'bathroom':
- $phone_loc = 'bathroom'
- else
- $phone_loc = ''
- end
- $telefon['body'] = '<font size=6>Camera</font><br>
- <img src="images/system/phone/theme/<<$phonetheme_name[pcs_phonetheme]>>/icon_camera.png" height="80" width="80"><br><br>'
- !! Take a selfie depending on which clothes you are wearing
- $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>'
- !! Flashing selfie
- if $clothingworntype ! 'nude' and $phone_loc <> '':
- if Enable_Android = 1:
- locIndex = arrpos('$selfieLoc', $phone_loc,1)
- else
- locIndex = arrpos(1, '$selfieLoc', $phone_loc)
- end
- if (pcs_inhib >= 35 or exhibitionist_lvl > 0 or $phone_loc = 'bedroom') and selfieTitflash[locIndex] > 0:
- $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>'
- end
- if (exhibitionist_lvl > 0 or $phone_loc = 'bedroom') and selfieAssflash[locIndex] > 0:
- $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>'
- end
- if (exhibitionist_lvl > 1 or $phone_loc = 'bedroom') and selfiePussyflash[locIndex] > 0:
- $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>'
- end
- killvar 'locIndex'
- end
- end
- !!picking the selfie image when taking photos, this sets the location variable
- !{
- $ARGS[1] is phone location if left blank it is a generic selfie (one of the locations in $selfieLoc[])
- $ARGS[2] is for flashing when clothed if left blank then it is not flashing
- }
- if $ARGS[0] = 'camera_take_selfie':
- minut += rand(5,7)
- if $ARGS[1] ! '':
- gs 'phone_selfies', 'camera_selfie_image', $ARGS[1], $ARGS[2]
- else
- phone_rand = RAND(1,selfieClotot[0])
- dynamic '<<$selfieLoc[0]>>_closelfie[<<phone_rand>>] = 1'
- gs 'stat'
- if usePopUps = 1:
- msg '<img src="images/pc/activities/phone/selfies/<<$selfieLoc[0]>>/clothed/<<$selfieFilePrefix[0]>><<phone_rand>>.jpg">'
- else
- view 'images/pc/activities/phone/selfies/<<$selfieLoc[0]>>/clothed/<<$selfieFilePrefix[0]>><<phone_rand>>.jpg'
- end
- killvar 'phone_rand'
- end
- !if cumsumbod-cumsumvag-cumsumass > 0: phone_rand = RAND (m,n) - for SELF in the semen
- !if photo_event_pic = x: phone_rand = RAND (x,y) - for photos during the events (by heart)
- !msg '<img src="images/system/phone/phone_selfie<<phone_rand>>.jpg">'
- end
- !!taking selfies, this chooses a random image for the location for clothed, underwear and nude
- !{
- $ARGS[1] is phone location (one of the locations in $selfieLoc[])
- $ARGS[2] is for flashing when clothed if left blank then it is not flashing
- }
- if $ARGS[0] = 'camera_selfie_image':
- if $ARGS[2] = '':
- if PCloswimwear = 1:
- !!changing to and unmixed variable so the rng will work
- if Enable_Android = 1:
- temp_swim = selfieSwimtot[arrpos('$selfieLoc', $ARGS[1], 1)]
- else
- temp_swim = selfieSwimtot[arrpos(1, '$selfieLoc', $ARGS[1])]
- end
- if temp_swim > 0:
- phone_rand = rand(1, temp_swim)
- !!Setting the image owned flag to 1
- dynamic '<<$ARGS[1]>>_swim[<<phone_rand>>] = 1'
- gs 'stat'
- if usePopUps = 1:
- msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/bikini/<<phone_rand>>.jpg">'
- else
- view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/bikini/<<phone_rand>>.jpg'
- end
- end
- killvar 'temp_swim'
- elseif $clothingworntype ! 'nude':
- !!changing to and unmixed variable so the rng will work
- if Enable_Android = 1:
- temp_clotot = selfieClotot[arrpos('$selfieLoc', $ARGS[1], 1)]
- else
- temp_clotot = selfieClotot[arrpos(1, '$selfieLoc', $ARGS[1])]
- end
- if temp_clotot > 0:
- phone_rand = rand(1, temp_clotot)
- !!Setting the image owned flag to 1
- dynamic '<<$ARGS[1]>>_closelfie[<<phone_rand>>] = 1'
- gs 'stat'
- if usePopUps = 1:
- msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/clothed/<<phone_rand>>.jpg">'
- else
- view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/clothed/<<phone_rand>>.jpg'
- end
- end
- killvar 'temp_clotot'
- elseif $pantyworntype ! 'none':
- if Enable_Android = 1:
- temp_undtot = selfieUndtot[arrpos('$selfieLoc', $ARGS[1], 1)]
- else
- temp_undtot = selfieUndtot[arrpos(1, '$selfieLoc', $ARGS[1])]
- end
- if temp_undtot > 0:
- phone_rand = rand(1, temp_undtot)
- dynamic '<<$ARGS[1]>>_undselfie[<<phone_rand>>] = 1'
- gs 'stat'
- if usePopUps = 1:
- msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/underwear/<<phone_rand>>.jpg">'
- else
- view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/underwear/<<phone_rand>>.jpg'
- end
- end
- killvar 'temp_undtot'
- else
- if Enable_Android = 1:
- temp_nudtot = selfieNudtot[arrpos('$selfieLoc', $ARGS[1], 1)]
- else
- temp_nudtot = selfieNudtot[arrpos(1, '$selfieLoc', $ARGS[1])]
- end
- if temp_nudtot > 0:
- phone_rand = rand(1, temp_nudtot)
- dynamic '<<$ARGS[1]>>_nudselfie[<<phone_rand>>] = 1'
- gs 'stat'
- if usePopUps = 1:
- msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/nude/<<phone_rand>>.jpg">'
- else
- view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/nude/<<phone_rand>>.jpg'
- end
- end
- killvar 'temp_nudtot'
- end
- else
- if $ARGS[2] = 'tits':
- if Enable_Android = 1:
- temp_titflash = selfieTitflash[arrpos('$selfieLoc', $ARGS[1], 1)]
- else
- temp_titflash = selfieTitflash[arrpos(1, '$selfieLoc', $ARGS[1])]
- end
- if temp_titflash > 0:
- phone_rand = rand(1, temp_titflash)
- dynamic '<<$ARGS[1]>>_titflash[<<phone_rand>>] = 1'
- gs 'stat'
- if usePopUps = 1:
- msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/titflash/<<phone_rand>>.jpg">'
- else
- view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/titflash/<<phone_rand>>.jpg'
- end
- end
- killvar 'temp_titflash'
- elseif $ARGS[2] = 'ass':
- if Enable_Android = 1:
- temp_assflash = selfieAssflash[arrpos('$selfieLoc', $ARGS[1], 1)]
- else
- temp_assflash = selfieAssflash[arrpos(1, '$selfieLoc', $ARGS[1])]
- end
- if temp_assflash > 0:
- phone_rand = rand(1, temp_assflash)
- dynamic '<<$ARGS[1]>>_assflash[<<phone_rand>>] = 1'
- gs 'stat'
- if usePopUps = 1:
- msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/assflash/<<phone_rand>>.jpg">'
- else
- view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/assflash/<<phone_rand>>.jpg'
- end
- end
- killvar 'temp_assflash'
- elseif $ARGS[2] = 'pussy':
- if Enable_Android = 1:
- temp_pussyflash = selfiePussyflash[arrpos('$selfieLoc', $ARGS[1], 1)]
- else
- temp_pussyflash = selfiePussyflash[arrpos(1, '$selfieLoc', $ARGS[1])]
- end
- if temp_pussyflash > 0:
- phone_rand = rand(1, temp_pussyflash)
- dynamic '<<$ARGS[1]>>_pussyflash[<<phone_rand>>] = 1'
- gs 'stat'
- if usePopUps = 1:
- msg '<img src="images/pc/activities/phone/selfies/<<$ARGS[1]>>/pussyflash/<<phone_rand>>.jpg">'
- else
- view 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/pussyflash/<<phone_rand>>.jpg'
- end
- end
- killvar 'temp_pussyflash'
- end
- end
- killvar 'phone_rand'
- end
- !!taking selfies in the shower
- if $ARGS[0] = 'camera_selfie_image_shower':
- minut += rand(5,7)
- if Enable_Android = 1:
- temp_showertot = selfieShowertot[arrpos('$selfieLoc', 'bathroom', 1)]
- else
- temp_showertot = selfieShowertot[arrpos(1, '$selfieLoc', 'bathroom')]
- end
- phone_rand = rand(1, temp_showertot)
- !!Setting the image owned flag to 1
- bathroom_showerselfie[phone_rand] = 1
- gs 'stat'
- if usePopUps = 1:
- msg '<img src="images/pc/activities/phone/selfies/bathroom/shower/<<phone_rand>>.jpg">'
- else
- view 'images/pc/activities/phone/selfies/bathroom/shower/<<phone_rand>>.jpg'
- end
- end
- !!taking selfies in the bath
- if $ARGS[0] = 'camera_selfie_image_bathing':
- minut += rand(5,7)
- if Enable_Android = 1:
- temp_bathtot = selfieBathtot[arrpos('$selfieLoc', 'bathroom', 1)]
- else
- temp_bathtot = selfieBathtot[arrpos(1, '$selfieLoc', 'bathroom')]
- end
- phone_rand = rand(1, temp_bathtot)
- bathroom_bathselfie[phone_rand] = 1
- gs 'stat'
- if usePopUps = 1:
- msg '<img src="images/pc/activities/phone/selfies/bathroom/bath/<<phone_rand>>.jpg">'
- else
- view 'images/pc/activities/phone/selfies/bathroom/bath/<<phone_rand>>.jpg'
- end
- end
- !!======================================================!!
- !! !!
- !! SEND SELFIES !!
- !! !!
- !!======================================================!!
- if $ARGS[0] = 'send_selfie_handler':
- $temp_ssh_ret_loc = $ARGS[1]
- $temp_ssh_ret_arg = $ARGS[2]
- temp_suppress_other_selfies = 1
- gt 'phone_selfies', 'view_selfies'
- end
- !!======================================================!!
- !! !!
- !! VIEW SELFIES !!
- !! !!
- !!======================================================!!
- if $ARGS[0] = 'view_selfies':
- menu_off = 0
- *clr & cla
- gs 'phone_selfies', 'Phone_selfie_totals'
- *p func('phone_selfies', 'get_selfie_layout')
- gs 'phone_selfies', 'act_exit'
- end
- if $ARGS[0] = 'act_exit':
- act 'Stop watching selfies':
- if temp_suppress_other_selfies = 0:
- gt $menu_loc, $menu_arg
- else
- killvar 'temp_suppress_other_selfies'
- gt $temp_ssh_ret_loc, $temp_ssh_ret_arg
- end
- end
- end
- if $ARGS[0] = 'get_selfie_layout':
- $result = '<center><h4><font color="maroon">Photo library</font></h4></center>'
- $result += '<br>'
- $result += '<table><tr><th>Selfies</th></tr>'
- temp_locationCnt = 0
- :LocationLoop
- $result += '<tr><td><a href="exec: gt ''phone_selfies'', ''showlocation'', <<temp_locationCnt>>"><<$selfieLocDesc[temp_locationCnt]>> selfies</a></td></tr>'
- temp_locationCnt += 1
- if temp_locationCnt < arrsize('$selfieLoc'): jump 'LocationLoop'
- if temp_suppress_other_selfies = 0:
- $result += '<tr></tr><tr><th>Family and friends</th></tr>'
- $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''family''">Family</a></td></tr>'
- $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''school''">School friends</a></td></tr>'
- $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''teacher''">Teachers</a></td></tr>'
- $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''pavlovsk''">Pavlovsk friends</a></td></tr>'
- $result += '<tr><td><a href="exec:gt ''phone_selfies'', ''city''">City friends</a></td></tr>'
- end
- killvar 'temp_locationCnt'
- $result += '</table>'
- end
- ! ARGS[1] is the index of the location in $selfieLoc[]
- if $ARGS[0] = 'showlocation':
- '<center><h4><font color="maroon"><<$selfieLocDesc[ARGS[1]]>> selfies</font></h4></center>'
- *nl
- *p func('phone_selfies', 'listretrieve', ARGS[1], $selfieLoc[ARGS[1]])
- act 'Back': gt 'phone_selfies', 'view_selfies'
- gs 'phone_selfies', 'act_exit'
- end
- ! ARGS[1] is the index of the location in $selfieLoc[]
- ! $ARGS[2] is the selfie location (park, home, etc)
- if $ARGS[0] = 'listretrieve':
- $result = '<center><table width=80%>'
- $result += func('phone_selfies', 'retrieve_clothed_selfies', ARGS[1], $ARGS[2])
- $result += func('phone_selfies', 'retrieve_swim_selfies', ARGS[1], $ARGS[2])
- $result += func('phone_selfies', 'retrieve_underwear_selfies', ARGS[1], $ARGS[2])
- $result += func('phone_selfies', 'retrieve_nude_selfies', ARGS[1], $ARGS[2])
- $result += func('phone_selfies', 'retrieve_bath_selfies', ARGS[1], $ARGS[2])
- $result += func('phone_selfies', 'retrieve_shower_selfies', ARGS[1], $ARGS[2])
- $result += func('phone_selfies', 'retrieve_titflash_selfies', ARGS[1], $ARGS[2])
- $result += func('phone_selfies', 'retrieve_assflash_selfies', ARGS[1], $ARGS[2])
- $result += func('phone_selfies', 'retrieve_pussyflash_selfies', ARGS[1], $ARGS[2])
- $result += '</table></center>'
- end
- ! ARGS[1] is the index of the location in $selfieLoc[]
- ! $ARGS[2] is the selfie location
- if $ARGS[0] = 'retrieve_clothed_selfies':
- !!Loop for clothed selfies, dynamics set variables as mixing them in loop instructions is bad
- if selfieClotot[ARGS[1]] > 0:
- $result += '<tr><th colspan=5>Clothed selfies</th></tr>'
- $result += '<tr></tr><tr>'
- temp_cnum = 0
- temp_clocnt = 1
- :temp_loop
- !!setting value to unmixed variable so it can be checked in the if below
- dynamic 'phone_locval = <<$ARGS[2]>>_closelfie[<<temp_clocnt>>]'
- if phone_locval = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'clothed', ARGS[1], temp_clocnt) + '</td>'
- temp_cnum += 1
- end
- temp_clocnt += 1
- if temp_clocnt <= selfieClotot[ARGS[1]]: jump 'temp_loop'
- if temp_cnum ! 4: $result += '<td></td>'
- $result += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'temp_clocnt'
- end
- elseif $ARGS[0] = 'retrieve_swim_selfies':
- if selfieSwimtot[ARGS[1]] > 0:
- $result += '<tr><th colspan=5>Swimwear selfies</th></tr>'
- $result += '<tr></tr><tr>'
- temp_cnum = 0
- temp_swicnt = 1
- :temp_loop1
- !!setting value to unmixed variable so it can be checked in the if below
- dynamic 'phone_locval = <<$ARGS[2]>>_swim[<<temp_swicnt>>]'
- if phone_locval = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'bikini', ARGS[1], temp_swicnt) + '</td>'
- temp_cnum += 1
- end
- temp_swicnt += 1
- if temp_swicnt <= selfieSwimtot[ARGS[1]]: jump 'temp_loop1'
- if temp_cnum ! 4: $result += '<td></td>'
- $result += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'temp_swicnt'
- end
- elseif $ARGS[0] = 'retrieve_underwear_selfies':
- if selfieUndtot[ARGS[1]] > 0:
- $result += '<tr><th colspan=5>Underwear selfies</th></tr>'
- $result += '<tr></tr><tr>'
- temp_cnum = 0
- temp_undcnt = 1
- :temp_loop2
- dynamic 'phone_locval = <<$ARGS[2]>>_undselfie[<<temp_undcnt>>]'
- if phone_locval = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'underwear', ARGS[1], temp_undcnt) + '</td>'
- temp_cnum += 1
- end
- temp_undcnt += 1
- if temp_undcnt <= selfieUndtot[ARGS[1]]: jump 'temp_loop2'
- if temp_cnum ! 4: $result += '<td></td>'
- $result += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'temp_undcnt'
- end
- elseif $ARGS[0] = 'retrieve_nude_selfies':
- if selfieNudtot[ARGS[1]] > 0:
- $result += '<tr><th colspan=5>Nude selfies</th></tr>'
- $result += '<tr></tr><tr>'
- temp_cnum = 0
- temp_nudcnt = 1
- :temp_loop3
- dynamic 'phone_locval = <<$ARGS[2]>>_nudselfie[<<temp_nudcnt>>]'
- if phone_locval = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'nude', ARGS[1], temp_nudcnt) + '</td>'
- temp_cnum += 1
- end
- temp_nudcnt += 1
- if temp_nudcnt <= selfieNudtot[ARGS[1]]: jump 'temp_loop3'
- if temp_cnum ! 4: $result += '<td></td>'
- $result += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'temp_nudcnt'
- end
- elseif $ARGS[0] = 'retrieve_bath_selfies':
- !!loop for bath selfies
- if selfieBathtot[ARGS[1]] > 0:
- $result += '<tr><th colspan=5>Bath selfies</th></tr>'
- $result += '<tr></tr><tr>'
- temp_cnum = 0
- temp_bathcnt = 1
- :temp_loop4
- dynamic 'phone_locval = <<$ARGS[2]>>_bathselfie[<<temp_bathcnt>>]'
- if phone_locval = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'bath', ARGS[1], temp_bathcnt) + '</td>'
- temp_cnum += 1
- end
- temp_bathcnt += 1
- if temp_bathcnt <= selfieBathtot[ARGS[1]]: jump 'temp_loop4'
- if temp_cnum ! 4: $result += '<td></td>'
- $result += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'temp_bathcnt'
- end
- elseif $ARGS[0] = 'retrieve_shower_selfies':
- !!loop for shower selfies
- if selfieShowertot[ARGS[1]] > 0:
- $result += '<tr><th colspan=5>Shower selfies</th></tr>'
- $result += '<tr></tr><tr>'
- temp_cnum = 0
- temp_showercnt = 1
- :temp_loop5
- dynamic 'phone_locval = <<$ARGS[2]>>_showerselfie[<<temp_showercnt>>]'
- if phone_locval = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'shower', ARGS[1], temp_showercnt) + '</td>'
- temp_cnum += 1
- end
- temp_showercnt += 1
- if temp_showercnt <= selfieShowertot[ARGS[1]]: jump 'temp_loop5'
- if temp_cnum ! 4: $result += '<td></td>'
- $result += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'temp_showercnt'
- end
- elseif $ARGS[0] = 'retrieve_titflash_selfies':
- !!loop for flashing tits selfies
- if selfieTitflash[ARGS[1]] > 0:
- $result += '<tr><th colspan=5>Flashing tits selfies</th></tr>'
- $result += '<tr></tr><tr>'
- temp_cnum = 0
- temp_flashtitscnt = 1
- :temp_loop6
- dynamic 'phone_locval = <<$ARGS[2]>>_titflash[<<temp_flashtitscnt>>]'
- if phone_locval = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'titflash', ARGS[1], temp_flashtitscnt) + '</td>'
- temp_cnum += 1
- end
- temp_flashtitscnt += 1
- if temp_flashtitscnt <= selfieTitflash[ARGS[1]]: jump 'temp_loop6'
- if temp_cnum ! 4: $result += '<td></td>'
- $result += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'temp_flashtitscnt'
- end
- elseif $ARGS[0] = 'retrieve_assflash_selfies':
- !!loop for flashing ass selfies
- if selfieAssflash[ARGS[1]] > 0:
- $result += '<tr><th colspan=5>Flashing ass selfies</th></tr>'
- $result += '<tr></tr><tr>'
- temp_cnum = 0
- temp_flashasscnt = 1
- :temp_loop7
- dynamic 'phone_locval = <<$ARGS[2]>>_assflash[<<temp_flashasscnt>>]'
- if phone_locval = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'assflash', ARGS[1], temp_flashasscnt) + '</td>'
- temp_cnum += 1
- end
- temp_flashasscnt += 1
- if temp_flashasscnt <= selfieAssflash[ARGS[1]]: jump 'temp_loop7'
- if temp_cnum ! 4: $result += '<td></td>'
- $result += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'temp_flashasscnt'
- end
- elseif $ARGS[0] = 'retrieve_pussyflash_selfies':
- !!loop for flashing pussy selfies
- if selfiePussyflash[ARGS[1]] > 0:
- $result += '<tr><th colspan=5>Flashing pussy selfies</th></tr>'
- $result += '<tr></tr><tr>'
- temp_cnum = 0
- temp_flashpussycnt = 1
- :temp_loop8
- dynamic 'phone_locval = <<$ARGS[2]>>_pussyflash[<<temp_flashpussycnt>>]'
- if phone_locval = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $result += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie', $ARGS[2], 'pussyflash', ARGS[1], temp_flashpussycnt) + '</td>'
- temp_cnum += 1
- end
- temp_flashpussycnt += 1
- if temp_flashpussycnt <= selfiePussyflash[ARGS[1]]: jump 'temp_loop8'
- if temp_cnum ! 4: $result += '<td></td>'
- $result += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'temp_flashpussycnt'
- end
- end
- !!======================================================!!
- !! !!
- !! NPC and other PICS !!
- !! !!
- !!======================================================!!
- if $ARGS[0] = 'family':
- '<center><h4><font color="maroon">Family members</font></h4></center>'
- $textgrup = ''
- count1 = 0
- i = 1
- '<center><table cellspacing="3" width=80%>'
- :familygruploop
- if npc_selfieon['A<<i>>'] = 1 and npc_grupTipe['A<<i>>'] = 7:
- count1 += 1
- $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>'
- if count1 = 6:
- $textgrup +='</tr><tr>'
- count1 = 0
- end
- end
- i += 1
- if i <= aarraynumber: jump 'familygruploop'
- '<<$textgrup>>'
- '</table></center>'
- act 'Back': gt 'phone_selfies', 'view_selfies'
- gs 'phone_selfies', 'act_exit'
- end
- if $ARGS[0] = 'school':
- '<center><h4><font color="maroon">School friends</font></h4></center>'
- $textgrup = ''
- count1 = 0
- i = 1
- '<center><table cellspacing="3" width=80%>'
- :schoolgruploop
- 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):
- count1 += 1
- $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>'
- if count1 = 6:
- $textgrup +='</tr><tr>'
- count1 = 0
- end
- end
- i += 1
- if i <= aarraynumber: jump 'schoolgruploop'
- '<<$textgrup>>'
- '</table></center>'
- act 'Back': gt 'phone_selfies', 'view_selfies'
- gs 'phone_selfies', 'act_exit'
- end
- if $ARGS[0] = 'teacher':
- '<center><h4><font color="maroon">Teachers</font></h4></center>'
- $textgrup = ''
- count1 = 0
- i = 1
- '<center><table cellspacing="3" width=80%>'
- :teachergruploop
- if npc_selfieon['A<<i>>'] = 1 and npc_grupTipe['A<<i>>'] = 6:
- count1 += 1
- $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>'
- if count1 = 6:
- $textgrup +='</tr><tr>'
- count1 = 0
- end
- end
- i += 1
- if i <= aarraynumber: jump 'teachergruploop'
- '<<$textgrup>>'
- '</table></center>'
- act 'Back': gt 'phone_selfies', 'view_selfies'
- gs 'phone_selfies', 'act_exit'
- end
- if $ARGS[0] = 'pavlovsk':
- '<center><h4><font color="maroon">Pavlovsk friends</font></h4></center>'
- $textgrup = ''
- count1 = 0
- i = 1
- '<center><table cellspacing="3" width=80%>'
- :pavgruploop
- if npc_grupTipe['A<<i>>'] = 8 and npc_selfieon['A<<i>>'] = 1:
- count1 += 1
- $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>'
- if count1 = 6:
- $textgrup +='</tr><tr>'
- count1 = 0
- end
- end
- i += 1
- if i <= aarraynumber: jump 'pavgruploop'
- '<<$textgrup>>'
- '</table></center>'
- act 'Back': gt 'phone_selfies', 'view_selfies'
- gs 'phone_selfies', 'act_exit'
- end
- if $ARGS[0] = 'city':
- '<center><h4><font color="maroon">City friends</font></h4></center>'
- act 'Back': gt 'phone_selfies', 'view_selfies'
- gs 'phone_selfies', 'act_exit'
- end
- !! Sets up a list of selfies taken by category
- !! loops through the arrays of selfie flags (1 means that se;lfie has been taken by the player)
- !! adds the image path for each taken selfie to the relevant array
- !! So to check if any nude selfies are on the phone we can do if arrsize('$selfieTakenNud') > 0:
- !! then we can get the image paths for the elements of that array to get the pictures taken
- !! $selfieTakenClo[]
- !! $selfieTakenUnd[]
- !! $selfieTakenNud[]
- !! $selfieTakenTitflash[]
- !! $selfieTakenAssflash[]
- !! $selfieTakenPussyflash[]
- !! $selfieTakenBath[]
- !! $selfieTakenShower[]
- !! $selfieTakenSwim[]
- if $ARGS[0] = 'PopulateSelfiesList':
- killvar '$selfieTakenClo'
- killvar '$selfieTakenUnd'
- killvar '$selfieTakenNud'
- killvar '$selfieTakenTitflash'
- killvar '$selfieTakenAssflash'
- killvar '$selfieTakenPussyflash'
- killvar '$selfieTakenBath'
- killvar '$selfieTakenShower'
- killvar '$selfieTakenSwim'
- temp_locationCnt = 1
- :LocationTakenLoop
- CloMaxSize = selfieClotot[temp_locationCnt]
- if CloMaxSize > 0:
- gs 'phone_selfies', 'populateClothesType', 'closelfie', '$selfieTakenClo', 'clothed', CloMaxSize
- end
- CloMaxSize = selfieSwimtot[temp_locationCnt]
- if CloMaxSize > 0:
- gs 'phone_selfies', 'populateClothesType', 'swim', '$selfieTakenSwim', 'bikini', CloMaxSize
- end
- CloMaxSize = selfieUndtot[temp_locationCnt]
- if CloMaxSize > 0:
- gs 'phone_selfies', 'populateClothesType', 'undselfie', '$selfieTakenUnd', 'underwear', CloMaxSize
- end
- CloMaxSize = selfieNudtot[temp_locationCnt]
- if CloMaxSize > 0:
- gs 'phone_selfies', 'populateClothesType', 'nudselfie', '$selfieTakenNud', 'nude', CloMaxSize
- end
- CloMaxSize = selfieBathtot[temp_locationCnt]
- if CloMaxSize > 0:
- gs 'phone_selfies', 'populateClothesType', 'bathselfie', '$selfieTakenBath', 'bath', CloMaxSize
- end
- CloMaxSize = selfieShowertot[temp_locationCnt]
- if CloMaxSize > 0:
- gs 'phone_selfies', 'populateClothesType', 'showerselfie', '$selfieTakenShower', 'shower', CloMaxSize
- end
- CloMaxSize = selfieTitflash[temp_locationCnt]
- if CloMaxSize > 0:
- gs 'phone_selfies', 'populateClothesType', 'titflash', '$selfieTakenTitflash', 'titflash', CloMaxSize
- end
- CloMaxSize = selfieAssflash[temp_locationCnt]
- if CloMaxSize > 0:
- gs 'phone_selfies', 'populateClothesType', 'assflash', '$selfieTakenAssflash', 'assflash', CloMaxSize
- end
- CloMaxSize = selfiePussyflash[temp_locationCnt]
- if CloMaxSize > 0:
- gs 'phone_selfies', 'populateClothesType', 'pussyflash', '$selfieTakenPussyflash', 'pussyflash', CloMaxSize
- end
- temp_locationCnt += 1
- if temp_locationCnt < arrsize('$selfieLoc'): jump 'LocationTakenLoop'
- end
- if $ARGS[0] = 'populateClothesType':
- $CloTypePrefix = $ARGS[1]
- $CloArraySize = 'arrsize(''<<$ARGS[2]>>'')'
- $CloFolder = $ARGS[3]
- $CloVar = '<<$ARGS[2]>>[tmpIndex]'
- CloMaxSize = ARGS[4]
- temp_clocnt = 0
- :tempCloTakenLoop
- dynamic 'phone_locval = <<$selfieLoc[temp_locationCnt]>>_<<$CloTypePrefix>>[<<temp_clocnt>>]'
- if phone_locval = 1:
- dynamic 'tmpIndex = <<$CloArraySize>>'
- dynamic "<<$CloVar>> = 'images/pc/activities/phone/selfies/<<$selfieLoc[temp_locationCnt]>>/<<$CloFolder>>/<<$selfieFilePrefix[temp_locationCnt]>><<temp_clocnt>>.jpg'"
- end
- temp_clocnt += 1
- if temp_clocnt <= CloMaxSize: jump 'tempCloTakenLoop'
- end
- if $ARGS[0] = 'get_npc_selfie_totals':
- if ARGS[1] = 1:
- '<center><h4><font color="maroon">Dimka pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/dimka/'
- $imgloc = 'images/characters/pavlovsk/school/boy/dimka/selfies/'
- $selfienpc = 'dimka'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 2:
- '<center><h4><font color="maroon">Artem pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/artem/'
- $imgloc = 'images/characters/pavlovsk/school/boy/artem/selfies/'
- $selfienpc = 'artem'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 3:
- '<center><h4><font color="maroon">Ivan pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/ivan/'
- $imgloc = 'images/characters/pavlovsk/school/boy/ivan/selfies/'
- $selfienpc = 'ivan'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 4:
- '<center><h4><font color="maroon">Igor pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/igor/'
- $imgloc = 'images/characters/pavlovsk/school/boy/igor/selfies/'
- $selfienpc = 'igor'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 5:
- '<center><h4><font color="maroon">Fedor pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/fedor/'
- $imgloc = 'images/characters/pavlovsk/school/boy/fedor/selfies/'
- $selfienpc = 'fedor'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 6:
- '<center><h4><font color="maroon">Petka pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/petka/'
- $imgloc = 'images/characters/pavlovsk/school/boy/petka/selfies/'
- $selfienpc = 'petka'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 7:
- '<center><h4><font color="maroon">Lesco pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/lesco/'
- $imgloc = 'images/characters/pavlovsk/school/boy/lesco/selfies/'
- $selfienpc = 'lesco'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 8:
- '<center><h4><font color="maroon">Svyatoslav pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/svyatoslav/'
- $imgloc = 'images/characters/pavlovsk/school/boy/svyatoslav/selfies/'
- $selfienpc = 'svyatoslav'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 9:
- '<center><h4><font color="maroon">Vitek pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/vitek/'
- $imgloc = 'images/characters/pavlovsk/school/boy/vitek/selfies/'
- $selfienpc = 'vitek'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 10:
- '<center><h4><font color="maroon">Dan pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/dan/'
- $imgloc = 'images/characters/pavlovsk/school/boy/dan/selfies/'
- $selfienpc = 'dan'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 11:
- '<center><h4><font color="maroon">Vasily pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/vasily/'
- $imgloc = 'images/characters/pavlovsk/school/boy/vasily/selfies/'
- $selfienpc = 'vasily'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 12:
- '<center><h4><font color="maroon">Julia pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/julia/'
- $imgloc = 'images/characters/pavlovsk/school/boy/julia/selfies/'
- $selfienpc = 'julia'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 13:
- '<center><h4><font color="maroon">Lariska pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/lariska/'
- $imgloc = 'images/characters/pavlovsk/school/boy/lariska/selfies/'
- $selfienpc = 'lariska'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 14:
- '<center><h4><font color="maroon">Katja pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/katja/'
- $imgloc = 'images/characters/pavlovsk/school/boy/katja/selfies/'
- $selfienpc = 'katja'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 15:
- '<center><h4><font color="maroon">Vicky pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/vicky/'
- $imgloc = 'images/characters/pavlovsk/school/boy/vicky/selfies/'
- $selfienpc = 'vicky'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 16:
- '<center><h4><font color="maroon">Natasha pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/natasha/'
- $imgloc = 'images/characters/pavlovsk/school/boy/natasha/selfies/'
- $selfienpc = 'natasha'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 17:
- '<center><h4><font color="maroon">Inna pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/inna/'
- $imgloc = 'images/characters/pavlovsk/school/boy/inna/selfies/'
- $selfienpc = 'inna'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 18:
- '<center><h4><font color="maroon">Christina pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/christina/'
- $imgloc = 'images/characters/pavlovsk/school/boy/christina/selfies/'
- $selfienpc = 'christina'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 19:
- '<center><h4><font color="maroon">Lina pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/lina/'
- $imgloc = 'images/characters/pavlovsk/school/boy/lina/selfies/'
- $selfienpc = 'lina'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 20:
- '<center><h4><font color="maroon">Lena pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/lena/'
- $imgloc = 'images/characters/pavlovsk/school/boy/lena/selfies/'
- $selfienpc = 'lena'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 21:
- '<center><h4><font color="maroon">Lera pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/lera/'
- $imgloc = 'images/characters/pavlovsk/school/boy/lera/selfies/'
- $selfienpc = 'lera'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 22:
- '<center><h4><font color="maroon">Bella pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/bella/'
- $imgloc = 'images/characters/pavlovsk/school/boy/bella/selfies/'
- $selfienpc = 'bella'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 23:
- '<center><h4><font color="maroon">Albina pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/albina/'
- $imgloc = 'images/characters/pavlovsk/school/boy/albina/selfies/'
- $selfienpc = 'albina'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 24:
- '<center><h4><font color="maroon">Pauline pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/pauline/'
- $imgloc = 'images/characters/pavlovsk/school/boy/pauline/selfies/'
- $selfienpc = 'pauline'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 25:
- '<center><h4><font color="maroon">Sonia pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/sonia/'
- $imgloc = 'images/characters/pavlovsk/school/girl/sonia/selfies/'
- $selfienpc = 'sonia'
- loopmaxev = 0
- loopmax = 45
- loopmaxsveta = 25
- loopmaxsex = 9
- elseif ARGS[1] = 26:
- '<center><h4><font color="maroon">Anatoly pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/anatoly/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/anatoly/selfies/'
- $selfienpc = 'anatoly'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 28:
- '<center><h4><font color="maroon">Stepfather pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/vladimir/'
- $imgloc = 'images/characters/pavlovsk/resident/vladimir/selfies/'
- $selfienpc = 'vladimir'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 29:
- '<center><h4><font color="maroon">Mother pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/mom/'
- $imgloc = 'images/characters/pavlovsk/resident/mom/selfies/'
- $selfienpc = 'mom'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 33:
- '<center><h4><font color="maroon">Anya pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/anya/'
- $imgloc = 'images/characters/pavlovsk/resident/anya/selfies/'
- $selfienpc = 'anya'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 34:
- '<center><h4><font color="maroon">Kolka pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/kolka/'
- $imgloc = 'images/characters/pavlovsk/resident/kolka/selfies/'
- $selfienpc = 'kolka'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 35:
- '<center><h4><font color="maroon">Father pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/???/'
- !! Where are these located?
- $imgloc = 'images/characters/pavlovsk/resident/???/selfies/'
- $selfienpc = 'father'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 54:
- '<center><h4><font color="maroon">Uncle Misha pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/misha/'
- $imgloc = 'images/characters/pavlovsk/resident/misha/selfies/'
- $selfienpc = 'misha'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 56:
- '<center><h4><font color="maroon">Roma pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/roma/'
- $imgloc = 'images/characters/pavlovsk/resident/roma/selfies/'
- $selfienpc = 'roma'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 57:
- '<center><h4><font color="maroon">Rex pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/rex/'
- $imgloc = 'images/characters/pavlovsk/resident/rex/selfies/'
- $selfienpc = 'rex'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 69:
- '<center><h4><font color="maroon">Mikhail pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/mikhail/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/mikhail/selfies/'
- $selfienpc = 'coachmikhail'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 112:
- '<center><h4><font color="maroon">Sergey pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/sergey/'
- $imgloc = 'images/characters/pavlovsk/resident/sergey/selfies/'
- $selfienpc = 'sergey'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 128:
- '<center><h4><font color="maroon">Makar pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/makar/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/makar/selfies/'
- $selfienpc = 'makar'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 129:
- '<center><h4><font color="maroon">Serafim pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/serafim/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/serafim/selfies/'
- $selfienpc = 'serafim'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 130:
- '<center><h4><font color="maroon">Ilya pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/ilya/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/ilya/selfies/'
- $selfienpc = 'ilya'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 131:
- '<center><h4><font color="maroon">Viktor pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/viktor/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/viktor/selfies/'
- $selfienpc = 'viktor'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 132:
- '<center><h4><font color="maroon">Ruslan pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/ruslan/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/ruslan/selfies/'
- $selfienpc = 'ruslan'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 133:
- '<center><h4><font color="maroon">Rolan pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/rolan/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/rolan/selfies/'
- $selfienpc = 'rolan'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 134:
- '<center><h4><font color="maroon">Aleksandrina pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/aleksandrina/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/aleksandrina/selfies/'
- $selfienpc = 'aleksandrina'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 135:
- '<center><h4><font color="maroon">Yeva pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/yeva/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/yeva/selfies/'
- $selfienpc = 'yeva'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 136:
- '<center><h4><font color="maroon">Olga pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/olga/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/olga/selfies/'
- $selfienpc = 'olga'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 137:
- '<center><h4><font color="maroon">Raven pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/raven/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/raven/selfies/'
- $selfienpc = 'raven'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 138:
- '<center><h4><font color="maroon">Arina pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/arina/'
- $imgloc = 'images/characters/pavlovsk/school/teacher/arina/selfies/'
- $selfienpc = 'arina'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 139:
- '<center><h4><font color="maroon">Stasya pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/stasya/'
- $imgloc = 'images/characters/pavlovsk/school/boy/stasya/selfies/'
- $selfienpc = 'stasya'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 140:
- '<center><h4><font color="maroon">Lizaveta pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/lizaveta/'
- $imgloc = 'images/characters/pavlovsk/school/boy/lizaveta/selfies/'
- $selfienpc = 'lizaveta'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 141:
- '<center><h4><font color="maroon">Veronika pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/veronika/'
- $imgloc = 'images/characters/pavlovsk/school/boy/veronika/selfies/'
- $selfienpc = 'veronika'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 142:
- '<center><h4><font color="maroon">Zinaida pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/zinaida/'
- $imgloc = 'images/characters/pavlovsk/school/boy/zinaida/selfies/'
- $selfienpc = 'zinaida'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 143:
- '<center><h4><font color="maroon">Alyona pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/alyona/'
- $imgloc = 'images/characters/pavlovsk/school/boy/alyona/selfies/'
- $selfienpc = 'alyona'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 144:
- '<center><h4><font color="maroon">Anushka pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/anushka/'
- $imgloc = 'images/characters/pavlovsk/school/girl/anushka/selfies/'
- $selfienpc = 'anushka'
- loopmaxev = 6
- loopmax = 22
- loopmaxsveta = 2
- loopmaxsex = 7
- elseif ARGS[1] = 145:
- '<center><h4><font color="maroon">Ekaterina pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/ekaterina/'
- $imgloc = 'images/characters/pavlovsk/school/boy/ekaterina/selfies/'
- $selfienpc = 'ekaterina'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 146:
- '<center><h4><font color="maroon">Marcus pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/marcus/'
- $imgloc = 'images/characters/pavlovsk/school/boy/marcus/selfies/'
- $selfienpc = 'marcus'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 147:
- '<center><h4><font color="maroon">Andrey pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/andrey/'
- $imgloc = 'images/characters/pavlovsk/school/boy/andrey/selfies/'
- $selfienpc = 'andrey'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 148:
- '<center><h4><font color="maroon">Mefodiy pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/mefodiy/'
- $imgloc = 'images/characters/pavlovsk/school/boy/mefodiy/selfies/'
- $selfienpc = 'mefodiy'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 149:
- '<center><h4><font color="maroon">Lazar pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/lazar/'
- $imgloc = 'images/characters/pavlovsk/school/boy/lazar/selfies/'
- $selfienpc = 'lazar'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 150:
- '<center><h4><font color="maroon">Erast pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/erast/'
- $imgloc = 'images/characters/pavlovsk/school/boy/erast/selfies/'
- $selfienpc = 'erast'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 151:
- '<center><h4><font color="maroon">Evgeny pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/evgeny/'
- $imgloc = 'images/characters/pavlovsk/school/boy/evgeny/selfies/'
- $selfienpc = 'evgeny'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 152:
- '<center><h4><font color="maroon">Feofan pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/feofan/'
- $imgloc = 'images/characters/pavlovsk/school/boy/feofan/selfies/'
- $selfienpc = 'feofan'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 153:
- '<center><h4><font color="maroon">Gerasim pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/gerasim/'
- $imgloc = 'images/characters/pavlovsk/school/boy/gerasim/selfies/'
- $selfienpc = 'gerasim'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 154:
- '<center><h4><font color="maroon">Radomir pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/radomir/'
- $imgloc = 'images/characters/pavlovsk/school/boy/radomir/selfies/'
- $selfienpc = 'radomir'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 155:
- '<center><h4><font color="maroon">Lavrenti pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/lavrenti/'
- $imgloc = 'images/characters/pavlovsk/school/boy/lavrenti/selfies/'
- $selfienpc = 'lavrenti'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 156:
- '<center><h4><font color="maroon">Arkadi pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/arkadi/'
- $imgloc = 'images/characters/pavlovsk/school/boy/arkadi/selfies/'
- $selfienpc = 'arkadi'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 157:
- '<center><h4><font color="maroon">Roman pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/roman/'
- $imgloc = 'images/characters/pavlovsk/school/boy/roman/selfies/'
- $selfienpc = 'roman'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 158:
- '<center><h4><font color="maroon">Valentin pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/valentin/'
- $imgloc = 'images/characters/pavlovsk/school/boy/valentin/selfies/'
- $selfienpc = 'valentin'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 159:
- '<center><h4><font color="maroon">Petia pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/petia/'
- $imgloc = 'images/characters/pavlovsk/school/boy/petia/selfies/'
- $selfienpc = 'petia'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 165:
- '<center><h4><font color="maroon">Vanya pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/vanya/'
- $imgloc = 'images/characters/pavlovsk/school/boy/vanya/selfies/'
- $selfienpc = 'vanya'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- elseif ARGS[1] = 189:
- '<center><h4><font color="maroon">Nikolai pictures</font></h4></center>'
- $photoloc = 'images/pc/pictures/nikolai/'
- $imgloc = 'images/characters/pavlovsk/school/boy/nikolai/selfies/'
- $selfienpc = 'nikolai'
- loopmaxev = 0
- loopmax = 0
- loopmaxsveta = 0
- loopmaxsex = 0
- else
- !! New npcs with selfies should be included above
- end
- end
- if $ARGS[0] = 'listretrieve2':
- gs 'phone_selfies', 'get_npc_selfie_totals', numnpc
- $temp_table = '<table>'
- if loopmaxev > 0:
- $temp_table += '<tr><th colspan=5>Pictures</th></tr>'
- $temp_table += '<tr></tr><tr>'
- temp_cnum = 0
- lr2_pic_i = 1
- :temp_loopev
- dynamic '$selfie = <<$selfienpc>>photo[<<lr2_pic_i>>]'
- if val($selfie) = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', $photoloc, lr2_pic_i) + '</td>'
- temp_cnum += 1
- end
- lr2_pic_i += 1
- if lr2_pic_i <= loopmax: jump 'temp_loopev'
- if temp_cnum ! 4: $temp_table += '<td></td>'
- $temp_table += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'lr2_pic_i'
- end
- if loopmax > 0:
- $temp_table += '<tr><th colspan=5>Regular selfies</th></tr>'
- $temp_table += '<tr></tr><tr>'
- temp_cnum = 0
- lr2_regself_i = 1
- :temp_loopselfies
- dynamic '$selfie = <<$selfienpc>>[<<lr2_regself_i>>]'
- if val($selfie) = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', $imgloc, lr2_regself_i) + '</td>'
- temp_cnum += 1
- end
- lr2_regself_i += 1
- if lr2_regself_i <= loopmax: jump 'temp_loopselfies'
- if temp_cnum ! 4: $temp_table += '<td></td>'
- $temp_table += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'lr2_regself_i'
- end
- if loopmaxsveta > 0:
- $temp_table += '<tr><th colspan=5>Selfies with me</th></tr>'
- $temp_table += '<tr></tr><tr>'
- temp_cnum = 0
- lr2_swm_i = 1
- :temp_loopselfiessveta
- dynamic '$selfie = <<$selfienpc>>sveta[<<lr2_swm_i>>]'
- if val($selfie) = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', '<<$imgloc>>sveta/', lr2_swm_i) + '</td>'
- temp_cnum += 1
- end
- lr2_swm_i += 1
- if lr2_swm_i <= loopmaxsveta: jump 'temp_loopselfiessveta'
- if temp_cnum ! 4: $temp_table += '<td></td>'
- $temp_table += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'lr2_swm_i'
- end
- if loopmaxsex > 0:
- $temp_table += '<tr><th colspan=5>Sex selfies</th></tr>'
- $temp_table += '<tr></tr><tr>'
- temp_cnum = 0
- lr2_sex_i = 1
- :temp_loopselfiessex
- dynamic '$selfie = <<$selfienpc>>sex[<<lr2_sex_i>>]'
- if val($selfie) = 1:
- if temp_cnum = 5: $result += '</tr><tr>' & temp_cnum = 0
- $temp_table += '<td width="20%">' + func('phone_selfies_popup', 'set_selfie2', '<<$imgloc>>sex/', lr2_sex_i) + '</td>'
- temp_cnum += 1
- end
- lr2_sex_i += 1
- if lr2_sex_i <= loopmaxsex: jump 'temp_loopselfiessex'
- if temp_cnum ! 4: $temp_table += '<td></td>'
- $temp_table += '</tr><tr></tr>'
- killvar 'temp_cnum'
- killvar 'lr2_sex_i'
- end
- $temp_table += '</table>'
- *p $temp_table
- act 'Back': gt 'phone_selfies', 'view_selfies'
- gs 'phone_selfies', 'act_exit'
- end
- --- phone_selfies ---------------------------------
|