telefon.qsrc 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956
  1. # telefon
  2. if $ARGS[0] = 'start':
  3. gs 'stat'
  4. gs 'telefon','phone_call_receive'
  5. if npc_QW['A192'] = 1 and week = 6 and pcs_apprnc > 80:
  6. gt 'nastja', 'pos4'
  7. elseif npc_QW['A192'] = 2 and week ! 6 and zenit ! 0 and nastjaday ! daystart:
  8. gt 'nastja', 'pos13'
  9. elseif hour >= 8 and hour <= 20 and npc_QW['A192'] = 2 and week = 6 and pcs_apprnc > 80 and nastjaday ! daystart:
  10. gt 'nastja', 'pos12'
  11. elseif npc_QW['A192'] = 5 and week = 6 and nastjaday ! daystart:
  12. gt 'nastja', 'pos22'
  13. elseif npc_QW['A192'] = 6 and nastjaday ! daystart:
  14. gt 'nastja', 'pos31'
  15. else
  16. $callerid = 'icon_nastja'
  17. gs 'telefon','phone_call_reject'
  18. end
  19. end
  20. if $ARGS[0] = 'mobilaraz':
  21. cls
  22. cla
  23. gs'din_bad'
  24. $caller = '<<$telsob>>'
  25. gs 'telefon','phone_balance'
  26. gs 'telefon','phone_call_receive'
  27. willAgree = (rand(0, 10) > 3)
  28. '"Yes, I''m listening," says a voice from the speaker.'
  29. if month > 5 and temper > 20 and sunWeather = 1:
  30. act 'Invite to the park':
  31. cla
  32. '"Let''s go for a walk in the park."'
  33. if willAgree:
  34. '<<$telsob>>, "See you in the park in an hour."'
  35. act 'Go':gt 'parksvid'
  36. else
  37. gs 'telefon','telotkaz',$telsob
  38. end
  39. end
  40. end
  41. act 'Invite to a movie':
  42. cla
  43. '"Want to go see a movie?"'
  44. if willAgree:
  45. '<<$telsob>>, "See you at the movie theater in an hour."'
  46. act 'Go':gt 'kinosvid'
  47. else
  48. gs 'telefon','telotkaz',$telsob
  49. end
  50. end
  51. act 'Invite to the pool hall':
  52. cla
  53. '"Let''s play pool."'
  54. if willAgree:
  55. '<<$telsob>>, "See you at the pool hall in an hour."'
  56. act 'Go':gt 'billsvid'
  57. else
  58. gs 'telefon','telotkaz',$telsob
  59. end
  60. end
  61. act 'Invite to the cafe':
  62. cla
  63. '"Let''s go to the cafe."'
  64. if willAgree:
  65. '<<$telsob>>, "See you at the cafe in an hour."'
  66. act 'Go':gt 'kafesvid'
  67. else
  68. gs 'telefon','telotkaz',$telsob
  69. end
  70. end
  71. act 'Invite to the casino':
  72. cla
  73. '"Let''s go to the casino."'
  74. if willAgree:
  75. '<<$telsob>>, "See you in the casino in an hour."'
  76. act 'Go':gt 'kazinosvid'
  77. else
  78. gs 'telefon','telotkaz',$telsob
  79. end
  80. end
  81. act 'Hangup':gt 'telefon', 'fin'
  82. end
  83. if $ARGS[0] = 'callingTheLover' and loverGender[ARGS[1]] = 1:
  84. cls
  85. cla
  86. gs'din_bad'
  87. lover_number = ARGS[1]
  88. $caller = '<<$loverdesc[lover_number]>>'
  89. $telsob = $caller
  90. $callerid = 'images/characters/shared/'+lover_picture[lover_number]+'.jpg'
  91. gs 'telefon','phone_balance'
  92. gs 'telefon','phone_call_receive'
  93. willAgree = (rand(0, 10) > 3)
  94. '"Yes, I''m listening," says a voice from the speaker.'
  95. if month > 5 and temper > 20 and sunWeather = 1:
  96. act 'Invite to the park':
  97. cla
  98. '"Let''s go for a walk in the park."'
  99. if willAgree:
  100. '<<$telsob>>, "See you in the park in an hour."'
  101. act 'Go': gt 'parksvid'
  102. else
  103. gs 'telefon','telotkaz',$telsob
  104. end
  105. end
  106. end
  107. act 'Invite to a movie':
  108. cla
  109. '"Want to go see a movie?"'
  110. if willAgree:
  111. '<<$telsob>>, "See you at the movie theater in an hour."'
  112. act 'Go': gt 'kinosvid'
  113. else
  114. gs 'telefon','telotkaz',$telsob
  115. end
  116. end
  117. if $home_town = 'city':
  118. act 'Invite to the pool hall':
  119. cla
  120. '"Let''s play pool."'
  121. if willAgree:
  122. '<<$telsob>>, "See you at the pool hall in an hour."'
  123. act 'Go': gt 'billsvid'
  124. else
  125. gs 'telefon','telotkaz',$telsob
  126. end
  127. end
  128. end
  129. act 'Invite to the cafe':
  130. cla
  131. '"Let''s go to the cafe."'
  132. if willAgree:
  133. '<<$telsob>>, "See you at the cafe in an hour."'
  134. act 'Go': gt 'kafesvid'
  135. else
  136. gs 'telefon','telotkaz',$telsob
  137. end
  138. end
  139. act 'Invite to the casino':
  140. cla
  141. '"Let''s go to the casino."'
  142. if willAgree:
  143. '<<$telsob>>, "See you in the casino in an hour."'
  144. act 'Go': gt 'kazinosvid'
  145. else
  146. gs 'telefon','telotkaz',$telsob
  147. end
  148. end
  149. act 'I think we should break up...':
  150. cla
  151. 'She sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
  152. gs 'lover', 'remove', lover_number
  153. act 'Hangup':gt 'telefon', 'fin'
  154. end
  155. act 'Hangup':gt 'telefon', 'fin'
  156. end
  157. if $ARGS[0] = 'callingTheLover' and loverGender[ARGS[1]] = 0:
  158. cls
  159. cla
  160. gs'din_bad'
  161. lover_number = ARGS[1]
  162. $caller = '<<$loverdesc[lover_number]>>'
  163. $callerid = 'images/characters/shared/'+lover_picture[lover_number]+'.jpg'
  164. gs 'telefon','phone_balance'
  165. gs 'telefon','phone_call_receive'
  166. willAgree = (rand(0, 10) > 3)
  167. '"Yes, I''m listening," says a voice from the speaker.'
  168. if month > 5 and temper > 20 and sunWeather = 1:
  169. act 'Invite to the park':
  170. cla
  171. '"Let''s go for a walk in the park."'
  172. if willAgree:
  173. '<<$loverdesc[lover_number]>>, "See you in the park in an hour."'
  174. act 'Go':gt 'svidboy', 'parksvid'
  175. else
  176. gs 'telefon','telotkaz',$loverdesc[lover_number]
  177. end
  178. end
  179. end
  180. act 'Invite to a movie':
  181. cla
  182. '"Want to go see a movie?"'
  183. if willAgree:
  184. '<<$loverdesc[lover_number]>>, "See you at the movie theater in an hour."'
  185. act 'Go':gt 'svidboy', 'kinosvid'
  186. else
  187. gs 'telefon','telotkaz',$loverdesc[lover_number]
  188. end
  189. end
  190. if $home_town = 'city':
  191. act 'Invite to the pool hall':
  192. cla
  193. '"Let''s play pool."'
  194. if willAgree:
  195. '<<$loverdesc[lover_number]>>, "See you at the pool hall in an hour."'
  196. act 'Go':gt 'svidboy', 'billsvid'
  197. else
  198. gs 'telefon','telotkaz',$loverdesc[lover_number]
  199. end
  200. end
  201. end
  202. act 'Invite to the cafe':
  203. cla
  204. '"Let''s go to the cafe."'
  205. if willAgree:
  206. '<<$loverdesc[lover_number]>>, "See you at the cafe in an hour."'
  207. act 'Go':gt 'svidboy', 'kafesvid'
  208. else
  209. gs 'telefon','telotkaz',$loverdesc[lover_number]
  210. end
  211. end
  212. act 'I think we should break up...':
  213. cla
  214. 'He sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
  215. gs 'lover', 'remove', lover_number
  216. act 'Hangup':gt 'telefon', 'fin'
  217. end
  218. act 'Hangup':gt 'telefon', 'fin'
  219. end
  220. if $ARGS[0] = 'lover' and loverGender[ARGS[1]] = 0:
  221. cla
  222. clr
  223. lover_number = ARGS[1]
  224. ring = 0
  225. lover_days = daystart - loverday[lover_number]
  226. gs 'stat'
  227. gs 'telefon','phone_call_receive'
  228. svetrand = rand(0, 5)
  229. if svetrand = 0:$sveta = 'cutie'
  230. if svetrand = 1:$sveta = 'honey'
  231. if svetrand = 2:$sveta = 'sweetie'
  232. if svetrand = 3:$sveta = 'baby'
  233. if svetrand = 4:$sveta = 'hot stuff'
  234. if svetrand = 5:$sveta = '<<$pcs_nickname>>'
  235. 'Hey <<$sveta>>, it''s me, <<$loverdesc[lover_number]>>. How''s it going?'
  236. act 'Normally':
  237. cla
  238. '"Pretty good, you?"'
  239. '<<$loverdesc[lover_number]>>, "Great, but I kind of miss you, can we meet today?"'
  240. if pregtime <= lover_days and knowpreg = 1 and pregtalk = 0:
  241. act 'Tell him he''s going to be a dad':
  242. cla
  243. pregtalk = 1
  244. '"Honey, I''m pregnant with your child."'
  245. if haraklover[lover_number] = 0:
  246. if loverrelation[lover_number] >= 90:
  247. loverlove[lover_number] = 1
  248. '<<$loverdesc[lover_number]>>, "This is wonderful! We have to celebrate!"'
  249. '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.'
  250. '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.'
  251. 'When you are totally ready <<$loverdesc[lover_number]>> will take you to their parents.'
  252. act 'Hang up':gt 'telefon', 'fin'
  253. act 'Meet tonight':
  254. cla
  255. svidanie[lover_number] = 1
  256. '"How about this evening?"'
  257. '<<$loverdesc[lover_number]>>, "Sounds great! When can I come to pick you up?"'
  258. act 'Pick a time':
  259. cla
  260. meetday[lover_number] = daystart
  261. 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]")
  262. if meethour[lover_number] <= hour or meethour[lover_number] > 23:meethour[lover_number] = 20
  263. '"How about <<meethour[lover_number]>>:00?"'
  264. '<<$loverdesc[lover_number]>>, "Okay <<$sveta>>, see you at <<meethour[lover_number]>>:00."'
  265. act 'Hang up':gt 'telefon', 'fin'
  266. end
  267. end
  268. elseif loverrelation[lover_number] < 90:
  269. money += 20000
  270. '<<$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.'
  271. act 'Hang up':gt 'telefon', 'fin'
  272. end
  273. elseif haraklover[lover_number] = 1:
  274. money += 20000
  275. '<<$loverdesc[lover_number]>> "I''m not yet ready to become a dad. I''ll give you the money get an abortion.'
  276. act 'Hang up':gt 'telefon', 'fin'
  277. elseif haraklover[lover_number] = 2:
  278. pregtalk = 0
  279. '<<$loverdesc[lover_number]>>, "What? You whore! Someone fucked your pussy and now you drop it on me. You''re dumped.'
  280. gs 'lover', 'remove', lover_number
  281. act 'Hang up':gt 'telefon', 'fin'
  282. end
  283. end
  284. elseif pregtime > lover_days and knowpreg = 1 and pregtalk = 0:
  285. act 'Honey, you will soon become a dad':
  286. cla
  287. loverrelation[lover_number] = 0
  288. '"Honey, I''m pregnant with your child."'
  289. '<<$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."'
  290. act 'Hang up.':gt 'telefon', 'fin'
  291. end
  292. elseif week > 1 and week < 5 and workKafe = 1:
  293. act 'Sorry, I''m working today':
  294. cla
  295. '"Sorry, I''m working today."'
  296. '<<$loverdesc[lover_number]>>, "Okay, I''ll call tomorrow."'
  297. act 'Hang up':gt 'telefon', 'fin'
  298. end
  299. end
  300. act 'Tonight':
  301. cla
  302. loverrelation[lover_number] += 1
  303. svidanie[lover_number] = 1
  304. meetday[lover_number] = daystart
  305. '"How about this evening?"'
  306. '<<$loverdesc[lover_number]>>, "Sounds great! When can I come to pick you up?"'
  307. act 'Pick a time':
  308. cla
  309. 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]")
  310. if meethour[lover_number] <= hour or meethour[lover_number] > 23:meethour[lover_number] = 20
  311. '"How about <<meethour[lover_number]>>:00?."'
  312. '<<$loverdesc[lover_number]>>, "Okay <<$sveta>>, see you at <<meethour[lover_number]>>:00."'
  313. act 'Hang up':gt 'telefon', 'fin'
  314. end
  315. end
  316. act 'Maybe tomorrow':
  317. cla
  318. loverrelation[lover_number] -= 1
  319. '"I''m busy today. Call tomorrow."'
  320. if loverrelation[lover_number] <= 0:'<<$loverdesc[lover_number]>>, Are you fucking me, you know what. Suck my dick.' & gs 'lover', 'remove', lover_number
  321. if loverrelation[lover_number] > 0:'(<<$loverdesc[lover_number]>>) - Okay, I''ll call tomorrow.'
  322. act 'Hang up': gt 'telefon', 'fin'
  323. end
  324. act 'I think we should break up...':
  325. cla
  326. 'He sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
  327. gs 'lover', 'remove', lover_number
  328. act 'Hang up': gt 'telefon', 'fin'
  329. end
  330. end
  331. act 'Leave':
  332. cla
  333. gs 'lover', 'remove', lover_number
  334. gt 'telefon', 'fin'
  335. end
  336. end
  337. if $ARGS[0] = 'lover' and loverGender[ARGS[1]] = 1:
  338. cla
  339. clr
  340. lover_number = ARGS[1]
  341. ring = 0
  342. lover_days = daystart - loverday[lover_number]
  343. gs 'stat'
  344. gs 'telefon','phone_call_receive'
  345. svetrand = rand(0, 5)
  346. if svetrand = 0:$sveta = 'cutie'
  347. if svetrand = 1:$sveta = 'honey'
  348. if svetrand = 2:$sveta = 'sweetie'
  349. if svetrand = 3:$sveta = 'baby'
  350. if svetrand = 4:$sveta = 'hot stuff'
  351. if svetrand = 5:$sveta = '<<$pcs_nickname>>'
  352. 'Hey <<$sveta>>, it''s me, <<$loverdesc[lover_number]>>. How''s it going?'
  353. act 'Normally':
  354. cla
  355. '"Pretty good, you?"'
  356. '<<$loverdesc[lover_number]>>, "Great, but I kind of miss you, can we meet today?"'
  357. act 'Tonight':
  358. cla
  359. loverrelation[lover_number] += 1
  360. svidanie[lover_number] = 1
  361. meetday[lover_number] = daystart
  362. '"How about this evening?"'
  363. '<<$loverdesc[lover_number]>>, "Sounds great! When can I come to pick you up?"'
  364. act 'Pick a time':
  365. cla
  366. 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]")
  367. if meethour[lover_number] <= hour or meethour[lover_number] > 23:meethour[lover_number] = 20
  368. '"How about <<meethour[lover_number]>>:00?."'
  369. '<<$loverdesc[lover_number]>>, "Okay <<$sveta>>, see you at <<meethour[lover_number]>>:00."'
  370. act 'Hang up':gt 'telefon', 'fin'
  371. end
  372. end
  373. act 'Maybe tomorrow':
  374. cla
  375. loverrelation[lover_number] -= 1
  376. '"I''m busy today. Call tomorrow."'
  377. if loverrelation[lover_number] <= 0:'<<$loverdesc[lover_number]>>, Are you fucking me, you know what. Fuck off.' & gs 'lover', 'remove', lover_number
  378. if loverrelation[lover_number] > 0:'(<<$loverdesc[lover_number]>>) - Okay, I''ll call tomorrow.'
  379. act 'Hang up': gt 'telefon', 'fin'
  380. end
  381. act 'I think we should break up...':
  382. cla
  383. 'She sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
  384. gs 'lover', 'remove', lover_number
  385. act 'Hang up': gt 'telefon', 'fin'
  386. end
  387. end
  388. act 'Leave':
  389. cla
  390. gs 'lover', 'remove', lover_number
  391. gt 'telefon', 'fin'
  392. end
  393. end
  394. if $ARGS[0] = 'phone_ring':
  395. clr
  396. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  397. 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>'
  398. pl'<center><font size=6><<$caller>> calling</font></center>'
  399. pl'<center><img src="<<$callerid>>"><br></center>'
  400. pl''
  401. pl''
  402. pl''
  403. pl''
  404. ! 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>'
  405. end &! --- phone_ring ---
  406. if $ARGS[0] = 'phone_call_receive':
  407. clr
  408. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  409. 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>'
  410. pl'<center><font size=6>Talking to <<$caller>></font></center>'
  411. pl'<center><img src="<<$callerid>>"><br></center>'
  412. end &! --- phone_call_receive ---
  413. if $ARGS[0] = 'phone_balance':
  414. if balans < 4:
  415. clr
  416. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  417. 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>'
  418. pl'<center><font size=6>Not enough credit on your account</font></center>'
  419. pl'<center><img src="<<$callerid>>"><br></center>'
  420. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/phone/decline.png"></a></center>'
  421. wait 3500
  422. cla
  423. gt $loc, $metka
  424. elseif balans >= 4:
  425. balans -= 4
  426. end
  427. end &! --- phone_balance ---
  428. if $ARGS[0] = 'Phone_call':
  429. clr
  430. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  431. 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>'
  432. pl'<center><font size=6>Calling Mom</font></center>'
  433. pl'<center><img src="images/system/phone/icons/icon_npc1.png"><br></center>'
  434. pl'<center><a href="exec:gs ''telefon'', ''Phone_contactlist'' "><img src="images/system/phone/decline.png"></a></center>'
  435. wait 1500
  436. minut += 1
  437. $callerid = 'images/system/phone/icons/icon_npc1.png'
  438. gs 'telefon', 'phone_balance'
  439. $callerid = 'icon_npc1'
  440. gs 'telefon', 'phone_call_reject'
  441. end &! --- Phone_call ---
  442. if $ARGS[0] = 'phone_call_reject':
  443. clr
  444. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  445. 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>'
  446. pl'<center><font size=6>Calling....</font></center>'
  447. pl'<center><img src="images/system/phone/icons/<<$callerid>>.png"><br></center>'
  448. pl'<center><a href="exec:gs ''telefon'', ''Phone_contactlist'' "><img src="images/system/phone/decline.png"></a></center>'
  449. end &! --- phone_call_reject ---
  450. if $ARGS[0] = 'Phone_megafon':
  451. clr
  452. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  453. 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>'
  454. pl'<center><font size=6>MegaFon</font></center>'
  455. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_megafon.png" height="80" width="80"><br></center>'
  456. pl'<center><b>The balance in the account:</b>'
  457. pl'<center><font size=5><<balans>> ₽.</font></center>'
  458. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  459. end &! --- Phone_megafon ---
  460. if $ARGS[0] = 'Phone_contactlist':
  461. clr
  462. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  463. 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>'
  464. pl '<center><font size=6>Contacts</font></center>'
  465. pl '<center><img src="<<FUNC(''$phone_theme'')>>icon_call.png" height="80" width="80"><br></center>'
  466. 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>'
  467. if hour >= 8 and hour <= 19:
  468. if telalla > 0:
  469. 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>'
  470. end
  471. if telmasha > 0:
  472. 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>'
  473. end
  474. if telkat > 0:
  475. 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>'
  476. end
  477. !! iterating all lovers
  478. lover_number = 0
  479. :loverloop
  480. if pcs_lovers[lover_number] = 1 and svidanie[lover_number] = 0:
  481. 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>'
  482. end
  483. lover_number += 1
  484. if lover_number < arrsize('pcs_lovers'): jump 'loverloop'
  485. killvar 'lover_number'
  486. else
  487. if telalla > 0:
  488. 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>'
  489. end
  490. if telmasha > 0:
  491. 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>'
  492. end
  493. if telkat > 0:
  494. 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>'
  495. end
  496. !! iterating all lovers
  497. lover_number = 0
  498. :loverunavailableloop
  499. if pcs_lovers[lover_number] = 1 and svidanie[lover_number] = 0:
  500. 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>'
  501. end
  502. lover_number += 1
  503. if lover_number < arrsize('pcs_lovers'): jump 'loverunavailableloop'
  504. killvar 'lover_number'
  505. end
  506. if npc_QW['A192'] > 0:
  507. 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>'
  508. end
  509. dummyas = arrsize('$contact')
  510. :din_bad_as
  511. dummyas -= 1
  512. if dummyas >= 0:
  513. pl '<<$contact[dummyas]>>'
  514. jump 'din_bad_as'
  515. end
  516. killvar 'dummyas'
  517. if arrsize('$contact')>0:pl'<center><a href="exec:gs ''telefon'', ''Edit_Custom_list'' "><b>Edit Contacts</b></a></center>'
  518. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  519. end &! --- Phone_contactlist ---
  520. if $ARGS[0] = 'Edit_Custom_list':
  521. clr
  522. dummyas = arrsize('$contact')
  523. :din_bad_as1
  524. dummyas -= 1
  525. if dummyas >= 0:
  526. $dummyedit = $contact[dummyas]
  527. $dummyedit1 = dyneval('$result = ''</a><a href="exec:killvar ''''$contact'''',<<dummyas>> & gs ''''telefon'''', ''''Edit_Custom_list'''' "><b>Remove</b>'' ')
  528. $dummyedit2 = $replace($dummyedit,'<b>Call</b>',$dummyedit1)
  529. pl $dummyedit2
  530. jump 'din_bad_as1'
  531. end
  532. killvar 'dummyas'
  533. killvar 'dummyedit'
  534. killvar 'dummyedit1'
  535. killvar 'dummyedit2'
  536. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  537. end &! --- Edit_Custom_list ---
  538. if $ARGS[0] = 'Phone_notebook':
  539. clr
  540. gs 'housing', 'rent'
  541. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  542. 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>'
  543. pl'<center><font size=6>Planner</font></center>'
  544. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_notebook.png" height="80" width="80"></center>'
  545. pl'<center><<year>>-<<$month>>-<<day>>, <<$week[week]>><br></center>'
  546. rent1 = -1
  547. rent4 = -1
  548. if home_owned[1] > 0 and ArendHouseSL > 0:rent1 = ArendHouseSL
  549. if home_owned[4] > 0 and ArendHouseSL4 > 0:rent4 = ArendHouseSL4
  550. preg1 = pregtime
  551. d1 = day
  552. w1 = week
  553. m1 = month
  554. y1 = year
  555. i = 0
  556. $list = '<br>&emsp;<b>•</b> '
  557. :pnotebook
  558. daynum = daystart+i
  559. $calendarday = ''
  560. if m1 = 1 and d1 >= 1 and d1 <= 8:
  561. $calendarday += $list + 'New Year holidays'
  562. if d1 = 1:$calendarday += ', New Year'
  563. if d1 = 7:$calendarday += ', Christmas'
  564. end
  565. if m1 = 2 and d1 = 23:$calendarday += $list + 'Defender of Fatherland Day'
  566. if m1 = 3 and d1 = 8:$calendarday += $list + 'Women''s Day'
  567. if m1 = 5 and d1 = 1:$calendarday += $list + 'Spring and Labor Day'
  568. if m1 = 5 and d1 = 2:$calendarday += $list + 'National holiday'
  569. if m1 = 5 and d1 = 9:$calendarday += $list + 'Victory Day'
  570. if m1 = 6 and d1 = 12:$calendarday += $list + 'Russia Day'
  571. if m1 = 6 and d1 = 13:$calendarday += $list + 'National holiday'
  572. if m1 = 11 and d1 = 4:$calendarday += $list + 'Unity Day'
  573. if storyline = 1 and SchoolAtestat = 0:
  574. if m1 = 1 and d1 = 1:$calendarday += $list + 'First day of Winter break.'
  575. if m1 = 1 and d1 = 15:$calendarday += $list + 'Last day of Winter break.'
  576. if m1 = 3 and d1 = 20:$calendarday += $list + 'First day of Spring break.'
  577. if m1 = 3 and d1 = 26:$calendarday += $list + 'Last day of Spring break.'
  578. if school_year = 2003 and y1 = 2020 and m1 = 5 and d1 = 25:$calendarday += $list + 'Graduation Day!'
  579. if school_year = 2004 and y1 = 2021 and m1 = 6 and d1 = 1:$calendarday += $list + 'First day of Summer break.'
  580. if m1 = 8 and d1 = 31:$calendarday += $list + 'Last day of Summer break.'
  581. if m1 = 11 and d1 = 4:$calendarday += $list + 'First day of Autumn break.'
  582. if m1 = 11 and d1 = 11:$calendarday += $list + 'Last day of Autumn break.'
  583. end
  584. if daynum >= lastmens+28 and daynum < lastmens+31:$calendarday += $list + '<font color=''red''><b>Menstruation!</b></font>'
  585. if daynum >= lastmens+12 and daynum < lastmens+14:$calendarday += $list + '<font color=#336600><b>Ovulation!</b></font>'
  586. if preg1 = 280:$calendarday += $list + '<font color=''red''><b>Birthing day!</b></font>'
  587. if w1 < 5 and (workSec >= 1 or PersSecWork = 1):$calendarday += $list + 'Working as a secretary. <i>(9:00 - 17:00)</i>'
  588. if w1 < 5 and workFabrika = 1:
  589. $calendarday += $list + 'Working as a seamstress. '
  590. if age < 18:$calendarday += '<i>(16:00 - 20:00)</i>' else $calendarday += '<i>(8:00 - 16:00)</i>'
  591. end
  592. if w1 > 1 and w1 <= 5 and workhosp = 1:$calendarday += $list + 'Working as nurse. <i>(8:00 - 16:00)</i>'
  593. if worksalon = 1 and (w1 = 1 or w1 = 3 or w1 = 5):$calendarday += $list + 'Working as masseuse. <i>(9:00 - 17:00)</i>'
  594. !! if maidqw > 0:$calendarday += '<br>&emsp;<b>•</b> Working as maid. <i>(16:00 - 19:00)</i>'
  595. if pfilmday[i] > 0:$calendarday += $list + 'Porn shoot: <i><<$porndesc[pfilmday[i]]>></i>'
  596. 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>'
  597. if d1 = nyp_day and m1 = 12 and SchoolAtestat = 0 and StoryLine = 1:$calendarday += $list + 'New Year''s party at 14:00!'
  598. if (npc_QW['A33']-2) mod 2 = 1 and sisboyday+1 = daynum:
  599. if sisboytrioQW = 1:
  600. $calendarday += $list + '<font color="orange">Threesome with Anja and Roma at 18:00</font>'
  601. else
  602. $calendarday += $list + '<font color="orange">Anja having sex with Roma at 18:00</font>'
  603. end
  604. end
  605. if sisboyparty = 2 and sisboyparty_day+1 = daynum:$calendarday += $list + '<font color="orange">Party at Rex, gathering before 18:00 at Community Center</font>'
  606. if rent1 = 0:$calendarday += $list + 'Rent on city apartment expires!'
  607. if rent4 = 0:$calendarday += $list + 'Rent on Pushkin apartment expires!'
  608. if birthday = d1 and birthmonth = m1:$calendarday += $list + 'My birthday!'
  609. if kid > 0:
  610. k1 = kid
  611. :kiddieloop
  612. if daykid[k1] = d1 and monthkid[k1] = m1:$calendarday += $list + 'Birthday of my <<$polreb[k1]>> <<$kidname[k1]>>, my <<kid>>. baby!'
  613. if k1 > 1:k1 -= 1 & jump 'kiddieloop'
  614. end
  615. if $calendarday ! '':
  616. p '<b><<$monthName[m1]>> <<d1>>, <<$week[w1]>>:</b>'
  617. pl $calendarday
  618. end
  619. if i < 14:
  620. preg1 += 1
  621. rent1 -= 1
  622. rent4 -= 1
  623. i += 1
  624. w1 += 1
  625. if w1 > 7:w1 = 1
  626. d1 += 1
  627. if monthsend[m1] < d1:
  628. m1 += 1 & d1 = 1
  629. if m1 = 13: m1 = 1 & y1 += 1
  630. end
  631. jump 'pnotebook'
  632. end
  633. killvar 'calendarday'
  634. killvar 'rent1'
  635. killvar 'rent4'
  636. killvar 'preg1'
  637. killvar 'd1'
  638. killvar 'w1'
  639. killvar 'm1'
  640. killvar 'y1'
  641. killvar 'daynum'
  642. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  643. end &! --- Phone_notebook ---
  644. if $ARGS[0] = 'Phone_pictures':
  645. clr
  646. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  647. 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>'
  648. pl'<center><font size=6>Gallery</font></center>'
  649. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_pictures.png" height="80" width="80"><br></center>'
  650. if phone_selfie[1] = 1:pl'<a href="exec:view''images/system/phone/selfie/phone_selfie1.jpg''"><b>Selfie number1</b></a>'
  651. if phone_selfie[2] = 1:pl'<a href="exec:view''images/system/phone/selfie/phone_selfie2.jpg''"><b>Selfie number2</b></a>'
  652. 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>'
  653. 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>'
  654. 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>'
  655. 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>'
  656. 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>'
  657. 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>'
  658. 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>'
  659. 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>'
  660. 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>'
  661. 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>'
  662. 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>'
  663. 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>'
  664. 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>'
  665. 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>'
  666. 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>'
  667. 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>'
  668. 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>'
  669. 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>'
  670. 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>'
  671. 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>'
  672. !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>'
  673. 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>'
  674. 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>'
  675. 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>'
  676. 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>'
  677. 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>'
  678. 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>'
  679. 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>'
  680. 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>'
  681. 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>'
  682. 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>'
  683. 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>'
  684. 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>'
  685. 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>'
  686. 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>'
  687. 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>'
  688. 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>'
  689. 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>'
  690. 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>'
  691. !if phone_selfie[m] = 1:pl'<a href="exec:view''images/system/phone/phone_selfiem.jpg''"><b>Photo in sperm number1</b></a>'
  692. !if phone_selfie[n] = 1:pl'<a href="exec:view''images/system/phone/phone_selfien.jpg''"><b>Photo in sperm number2</b></a>'
  693. !if phone_selfie[x] = 1:pl'<a href="exec:view''images/system/phone/phone_selfiex.jpg''"><b>Photo Event number1</b></a>'
  694. !if phone_selfie[y] = 1:pl'<a href="exec:view''images/system/phone/phone_selfiey.jpg''"><b>Photo Event number2</b></a>'
  695. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  696. end &! --- Phone_pictures ---
  697. if $ARGS[0] = 'Phone_camera_selfie':
  698. if ($loc = 'vanrPar' or $loc = 'vanr' or $loc = 'yvan') and mirror_steam = hour:
  699. minut += RAND(5,7)
  700. phone_rand = RAND(0,38)
  701. vanr_selfie[phone_rand] = 1
  702. gs 'stat'
  703. gs 'telefon', 'Phone_pictures'
  704. view 'images/system/phone/selfie/bathroom/s (<<phone_rand>>).jpg'
  705. else
  706. minut += RAND(5,7)
  707. phone_rand = RAND(1,2)
  708. phone_selfie[phone_rand] = 1
  709. gs 'stat'
  710. gs 'telefon', 'Phone_pictures'
  711. view 'images/system/phone/selfie/phone_selfie<<phone_rand>>.jpg'
  712. end
  713. !if spdirtyf > 0: phone_rand = RAND (m,n) - for SELF in the semen
  714. !if photo_event_pic = x: phone_rand = RAND (x,y) - for photos during the events (by heart)
  715. !view 'images/system/phone/phone_selfie<<phone_rand>>.jpg'
  716. end &! --- Phone_camera_selfie ---
  717. if $ARGS[0] = 'Phone_camera':
  718. clr
  719. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  720. 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>'
  721. pl'<center><font size=6>Camera</font></center>'
  722. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_camera.png" height="80" width="80"><br></center>'
  723. pl'<a href="exec:photoskl_exp += 1 & gs ''telefon'', ''Phone_camera_selfie'' "><b>Take a selfie</b></a>'
  724. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  725. end &! --- Phone_camera ---
  726. if $ARGS[0] = 'Phone_wheather':
  727. clr
  728. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  729. 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>'
  730. pl'<center><font size=6>Weather</font></center>'
  731. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_weather.png" height="80" width="80"><br></center>'
  732. pl'<center><b>Temperature:</b></center>'
  733. pl'<center><<$temperature>>. <<$osadki>></center>'
  734. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  735. end &! --- Phone_wheather ---
  736. if $ARGS[0] = 'Phone_calendar':
  737. clr
  738. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  739. 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>'
  740. pl'<center><font size=6>Calendar</font></center>'
  741. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_calendar.png" height="80" width="80"><br></center>'
  742. pl'<center><B>Today:</B></center>'
  743. pl'<center><<$week[week]>>, <<day>> <<$month>> <<year>></center>'
  744. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  745. end &! --- Phone_calendar ---
  746. if $ARGS[0] = 'Phone_media':
  747. clr
  748. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  749. 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>'
  750. pl'<center><font size=6>Media</font></center>'
  751. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_music.png" height="80" width="80"></center>'
  752. pl'<center><b>This option is not active</b></center>'
  753. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  754. end &! --- Phone_media ---
  755. if $ARGS[0] = 'Phone_sms':
  756. clr
  757. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  758. 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>'
  759. pl'<center><font size=6>SMS</font></center>'
  760. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_sms.png" height="80" width="80"></center>'
  761. pl'<center><b>This option is not active</b></center>'
  762. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  763. end &! --- Phone_sms ---
  764. if $ARGS[0] = 'Phone_menu':
  765. clr
  766. pl'<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  767. 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>'
  768. pl'<center><a href="exec:gs ''telefon'', ''Phone_camera'' "><img src="<<FUNC(''$phone_theme'')>>icon_camera.png" height="80" width="80"></a><a href="exec:gs ''telefon'', ''Phone_calendar'' "><img src="<<FUNC(''$phone_theme'')>>icon_calendar.png" height="80" width="80"></a><a href="exec:gs ''telefon'', ''Phone_pictures'' "><img src="<<FUNC(''$phone_theme'')>>icon_pictures.png" height="80" width="80"></a></center>'
  769. pl'<center><a href="exec:gs ''telefon'', ''Phone_media'' "><img src="<<FUNC(''$phone_theme'')>>icon_music.png" height="80" width="80"></a><a href="exec:gs ''telefon'', ''Phone_notebook'' "><img src="<<FUNC(''$phone_theme'')>>icon_notebook.png" height="80" width="80"></a><a href="exec:gs ''telefon'', ''Phone_wheather'' "><img src="<<FUNC(''$phone_theme'')>>icon_weather.png" height="80" width="80"></a></center>'
  770. pl'<center><a href="exec:gs ''telefon'', ''Phone_contactlist'' "><img src="<<FUNC(''$phone_theme'')>>icon_call.png" height="80" width="80"></a><a href="exec:gs ''telefon'', ''Phone_sms'' "><img src="<<FUNC(''$phone_theme'')>>icon_sms.png" height="80" width="80"></a><a href="exec:gs ''telefon'', ''Phone_megafon'' "><img src="<<FUNC(''$phone_theme'')>>icon_megafon.png" height="80" width="80"></a></center>'
  771. pl'<center><a href="exec:gs ''Cheatmenu_din'' & Enable_settingmode = 1 & dynamic $cheatmenu[''display'']"><img src="<<FUNC(''$phone_theme'')>>icon_settings.png" height="80" width="80"></a></center>'
  772. pl'<center><a href="exec:gs''stat''"><img src="images/system/icon/back.png"></a></center>'
  773. end &! --- Phone_menu ---
  774. if $ARGS[0] = 'Add_contact':
  775. $dummy = INPUT('Enter a note:')
  776. $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>'
  777. killvar '$dummy'
  778. end &! --- Add_contact ---
  779. if $ARGS[0] = 'telotkaz':
  780. cla
  781. minut += 10
  782. '<<$ARGS[1]>>, "Sorry, I''m busy right now, maybe next time."'
  783. act 'Hangup':gt 'telefon', 'fin'
  784. end &! --- telotkaz ---
  785. if $ARGS[0] = 'fin':
  786. killvar 'lover_number'
  787. cla
  788. gt $loc, $metka
  789. end
  790. if $ARGS[0] = 'setup':
  791. ! array $$phonetheme_name is built.
  792. ! might need a tweak to have it rebuilt when new themes are available.
  793. $phonetheme_name[0] = 'Custom_Standard'
  794. $phonetheme_name[1] = 'Bimbo'
  795. $phonetheme_name[2] = 'Custom_Aluminus'
  796. $phonetheme_name[3] = 'Custom_Bottlecapped'
  797. $phonetheme_name[4] = 'Custom_Galactic'
  798. $phonetheme_name[5] = 'Custom_Vectored'
  799. $phonetheme_name[6] = 'Custom_Veneer'
  800. $phonetheme_name[7] = 'Custom_Voidwalker'
  801. $phonetheme_name[8] = 'Custom_Voidwalker Red'
  802. $phonetheme_name[9] = 'Custom_Voidwalker Toxic'
  803. $phonetheme_name[10] = 'Gopnik'
  804. $phonetheme_name[11] = 'Sports'
  805. $phonetheme_name[12] = 'Succubus'
  806. $phonetheme_name[13] = 'Woodshop'
  807. phonetheme[0] = 1
  808. end
  809. --- telefon ---------------------------------