telefon.qsrc 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999
  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 'Reply':
  237. cla
  238. '"Pretty good, you?"'
  239. '<<$loverdesc[lover_number]>>, "Great, but I kind of miss you, can we meet today?"'
  240. if (pregchem / 24) <= 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 (pregchem / 24) > 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 'Hang up (end relationship)':
  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 'Reply':
  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 'Hang up (end relationship)':
  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 <<$npc_nickname[''A29'']>></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><<$npc_nickname[''A29'']>></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. d1 = day
  551. w1 = week
  552. m1 = month
  553. y1 = year
  554. i = 0
  555. $list = '<br>&emsp;<b>•</b> '
  556. :pnotebook
  557. daynum = daystart+i
  558. $calendarday = ''
  559. if m1 = 1 and d1 >= 1 and d1 <= 8:
  560. $calendarday += $list + 'New Year holidays'
  561. if d1 = 1:$calendarday += ', New Year'
  562. if d1 = 7:$calendarday += ', Christmas'
  563. end
  564. if m1 = 2 and d1 = 23:$calendarday += $list + 'Defender of Fatherland Day'
  565. if m1 = 3 and d1 = 8:$calendarday += $list + 'Women''s Day'
  566. if m1 = 5 and d1 = 1:$calendarday += $list + 'Spring and Labor Day'
  567. if m1 = 5 and d1 = 2:$calendarday += $list + 'National holiday'
  568. if m1 = 5 and d1 = 9:$calendarday += $list + 'Victory Day'
  569. if m1 = 6 and d1 = 12:$calendarday += $list + 'Russia Day'
  570. if m1 = 6 and d1 = 13:$calendarday += $list + 'National holiday'
  571. if m1 = 11 and d1 = 4:$calendarday += $list + 'Unity Day'
  572. if storyline = 1 and SchoolAtestat = 0:
  573. if m1 = 1 and d1 = 1:$calendarday += $list + 'First day of Winter break.'
  574. if m1 = 1 and d1 = 15:$calendarday += $list + 'Last day of Winter break.'
  575. if m1 = 3 and d1 = 20:$calendarday += $list + 'First day of Spring break.'
  576. if m1 = 3 and d1 = 26:$calendarday += $list + 'Last day of Spring break.'
  577. if school_year = 2003 and y1 = 2020 and m1 = 5 and d1 = 25:$calendarday += $list + 'Graduation Day!'
  578. if school_year = 2004 and y1 = 2021 and m1 = 6 and d1 = 1:$calendarday += $list + 'First day of Summer break.'
  579. if m1 = 8 and d1 = 31:$calendarday += $list + 'Last day of Summer break.'
  580. if m1 = 11 and d1 = 4:$calendarday += $list + 'First day of Autumn break.'
  581. if m1 = 11 and d1 = 11:$calendarday += $list + 'Last day of Autumn break.'
  582. end
  583. if daynum >= lastmens+28 and daynum < lastmens+31:$calendarday += $list + '<font color=''red''><b>Menstruation!</b></font>'
  584. if daynum >= lastmens+12 and daynum < lastmens+14:$calendarday += $list + '<font color=#336600><b>Ovulation!</b></font>'
  585. if pregchem >= 6720:$calendarday += $list + '<font color=''red''><b>Birthing day!</b></font>'
  586. if w1 < 5 and (workSec >= 1 or PersSecWork = 1):$calendarday += $list + 'Working as a secretary. <i>(9:00 - 17:00)</i>'
  587. if w1 < 5 and workFabrika = 1:
  588. $calendarday += $list + 'Working as a seamstress. '
  589. if age < 18:$calendarday += '<i>(16:00 - 20:00)</i>' else $calendarday += '<i>(8:00 - 16:00)</i>'
  590. end
  591. if w1 > 1 and w1 <= 5 and workhosp = 1:$calendarday += $list + 'Working as nurse. <i>(8:00 - 16:00)</i>'
  592. if worksalon = 1 and (w1 = 1 or w1 = 3 or w1 = 5):$calendarday += $list + 'Working as masseuse. <i>(9:00 - 17:00)</i>'
  593. !! if maidqw > 0:$calendarday += '<br>&emsp;<b>•</b> Working as maid. <i>(16:00 - 19:00)</i>'
  594. if pfilmday[i] > 0:$calendarday += $list + 'Porn shoot: <i><<$porndesc[pfilmday[i]]>></i>'
  595. 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>'
  596. if d1 = nyp_day and m1 = 12 and SchoolAtestat = 0 and StoryLine = 1:$calendarday += $list + 'New Year''s party at 14:00!'
  597. if (npc_QW['A33']-2) mod 2 = 1 and sisboyday+1 = daynum:
  598. if sisboytrioQW = 1:
  599. $calendarday += $list + '<font color="orange">Threesome with Anja and Roma at 18:00</font>'
  600. else
  601. $calendarday += $list + '<font color="orange">Anja having sex with Roma at 18:00</font>'
  602. end
  603. end
  604. if sisboyparty = 2 and sisboyparty_day+1 = daynum:$calendarday += $list + '<font color="orange">Party at Rex, gathering before 18:00 at Community Center</font>'
  605. if rent1 = 0:$calendarday += $list + 'Rent on city apartment expires!'
  606. if rent4 = 0:$calendarday += $list + 'Rent on Pushkin apartment expires!'
  607. if birthday = d1 and birthmonth = m1:$calendarday += $list + 'My birthday!'
  608. if kid > 0:
  609. k1 = kid
  610. :kiddieloop
  611. if daykid[k1] = d1 and monthkid[k1] = m1:$calendarday += $list + 'Birthday of my <<$polreb[k1]>> <<$kidname[k1]>>, my <<kid>>. baby!'
  612. if k1 > 1:k1 -= 1 & jump 'kiddieloop'
  613. end
  614. if $calendarday ! '':
  615. p '<b><<$monthName[m1]>> <<d1>>, <<$week[w1]>>:</b>'
  616. pl $calendarday
  617. end
  618. if i < 14:
  619. rent1 -= 1
  620. rent4 -= 1
  621. i += 1
  622. w1 += 1
  623. if w1 > 7:w1 = 1
  624. d1 += 1
  625. if monthsend[m1] < d1:
  626. m1 += 1 & d1 = 1
  627. if m1 = 13: m1 = 1 & y1 += 1
  628. end
  629. jump 'pnotebook'
  630. end
  631. killvar 'calendarday'
  632. killvar 'rent1'
  633. killvar 'rent4'
  634. killvar 'd1'
  635. killvar 'w1'
  636. killvar 'm1'
  637. killvar 'y1'
  638. killvar 'daynum'
  639. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  640. end &! --- Phone_notebook ---
  641. !!----------------------------------------Camera-------------------------------------------------
  642. !!For setting the total numbers of selfies
  643. if $ARGS[0] = 'Phone_selfie_totals':
  644. bathroom_clotot = 20
  645. bathroom_undtot = 20
  646. bathroom_nudtot = 20
  647. bathroom_bathtot = 24
  648. bathroom_showertot = 25
  649. bedroom_clotot = 27
  650. bedroom_undtot = 20
  651. bedroom_nudtot = 20
  652. kitchen_clotot = 16
  653. kitchen_undtot = 11
  654. kitchen_nudtot = 20
  655. livingroom_clotot = 17
  656. livingroom_undtot = 21
  657. livingroom_nudtot = 21
  658. changingroom_clotot = 19
  659. changingroom_undtot = 25
  660. changingroom_nudtot = 21
  661. park_clotot = 28
  662. park_undtot = 0
  663. park_nudtot = 18
  664. lockeroom_clotot = 21
  665. lockeroom_undtot = 16
  666. lockeroom_nudtot = 14
  667. beach_swim = 21
  668. beach_nudtot = 22
  669. end
  670. !!for viewing photos on your phone
  671. if $ARGS[0] = 'Phone_pictures':
  672. gt 'phone_selfies', 'selfies'
  673. end
  674. !!picking the selfie image when taking photos, this sets the location variable
  675. if $ARGS[0] = 'Phone_camera_selfie':
  676. gs 'telefon', 'Phone_selfie_totals'
  677. minut += rand(5,7)
  678. if $location_type = 'bathroom':
  679. $phone_loc = 'bathroom'
  680. gs 'telefon', 'Phone_selfie_image'
  681. elseif $locclass = 'bedr':
  682. $phone_loc = 'bedroom'
  683. gs 'telefon', 'Phone_selfie_image'
  684. elseif $locclass = 'kitr':
  685. $phone_loc = 'kitchen'
  686. gs 'telefon', 'Phone_selfie_image'
  687. elseif $locclass = 'livingr':
  688. $phone_loc = 'livingroom'
  689. gs 'telefon', 'Phone_selfie_image'
  690. elseif $locclass = 'changingroom':
  691. $phone_loc = 'changingroom'
  692. gs 'telefon', 'Phone_selfie_image'
  693. elseif $locclass = 'park':
  694. $phone_loc = 'park'
  695. gs 'telefon', 'Phone_selfie_image'
  696. elseif $locclass = 'lockeroom':
  697. $phone_loc = 'lockeroom'
  698. gs 'telefon', 'Phone_selfie_image'
  699. else
  700. phone_rand = RAND(1,2)
  701. phone_selfie[phone_rand] = 1
  702. gs 'stat'
  703. view 'images/system/phone/selfie/phone_selfie<<phone_rand>>.jpg'
  704. end
  705. !if spdirtyf > 0: phone_rand = RAND (m,n) - for SELF in the semen
  706. !if photo_event_pic = x: phone_rand = RAND (x,y) - for photos during the events (by heart)
  707. !view 'images/system/phone/phone_selfie<<phone_rand>>.jpg'
  708. end
  709. !!taking selfies, this chooses a random image for the location for clothed, underwear and nude
  710. if $ARGS[0] = 'Phone_selfie_image':
  711. if $clothingworntype ! 'nude':
  712. !!changing to and unmixed variable so the rng will work
  713. dynamic 'temp_clotot = <<$phone_loc>>_clotot'
  714. phone_rand = rand(1,temp_clotot)
  715. !!Setting the image owned flag to 1
  716. dynamic '<<$phone_loc>>_closelfie[<<phone_rand>>] = 1'
  717. gs 'stat'
  718. view 'images/pc/selfies/<<$phone_loc>>/clothed/<<phone_rand>>.jpg'
  719. elseif $pantyworntype ! 'none':
  720. dynamic 'temp_undtot = <<$phone_loc>>_undtot'
  721. phone_rand = rand(1,temp_undtot)
  722. dynamic '<<$phone_loc>>_undselfie[<<phone_rand>>] = 1'
  723. gs 'stat'
  724. view 'images/pc/selfies/<<$phone_loc>>/underwear/<<phone_rand>>.jpg'
  725. else
  726. dynamic 'temp_nudtot = <<$phone_loc>>_nudtot'
  727. phone_rand = rand(1,temp_nudtot)
  728. dynamic '<<$phone_loc>>_nudselfie[<<phone_rand>>] = 1'
  729. gs 'stat'
  730. view 'images/pc/selfies/<<$phone_loc>>/nude/<<phone_rand>>.jpg'
  731. end
  732. end
  733. !!taking selfies in the shower or bath
  734. if $ARGS[0] = 'Phone_selfie_image_bathing':
  735. gs 'telefon', 'Phone_selfie_totals'
  736. minut += rand(5,7)
  737. if $ARGS[1] = 'shower':
  738. !!changing to and unmixed variable so the rng will work
  739. dynamic 'temp_showertot = bathroom_showertot'
  740. phone_rand = rand(1,temp_showertot)
  741. !!Setting the image owned flag to 1
  742. dynamic '<<$phone_loc>>_showerselfie[<<phone_rand>>] = 1'
  743. gs 'stat'
  744. view 'images/pc/selfies/<<$phone_loc>>/shower/<<phone_rand>>.jpg'
  745. elseif $ARGS[1] = 'bath':
  746. dynamic 'temp_bathtot = bathroom_bathtot'
  747. phone_rand = rand(1,temp_bathtot)
  748. dynamic '<<$phone_loc>>_bathselfie[<<phone_rand>>] = 1'
  749. gs 'stat'
  750. view 'images/pc/selfies/<<$phone_loc>>/bath/<<phone_rand>>.jpg'
  751. end
  752. end
  753. !!for taking photos - only selfies for now
  754. if $ARGS[0] = 'Phone_camera':
  755. clr
  756. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  757. 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>'
  758. pl'<center><font size=6>Camera</font></center>'
  759. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_camera.png" height="80" width="80"><br></center>'
  760. pl'<a href="exec:photoskl_exp += 1 & gs ''telefon'', ''Phone_camera_selfie'' "><b>Take a selfie</b></a>'
  761. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  762. end
  763. !!-----------------------------------end of Camera------------------------------------------
  764. if $ARGS[0] = 'Phone_wheather':
  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><font size=6>Weather</font></center>'
  769. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_weather.png" height="80" width="80"><br></center>'
  770. pl'<center><b>Temperature:</b></center>'
  771. pl'<center><<$temperature>>. <<$osadki>></center>'
  772. pl'<center>P.O.P. today is <<weatherFall>>%</center>'
  773. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  774. end &! --- Phone_wheather ---
  775. if $ARGS[0] = 'Phone_calendar':
  776. clr
  777. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  778. 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>'
  779. pl'<center><font size=6>Calendar</font></center>'
  780. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_calendar.png" height="80" width="80"><br></center>'
  781. pl'<center><B>Today:</B></center>'
  782. pl'<center><<$week[week]>>, <<day>> <<$month>> <<year>></center>'
  783. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  784. end &! --- Phone_calendar ---
  785. if $ARGS[0] = 'Phone_media':
  786. clr
  787. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  788. 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>'
  789. pl'<center><font size=6>Media</font></center>'
  790. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_music.png" height="80" width="80"></center>'
  791. pl'<center><b>This option is not active</b></center>'
  792. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  793. end &! --- Phone_media ---
  794. if $ARGS[0] = 'Phone_sms':
  795. clr
  796. pl '<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  797. 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>'
  798. pl'<center><font size=6>SMS</font></center>'
  799. pl'<center><img src="<<FUNC(''$phone_theme'')>>icon_sms.png" height="80" width="80"></center>'
  800. pl'<center><b>This option is not active</b></center>'
  801. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  802. end &! --- Phone_sms ---
  803. if $ARGS[0] = 'Phone_menu':
  804. clr
  805. pl'<center><b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b></center>'
  806. 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>'
  807. 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>'
  808. 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>'
  809. 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>'
  810. pl''+iif(menu_off = 1, '<center><a href="exec:gs ''obj_din'', ''menu_disabled''"><img src="<<FUNC(''$phone_theme'')>>icon_settings.png" height="80" width="80"></a></center>', '<center><a href="exec:killvar ''menu_page'' & gs ''Cheatmenu_din'' & dynamic $cheatmenu[''setting'']"><img src="<<FUNC(''$phone_theme'')>>icon_settings.png" height="80" width="80"></a></center>')+''
  811. pl'<center><a href="exec:clr & gs''stat''"><img src="images/system/icon/back.png"></a></center>'
  812. end &! --- Phone_menu ---
  813. if $ARGS[0] = 'Add_contact':
  814. $dummy = INPUT('Enter a note:')
  815. $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>'
  816. killvar '$dummy'
  817. end &! --- Add_contact ---
  818. if $ARGS[0] = 'telotkaz':
  819. cla
  820. minut += 10
  821. '<<$ARGS[1]>>, "Sorry, I''m busy right now, maybe next time."'
  822. act 'Hangup':gt 'telefon', 'fin'
  823. end &! --- telotkaz ---
  824. if $ARGS[0] = 'fin':
  825. killvar 'lover_number'
  826. cla
  827. gt $loc, $metka
  828. end
  829. if $ARGS[0] = 'setup':
  830. ! array $$phonetheme_name is built.
  831. ! might need a tweak to have it rebuilt when new themes are available.
  832. $phonetheme_name[0] = 'Custom_Standard'
  833. $phonetheme_name[1] = 'Bimbo'
  834. $phonetheme_name[2] = 'Custom_Aluminus'
  835. $phonetheme_name[3] = 'Custom_Bottlecapped'
  836. $phonetheme_name[4] = 'Custom_Galactic'
  837. $phonetheme_name[5] = 'Custom_Vectored'
  838. $phonetheme_name[6] = 'Custom_Veneer'
  839. $phonetheme_name[7] = 'Custom_Voidwalker'
  840. $phonetheme_name[8] = 'Custom_Voidwalker Red'
  841. $phonetheme_name[9] = 'Custom_Voidwalker Toxic'
  842. $phonetheme_name[10] = 'Gopnik'
  843. $phonetheme_name[11] = 'Sports'
  844. $phonetheme_name[12] = 'Succubus'
  845. $phonetheme_name[13] = 'Woodshop'
  846. phonetheme[0] = 1
  847. end
  848. --- telefon ---------------------------------