1
0

telefon.qsrc 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695
  1. # telefon
  2. ! Draw screens for mobile phone.
  3. !
  4. ! The base storage for Contacts is controlled by the Array "$contact". This array is a list of NPC identifiers
  5. ! telling us which ones are in your contact list. There are several other ancillary arrays that support the functions
  6. ! of a contact. Each of these has matching indexes to the $contact array. These are mostly used internally, but a
  7. ! writer can make use of them if they need to.
  8. !
  9. ! ContactList arrays:
  10. ! $contact[] = NPC code for contact. ('A129', 'A29', 'B13', 'C14')
  11. ! $contactIcon[] = Icon for the contact to use. If path is left off, standard phone icon folder is used. if file extension is left off, '.png' is used
  12. ! $contactOCode[] = Code to execute if call is placed to this contact
  13. ! $contactOSche[] = If statement code to determine schedule for outbound calls
  14. ! $contactICode[] = Code to execute for Incoming call
  15. ! $contactISche[] = if statement code for schedule of incoming calls
  16. ! contactAnon[] = 0 if contact number is known to Sveta, 1 for Anonymous
  17. ! contactToday[] = Calls from this contact today
  18. ! contactWeek[] = Calls from this contact this week
  19. ! contactLastCall[] = last time this Contact called
  20. !
  21. ! Add a contact with AddContact
  22. ! gs 'telefon', 'AddContact', <NPC Code>, <Icon for NPC>, <Code for Incoming Call>, <Limiter for Incoming Call>, <Code for Outgoing Call>, <Limiter for Outgoign Call>, <Anonymous=1>
  23. ! Example, to Add Mother:
  24. ! gs 'telefon', 'AddContact', 'A29', 'icon_npc1', "gs 'telefon', 'Phone_call'", "hour >= 8 and hour <= 20", "gs 'telefon', 'lover'", "hour >= 8 and hour <= 20", 0
  25. !
  26. ! Remove a contact with DeleteContact
  27. ! gs 'telefon', 'DeleteContact', <NPC Code>
  28. ! Example, to delete Mom:
  29. ! gs 'telefon', 'DeleteContact', 'A29'
  30. ! Header for Phone Screen. Keeps consistent and in one place
  31. $telefon['header'] = '<center>
  32. <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b><br>
  33. <TABLE cellspacing="0" width="80%">
  34. <TR>
  35. <TD><img src="images/system/icon/icon_statusbar_left.png"></TD>
  36. <TD></TD>
  37. <TD align="right"><img src="images/system/icon/icon_statusbar_right.png"></TD>
  38. </TR>
  39. </TABLE><br>'
  40. ! Footer for phone screen. Body should be between these two
  41. $telefon['footer'] = '
  42. <a href="exec:gs''telefon'', ''Phone_menu''"><img src="images/system/icon/back.png"></a><br><br>
  43. <a href="exec:gs''stat''">Put Phone Away.</a><br>
  44. </center>'
  45. ! This is how we print the screnn on to the Additional Dscription window
  46. $telefon['print'] = {
  47. clr
  48. pl func('cleanHTML',$telefon['header'] + $telefon['body'] + $telefon['footer'])
  49. }
  50. ! This is the formatting function for a row in the Contact List. SHould be run as a DYNEVAL()
  51. $telefon['contact'] = {
  52. ! Contact Row in phone contact list
  53. ! $ARGS[0] = NPC icon
  54. ! $ARGS[1] = NPC Nickname
  55. ! $ARGS[2] = Code to execute for making a Call
  56. ! $ARGS[3] = if statement for determining if NPC is avaiable
  57. $telefon['ContactIcon'] = $ARGS[0]
  58. $telefon['ContactNickName'] = $ARGS[1]
  59. $telefon['ContactCallCode'] = $ARGS[2]
  60. $telefon['ContactCallSchedule'] = $ARGS[3]
  61. !If file extension is not given, .png is assumed
  62. if instr($telefon['ContactIcon'],'.') = 0:
  63. $telefon['ContactIcon'] += '.png'
  64. end
  65. !If path is not given, default phone icon path is assumed
  66. if instr($telefon['ContactIcon'],'/') = 0:
  67. $telefon['ContactIcon'] = 'images/system/phone/icons/' + $telefon['ContactIcon']
  68. end
  69. !If Contact is not in available timeframe, we disable contact calling
  70. if dyneval('result = iif(<<$telefon["ContactCallSchedule"]>>,1,0)') = 0:
  71. $telefon['ContactCallCode'] = "gs 'telefon', 'phone_call_reject'"
  72. end
  73. $result = '<TABLE cellspacing="0" width="80%"><TR>
  74. <TD><img src="<<$telefon[''ContactIcon'']>>"></TD>
  75. <TD><<$telefon[''ContactNickName'']>></TD>
  76. <TD align="right"><a href="exec:$callerid = ''<<$telefon[''ContactIcon'']>>'' & <<$telefon[''ContactCallCode'']>>"><b>Call</b></a></TD>
  77. </TR></TABLE><br>'
  78. }
  79. if $ARGS[0] = 'AddContact':
  80. ! $ARGS[1] = NPC Array identifier
  81. ! $ARGS[2] = Icon
  82. ! $ARGS[3] = Code to execute for Call out
  83. ! $ARGS[4] = If statement code to determine schedule for outbound calls
  84. ! $ARGS[5] = Code to execute for Incoming call
  85. ! $ARGS[6] = if statement code for schedule of incoming calls
  86. ! ARGS[7] = Anonymous? 0 if not, 1 if yes
  87. $telefonCon['NPC'] = $ARGS[1]
  88. $telefonCon['Icon'] = $ARGS[2]
  89. $telefonCon['OutCode'] = $ARGS[3]
  90. $telefonCon['OutSched'] = $ARGS[4]
  91. $telefonCon['InCode'] = $ARGS[5]
  92. $telefonCon['InSched'] = $ARGS[6]
  93. telefonCon['Anonymous'] = ARGS[7]
  94. telefonCon['ContactListID'] = arrpos('$contact',$telefonCon['NPC'])
  95. if telefonCon['ContactListID'] = -1:
  96. telefonCon['ContactListID'] = arrsize('$contact')
  97. $contact[telefonCon['ContactListID']] = $telefonCon['NPC']
  98. end
  99. $contactIcon[telefonCon['ContactListID']] = $telefonCon['Icon']
  100. $contactOCode[telefonCon['ContactListID']] = $telefonCon['OutCode']
  101. $contactOSche[telefonCon['ContactListID']] = $telefonCon['OutSched']
  102. $contactICode[telefonCon['ContactListID']] = $telefonCon['InCode']
  103. $contactISche[telefonCon['ContactListID']] = $telefonCon['InSched']
  104. contactAnon[telefonCon['ContactListID']] = telefonCon['Anonymous']
  105. killvar 'telefonCon'
  106. killvar '$telefonCon'
  107. end &! --- AddContact ---
  108. if $ARGS[0] = 'DeleteContact':
  109. ! $ARGS[1] = NPC Array identifier
  110. $telefonCon['NPC'] = $ARGS[1]
  111. telefonCon['ContactListID'] = arrpos('$contact',$telefonCon['NPC'])
  112. if telefonCon['ContactListID'] > -1:
  113. killvar '$contact', telefonCon['ContactListID']
  114. killvar '$contactIcon', telefonCon['ContactListID']
  115. killvar '$contactCode', telefonCon['ContactListID']
  116. end
  117. killvar 'telefonCon'
  118. killvar '$telefonCon'
  119. end &! --- AddContact ---
  120. if $ARGS[0] = 'ContactList':
  121. $telefon['body'] = '
  122. <font size=6>Contacts</font><br>
  123. <img src="<<FUNC(''$phone_theme'')>>icon_call.png" height="80" width="80"><br><br>'
  124. !!iterating all Contacts
  125. i=0
  126. :contactloop2
  127. if i < arrsize('$contact'):
  128. if contactAnon[i] = 0:
  129. $telefon['body'] += dyneval($telefon['contact'],$contactIcon[i],$npc_nickname[$contact[i]],$contactOCode[i],$contactOSche[i])
  130. end
  131. i += 1
  132. jump 'contactloop2'
  133. end
  134. ! Oddball Contacts
  135. if telalla > 0:
  136. $telefon['body'] += dyneval($telefon['contact'],'icon_ira1','Alla',"$telsob = 'Alla' & gt 'telefon', 'mobilaraz'","hour >= 8 and hour <= 20")
  137. end
  138. if telmasha > 0:
  139. $telefon['body'] += dyneval($telefon['contact'],'icon_masha','Masha',"$telsob = 'Masha' & gt 'telefon', 'mobilaraz'","hour >= 8 and hour <= 20")
  140. end
  141. !! iterating all lovers
  142. lover_number = 0
  143. :loverloop2
  144. if pcs_lovers[lover_number] = 1 and svidanie[lover_number] = 0:
  145. $telefon['body'] += dyneval($telefon['contact'],'icon_bf'+lover_picture[lover_number],$loverdesc[lover_number],"lover_number = <<lover_number>> & gt 'telefon', 'callingTheLover', <<lover_number>>","hour > 6 and hour < 20")
  146. end
  147. lover_number += 1
  148. if lover_number < arrsize('pcs_lovers'): jump 'loverloop2'
  149. dynamic $telefon['print']
  150. killvar 'i'
  151. killvar 'lover_number'
  152. end &! --- ContactList ---
  153. ! Reset Contact Call Stats Daily and Weekly
  154. !
  155. ! ARGS[1] = New Week if 1, 0 if same week
  156. if $ARGS[0] = 'DailyStatRefresh':
  157. i=0
  158. :DailyStatRefLoop
  159. if i < arrsize('$contact'):
  160. contactToday[i] = 0
  161. if ARGS[1] = 1:
  162. contactWeek[i] = 0
  163. end
  164. i += 1
  165. jump 'DailyStatRefLoop'
  166. end
  167. killvar 'i'
  168. end
  169. ! Determine if any Incoming calls should happen
  170. !
  171. ! ARGS[1] = Previous totminut
  172. ! ARGS[2] = Current totminut
  173. if $ARGS[0] = 'IncomingCheck':
  174. telefIncCheck['PrevTotalMinutes'] = ARGS[1]
  175. telefIncCheck['NewTotalMinutes'] = ARGS[2]
  176. if telefIncCheck['PrevTotalMinutes'] > telefIncCheck['NewTotalMinutes'] or telefon['LastIncCallCheck'] > telefIncCheck['NewTotalMinutes'] or telefon['LastIncCallCheck'] = 0:
  177. ! Time Cheat has been used, so we should do some cleanup
  178. telefon['LastIncCallCheck'] = telefIncCheck['NewTotalMinutes']
  179. end
  180. ! Limit the number of calls per day
  181. ! right now allow every 60 minutes
  182. if telefIncCheck['NewTotalMinutes'] - telefon['LastIncCallCheck'] > 60 and menu_off = 0:
  183. telefon['LastIncCallCheck'] = telefIncCheck['NewTotalMinutes']
  184. gs 'telefon','IncomingCallChooser'
  185. end
  186. killvar 'telefIncCheck'
  187. end
  188. if $ARGS[0] = 'IncomingCallChooser':
  189. ! When an Incoming call happens, choose who it comes from
  190. ! Add Contacts
  191. i=0
  192. :telefonIncLoop1
  193. if i < arrsize('$contact'):
  194. if $contactICode[i] ! "":
  195. if dyneval('result = iif(<<$contactISche[i]>>,1,0)') = 1:
  196. j = arrsize('$telefIncCall')
  197. if contactAnon[i] = 1:
  198. $telefIncIcon[j] = "images/system/phone/decline.png"
  199. $telefIncName[j] = "Unknown Caller"
  200. else
  201. $telefIncIcon[j] = $contactIcon[i]
  202. $telefIncName[j] = $npc_nickname[$contact[i]]
  203. end
  204. $telefIncCall[j] = $contactICode[i]
  205. $telefIncNPC[j] = $contact[i]
  206. end
  207. end
  208. i += 1
  209. jump 'telefonIncLoop1'
  210. end
  211. ! Add Lovers
  212. i=0
  213. :telefonIncLoop2
  214. if i < 3 and hour > 5 and hour < 20:
  215. if pcs_lovers[i] = 1 and svidanie[i] = 0 and loverday[i] ! daystart and rand(1,100) > 95:
  216. j = arrsize('$telefIncCall')
  217. $telefIncCall[j] = "cls & gs 'telefon', 'lover', <<i>>"
  218. $telefIncIcon[j] = 'images/characters/shared/<<lover_picture[i]>>.jpg'
  219. $telefIncName[j] = $loverdesc[i]
  220. end
  221. i += 1
  222. jump 'telefonIncLoop2'
  223. end
  224. if arrsize('$telefIncCall') > 0:
  225. j = rand(0,arrsize('$telefIncCall')-1)
  226. if $telefIncNPC[j] ! "":
  227. i = arrpos('$contact',$telefIncNPC[j])
  228. contactLastCall[i] = totminut
  229. contactToday[i] += 1
  230. contactWeek[i] += 1
  231. end
  232. gs 'telefon', 'IncomingCall', $telefIncIcon[j], $telefIncName[j], $telefIncCall[j]
  233. end
  234. killvar 'i'
  235. killvar 'j'
  236. killvar '$telefIncIcon'
  237. killvar '$telefIncName'
  238. killvar '$telefIncCall'
  239. killvar '$telefIncNPC'
  240. end
  241. if $ARGS[0] = 'IncomingCall':
  242. ! $ARGS[1] = Icon for contact
  243. ! $ARGS[2] = Nickname of contact
  244. ! $ARGS[3] = Code to execute for this Call
  245. $telefonIncC['Icon'] = $ARGS[1]
  246. $telefonIncC['Name'] = $ARGS[2]
  247. $telefonIncC['Code'] = $ARGS[3]
  248. PLAY 'sound/old_phone.mp3',30
  249. $telefon['body'] = '
  250. <font size=6><<$telefonIncC["Name"]>> calling</font><br>
  251. <img src="<<$telefonIncC["Icon"]>>" width="200"><br>
  252. <br>
  253. <br>
  254. <br>
  255. <a href="exec:<<$telefonIncC["Code"]>>"><img src="images/system/phone/call_accept.png"></a>
  256. <a href="exec:gt $loc, $metka"><img src="images/system/phone/decline.png"></a><br>
  257. <b><font color="red">Your phone is ringing</font></b><br>'
  258. dynamic $telefon['print']
  259. killvar '$telefonIncC'
  260. end
  261. !---------------------------------------------------------------------------------------
  262. ! Generic Calls for dates
  263. !! NPC Date
  264. !! ARGS[1] = contactlist index
  265. !! $ARGS[2] = Date Location
  266. if $ARGS[0] = 'NPCDate':
  267. Call4Date["ContactIndex"] = ARGS[1]
  268. $Call4Date["Location"] = $ARGS[2]
  269. $Call4Date["NPC"] = $contact[Call4Date['ContactIndex']]
  270. $Call4Date["CallerName"] = $npc_nickname[$Call4Date["NPC"]]
  271. !! These variables are setup for certain downstream functions
  272. $caller = $Call4Date["CallerName"]
  273. $callerid = $contactIcon[Call4Date["ContactIndex"]]
  274. $boydesc = $Call4Date["CallerName"]
  275. pcs_mood += 10
  276. npc_rel[$Call4Date["NPC"]] += 3
  277. if $Call4Date["Location"] = 'city_park':
  278. if npc_gender[$Call4Date["NPC"]] = 0:
  279. gt 'dateM','datepark'
  280. else
  281. gt 'dateF','datepark'
  282. end
  283. elseif $Call4Date["Location"] = 'movie':
  284. if npc_gender[$Call4Date["NPC"]] = 0:
  285. gt 'dateM','datecinema'
  286. else
  287. !Not implemented yet
  288. !gt 'dateF','datecinema'
  289. end
  290. elseif $Call4Date["Location"] = 'bar':
  291. if npc_gender[$Call4Date["NPC"]] = 0:
  292. gt 'dateM','datebar'
  293. else
  294. gt 'dateF','datebar'
  295. end
  296. elseif $Call4Date["Location"] = 'cafe':
  297. if npc_gender[$Call4Date["NPC"]] = 0:
  298. gt 'dateM','datecafe'
  299. else
  300. !Not implemented yet
  301. !gt 'dateF','datecafe'
  302. end
  303. end
  304. killvar 'Call4Date'
  305. killvar '$Call4Date'
  306. end
  307. !! Sveta Calls the NPC
  308. !! ARGS[1] = contactlist index
  309. if $ARGS[0] = 'SvetaCallsNPC':
  310. cls
  311. cla
  312. Call4Date["ContactIndex"] = ARGS[1]
  313. $Call4Date["NPC"] = $contact[Call4Date['ContactIndex']]
  314. $Call4Date["CallerName"] = $npc_nickname[$Call4Date["NPC"]]
  315. if npc_gender[$Call4Date["NPC"]] = 0:
  316. $Call4Date["NPC-he"] = 'he'
  317. $Call4Date["NPC-He"] = 'He'
  318. $Call4Date["NPC-his"] = 'his'
  319. $Call4Date["NPC-His"] = 'His'
  320. else
  321. $Call4Date["NPC-he"] = 'her'
  322. $Call4Date["NPC-He"] = 'Her'
  323. $Call4Date["NPC-his"] = 'hers'
  324. $Call4Date["NPC-His"] = 'Hers'
  325. end
  326. !! These variables are setup for certain downstream functions
  327. $caller = $Call4Date["CallerName"]
  328. $callerid = $contactIcon[Call4Date["ContactIndex"]]
  329. gs 'telefon','phone_balance'
  330. gs 'telefon','phone_call_receive'
  331. Call4Date["willAgree"] = (rand(0, 10) > 3)
  332. '"Yes, I''m listening," says a voice from the speaker.'
  333. if month > 5 and temper > 20 and sunWeather = 1:
  334. act 'Invite to the park':
  335. cla
  336. '"Let''s go for a walk in the park."'
  337. if Call4Date["willAgree"]:
  338. '<<$Call4Date["CallerName"]>>, "See you in the park in an hour."'
  339. act 'Go':gt 'telefon', 'NPCDate', Call4Date["ContactIndex"], 'city_park'
  340. else
  341. gs 'telefon','telotkaz',$Call4Date["CallerName"]
  342. end
  343. end
  344. end
  345. act 'Invite to a movie':
  346. cla
  347. '"Want to go see a movie?"'
  348. if Call4Date["willAgree"]:
  349. '<<$Call4Date["CallerName"]>>, "See you at the movie theater in an hour."'
  350. act 'Go':gt 'telefon', 'NPCDate', Call4Date["ContactIndex"], 'movie'
  351. else
  352. gs 'telefon','telotkaz',$Call4Date["CallerName"]
  353. end
  354. end
  355. if $home_town = 'city':
  356. act 'Invite to the bar':
  357. cla
  358. '"Let''s go to the bar."'
  359. if Call4Date["willAgree"]:
  360. '<<$Call4Date["CallerName"]>>, "See you at the bar in an hour."'
  361. act 'Go':gt 'telefon', 'NPCDate', Call4Date["ContactIndex"], 'bar'
  362. else
  363. gs 'telefon','telotkaz',$Call4Date["CallerName"]
  364. end
  365. end
  366. end
  367. act 'Invite to the cafe':
  368. cla
  369. '"Let''s go to the cafe."'
  370. if Call4Date["willAgree"]:
  371. '<<$Call4Date["CallerName"]>>, "See you at the cafe in an hour."'
  372. act 'Go':gt 'telefon', 'NPCDate', Call4Date["ContactIndex"], 'cafe'
  373. else
  374. gs 'telefon','telotkaz',$Call4Date["CallerName"]
  375. end
  376. end
  377. !!Willpower checks for resistance
  378. if npc_rel[$Call4Date["NPC"]] <= 25:
  379. $Call4Date["loverResist"] = 'easy'
  380. elseif npc_rel[$Call4Date["NPC"]] <= 50:
  381. $Call4Date["loverResist"] = 'medium'
  382. else
  383. $Call4Date["loverResist"] = 'hard'
  384. end
  385. gs 'willpower', 'misc', 'self', $Call4Date["loverResist"]
  386. if will_cost <= pcs_willpwr:
  387. act 'I think we should break up... (<<will_cost>> Willpower)':
  388. *clr & cla
  389. gs 'willpower', 'pay', 'self'
  390. gs 'stat'
  391. '<<$Call4Date["NPC-He"]>> sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
  392. gs 'telefon', 'DeleteContact', $Call4Date["NPC"]
  393. act 'Hang up': gt 'telefon', 'fin'
  394. end
  395. else
  396. act 'I think we should break up... (<font color="red"><<will_cost>> Willpower</font>)':
  397. '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  398. end
  399. end
  400. act 'Hangup':gt 'telefon', 'fin'
  401. killvar 'Call4Date'
  402. killvar '$Call4Date'
  403. killvar '$DateNickName'
  404. end
  405. ! NPC Calls Sveta for a Date
  406. ! ARGS[1] = $contact index number
  407. if $ARGS[0] = 'NPCCallsForDate':
  408. cla
  409. clr
  410. Call4Date["ContactIndex"] = ARGS[1]
  411. $Call4Date["NPC"] = $contact[Call4Date['ContactIndex']]
  412. if npc_gender[$Call4Date["NPC"]] = 0:
  413. $Call4Date["NPC-he"] = 'he'
  414. $Call4Date["NPC-He"] = 'He'
  415. $Call4Date["NPC-his"] = 'his'
  416. $Call4Date["NPC-His"] = 'His'
  417. else
  418. $Call4Date["NPC-he"] = 'her'
  419. $Call4Date["NPC-He"] = 'Her'
  420. $Call4Date["NPC-his"] = 'hers'
  421. $Call4Date["NPC-His"] = 'Hers'
  422. end
  423. !!Pick a nickname that caller will use for Sveta
  424. $DateNickName[0] = 'cutie'
  425. $DateNickName[1] = 'honey'
  426. $DateNickName[2] = 'sweetie'
  427. $DateNickName[3] = 'baby'
  428. $DateNickName[4] = 'hot stuff'
  429. $DateNickName[5] = '<<$pcs_nickname>>'
  430. $Call4Date['SvetaName'] = $DateNickName[rand(0, arrsize('$DateNickName'))]
  431. $Call4Date['CallerName'] = $npc_nickname[$Call4Date["NPC"]]
  432. !! These variables are setup for certain downstream functions
  433. $caller = $Call4Date["CallerName"]
  434. $callerid = $contactIcon[Call4Date["ContactIndex"]]
  435. 'Hey <<$Call4Date["SvetaName"]>>, it''s me, <<$Call4Date["CallerName"]>>. How''s it going?'
  436. act 'Answer':
  437. cla
  438. '"Pretty good, you?"'
  439. '<<$Call4Date["CallerName"]>>, "Great, but I kind of miss you, can we meet today?"'
  440. if week > 1 and week < 5 and workKafe = 1:
  441. act 'Sorry, I''m working today':
  442. cla
  443. '"Sorry, I''m working today."'
  444. '<<$Call4Date["CallerName"]>>, "Okay, I''ll call tomorrow."'
  445. act 'Hang up':gt 'telefon', 'fin'
  446. end
  447. end
  448. act 'Tonight':
  449. cla
  450. npc_rel[$Call4Date["NPC"]] += 1
  451. contMeetDay[Call4Date["ContactIndex"]] = daystart
  452. '"How about this evening?"'
  453. '<<$Call4Date["CallerName"]>>, "Sounds great! When can I come to pick you up?"'
  454. act 'Pick a time':
  455. cla
  456. contMeetHour[Call4Date["ContactIndex"]] = 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]")
  457. if contMeetHour[Call4Date["ContactIndex"]] <= hour or contMeetHour[Call4Date["ContactIndex"]] > 23:contMeetHour[Call4Date["ContactIndex"]] = 20
  458. '"How about <<contMeetHour[Call4Date["ContactIndex"]]>>:00?."'
  459. '<<$Call4Date["CallerName"]>>, "Okay <<$Call4Date["SvetaName"]>>, see you at <<contMeetHour[Call4Date["ContactIndex"]]>>:00."'
  460. act 'Hang up':gt 'telefon', 'fin'
  461. end
  462. end
  463. act 'Maybe tomorrow':
  464. cla
  465. npc_rel[$Call4Date["NPC"]] -= 1
  466. '"I''m busy today. Call tomorrow."'
  467. if npc_rel[$Call4Date["NPC"]] <= 0:'<<$Call4Date["CallerName"]>>, Are you fucking me, you know what. Suck my dick.' & gs 'telefon', 'DeleteContact', $Call4Date["NPC"]
  468. if npc_rel[$Call4Date["NPC"]] > 0:'(<<$Call4Date["CallerName"]>>) - Okay, I''ll call tomorrow.'
  469. act 'Hang up': gt 'telefon', 'fin'
  470. end
  471. !!Willpower checks for resistance
  472. if npc_rel[$Call4Date["NPC"]] <= 25:
  473. $Call4Date["loverResist"] = 'easy'
  474. elseif npc_rel[$Call4Date["NPC"]] <= 50:
  475. $Call4Date["loverResist"] = 'medium'
  476. else
  477. $Call4Date["loverResist"] = 'hard'
  478. end
  479. gs 'willpower', 'misc', 'self', $Call4Date["loverResist"]
  480. if will_cost <= pcs_willpwr:
  481. act 'I think we should break up... (<<will_cost>> Willpower)':
  482. *clr & cla
  483. gs 'willpower', 'pay', 'self'
  484. gs 'stat'
  485. '<<$Call4Date["NPC-He"]>> sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
  486. gs 'telefon', 'DeleteContact', $Call4Date["NPC"]
  487. act 'Hang up': gt 'telefon', 'fin'
  488. end
  489. else
  490. act 'I think we should break up... (<font color="red"><<will_cost>> Willpower</font>)':
  491. '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  492. end
  493. end
  494. end
  495. act 'Hang up (end relationship)':
  496. cla
  497. gs 'telefon', 'DeleteContact', $Call4Date["NPC"]
  498. gt 'telefon', 'fin'
  499. end
  500. killvar 'Call4Date'
  501. killvar '$Call4Date'
  502. killvar '$DateNickName'
  503. end
  504. if $ARGS[0] = 'start':
  505. gs 'stat'
  506. gs 'telefon','phone_call_receive'
  507. if npc_QW['A192'] = 1 and week = 6 and pcs_apprnc > 80:
  508. gt 'nastja', 'pos4'
  509. elseif npc_QW['A192'] = 2 and week ! 6 and zenit ! 0 and nastjaday ! daystart:
  510. gt 'nastja', 'pos13'
  511. elseif hour >= 8 and hour <= 20 and npc_QW['A192'] = 2 and week = 6 and pcs_apprnc > 80 and nastjaday ! daystart:
  512. gt 'nastja', 'pos12'
  513. elseif npc_QW['A192'] = 5 and week = 6 and nastjaday ! daystart:
  514. gt 'nastja', 'pos22'
  515. elseif npc_QW['A192'] = 6 and nastjaday ! daystart:
  516. gt 'nastja', 'pos31'
  517. else
  518. $callerid = 'images/system/phone/icons/icon_nastja.png'
  519. gs 'telefon','phone_call_reject'
  520. end
  521. end
  522. !--------------------------------------------------------------------------------------------------
  523. ! Old telephone system. Some of this should be removed.
  524. if $ARGS[0] = 'phone_ring':
  525. $telefon['body'] = '
  526. <font size=6><<$caller>> calling</font><br>
  527. <img src="<<$callerid>>"><br>
  528. <br>
  529. <br>
  530. <br>
  531. <br>'
  532. dynamic $telefon['print']
  533. end &! --- phone_ring ---
  534. if $ARGS[0] = 'phone_call_receive':
  535. $telefon['body'] = '
  536. <font size=6>Talking to <<$caller>></font><br>
  537. <img src="<<$callerid>>"><br>'
  538. dynamic $telefon['print']
  539. end &! --- phone_call_receive ---
  540. if $ARGS[0] = 'phone_balance':
  541. if balans < 4:
  542. $telefon['body'] = '
  543. <font size=6>Not enough credit on your account</font><br>
  544. <img src="<<$callerid>>"><br><br>
  545. <a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/phone/decline.png"></a><br>'
  546. dynamic $telefon['print']
  547. wait 3500
  548. cla
  549. gt $loc, $metka
  550. elseif balans >= 4:
  551. balans -= 4
  552. end
  553. end &! --- phone_balance ---
  554. if $ARGS[0] = 'Phone_call':
  555. $telefon['body'] = '
  556. <font size=6>Calling <<$npc_nickname[''A29'']>></font><br>
  557. <img src="images/system/phone/icons/icon_npc1.png"><br><br>
  558. <a href="exec:gs ''telefon'', ''Phone_contactlist'' "><img src="images/system/phone/decline.png"></a><br>'
  559. dynamic $telefon['print']
  560. wait 1500
  561. minut += 1
  562. $callerid = 'images/system/phone/icons/icon_npc1.png'
  563. gs 'telefon', 'phone_balance'
  564. $callerid = 'images/system/phone/icons/icon_npc1.png'
  565. gs 'telefon', 'phone_call_reject'
  566. end &! --- Phone_call ---
  567. if $ARGS[0] = 'phone_call_reject':
  568. $telefon['body'] = '
  569. <font size=6>Calling....</font><br>
  570. <img src="<<$callerid>>"><br><br>
  571. <a href="exec:gs ''telefon'', ''Phone_contactlist'' "><img src="images/system/phone/decline.png"></a><br>'
  572. dynamic $telefon['print']
  573. end &! --- phone_call_reject ---
  574. if $ARGS[0] = 'Phone_megafon':
  575. $telefon['body'] = '
  576. <font size=6>MegaFon</font><br>
  577. <img src="<<FUNC(''$phone_theme'')>>icon_megafon.png" height="80" width="80"><br><br>
  578. <b>The balance in the account:</b>
  579. <font size=5><<balans>> ₽.</font><br>'
  580. dynamic $telefon['print']
  581. end &! --- Phone_megafon ---
  582. if $ARGS[0] = 'Edit_Custom_list':
  583. clr
  584. dummyas = arrsize('$contact')
  585. :din_bad_as1
  586. dummyas -= 1
  587. if dummyas >= 0:
  588. $dummyedit = $contact[dummyas]
  589. $dummyedit1 = dyneval('$result = ''</a><a href="exec:killvar ''''$contact'''',<<dummyas>> & gs ''''telefon'''', ''''Edit_Custom_list'''' "><b>Remove</b>'' ')
  590. $dummyedit2 = $replace($dummyedit,'<b>Call</b>',$dummyedit1)
  591. pl $dummyedit2
  592. jump 'din_bad_as1'
  593. end
  594. killvar 'dummyas'
  595. killvar 'dummyedit'
  596. killvar 'dummyedit1'
  597. killvar 'dummyedit2'
  598. pl'<center><a href="exec:gs ''telefon'', ''Phone_menu'' "><img src="images/system/icon/back.png"></a></center>'
  599. !dynamic $telefon['print']
  600. end &! --- Edit_Custom_list ---
  601. if $ARGS[0] = 'mobilaraz':
  602. cls
  603. cla
  604. gs'din_bad'
  605. $caller = '<<$telsob>>'
  606. gs 'telefon','phone_balance'
  607. gs 'telefon','phone_call_receive'
  608. willAgree = (rand(0, 10) > 3)
  609. '"Yes, I''m listening," says a voice from the speaker.'
  610. if month > 5 and temper > 20 and sunWeather = 1:
  611. act 'Invite to the park':
  612. cla
  613. '"Let''s go for a walk in the park."'
  614. if willAgree:
  615. '<<$telsob>>, "See you in the park in an hour."'
  616. act 'Go':gt 'parksvid'
  617. else
  618. gs 'telefon','telotkaz',$telsob
  619. end
  620. end
  621. end
  622. act 'Invite to a movie':
  623. cla
  624. '"Want to go see a movie?"'
  625. if willAgree:
  626. '<<$telsob>>, "See you at the movie theater in an hour."'
  627. act 'Go':gt 'kinosvid'
  628. else
  629. gs 'telefon','telotkaz',$telsob
  630. end
  631. end
  632. act 'Invite to the pool hall':
  633. cla
  634. '"Let''s play pool."'
  635. if willAgree:
  636. '<<$telsob>>, "See you at the pool hall in an hour."'
  637. act 'Go':gt 'billsvid'
  638. else
  639. gs 'telefon','telotkaz',$telsob
  640. end
  641. end
  642. act 'Invite to the cafe':
  643. cla
  644. '"Let''s go to the cafe."'
  645. if willAgree:
  646. '<<$telsob>>, "See you at the cafe in an hour."'
  647. act 'Go':gt 'kafesvid'
  648. else
  649. gs 'telefon','telotkaz',$telsob
  650. end
  651. end
  652. act 'Invite to the casino':
  653. cla
  654. '"Let''s go to the casino."'
  655. if willAgree:
  656. '<<$telsob>>, "See you in the casino in an hour."'
  657. act 'Go':gt 'kazinosvid'
  658. else
  659. gs 'telefon','telotkaz',$telsob
  660. end
  661. end
  662. act 'Hangup':gt 'telefon', 'fin'
  663. end
  664. !----------------End Old Telephone----------------------------
  665. !-----------------------------------------------------------------------------
  666. ! Support for Hardcoded Lovers (BF/GF)
  667. if $ARGS[0] = 'callingTheLover' and loverGender[ARGS[1]] = 1:
  668. cls
  669. cla
  670. gs'din_bad'
  671. lover_number = ARGS[1]
  672. $caller = '<<$loverdesc[lover_number]>>'
  673. $telsob = $caller
  674. $callerid = 'images/characters/shared/'+lover_picture[lover_number]+'.jpg'
  675. gs 'telefon','phone_balance'
  676. gs 'telefon','phone_call_receive'
  677. willAgree = (rand(0, 10) > 3)
  678. '"Yes, I''m listening," says a voice from the speaker.'
  679. if month > 5 and temper > 20 and sunWeather = 1:
  680. act 'Invite to the park':
  681. cla
  682. '"Let''s go for a walk in the park."'
  683. if willAgree:
  684. '<<$telsob>>, "See you in the park in an hour."'
  685. act 'Go': gt 'parksvid'
  686. else
  687. gs 'telefon','telotkaz',$telsob
  688. end
  689. end
  690. end
  691. act 'Invite to a movie':
  692. cla
  693. '"Want to go see a movie?"'
  694. if willAgree:
  695. '<<$telsob>>, "See you at the movie theater in an hour."'
  696. act 'Go': gt 'kinosvid'
  697. else
  698. gs 'telefon','telotkaz',$telsob
  699. end
  700. end
  701. if $home_town = 'city':
  702. act 'Invite to the pool hall':
  703. cla
  704. '"Let''s play pool."'
  705. if willAgree:
  706. '<<$telsob>>, "See you at the pool hall in an hour."'
  707. act 'Go': gt 'billsvid'
  708. else
  709. gs 'telefon','telotkaz',$telsob
  710. end
  711. end
  712. end
  713. act 'Invite to the cafe':
  714. cla
  715. '"Let''s go to the cafe."'
  716. if willAgree:
  717. '<<$telsob>>, "See you at the cafe in an hour."'
  718. act 'Go': gt 'kafesvid'
  719. else
  720. gs 'telefon','telotkaz',$telsob
  721. end
  722. end
  723. act 'Invite to the casino':
  724. cla
  725. '"Let''s go to the casino."'
  726. if willAgree:
  727. '<<$telsob>>, "See you in the casino in an hour."'
  728. act 'Go': gt 'kazinosvid'
  729. else
  730. gs 'telefon','telotkaz',$telsob
  731. end
  732. end
  733. act 'I think we should break up...':
  734. cla
  735. 'She sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
  736. gs 'lover', 'remove', lover_number
  737. act 'Hangup':gt 'telefon', 'fin'
  738. end
  739. act 'Hangup':gt 'telefon', 'fin'
  740. end
  741. if $ARGS[0] = 'callingTheLover' and loverGender[ARGS[1]] = 0:
  742. cls
  743. cla
  744. gs'din_bad'
  745. lover_number = ARGS[1]
  746. $caller = '<<$loverdesc[lover_number]>>'
  747. $callerid = 'images/characters/shared/'+lover_picture[lover_number]+'.jpg'
  748. gs 'telefon','phone_balance'
  749. gs 'telefon','phone_call_receive'
  750. willAgree = (rand(0, 10) > 3)
  751. '"Yes, I''m listening," says a voice from the speaker.'
  752. if month > 5 and temper > 20 and sunWeather = 1:
  753. act 'Invite to the park':
  754. cla
  755. '"Let''s go for a walk in the park."'
  756. if willAgree:
  757. '<<$loverdesc[lover_number]>>, "See you in the park in an hour."'
  758. act 'Go':gt 'svidboy', 'parksvid'
  759. else
  760. gs 'telefon','telotkaz',$loverdesc[lover_number]
  761. end
  762. end
  763. end
  764. act 'Invite to a movie':
  765. cla
  766. '"Want to go see a movie?"'
  767. if willAgree:
  768. '<<$loverdesc[lover_number]>>, "See you at the movie theater in an hour."'
  769. act 'Go':gt 'svidboy', 'kinosvid'
  770. else
  771. gs 'telefon','telotkaz',$loverdesc[lover_number]
  772. end
  773. end
  774. if $home_town = 'city':
  775. act 'Invite to the pool hall':
  776. cla
  777. '"Let''s play pool."'
  778. if willAgree:
  779. '<<$loverdesc[lover_number]>>, "See you at the pool hall in an hour."'
  780. act 'Go':gt 'svidboy', 'billsvid'
  781. else
  782. gs 'telefon','telotkaz',$loverdesc[lover_number]
  783. end
  784. end
  785. end
  786. act 'Invite to the cafe':
  787. cla
  788. '"Let''s go to the cafe."'
  789. if willAgree:
  790. '<<$loverdesc[lover_number]>>, "See you at the cafe in an hour."'
  791. act 'Go':gt 'svidboy', 'kafesvid'
  792. else
  793. gs 'telefon','telotkaz',$loverdesc[lover_number]
  794. end
  795. end
  796. act 'I think we should break up...':
  797. cla
  798. 'He sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
  799. gs 'lover', 'remove', lover_number
  800. act 'Hangup':gt 'telefon', 'fin'
  801. end
  802. act 'Hangup':gt 'telefon', 'fin'
  803. end
  804. if $ARGS[0] = 'lover' and loverGender[ARGS[1]] = 0:
  805. cla
  806. clr
  807. lover_number = ARGS[1]
  808. ring = 0
  809. lover_days = daystart - loverday[lover_number]
  810. !gs 'stat'
  811. !gs 'telefon','phone_call_receive'
  812. svetrand = rand(0, 5)
  813. if svetrand = 0:$sveta = 'cutie'
  814. if svetrand = 1:$sveta = 'honey'
  815. if svetrand = 2:$sveta = 'sweetie'
  816. if svetrand = 3:$sveta = 'baby'
  817. if svetrand = 4:$sveta = 'hot stuff'
  818. if svetrand = 5:$sveta = '<<$pcs_nickname>>'
  819. 'Hey <<$sveta>>, it''s me, <<$loverdesc[lover_number]>>. How''s it going?'
  820. act 'Reply':
  821. cla
  822. '"Pretty good, you?"'
  823. '<<$loverdesc[lover_number]>>, "Great, but I kind of miss you, can we meet today?"'
  824. if (pregchem / 24) <= lover_days and knowpreg = 1 and pregtalk = 0:
  825. act 'Tell him he''s going to be a dad':
  826. cla
  827. pregtalk = 1
  828. '"Honey, I''m pregnant with your child."'
  829. if haraklover[lover_number] = 0:
  830. if loverrelation[lover_number] >= 90:
  831. loverlove[lover_number] = 1
  832. '<<$loverdesc[lover_number]>>, "This is wonderful! We have to celebrate!"'
  833. '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.'
  834. '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.'
  835. 'When you are totally ready <<$loverdesc[lover_number]>> will take you to his parents.'
  836. act 'Hang up':gt 'telefon', 'fin'
  837. act 'Meet tonight':
  838. cla
  839. svidanie[lover_number] = 1
  840. '"How about this evening?"'
  841. '<<$loverdesc[lover_number]>>, "Sounds great! When can I come to pick you up?"'
  842. act 'Pick a time':
  843. cla
  844. meetday[lover_number] = daystart
  845. 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]")
  846. if meethour[lover_number] <= hour or meethour[lover_number] > 23:meethour[lover_number] = 20
  847. '"How about <<meethour[lover_number]>>:00?"'
  848. '<<$loverdesc[lover_number]>>, "Okay <<$sveta>>, see you at <<meethour[lover_number]>>:00."'
  849. act 'Hang up':gt 'telefon', 'fin'
  850. end
  851. end
  852. elseif loverrelation[lover_number] < 90:
  853. money += 20000
  854. '<<$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.'
  855. act 'Hang up':gt 'telefon', 'fin'
  856. end
  857. elseif haraklover[lover_number] = 1:
  858. money += 20000
  859. '<<$loverdesc[lover_number]>> "I''m not yet ready to become a dad. I''ll give you the money get an abortion.'
  860. act 'Hang up':gt 'telefon', 'fin'
  861. elseif haraklover[lover_number] = 2:
  862. pregtalk = 0
  863. '<<$loverdesc[lover_number]>>, "What? You whore! Someone fucked your pussy and now you drop it on me. You''re dumped.'
  864. gs 'lover', 'remove', lover_number
  865. act 'Hang up':gt 'telefon', 'fin'
  866. end
  867. end
  868. elseif (pregchem / 24) > lover_days and knowpreg = 1 and pregtalk = 0:
  869. act 'Honey, you will soon become a dad':
  870. cla
  871. loverrelation[lover_number] = 0
  872. '"Honey, I''m pregnant with your child."'
  873. '<<$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."'
  874. act 'Hang up.':gt 'telefon', 'fin'
  875. end
  876. elseif week > 1 and week < 5 and workKafe = 1:
  877. act 'Sorry, I''m working today':
  878. cla
  879. '"Sorry, I''m working today."'
  880. '<<$loverdesc[lover_number]>>, "Okay, I''ll call tomorrow."'
  881. act 'Hang up':gt 'telefon', 'fin'
  882. end
  883. end
  884. act 'Tonight':
  885. cla
  886. loverrelation[lover_number] += 1
  887. svidanie[lover_number] = 1
  888. meetday[lover_number] = daystart
  889. '"How about this evening?"'
  890. '<<$loverdesc[lover_number]>>, "Sounds great! When can I come to pick you up?"'
  891. act 'Pick a time':
  892. cla
  893. 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]")
  894. if meethour[lover_number] <= hour or meethour[lover_number] > 23:meethour[lover_number] = 20
  895. '"How about <<meethour[lover_number]>>:00?."'
  896. '<<$loverdesc[lover_number]>>, "Okay <<$sveta>>, see you at <<meethour[lover_number]>>:00."'
  897. act 'Hang up':gt 'telefon', 'fin'
  898. end
  899. end
  900. act 'Maybe tomorrow':
  901. cla
  902. loverrelation[lover_number] -= 1
  903. '"I''m busy today. Call tomorrow."'
  904. if loverrelation[lover_number] <= 0:'<<$loverdesc[lover_number]>>, Are you fucking me, you know what. Suck my dick.' & gs 'lover', 'remove', lover_number
  905. if loverrelation[lover_number] > 0:'(<<$loverdesc[lover_number]>>) - Okay, I''ll call tomorrow.'
  906. act 'Hang up': gt 'telefon', 'fin'
  907. end
  908. act 'I think we should break up...':
  909. cla
  910. 'He sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
  911. gs 'lover', 'remove', lover_number
  912. act 'Hang up': gt 'telefon', 'fin'
  913. end
  914. end
  915. act 'Hang up (end relationship)':
  916. cla
  917. gs 'lover', 'remove', lover_number
  918. gt 'telefon', 'fin'
  919. end
  920. end
  921. if $ARGS[0] = 'lover' and loverGender[ARGS[1]] = 1:
  922. cla
  923. clr
  924. lover_number = ARGS[1]
  925. ring = 0
  926. lover_days = daystart - loverday[lover_number]
  927. !gs 'stat'
  928. !gs 'telefon','phone_call_receive'
  929. svetrand = rand(0, 5)
  930. if svetrand = 0:$sveta = 'cutie'
  931. if svetrand = 1:$sveta = 'honey'
  932. if svetrand = 2:$sveta = 'sweetie'
  933. if svetrand = 3:$sveta = 'baby'
  934. if svetrand = 4:$sveta = 'hot stuff'
  935. if svetrand = 5:$sveta = '<<$pcs_nickname>>'
  936. 'Hey <<$sveta>>, it''s me, <<$loverdesc[lover_number]>>. How''s it going?'
  937. act 'Reply':
  938. cla
  939. '"Pretty good, you?"'
  940. '<<$loverdesc[lover_number]>>, "Great, but I kind of miss you, can we meet today?"'
  941. act 'Tonight':
  942. cla
  943. loverrelation[lover_number] += 1
  944. svidanie[lover_number] = 1
  945. meetday[lover_number] = daystart
  946. '"How about this evening?"'
  947. '<<$loverdesc[lover_number]>>, "Sounds great! When can I come to pick you up?"'
  948. act 'Pick a time':
  949. cla
  950. 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]")
  951. if meethour[lover_number] <= hour or meethour[lover_number] > 23:meethour[lover_number] = 20
  952. '"How about <<meethour[lover_number]>>:00?."'
  953. '<<$loverdesc[lover_number]>>, "Okay <<$sveta>>, see you at <<meethour[lover_number]>>:00."'
  954. act 'Hang up':gt 'telefon', 'fin'
  955. end
  956. end
  957. act 'Maybe tomorrow':
  958. cla
  959. loverrelation[lover_number] -= 1
  960. '"I''m busy today. Call tomorrow."'
  961. if loverrelation[lover_number] <= 0:'<<$loverdesc[lover_number]>>, Are you fucking me, you know what. Fuck off.' & gs 'lover', 'remove', lover_number
  962. if loverrelation[lover_number] > 0:'(<<$loverdesc[lover_number]>>) - Okay, I''ll call tomorrow.'
  963. act 'Hang up': gt 'telefon', 'fin'
  964. end
  965. act 'I think we should break up...':
  966. cla
  967. 'She sounds hurt, but you insist it is for the best. You both say goodbye and part ways.'
  968. gs 'lover', 'remove', lover_number
  969. act 'Hang up': gt 'telefon', 'fin'
  970. end
  971. end
  972. act 'Hang up (end relationship)':
  973. cla
  974. gs 'lover', 'remove', lover_number
  975. gt 'telefon', 'fin'
  976. end
  977. end
  978. !---------------------- End of Lover support
  979. if $ARGS[0] = 'Phone_notebook':
  980. gs 'housing', 'rent'
  981. $telefon['body'] = '
  982. <font size=6>Planner</font><br>
  983. <img src="<<FUNC(''$phone_theme'')>>icon_notebook.png" height="80" width="80"><br>
  984. <<year>>-<<$month>>-<<day>>, <<$week[week]>><br><br>'
  985. rent1 = -1
  986. rent4 = -1
  987. if home_owned[1] > 0 and ArendHouseSL > 0:rent1 = ArendHouseSL
  988. if home_owned[4] > 0 and ArendHouseSL4 > 0:rent4 = ArendHouseSL4
  989. d1 = day
  990. w1 = week
  991. m1 = month
  992. y1 = year
  993. i = 0
  994. $list = '<br>&emsp;<b>•</b> '
  995. :pnotebook
  996. daynum = daystart+i
  997. $calendarday = ''
  998. if m1 = 1 and d1 >= 1 and d1 <= 8:
  999. $calendarday += $list + 'New Year holidays'
  1000. if d1 = 1:$calendarday += ', New Year'
  1001. if d1 = 7:$calendarday += ', Christmas'
  1002. end
  1003. if m1 = 2 and d1 = 23:$calendarday += $list + 'Defender of Fatherland Day'
  1004. if m1 = 3 and d1 = 8:$calendarday += $list + 'Women''s Day'
  1005. if m1 = 5 and d1 = 1:$calendarday += $list + 'Spring and Labor Day'
  1006. if m1 = 5 and d1 = 2:$calendarday += $list + 'National holiday'
  1007. if m1 = 5 and d1 = 9:$calendarday += $list + 'Victory Day'
  1008. if m1 = 6 and d1 = 12:$calendarday += $list + 'Russia Day'
  1009. if m1 = 6 and d1 = 13:$calendarday += $list + 'National holiday'
  1010. if m1 = 11 and d1 = 4:$calendarday += $list + 'Unity Day'
  1011. if storyline = 1 and SchoolAtestat = 0:
  1012. if m1 = 1 and d1 = 1:$calendarday += $list + 'First day of Winter break.'
  1013. if m1 = 1 and d1 = 15:$calendarday += $list + 'Last day of Winter break.'
  1014. if m1 = 3 and d1 = 20:$calendarday += $list + 'First day of Spring break.'
  1015. if m1 = 3 and d1 = 26:$calendarday += $list + 'Last day of Spring break.'
  1016. if school_year = 2003 and y1 = 2020 and m1 = 5 and d1 = 25:$calendarday += $list + 'Graduation Day!'
  1017. if school_year = 2004 and y1 = 2021 and m1 = 6 and d1 = 1:$calendarday += $list + 'First day of Summer break.'
  1018. if m1 = 8 and d1 = 31:$calendarday += $list + 'Last day of Summer break.'
  1019. if m1 = 11 and d1 = 4:$calendarday += $list + 'First day of Autumn break.'
  1020. if m1 = 11 and d1 = 11:$calendarday += $list + 'Last day of Autumn break.'
  1021. end
  1022. if daynum >= daylastperiod+28 and daynum < daylastperiod+31:$calendarday += $list + '<font color=''red''><b>Menstruation!</b></font>'
  1023. if daynum >= daylastperiod+12 and daynum < daylastperiod+14:$calendarday += $list + '<font color=#336600><b>Ovulation!</b></font>'
  1024. if pregchem >= 6720:$calendarday += $list + '<font color=''red''><b>Birthing day!</b></font>'
  1025. if w1 < 5 and (workSec >= 1 or BurgerQW['Secretary'] = 1):$calendarday += $list + 'Working as a secretary. <i>(9:00 - 17:00)</i>'
  1026. if w1 < 5 and workFabrika = 1:
  1027. $calendarday += $list + 'Working as a seamstress. '
  1028. if age < 18:$calendarday += '<i>(16:00 - 20:00)</i>' else $calendarday += '<i>(8:00 - 16:00)</i>'
  1029. end
  1030. if w1 > 1 and w1 <= 5 and workhosp = 1:$calendarday += $list + 'Working as nurse. <i>(8:00 - 16:00)</i>'
  1031. if worksalon = 1 and (w1 = 1 or w1 = 3 or w1 = 5):$calendarday += $list + 'Working as masseuse. <i>(9:00 - 17:00)</i>'
  1032. !! if maidqw > 0:$calendarday += '<br>&emsp;<b>•</b> Working as maid. <i>(16:00 - 19:00)</i>'
  1033. if pfilmday[i] > 0:$calendarday += $list + 'Porn shoot: <i><<$porndesc[pfilmday[i]]>></i>'
  1034. if d1 = 25 and (BurgerQW['Secretary'] = 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>'
  1035. if d1 = nyp_day and m1 = 12 and SchoolAtestat = 0 and StoryLine = 1:$calendarday += $list + 'New Year''s party at 14:00!'
  1036. if (npc_QW['A33']-2) mod 2 = 1 and sisboyday+1 = daynum:
  1037. if sisboytrioQW = 1:
  1038. $calendarday += $list + '<font color="orange">Threesome with Anya and Roma at 18:00</font>'
  1039. else
  1040. $calendarday += $list + '<font color="orange">Anya having sex with Roma at 18:00</font>'
  1041. end
  1042. end
  1043. if sisboyparty = 2 and sisboyparty_day+1 = daynum:$calendarday += $list + '<font color="orange">Party at Rex, gathering before 18:00 at Community Center</font>'
  1044. if rent1 = 0:$calendarday += $list + 'Rent on city apartment expires!'
  1045. if rent4 = 0:$calendarday += $list + 'Rent on Pushkin apartment expires!'
  1046. if birthday = d1 and birthmonth = m1:$calendarday += $list + 'My birthday!'
  1047. if kid > 0:
  1048. k1 = kid
  1049. :kiddieloop
  1050. if daykid[k1] = d1 and monthkid[k1] = m1:$calendarday += $list + 'Birthday of my <<$polreb[k1]>> <<$kidname[k1]>>, my <<kid>>. baby!'
  1051. if k1 > 1:k1 -= 1 & jump 'kiddieloop'
  1052. end
  1053. if $calendarday ! '':
  1054. $telefon['body'] += '<b><<$monthName[m1]>> <<d1>>, <<$week[w1]>>:</b>'
  1055. $telefon['body'] += $calendarday +'<br>'
  1056. end
  1057. if i < 14:
  1058. rent1 -= 1
  1059. rent4 -= 1
  1060. i += 1
  1061. w1 += 1
  1062. if w1 > 7:w1 = 1
  1063. d1 += 1
  1064. if monthsend[m1] < d1:
  1065. m1 += 1 & d1 = 1
  1066. if m1 = 13: m1 = 1 & y1 += 1
  1067. end
  1068. jump 'pnotebook'
  1069. end
  1070. killvar 'calendarday'
  1071. killvar 'rent1'
  1072. killvar 'rent4'
  1073. killvar 'd1'
  1074. killvar 'w1'
  1075. killvar 'm1'
  1076. killvar 'y1'
  1077. killvar 'daynum'
  1078. dynamic $telefon['print']
  1079. end &! --- Phone_notebook ---
  1080. !!----------------------------------------Camera-------------------------------------------------
  1081. !!For setting the total numbers of selfies
  1082. if $ARGS[0] = 'Phone_selfie_totals':
  1083. bathroom_clotot = 24
  1084. bathroom_undtot = 21
  1085. bathroom_nudtot = 27
  1086. bathroom_titflash = 20
  1087. bathroom_assflash = 5
  1088. bathroom_pussyflash = 22
  1089. bathroom_bathtot = 24
  1090. bathroom_showertot = 25
  1091. bedroom_clotot = 27
  1092. bedroom_undtot = 20
  1093. bedroom_nudtot = 25
  1094. bedroom_titflash = 30
  1095. bedroom_assflash = 21
  1096. bedroom_pussyflash = 23
  1097. kitchen_clotot = 27
  1098. kitchen_undtot = 23
  1099. kitchen_nudtot = 23
  1100. kitchen_titflash = 21
  1101. kitchen_assflash = 1
  1102. kitchen_pussyflash = 10
  1103. livingroom_clotot = 27
  1104. livingroom_undtot = 23
  1105. livingroom_nudtot = 20
  1106. livingroom_titflash = 20
  1107. livingroom_assflash = 5
  1108. livingroom_pussyflash = 20
  1109. changingroom_clotot = 22
  1110. changingroom_undtot = 25
  1111. changingroom_nudtot = 25
  1112. changingroom_titflash = 28
  1113. changingroom_assflash = 19
  1114. changingroom_pussyflash = 27
  1115. park_clotot = 28
  1116. park_undtot = 2
  1117. park_nudtot = 12
  1118. park_titflash = 21
  1119. park_assflash = 2
  1120. park_pussyflash = 8
  1121. lockeroom_clotot = 26
  1122. lockeroom_undtot = 21
  1123. lockeroom_nudtot = 13
  1124. lockeroom_titflash = 13
  1125. lockeroom_assflash = 2
  1126. lockeroom_pussyflash = 3
  1127. beach_swim = 21
  1128. beach_nudtot = 20
  1129. beach_titflash = 17
  1130. beach_assflash = 1
  1131. beach_pussyflash = 4
  1132. classroom_clotot = 11
  1133. classroom_titflash = 3
  1134. classroom_pussyflash = 3
  1135. !!added underwear as I finally found some images
  1136. classroom_undtot = 2
  1137. !!classroom_assflash = 0
  1138. !!I am adding a few more lines for selfies that I have, I am commenting them out for now until we add in the option to take the image. I named the first folder school_bathroom and the second folder restroom
  1139. !!school_bathroom_clotot = 24
  1140. !!school_bathroom_undtot = 9
  1141. !!school_bathroom_nudtot = 0
  1142. !!school_bathroom_assflash = 1
  1143. !!school_bathroom_titflash = 4
  1144. !!school_bathroom_pussyflash = 6
  1145. !!restroom_clotot = 34
  1146. !!restroom_undtot = 25
  1147. !!restroom_nudtot = 3
  1148. !!restroom_assflash = 10
  1149. !!restroom_titflash = 34
  1150. !!restroom_pussyflash = 21
  1151. end
  1152. !!for viewing photos on your phone
  1153. if $ARGS[0] = 'Phone_pictures':
  1154. gt 'phone_selfies', 'selfies'
  1155. end
  1156. !!picking the selfie image when taking photos, this sets the location variable
  1157. if $ARGS[0] = 'Phone_camera_selfie':
  1158. gs 'telefon', 'Phone_selfie_totals'
  1159. minut += rand(5,7)
  1160. if $location_type = 'bathroom':
  1161. $phone_loc = 'bathroom'
  1162. gs 'telefon', 'Phone_selfie_image'
  1163. elseif $locclass = 'bedr':
  1164. $phone_loc = 'bedroom'
  1165. gs 'telefon', 'Phone_selfie_image'
  1166. elseif $locclass = 'kitr':
  1167. $phone_loc = 'kitchen'
  1168. gs 'telefon', 'Phone_selfie_image'
  1169. elseif $locclass = 'livingr':
  1170. $phone_loc = 'livingroom'
  1171. gs 'telefon', 'Phone_selfie_image'
  1172. elseif $locclass = 'changingroom':
  1173. $phone_loc = 'changingroom'
  1174. gs 'telefon', 'Phone_selfie_image'
  1175. elseif $locclass = 'city_park':
  1176. $phone_loc = 'city_park'
  1177. gs 'telefon', 'Phone_selfie_image'
  1178. elseif $locclass = 'lockeroom':
  1179. $phone_loc = 'lockeroom'
  1180. gs 'telefon', 'Phone_selfie_image'
  1181. elseif $locclass = 'beach':
  1182. $phone_loc = 'beach'
  1183. gs 'telefon', 'Phone_selfie_image'
  1184. elseif $locclass = 'school_classroom':
  1185. $phone_loc = 'school_classroom'
  1186. gs 'telefon', 'Phone_selfie_image'
  1187. !{for the above image sets school bathroom and restroom aka public bathrooms, not sure what all should be added below so leaving it for you crowke
  1188. elseif $locclass = 'school_bathroom':
  1189. $phone_loc = 'school_bathroom'
  1190. gs 'telefon', 'Phone_selfie_image'
  1191. elseif $locclass = 'restroom':
  1192. $phone_loc = 'restroom'
  1193. gs 'telefon', 'Phone_selfie_image'}
  1194. else
  1195. phone_rand = RAND(1,2)
  1196. phone_selfie[phone_rand] = 1
  1197. gs 'stat'
  1198. if usePopUps = 1:
  1199. msg '<img src="images/system/phone/selfie/phone_selfie<<phone_rand>>.jpg">'
  1200. else
  1201. view 'images/system/phone/selfie/phone_selfie<<phone_rand>>.jpg'
  1202. end
  1203. end
  1204. !if spdirtyf > 0: phone_rand = RAND (m,n) - for SELF in the semen
  1205. !if photo_event_pic = x: phone_rand = RAND (x,y) - for photos during the events (by heart)
  1206. !msg '<img src="images/system/phone/phone_selfie<<phone_rand>>.jpg">'
  1207. end
  1208. !!taking selfies, this chooses a random image for the location for clothed, underwear and nude
  1209. if $ARGS[0] = 'Phone_selfie_image':
  1210. if $flashing = '':
  1211. if $clothingworntype = 'swimwear':
  1212. !!changing to and unmixed variable so the rng will work
  1213. dynamic 'temp_swim = <<$phone_loc>>_swim'
  1214. phone_rand = rand(1,temp_swim)
  1215. !!Setting the image owned flag to 1
  1216. dynamic '<<$phone_loc>>_swim[<<phone_rand>>] = 1'
  1217. gs 'stat'
  1218. if usePopUps = 1:
  1219. msg '<img src="images/pc/selfies/<<$phone_loc>>/bikini/<<phone_rand>>.jpg">'
  1220. else
  1221. view 'images/pc/selfies/<<$phone_loc>>/bikini/<<phone_rand>>.jpg'
  1222. end
  1223. elseif $clothingworntype ! 'nude':
  1224. !!changing to and unmixed variable so the rng will work
  1225. dynamic 'temp_clotot = <<$phone_loc>>_clotot'
  1226. phone_rand = rand(1,temp_clotot)
  1227. !!Setting the image owned flag to 1
  1228. dynamic '<<$phone_loc>>_closelfie[<<phone_rand>>] = 1'
  1229. gs 'stat'
  1230. if usePopUps = 1:
  1231. msg '<img src="images/pc/selfies/<<$phone_loc>>/clothed/<<phone_rand>>.jpg">'
  1232. else
  1233. view 'images/pc/selfies/<<$phone_loc>>/clothed/<<phone_rand>>.jpg'
  1234. end
  1235. elseif $pantyworntype ! 'none':
  1236. dynamic 'temp_undtot = <<$phone_loc>>_undtot'
  1237. phone_rand = rand(1,temp_undtot)
  1238. dynamic '<<$phone_loc>>_undselfie[<<phone_rand>>] = 1'
  1239. gs 'stat'
  1240. if usePopUps = 1:
  1241. msg '<img src="images/pc/selfies/<<$phone_loc>>/underwear/<<phone_rand>>.jpg">'
  1242. else
  1243. view 'images/pc/selfies/<<$phone_loc>>/underwear/<<phone_rand>>.jpg'
  1244. end
  1245. else
  1246. dynamic 'temp_nudtot = <<$phone_loc>>_nudtot'
  1247. phone_rand = rand(1,temp_nudtot)
  1248. dynamic '<<$phone_loc>>_nudselfie[<<phone_rand>>] = 1'
  1249. gs 'stat'
  1250. if usePopUps = 1:
  1251. msg '<img src="images/pc/selfies/<<$phone_loc>>/nude/<<phone_rand>>.jpg">'
  1252. else
  1253. view 'images/pc/selfies/<<$phone_loc>>/nude/<<phone_rand>>.jpg'
  1254. end
  1255. end
  1256. else
  1257. if $flashing = 'tits':
  1258. dynamic 'temp_titflash = <<$phone_loc>>_titflash'
  1259. phone_rand = rand(1,temp_titflash)
  1260. dynamic '<<$phone_loc>>_titflash[<<phone_rand>>] = 1'
  1261. gs 'stat'
  1262. if usePopUps = 1:
  1263. msg '<img src="images/pc/selfies/<<$phone_loc>>/titflash/<<phone_rand>>.jpg">'
  1264. else
  1265. view 'images/pc/selfies/<<$phone_loc>>/titflash/<<phone_rand>>.jpg'
  1266. end
  1267. elseif $flashing = 'ass':
  1268. dynamic 'temp_assflash = <<$phone_loc>>_assflash'
  1269. phone_rand = rand(1,temp_assflash)
  1270. dynamic '<<$phone_loc>>_assflash[<<phone_rand>>] = 1'
  1271. gs 'stat'
  1272. if usePopUps = 1:
  1273. msg '<img src="images/pc/selfies/<<$phone_loc>>/assflash/<<phone_rand>>.jpg">'
  1274. else
  1275. view 'images/pc/selfies/<<$phone_loc>>/assflash/<<phone_rand>>.jpg'
  1276. end
  1277. elseif $flashing = 'pussy':
  1278. dynamic 'temp_pussyflash = <<$phone_loc>>_pussyflash'
  1279. phone_rand = rand(1,temp_pussyflash)
  1280. dynamic '<<$phone_loc>>_pussyflash[<<phone_rand>>] = 1'
  1281. gs 'stat'
  1282. if usePopUps = 1:
  1283. msg '<img src="images/pc/selfies/<<$phone_loc>>/pussyflash/<<phone_rand>>.jpg">'
  1284. else
  1285. view 'images/pc/selfies/<<$phone_loc>>/pussyflash/<<phone_rand>>.jpg'
  1286. end
  1287. end
  1288. $flashing = ''
  1289. end
  1290. end
  1291. !!taking selfies in the shower or bath
  1292. if $ARGS[0] = 'Phone_selfie_image_bathing':
  1293. gs 'telefon', 'Phone_selfie_totals'
  1294. $phone_loc = 'bathroom'
  1295. minut += rand(5,7)
  1296. if $ARGS[1] = 'shower':
  1297. !!changing to and unmixed variable so the rng will work
  1298. dynamic 'temp_showertot = bathroom_showertot'
  1299. phone_rand = rand(1,temp_showertot)
  1300. !!Setting the image owned flag to 1
  1301. dynamic '<<$phone_loc>>_showerselfie[<<phone_rand>>] = 1'
  1302. gs 'stat'
  1303. if usePopUps = 1:
  1304. msg '<img src="images/pc/selfies/<<$phone_loc>>/shower/<<phone_rand>>.jpg">'
  1305. else
  1306. view 'images/pc/selfies/<<$phone_loc>>/shower/<<phone_rand>>.jpg'
  1307. end
  1308. elseif $ARGS[1] = 'bath':
  1309. dynamic 'temp_bathtot = bathroom_bathtot'
  1310. phone_rand = rand(1,temp_bathtot)
  1311. dynamic '<<$phone_loc>>_bathselfie[<<phone_rand>>] = 1'
  1312. gs 'stat'
  1313. if usePopUps = 1:
  1314. msg '<img src="images/pc/selfies/<<$phone_loc>>/bath/<<phone_rand>>.jpg">'
  1315. else
  1316. view 'images/pc/selfies/<<$phone_loc>>/bath/<<phone_rand>>.jpg'
  1317. end
  1318. end
  1319. end
  1320. !!for taking photos - only selfies for now
  1321. if $ARGS[0] = 'Phone_camera':
  1322. if $location_type = 'bathroom':
  1323. $phone_loc = 'bathroom'
  1324. elseif $locclass = 'bedr':
  1325. $phone_loc = 'bedroom'
  1326. elseif $locclass = 'kitr':
  1327. $phone_loc = 'kitchen'
  1328. elseif $locclass = 'livingr':
  1329. $phone_loc = 'livingroom'
  1330. elseif $locclass = 'changingroom':
  1331. $phone_loc = 'changingroom'
  1332. elseif $locclass = 'city_park':
  1333. $phone_loc = 'city_park'
  1334. elseif $locclass = 'lockeroom':
  1335. $phone_loc = 'lockeroom'
  1336. elseif $locclass = 'beach':
  1337. $phone_loc = 'beach'
  1338. elseif $locclass = 'beach':
  1339. $phone_loc = 'beach'
  1340. elseif $locclass = 'classroom':
  1341. $phone_loc = 'classroom'
  1342. else
  1343. $phone_loc = ''
  1344. end
  1345. $telefon['body'] = '<font size=6>Camera</font><br>
  1346. <img src="<<FUNC(''$phone_theme'')>>icon_camera.png" height="80" width="80"><br><br>'
  1347. !! Take a selfie depending on which clothes you are wearing
  1348. $telefon['body'] += '<a href="exec:photoskl_exp += 1 & gs ''telefon'', ''Phone_camera_selfie'' "><b>Take a selfie</b></a><br>'
  1349. !! Flashing selfie
  1350. if $clothingworntype ! 'nude' and ($phone_loc = 'bedroom' or $phone_loc = 'kitchen' or $phone_loc = 'livingroom' or $phone_loc = 'changingroom' or $phone_loc = 'city_park' or $phone_loc = 'lockeroom' or $phone_loc = 'beach'):
  1351. if $phone_loc = 'bedroom':
  1352. $telefon['body'] += '
  1353. <a href="exec:photoskl_exp += 1 & gs ''telefon'', ''titflash'' "><b>Flash your tits for a selfie</b></a><br>
  1354. <a href="exec:photoskl_exp += 1 & gs ''telefon'', ''assflash'' "><b>Flash your ass for a selfie</b></a><br>
  1355. <a href="exec:photoskl_exp += 1 & gs ''telefon'', ''pussyflash'' "><b>Flash your pussy for a selfie</b></a><br>'
  1356. else
  1357. if pcs_inhib >= 35 or exhibitionist_lvl > 0:
  1358. $telefon['body'] += '<a href="exec:photoskl_exp += 1 & gs ''telefon'', ''titflash'' "><b>Flash your tits for a selfie</b></a><br>'
  1359. end
  1360. if exhibitionist_lvl > 0:
  1361. $telefon['body'] += '<a href="exec:photoskl_exp += 1 & gs ''telefon'', ''assflash'' "><b>Flash your ass for a selfie</b></a><br>'
  1362. end
  1363. if exhibitionist_lvl > 1:
  1364. $telefon['body'] += '<a href="exec:photoskl_exp += 1 & gs ''telefon'', ''pussyflash'' "><b>Flash your pussy for a selfie</b></a><br>'
  1365. end
  1366. end
  1367. end
  1368. dynamic $telefon['print']
  1369. end
  1370. if $ARGS[0] = 'titflash':
  1371. $flashing = 'tits'
  1372. gs 'telefon', 'Phone_camera_selfie'
  1373. end
  1374. if $ARGS[0] = 'assflash':
  1375. $flashing = 'ass'
  1376. gs 'telefon', 'Phone_camera_selfie'
  1377. end
  1378. if $ARGS[0] = 'pussyflash':
  1379. $flashing = 'pussy'
  1380. gs 'telefon', 'Phone_camera_selfie'
  1381. end
  1382. !!-----------------------------------end of Camera------------------------------------------
  1383. if $ARGS[0] = 'Phone_wheather':
  1384. $telefon['body'] = '
  1385. <font size=6>Weather</font><br>
  1386. <img src="<<FUNC(''$phone_theme'')>>icon_weather.png" height="80" width="80"><br><br>
  1387. <b>Temperature:</b><br>
  1388. <<$temperature>>. <<$osadki>><br>
  1389. P.O.P. today is <<weatherFall>>%<br>'
  1390. dynamic $telefon['print']
  1391. end &! --- Phone_wheather ---
  1392. if $ARGS[0] = 'Phone_calendar':
  1393. $telefon['body'] = '
  1394. <font size=6>Calendar</font><br>
  1395. <img src="<<FUNC(''$phone_theme'')>>icon_calendar.png" height="80" width="80"><br><br>
  1396. <B>Today:</B><br>
  1397. <<$week[week]>>, <<day>> <<$month>> <<year>><br>'
  1398. dynamic $telefon['print']
  1399. end &! --- Phone_calendar ---
  1400. if $ARGS[0] = 'Phone_media':
  1401. $telefon['body'] = '
  1402. <font size=6>Media</font><br>
  1403. <img src="<<FUNC(''$phone_theme'')>>icon_music.png" height="80" width="80"><br>
  1404. <b>This option is not active</b><br>'
  1405. dynamic $telefon['print']
  1406. end &! --- Phone_media ---
  1407. if $ARGS[0] = 'Phone_sms':
  1408. $telefon['body'] = '
  1409. <font size=6>SMS</font><br>
  1410. <img src="<<FUNC(''$phone_theme'')>>icon_sms.png" height="80" width="80"><br>
  1411. <b>This option is not active</b><br>'
  1412. dynamic $telefon['print']
  1413. end &! --- Phone_sms ---
  1414. if $ARGS[0] = 'Phone_menu':
  1415. $telefon['body'] = '
  1416. <a href="exec:gs ''telefon'', ''Phone_camera'' "><img src="<<FUNC(''$phone_theme'')>>icon_camera.png" height="80" width="80"></a>
  1417. <a href="exec:gs ''telefon'', ''Phone_calendar'' "><img src="<<FUNC(''$phone_theme'')>>icon_calendar.png" height="80" width="80"></a>
  1418. <a href="exec:gs ''telefon'', ''Phone_pictures'' "><img src="<<FUNC(''$phone_theme'')>>icon_pictures.png" height="80" width="80"></a>
  1419. <br>
  1420. <a href="exec:gs ''telefon'', ''Phone_media'' "><img src="<<FUNC(''$phone_theme'')>>icon_music.png" height="80" width="80"></a>
  1421. <a href="exec:gs ''telefon'', ''Phone_notebook'' "><img src="<<FUNC(''$phone_theme'')>>icon_notebook.png" height="80" width="80"></a>
  1422. <a href="exec:gs ''telefon'', ''Phone_wheather'' "><img src="<<FUNC(''$phone_theme'')>>icon_weather.png" height="80" width="80"></a>
  1423. <br>
  1424. <a href="exec:gs ''telefon'', ''ContactList'' "><img src="<<FUNC(''$phone_theme'')>>icon_call.png" height="80" width="80"></a>
  1425. <a href="exec:gs ''telefon'', ''Phone_sms'' "><img src="<<FUNC(''$phone_theme'')>>icon_sms.png" height="80" width="80"></a>
  1426. <a href="exec:gs ''telefon'', ''Phone_megafon'' "><img src="<<FUNC(''$phone_theme'')>>icon_megafon.png" height="80" width="80"></a>
  1427. <br>'
  1428. if menu_off = 1:
  1429. $telefon['body'] += '<a href="exec:gs ''obj_din'', ''menu_disabled''"><img src="<<FUNC(''$phone_theme'')>>icon_settings.png" height="80" width="80"></a><br>'
  1430. else
  1431. $telefon['body'] += '<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><br>'
  1432. end
  1433. dynamic $telefon['print']
  1434. end &! --- Phone_menu ---
  1435. if $ARGS[0] = 'Add_contact':
  1436. $dummy = INPUT('Enter a note:')
  1437. $contact[arrsize('$contact')] = dyneval($telefon['contact'],$ARGS[1],$dummy,$ARGS[2])
  1438. killvar '$dummy'
  1439. end &! --- Add_contact ---
  1440. if $ARGS[0] = 'telotkaz':
  1441. cla
  1442. minut += 10
  1443. '<<$ARGS[1]>>, "Sorry, I''m busy right now, maybe next time."'
  1444. act 'Hangup':gt 'telefon', 'fin'
  1445. end &! --- telotkaz ---
  1446. if $ARGS[0] = 'fin':
  1447. killvar 'lover_number'
  1448. cla
  1449. gt $loc, $metka
  1450. end
  1451. if $ARGS[0] = 'setup':
  1452. ! array $$phonetheme_name is built.
  1453. ! might need a tweak to have it rebuilt when new themes are available.
  1454. $phonetheme_name[0] = 'Custom_Standard'
  1455. $phonetheme_name[1] = 'Bimbo'
  1456. $phonetheme_name[2] = 'Custom_Aluminus'
  1457. $phonetheme_name[3] = 'Custom_Bottlecapped'
  1458. $phonetheme_name[4] = 'Custom_Galactic'
  1459. $phonetheme_name[5] = 'Custom_Vectored'
  1460. $phonetheme_name[6] = 'Custom_Veneer'
  1461. $phonetheme_name[7] = 'Custom_Voidwalker'
  1462. $phonetheme_name[8] = 'Custom_Voidwalker Red'
  1463. $phonetheme_name[9] = 'Custom_Voidwalker Toxic'
  1464. $phonetheme_name[10] = 'Gopnik'
  1465. $phonetheme_name[11] = 'Sports'
  1466. $phonetheme_name[12] = 'Succubus'
  1467. $phonetheme_name[13] = 'Woodshop'
  1468. phonetheme[0] = 1
  1469. end
  1470. --- telefon ---------------------------------