123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897 |
- # telefon
- if $ARGS[0] = 'start':
- gs 'stat'
- gs 'telefon','phone_call_receive'
- if npc_QW['A192'] = 1 and week = 6 and pcs_apprnc > 80:
- gt 'nastja', 'pos4'
- elseif npc_QW['A192'] = 2 and week ! 6 and zenit ! 0 and nastjaday ! daystart:
- gt 'nastja', 'pos13'
- elseif hour >= 8 and hour <= 20 and npc_QW['A192'] = 2 and week = 6 and pcs_apprnc > 80 and nastjaday ! daystart:
- gt 'nastja', 'pos12'
- elseif npc_QW['A192'] = 5 and week = 6 and nastjaday ! daystart:
- gt 'nastja', 'pos22'
- elseif npc_QW['A192'] = 6 and nastjaday ! daystart:
- gt 'nastja', 'pos31'
- else
- $callerid = 'icon_nastja'
- gs 'telefon','phone_call_reject'
- end
- end
- if $ARGS[0] = 'mobilaraz':
- cls
- cla
- gs'din_bad'
- $caller = '<<$telsob>>'
- gs 'telefon','phone_balance'
- gs 'telefon','phone_call_receive'
- willAgree = (rand(0, 10) > 3)
- '"Yes, I''m listening," says a voice from the speaker.'
- if month > 5 and temper > 20 and sunWeather = 1:
- act 'Invite to the park':
- cla
- '"Let''s go for a walk in the park."'
- if willAgree:
- '<<$telsob>>, "See you in the park in an hour."'
- act 'Go':gt 'parksvid'
- else
- gs 'telefon','telotkaz',$telsob
- end
- end
- end
- act 'Invite to a movie':
- cla
- '"Want to go see a movie?"'
- if willAgree:
- '<<$telsob>>, "See you at the movie theater in an hour."'
- act 'Go':gt 'kinosvid'
- else
- gs 'telefon','telotkaz',$telsob
- end
- end
- act 'Invite to the pool hall':
- cla
- '"Let''s play pool."'
- if willAgree:
- '<<$telsob>>, "See you at the pool hall in an hour."'
- act 'Go':gt 'billsvid'
- else
- gs 'telefon','telotkaz',$telsob
- end
- end
- act 'Invite to the cafe':
- cla
- '"Let''s go to the cafe."'
- if willAgree:
- '<<$telsob>>, "See you at the cafe in an hour."'
- act 'Go':gt 'kafesvid'
- else
- gs 'telefon','telotkaz',$telsob
- end
- end
- act 'Invite to the casino':
- cla
- '"Let''s go to the casino."'
- if willAgree:
- '<<$telsob>>, "See you in the casino in an hour."'
- act 'Go':gt 'kazinosvid'
- else
- gs 'telefon','telotkaz',$telsob
- end
- end
- act 'Hangup':gt 'telefon', 'fin'
- end
- if $ARGS[0] = 'callingTheLover' and loverGender[ARGS[1]] = 1:
- cls
- cla
- gs'din_bad'
- lover_number = ARGS[1]
- $caller = '<<$loverdesc[lover_number]>>'
- $callerid = 'images/characters/shared/'+lover_picture[lover_number]+'.jpg'
- gs 'telefon','phone_balance'
- gs 'telefon','phone_call_receive'
- willAgree = (rand(0, 10) > 3)
- '"Yes, I''m listening," says a voice from the speaker.'
- if month > 5 and temper > 20 and sunWeather = 1:
- act 'Invite to the park':
- cla
- '"Let''s go for a walk in the park."'
- if willAgree:
- '<<$loverdesc[lover_number]>>, "See you in the park in an hour."'
- act 'Go':gt 'dateF', 'datepark'
- else
- gs 'telefon','telotkaz',$loverdesc[lover_number]
- end
- end
- end
- act 'Invite to the bar':
- cla
- '"Let''s go to the bar."'
- if willAgree:
- '<<$loverdesc[lover_number]>>, "See you at the cafe in an hour."'
- act 'Go':gt 'dateF', 'bartalk'
- else
- gs 'telefon','telotkaz',$loverdesc[lover_number]
- end
- end
-
- act 'I think we should break up...':
- cla
- 'She sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
- gs 'lover', 'remove', lover_number
- act 'Hangup':gt 'telefon', 'fin'
- end
- act 'Hangup':gt 'telefon', 'fin'
-
- killvar 'lover_number'
- end
- if $ARGS[0] = 'callingTheLover' and loverGender[ARGS[1]] = 0:
- cls
- cla
- gs'din_bad'
- lover_number = ARGS[1]
- $caller = '<<$loverdesc[lover_number]>>'
- $callerid = 'images/characters/shared/'+lover_picture[lover_number]+'.jpg'
- gs 'telefon','phone_balance'
- gs 'telefon','phone_call_receive'
- willAgree = (rand(0, 10) > 3)
- '"Yes, I''m listening," says a voice from the speaker.'
- if month > 5 and temper > 20 and sunWeather = 1:
- act 'Invite to the park':
- cla
- '"Let''s go for a walk in the park."'
- if willAgree:
- '<<$loverdesc[lover_number]>>, "See you in the park in an hour."'
- act 'Go':gt 'svidboy', 'parksvid'
- else
- gs 'telefon','telotkaz',$loverdesc[lover_number]
- end
- end
- end
- act 'Invite to a movie':
- cla
- '"Want to go see a movie?"'
- if willAgree:
- '<<$loverdesc[lover_number]>>, "See you at the movie theater in an hour."'
- act 'Go':gt 'svidboy', 'kinosvid'
- else
- gs 'telefon','telotkaz',$loverdesc[lover_number]
- end
- end
- act 'Invite to the pool hall':
- cla
- '"Let''s play pool."'
- if willAgree:
- '<<$loverdesc[lover_number]>>, "See you at the pool hall in an hour."'
- act 'Go':gt 'svidboy', 'billsvid'
- else
- gs 'telefon','telotkaz',$loverdesc[lover_number]
- end
- end
- act 'Invite to the cafe':
- cla
- '"Let''s go to the cafe."'
- if willAgree:
- '<<$loverdesc[lover_number]>>, "See you at the cafe in an hour."'
- act 'Go':gt 'svidboy', 'kafesvid'
- else
- gs 'telefon','telotkaz',$loverdesc[lover_number]
- end
- end
-
- act 'I think we should break up...':
- cla
- 'He sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
- gs 'lover', 'remove', lover_number
- act 'Hangup':gt 'telefon', 'fin'
- end
- act 'Hangup':gt 'telefon', 'fin'
-
- killvar 'lover_number'
- end
- if $ARGS[0] = 'lover' and loverGender[ARGS[1]] = 0:
- cla
- clr
- lover_number = ARGS[1]
- ring = 0
- lover_days = daystart - loverday[lover_number]
- gs 'stat'
- gs 'telefon','phone_call_receive'
- svetrand = rand(0, 5)
- if svetrand = 0:$sveta = 'cutie'
- if svetrand = 1:$sveta = 'honey'
- if svetrand = 2:$sveta = 'sweetie'
- if svetrand = 3:$sveta = 'baby'
- if svetrand = 4:$sveta = 'hot stuff'
- if svetrand = 5:$sveta = '<<$pcs_nickname>>'
- 'Hey <<$sveta>>, it''s me, <<$loverdesc[lover_number]>>. How''s it going?'
- act 'Normally':
- cla
- '"Pretty good, you?"'
- '<<$loverdesc[lover_number]>>, "Great, but I kind of miss you, can we meet today?"'
- if pregtime <= lover_days and knowpreg = 1 and pregtalk = 0:
- act 'Tell him he''s going to be a dad':
- cla
- pregtalk = 1
- '"Honey, I''m pregnant with your child."'
- if haraklover[lover_number] = 0:
- if loverrelation[lover_number] >= 90:
- loverlove[lover_number] = 1
- '<<$loverdesc[lover_number]>>, "This is wonderful! We have to celebrate!"'
- 'You start talking about living together. <<$loverdesc[lover_number]>> tells you that he is not against it in principle, but first he wants you to meet his parents.'
- 'He warns you that his mother is very demanding and rigorous. <<$loverdesc[lover_number]>> says that he loves his mother and does not want to upset her. Therefore, you must look gorgeous, wear a dress from a boutique, have well-groomed and curled hair and makeup in moderation.'
- 'When you are totally ready <<$loverdesc[lover_number]>> will take you to their parents.'
- act 'Hang up':gt 'telefon', 'fin'
- act 'Meet tonight':
- cla
- svidanie[lover_number] = 1
- '"How about this evening?"'
- '<<$loverdesc[lover_number]>>, "Sounds great! When can I come to pick you up?"'
- act 'Pick a time':
- cla
- meetday[lover_number] = daystart
- meethour[lover_number] = input ("When do you want to be picked up? It is now <<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>>. [Enter the hour only 0 - 20]")
- if meethour[lover_number] <= hour or meethour[lover_number] > 23:meethour[lover_number] = 20
- '"How about <<meethour[lover_number]>>:00?"'
- '<<$loverdesc[lover_number]>>, "Okay <<$sveta>>, see you at <<meethour[lover_number]>>:00."'
- act 'Hang up':gt 'telefon', 'fin'
- end
- end
- elseif loverrelation[lover_number] < 90:
- money += 20000
- '<<$loverdesc[lover_number]>> "I''m not yet ready to become a dad. I''ll give you the money for an abortion. Get rid of the child.'
- act 'Hang up':gt 'telefon', 'fin'
- end
- elseif haraklover[lover_number] = 1:
- money += 20000
- '<<$loverdesc[lover_number]>> "I''m not yet ready to become a dad. I''ll give you the money get an abortion.'
- act 'Hang up':gt 'telefon', 'fin'
- elseif haraklover[lover_number] = 2:
- pregtalk = 0
- '<<$loverdesc[lover_number]>>, "What? You whore! Someone fucked your pussy and now you drop it on me. You''re dumped.'
- gs 'lover', 'remove', lover_number
- act 'Hang up':gt 'telefon', 'fin'
- end
- end
- elseif pregtime > lover_days and knowpreg = 1 and pregtalk = 0:
- act 'Honey, you will soon become a dad':
- cla
- loverrelation[lover_number] = 0
- '"Honey, I''m pregnant with your child."'
- '<<$loverdesc[lover_number]>>, "How the fuck did I manage that? Unless I own a time-machine and went back to before we met and fucked you, it''s someone elses, go and tell him. I don''t want to see you again, goodbye."'
- act 'Hang up.':gt 'telefon', 'fin'
- end
- elseif week > 1 and week < 5 and workKafe = 1:
- act 'Sorry, I''m working today':
- cla
- '"Sorry, I''m working today."'
- '<<$loverdesc[lover_number]>>, "Okay, I''ll call tomorrow."'
- act 'Hang up':gt 'telefon', 'fin'
- end
- end
- act 'Tonight':
- cla
- loverrelation[lover_number] += 1
- svidanie[lover_number] = 1
- meetday[lover_number] = daystart
- '"How about this evening?"'
- '<<$loverdesc[lover_number]>>, "Sounds great! When can I come to pick you up?"'
- act 'Pick a time':
- cla
- meethour[lover_number] = input ("When do you want to be picked up. It is now <<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>>. [Enter the hour only 0 - 20]")
- if meethour[lover_number] <= hour or meethour[lover_number] > 23:meethour[lover_number] = 20
- '"How about <<meethour[lover_number]>>:00?."'
- '<<$loverdesc[lover_number]>>, "Okay <<$sveta>>, see you at <<meethour[lover_number]>>:00."'
- act 'Hang up':gt 'telefon', 'fin'
- end
- end
- act 'Maybe tomorrow':
- cla
- loverrelation[lover_number] -= 1
- '"I''m busy today. Call tomorrow."'
- if loverrelation[lover_number] <= 0:'<<$loverdesc[lover_number]>>, Are you fucking me, you know what. Suck my dick.' & gs 'lover', 'remove', lover_number
- if loverrelation[lover_number] > 0:'(<<$loverdesc[lover_number]>>) - Okay, I''ll call tomorrow.'
- act 'Hang up': gt 'telefon', 'fin'
- end
-
- act 'I think we should break up...':
- cla
- 'He sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
- gs 'lover', 'remove', lover_number
- act 'Hang up': gt 'telefon', 'fin'
- end
- end
- act 'Leave':
- cla
- gs 'lover', 'remove', lover_number
- gt 'telefon', 'fin'
- end
- killvar 'lover_number'
- end
- if $ARGS[0] = 'lover' and loverGender[ARGS[1]] = 1:
- cla
- clr
- lover_number = ARGS[1]
- ring = 0
- lover_days = daystart - loverday[lover_number]
- gs 'stat'
- gs 'telefon','phone_call_receive'
- svetrand = rand(0, 5)
- if svetrand = 0:$sveta = 'cutie'
- if svetrand = 1:$sveta = 'honey'
- if svetrand = 2:$sveta = 'sweetie'
- if svetrand = 3:$sveta = 'baby'
- if svetrand = 4:$sveta = 'hot stuff'
- if svetrand = 5:$sveta = '<<$pcs_nickname>>'
- 'Hey <<$sveta>>, it''s me, <<$loverdesc[lover_number]>>. How''s it going?'
- act 'Normally':
- cla
- '"Pretty good, you?"'
- '<<$loverdesc[lover_number]>>, "Great, but I kind of miss you, can we meet today?"'
- act 'Tonight':
- cla
- loverrelation[lover_number] += 1
- svidanie[lover_number] = 1
- meetday[lover_number] = daystart
- '"How about this evening?"'
- '<<$loverdesc[lover_number]>>, "Sounds great! When can I come to pick you up?"'
- act 'Pick a time':
- cla
- meethour[lover_number] = input ("When do you want to be picked up. It is now <<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>>. [Enter the hour only 0 - 20]")
- if meethour[lover_number] <= hour or meethour[lover_number] > 23:meethour[lover_number] = 20
- '"How about <<meethour[lover_number]>>:00?."'
- '<<$loverdesc[lover_number]>>, "Okay <<$sveta>>, see you at <<meethour[lover_number]>>:00."'
- act 'Hang up':gt 'telefon', 'fin'
- end
- end
- act 'Maybe tomorrow':
- cla
- loverrelation[lover_number] -= 1
- '"I''m busy today. Call tomorrow."'
- if loverrelation[lover_number] <= 0:'<<$loverdesc[lover_number]>>, Are you fucking me, you know what. Fuck off.' & gs 'lover', 'remove', lover_number
- if loverrelation[lover_number] > 0:'(<<$loverdesc[lover_number]>>) - Okay, I''ll call tomorrow.'
- act 'Hang up': gt 'telefon', 'fin'
- end
-
- act 'I think we should break up...':
- cla
- 'She sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
- gs 'lover', 'remove', lover_number
- act 'Hang up': gt 'telefon', 'fin'
- end
- end
- act 'Leave':
- cla
- gs 'lover', 'remove', lover_number
- gt 'telefon', 'fin'
- end
- killvar 'lover_number'
- end
- if $ARGS[0] = 'phone_ring':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6><<$caller>> calling</font></center>'
- pl'<center><img src="<<$callerid>>"><br></center>'
- pl''
- pl''
- pl''
- pl''
- ! pl'<center><a href="exec:gt ''telefon'', ''start''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:gs ''stat''"><img src="images/system/phone/decline.png"></a></center>'
- end &! --- phone_ring ---
- if $ARGS[0] = 'phone_call_receive':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6>Talking to <<$caller>></font></center>'
- pl'<center><img src="<<$callerid>>"><br></center>'
- end &! --- phone_call_receive ---
- if $ARGS[0] = 'phone_balance':
- if balans < 4:
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6>Not enough credit on your account</font></center>'
- pl'<center><img src="<<$callerid>>"><br></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/phone/decline.png"></a></center>'
- wait 3500
- cla
- gt $loc, $metka
- elseif balans >= 4:
- balans -= 4
- end
- end &! --- phone_balance ---
- if $ARGS[0] = 'Phone_call':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6>Calling Mom</font></center>'
- pl'<center><img src="images/system/phone/icons/icon_npc1.png"><br></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_contactlist'' "><img src="images/system/phone/decline.png"></a></center>'
- wait 1500
- minut += 1
- $callerid = 'images/system/phone/icons/icon_npc1.png'
- gs 'telefon', 'phone_balance'
- $callerid = 'icon_npc1'
- gs 'telefon', 'phone_call_reject'
- end &! --- Phone_call ---
- if $ARGS[0] = 'phone_call_reject':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6>Calling....</font></center>'
- pl'<center><img src="images/system/phone/icons/<<$callerid>>.png"><br></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_contactlist'' "><img src="images/system/phone/decline.png"></a></center>'
- end &! --- phone_call_reject ---
- if $ARGS[0] = 'Phone_megafon':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6>Bullhorn</font></center>'
- pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_megafon.png"><br></center>'
- pl'<center><b>The balance in the account: </b><font size=5><i><font size=6><<balans>></font></i> <b>₽</b>.</center>.'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
- end &! --- Phone_megafon ---
- if $ARGS[0] = 'Phone_contactlist':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl '<center><font size=6>Contacts</font></center>'
- pl '<center><img src="<<FUNC(''$phone_theme'')>>icon_call.png"><br></center>'
- if StoryLine = 1:pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/phone/icons/icon_npc1.png"></TD><TD>Mum</TD><TD align="right"><a href="exec:gs ''telefon'', ''Phone_call'' "><b>Call</b></a></TD></TR></TABLE></center>'
- if hour >= 8 and hour <= 19:
- if telalla > 0:
- pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/phone/icons/icon_ira1.png"></TD><TD></TD><TD align="right"><a href="exec:$callerid = ''images/system/phone/icons/icon_ira1.png'' & $telsob = ''Alla'' & gt ''telefon'', ''mobilaraz''"><b>Call</b></a></TD></TR></TABLE></center>'
- end
- if telmasha > 0:
- pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/phone/icons/icon_masha.png"></TD><TD></TD><TD align="right"><a href="exec:$callerid = ''images/system/phone/icons/icon_masha.png'' & $telsob = ''Masha'' & gt ''telefon'', ''mobilaraz''"><b>Call</b></a></TD></TR></TABLE></center>'
- end
- if telkat > 0:
- pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/phone/icons/icon_kat.png"></TD><TD></TD><TD align="right"><a href="exec:$callerid = ''images/system/phone/icons/icon_kat.png'' & $telsob = ''Kate'' & gt ''telefon'', ''mobilaraz''"><b>Call</b></a></TD></TR></TABLE></center>'
- end
- !! iterating all lovers
- lover_number = 0
- :loverloop
- if pcs_lovers[lover_number] = 1 and svidanie[lover_number] = 0 and rand(1,7) > 3:
- pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/phone/icons/icon_bf'+lover_picture[lover_number]+'.png"></TD><TD></TD><TD align="right"><a href="exec:lover_number = <<lover_number>> & gt ''telefon'', ''callingTheLover'', <<lover_number>>"><b>Call</b></a></TD></TR></TABLE></center>'
- end
- lover_number += 1
- if lover_number < arrsize('pcs_lovers'): jump 'loverloop'
- killvar 'lover_number'
- else
- if telalla > 0:
- pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/phone/icons/icon_ira1.png"></TD><TD></TD><TD align="right"><a href="exec:$callerid = ''icon_ira1'' & gs ''telefon'', ''phone_call_reject'' "><b>Call</b></a></TD></TR></TABLE></center>'
- end
- if telmasha > 0:
- pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/phone/icons/icon_masha.png"></TD><TD></TD><TD align="right"><a href="exec:$callerid = ''icon_masha'' & gs ''telefon'', ''phone_call_reject'' "><b>Call</b></a></TD></TR></TABLE></center>'
- end
- if telkat > 0:
- pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/phone/icons/icon_kat.png"></TD><TD></TD><TD align="right"><a href="exec:$callerid = ''icon_kat'' & gs ''telefon'', ''phone_call_reject'' "><b>Call</b></a></TD></TR></TABLE></center>'
- end
-
- !! iterating all lovers
- lover_number = 0
- :loverunavailableloop
- if pcs_lovers[lover_number] = 1 and svidanie[lover_number] = 0:
- pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/phone/icons/icon_bf'+lover_picture[lover_number]+'.png"></TD><TD></TD><TD align="right"><a href="exec:$callerid = ''icon_bf''+lover_picture[lover_number] & gs ''telefon'', ''phone_call_reject'' "><b>Call</b></a></TD></TR></TABLE></center>'
- end
- lover_number += 1
- if lover_number < arrsize('pcs_lovers'): jump 'loverunavailableloop'
- killvar 'lover_number'
- end
- if npc_QW['A192'] > 0:
- pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/phone/icons/icon_nastja.png"></TD><TD align="right"><a href="exec:gs ''telefon'', ''start''"><b>Call</b></a></TD></TR></TABLE></center>'
- end
- dummyas = arrsize('$contact')
- :din_bad_as
- dummyas -= 1
- if dummyas >= 0:
- pl '<<$contact[dummyas]>>'
- jump 'din_bad_as'
- end
- killvar 'dummyas'
- if arrsize('$contact')>0:pl'<center><a href="exec:gs ''telefon'', ''Edit_Custom_list'' "><b>Edit Contacts</b></a></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
- end &! --- Phone_contactlist ---
- if $ARGS[0] = 'Edit_Custom_list':
- clr
- dummyas = arrsize('$contact')
- :din_bad_as1
- dummyas -= 1
- if dummyas >= 0:
- $dummyedit = $contact[dummyas]
- $dummyedit1 = dyneval('$result = ''</a><a href="exec:killvar ''''$contact'''',<<dummyas>> & gs ''''telefon'''', ''''Edit_Custom_list'''' "><b>Remove</b>'' ')
- $dummyedit2 = $replace($dummyedit,'<b>Call</b>',$dummyedit1)
- pl $dummyedit2
- jump 'din_bad_as1'
- end
- killvar 'dummyas'
- killvar 'dummyedit'
- killvar 'dummyedit1'
- killvar 'dummyedit2'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
- end &! --- Edit_Custom_list ---
- if $ARGS[0] = 'Phone_notebook':
- clr
- pl'<center><font size=6>Planner</font></center>'
- pl'<center><<year>>-<<$month>>-<<day>>, <<$week[week]>><br></center>'
- rent = -1
- if BuyHous = 2 and ArendHouseSL > 0:rent = ArendHouseSL
- preg1 = pregtime
- d1 = day
- w1 = week
- m1 = month
- y1 = year
- i = 0
- $list = '<br> <b>•</b> '
- :pnotebook
- daynum = daystart+i
- $calendarday = ''
- if m1 = 1 and d1 >= 1 and d1 <= 8:
- $calendarday += $list + 'New Year holidays'
- if d1 = 1:$calendarday += ', New Year'
- if d1 = 7:$calendarday += ', Christmas'
- end
- if m1 = 2 and d1 = 23:$calendarday += $list + 'Defender of Fatherland Day'
- if m1 = 3 and d1 = 8:$calendarday += $list + 'Women''s Day'
- if m1 = 5 and d1 = 1:$calendarday += $list + 'Spring and Labor Day'
- if m1 = 5 and d1 = 2:$calendarday += $list + 'National holiday'
- if m1 = 5 and d1 = 9:$calendarday += $list + 'Victory Day'
- if m1 = 6 and d1 = 12:$calendarday += $list + 'Russia Day'
- if m1 = 6 and d1 = 13:$calendarday += $list + 'National holiday'
- if m1 = 11 and d1 = 4:$calendarday += $list + 'Unity Day'
-
- if storyline = 1 and SchoolAtestat = 0:
- if m1 = 1 and d1 = 1:$calendarday += $list + 'First day of Winter break.'
- if m1 = 1 and d1 = 15:$calendarday += $list + 'Last day of Winter break.'
- if m1 = 3 and d1 = 20:$calendarday += $list + 'First day of Spring break.'
- if m1 = 3 and d1 = 26:$calendarday += $list + 'Last day of Spring break.'
- if schoool_year = 2000 and y1 = 2017 and m1 = 5 and d1 = 25:$calendarday += $list + 'Graduation Day!'
- if schoool_year = 2001 and y1 = 2018 and m1 = 6 and d1 = 1:$calendarday += $list + 'First day of Summer break.'
- if m1 = 8 and d1 = 31:$calendarday += $list + 'Last day of Summer break.'
- if m1 = 11 and d1 = 4:$calendarday += $list + 'First day of Autumn break.'
- if m1 = 11 and d1 = 11:$calendarday += $list + 'Last day of Autumn break.'
- end
-
- if daynum >= lastmens+28 and daynum < lastmens+31:$calendarday += $list + '<font color=''red''><b>Menstruation!</b></font>'
- if daynum >= lastmens+12 and daynum < lastmens+14:$calendarday += $list + '<font color=#336600><b>Ovulation!</b></font>'
- if preg1 = 280:$calendarday += $list + '<font color=''red''><b>Birthing day!</b></font>'
-
- if w1 < 5 and (workSec >= 1 or PersSecWork = 1):$calendarday += $list + 'Working as a secretary. <i>(9:00 - 17:00)</i>'
- if w1 < 5 and workFabrika = 1:
- $calendarday += $list + 'Working as a seamstress. '
- if age < 18:$calendarday += '<i>(16:00 - 20:00)</i>' else $calendarday += '<i>(8:00 - 16:00)</i>'
- end
- if w1 > 1 and w1 <= 5 and workhosp = 1:$calendarday += $list + 'Working as nurse. <i>(8:00 - 16:00)</i>'
- if worksalon = 1 and (w1 = 1 or w1 = 3 or w1 = 5):$calendarday += $list + 'Working as masseuse. <i>(9:00 - 17:00)</i>'
- !! if maidqw > 0:$calendarday += '<br> <b>•</b> Working as maid. <i>(16:00 - 19:00)</i>'
- if pfilmday[i] > 0:$calendarday += $list + 'Porn shoot: <i><<$porndesc[pfilmday[i]]>></i>'
- if d1 = 25 and (PersSecWork = 1 or workKafe = 1 or workhosp = 1 or worksalon = 1 or tanwork = 1 or workSec = 1 or workFabrika = 1):$calendarday += $list + '<i>Pay day!</i>'
- if d1 = nyp_day and m1 = 12 and SchoolAtestat = 0 and StoryLine = 1:$calendarday += $list + 'New Year''s party at 14:00!'
- if (npc_QW['A33']-2) mod 2 = 1 and sisboyday+1 = daynum:
- if sisboytrioQW = 1:
- $calendarday += $list + '<font color="orange">Threesome with Anja and Roma at 18:00</font>'
- else
- $calendarday += $list + '<font color="orange">Anja having sex with Roma at 18:00</font>'
- end
- end
- if sisboyparty = 2 and sisboyparty_day+1 = daynum:$calendarday += $list + '<font color="orange">Party at Rex, gathering before 18:00 at Community Center</font>'
- if rent = 0:$calendarday += $list + 'Rent on apartment expires!'
- if birthday = d1 and birthmonth = m1:$calendarday += $list + 'My birthday!'
- if kid > 0:
- k1 = kid
- :kiddieloop
- if daykid[k1] = d1 and monthkid[k1] = m1:$calendarday += $list + 'Birthday of my <<$polreb[k1]>> <<$kidname[k1]>>, my <<kid>>. baby!'
- if k1 > 1:k1 -= 1 & jump 'kiddieloop'
- end
-
- if $calendarday ! '':
- p '<b><<$monthName[m1]>> <<d1>>, <<$week[w1]>>:</b>'
- pl $calendarday
- end
- if i < 14:
- preg1 += 1
- rent -= 1
- i += 1
- w1 += 1
- if w1 > 7:w1 = 1
- d1 += 1
- if monthsend[m1] < d1:
- m1 += 1 & d1 = 1
- if m1 = 13: m1 = 1 & y1 += 1
- end
- jump 'pnotebook'
- end
- killvar 'calendarday'
- killvar 'rent'
- killvar 'preg1'
- killvar 'd1'
- killvar 'w1'
- killvar 'm1'
- killvar 'y1'
- killvar 'daynum'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
- end &! --- Phone_notebook ---
- if $ARGS[0] = 'Phone_pictures':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6>Gallery</font></center>'
- pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_pictures.png"><br></center>'
- if phone_selfie[1] = 1:pl'<a href="exec:view''images/system/phone/selfie/phone_selfie1.jpg''"><b>Selfie number1</b></a>'
- if phone_selfie[2] = 1:pl'<a href="exec:view''images/system/phone/selfie/phone_selfie2.jpg''"><b>Selfie number2</b></a>'
- if vanr_selfie[0] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (0).jpg''"><b>After shower selfie number1</b></a>'
- if vanr_selfie[1] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (1).jpg''"><b>After shower selfie number2</b></a>'
- if vanr_selfie[2] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (2).jpg''"><b>After shower selfie number3</b></a>'
- if vanr_selfie[3] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (3).jpg''"><b>After shower selfie number4</b></a>'
- if vanr_selfie[4] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (4).jpg''"><b>After shower selfie number5</b></a>'
- if vanr_selfie[5] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (5).jpg''"><b>After shower selfie number6</b></a>'
- if vanr_selfie[6] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (6).jpg''"><b>After shower selfie number7</b></a>'
- if vanr_selfie[7] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (7).jpg''"><b>After shower selfie number8</b></a>'
- if vanr_selfie[8] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (8).jpg''"><b>After shower selfie number9</b></a>'
- if vanr_selfie[9] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (9).jpg''"><b>After shower selfie number10</b></a>'
- if vanr_selfie[10] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (10).jpg''"><b>After shower selfie number11</b></a>'
- if vanr_selfie[11] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (11).jpg''"><b>After shower selfie number12</b></a>'
- if vanr_selfie[12] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (12).jpg''"><b>After shower selfie number13</b></a>'
- if vanr_selfie[13] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (13).jpg''"><b>After shower selfie number14</b></a>'
- if vanr_selfie[14] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (14).jpg''"><b>After shower selfie number15</b></a>'
- if vanr_selfie[15] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (15).jpg''"><b>After shower selfie number16</b></a>'
- if vanr_selfie[16] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (16).jpg''"><b>After shower selfie number17</b></a>'
- if vanr_selfie[17] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (17).jpg''"><b>After shower selfie number18</b></a>'
- if vanr_selfie[18] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (18).jpg''"><b>After shower selfie number19</b></a>'
- if vanr_selfie[19] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (19).jpg''"><b>After shower selfie number20</b></a>'
- !if vanr_selfie[20] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (20).jpg''"><b>After shower selfie number21</b></a>'
- if vanr_selfie[21] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (21).jpg''"><b>After shower selfie number22</b></a>'
- if vanr_selfie[22] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (22).jpg''"><b>After shower selfie number23</b></a>'
- if vanr_selfie[23] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (23).jpg''"><b>After shower selfie number24</b></a>'
- if vanr_selfie[24] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (24).jpg''"><b>After shower selfie number25</b></a>'
- if vanr_selfie[25] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (25).jpg''"><b>After shower selfie number26</b></a>'
- if vanr_selfie[26] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (26).jpg''"><b>After shower selfie number27</b></a>'
- if vanr_selfie[27] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (27).jpg''"><b>After shower selfie number28</b></a>'
- if vanr_selfie[28] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (28).jpg''"><b>After shower selfie number29</b></a>'
- if vanr_selfie[29] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (29).jpg''"><b>After shower selfie number30</b></a>'
- if vanr_selfie[30] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (30).jpg''"><b>After shower selfie number31</b></a>'
- if vanr_selfie[31] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (31).jpg''"><b>After shower selfie number32</b></a>'
- if vanr_selfie[32] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (32).jpg''"><b>After shower selfie number33</b></a>'
- if vanr_selfie[33] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (33).jpg''"><b>After shower selfie number34</b></a>'
- if vanr_selfie[34] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (34).jpg''"><b>After shower selfie number35</b></a>'
- if vanr_selfie[35] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (35).jpg''"><b>After shower selfie number36</b></a>'
- if vanr_selfie[36] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (36).jpg''"><b>After shower selfie number37</b></a>'
- if vanr_selfie[37] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (37).jpg''"><b>After shower selfie number38</b></a>'
- if vanr_selfie[38] = 1:pl'<a href="exec:view''images/system/phone/selfie/bathroom/s (38).jpg''"><b>After shower selfie number39</b></a>'
- !if phone_selfie[m] = 1:pl'<a href="exec:view''images/system/phone/phone_selfiem.jpg''"><b>Photo in sperm number1</b></a>'
- !if phone_selfie[n] = 1:pl'<a href="exec:view''images/system/phone/phone_selfien.jpg''"><b>Photo in sperm number2</b></a>'
- !if phone_selfie[x] = 1:pl'<a href="exec:view''images/system/phone/phone_selfiex.jpg''"><b>Photo Event number1</b></a>'
- !if phone_selfie[y] = 1:pl'<a href="exec:view''images/system/phone/phone_selfiey.jpg''"><b>Photo Event number2</b></a>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
- end &! --- Phone_pictures ---
- if $ARGS[0] = 'Phone_camera_selfie':
- if ($loc = 'vanrPar' or $loc = 'vanr' or $loc = 'yvan') and mirror_steam = hour:
- minut += RAND(5,7)
- phone_rand = RAND(0,38)
- vanr_selfie[phone_rand] = 1
- gs 'stat'
- gs 'telefon', 'Phone_pictures'
- view 'images/system/phone/selfie/bathroom/s (<<phone_rand>>).jpg'
- else
- minut += RAND(5,7)
- phone_rand = RAND(1,2)
- phone_selfie[phone_rand] = 1
- gs 'stat'
- gs 'telefon', 'Phone_pictures'
- view 'images/system/phone/selfie/phone_selfie<<phone_rand>>.jpg'
- end
- !if spdirtyf > 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)
- !view 'images/system/phone/phone_selfie<<phone_rand>>.jpg'
- end &! --- Phone_camera_selfie ---
- if $ARGS[0] = 'Phone_camera':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6>Camera</font></center>'
- pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_camera.png"><br></center>'
- pl'<a href="exec:photoskl_exp += 1 & gs ''telefon'', ''Phone_camera_selfie'' "><b>Take a selfie</b></a>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
- end &! --- Phone_camera ---
-
-
- if $ARGS[0] = 'Phone_wheather':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6>Weather</font></center>'
- pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_weather.png"><br></center>'
- pl'<center><font size=6><b>Temperature: <<$temperature>>. <i><<$osadki>></i></b></font></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
- end &! --- Phone_wheather ---
- if $ARGS[0] = 'Phone_calendar':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6>Calendar</font></center>'
- pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_calendar.png"><br></center>'
- pl'<center><B>Today: </B><font size=5><<$week[week]>>, <i><font size=6><<day>></font></i> <<$month>> <i><font size=6><<year>></font></i> year.</font></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
- end &! --- Phone_calendar ---
- if $ARGS[0] = 'Phone_noactive':
- clr
- pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><font size=6>This option is not active</font></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
- end &! --- Phone_noactive ---
- if $ARGS[0] = 'Phone_menu':
- clr
- pl'<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
- pl'<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="images/system/icon/icon_statusbar_left.png"></TD><TD></TD><TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD></TR></TABLE></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_camera'' "><img src="<<FUNC(''$phone_theme'')>>icon_camera.png"></a><a href="exec:gs ''telefon'', ''Phone_calendar'' "><img src="<<FUNC(''$phone_theme'')>>icon_calendar.png"></a><a href="exec:gs ''telefon'', ''Phone_pictures'' "><img src="<<FUNC(''$phone_theme'')>>icon_pictures.png"></a></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_noactive'' "><img src="<<FUNC(''$phone_theme'')>>icon_music.png"></a><a href="exec:gs ''Cheatmenu_din'' & Enable_settingmode = 1 & dynamic $cheatmenu[''display'']"><img src="<<FUNC(''$phone_theme'')>>icon_settings.png"></a><a href="exec:gs ''telefon'', ''Phone_wheather'' "><img src="<<FUNC(''$phone_theme'')>>icon_weather.png"></a></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_contactlist'' "><img src="<<FUNC(''$phone_theme'')>>icon_call.png"></a><a href="exec:gs ''telefon'', ''Phone_noactive'' "><img src="<<FUNC(''$phone_theme'')>>icon_sms.png"></a><a href="exec:gs ''telefon'', ''Phone_megafon'' "><img src="<<FUNC(''$phone_theme'')>>icon_megafon.png"></a></center>'
- pl'<center><a href="exec:gs ''telefon'', ''Phone_notebook'' "><img src="<<FUNC(''$phone_theme'')>>icon_notebook.png"></a></center>'
- pl'<center><a href="exec:gs''stat''"><img src="images/system/icon/back.png"></a></center>'
- end &! --- Phone_menu ---
- if $ARGS[0] = 'Add_contact':
- $dummy = INPUT('Enter a note:')
- $contact[arrsize('$contact')] = '<center><TABLE cellspacing="0" width="80%"><TR><TD><img src="<<$ARGS[1]>>"></TD><TD><<$dummy>></TD><TD align="right"><a href="exec:<<$ARGS[2]>>"><b>Call</b></a></TD></TR></TABLE>'
- killvar '$dummy'
- end &! --- Add_contact ---
- if $ARGS[0] = 'telotkaz':
- cla
- minut += 10
- '<<$ARGS[1]>>, "Sorry, I''m busy right now, maybe next time."'
- act 'Hangup':gt 'telefon', 'fin'
- end &! --- telotkaz ---
- if $ARGS[0] = 'fin':
- cla
- gt $loc, $metka
- end
- if $ARGS[0] = 'setup':
- ! array $$phonetheme_name is built.
- ! might need a tweak to have it rebuilt when new themes are available.
- $phonetheme_name[0] = 'Custom_Standard'
- $phonetheme_name[1] = 'Bimbo'
- $phonetheme_name[2] = 'Custom_Aluminus'
- $phonetheme_name[3] = 'Custom_Bottlecapped'
- $phonetheme_name[4] = 'Custom_Galactic'
- $phonetheme_name[5] = 'Custom_Vectored'
- $phonetheme_name[6] = 'Custom_Veneer'
- $phonetheme_name[7] = 'Custom_Voidwalker'
- $phonetheme_name[8] = 'Custom_Voidwalker Red'
- $phonetheme_name[9] = 'Custom_Voidwalker Toxic'
- $phonetheme_name[10] = 'Gopnik'
- $phonetheme_name[11] = 'Sports'
- $phonetheme_name[12] = 'Succubus'
- $phonetheme_name[13] = 'Woodshop'
-
- phonetheme[0] = 1
- end
- --- telefon ---------------------------------
|