telefon 39 KB

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