mirror.qsrc 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799
  1. # mirror
  2. if $ARGS[0] = 'start':
  3. menu_off = 1
  4. *clr & cla
  5. $mirrorloc = 'mirror'
  6. gs 'stat' &! It should be here, because some of the strigs have to be initialized
  7. !! first of all we have to check whether we can use the mirror
  8. if mirror_steam = hour and ($loc = 'vanrPar' or $loc = 'vanr' or $loc_arg = 'ybathroom' or $loc = 'city_house_res_bathr'):
  9. gt 'mirror', 'steam'
  10. else
  11. mirror_steam = 100
  12. end
  13. $makeupLight = '<center><img <<$set_imgh>> src="images/pc/activities/routine/2.jpg"></center>&nbsp;<br>You subtly apply some neutral tones, with a light application of makeup to bring out your natural beauty.'
  14. $makeupNatural = '<center><img <<$set_imgh>> src="images/pc/activities/routine/2.jpg"></center>&nbsp;<br>You apply some mildly vibrant tones and colors of makeup to cover your minor imperfections and enhance your best features.'
  15. $makeupHeavy = '<center><img <<$set_imgh>> src="images/pc/activities/routine/2.jpg"></center>&nbsp;<br>You apply some deeper, richer shades of makeup, thick enough to cover most imperfections, while drawing attention to your eyes and lips.'
  16. $makeupBimbo = '<center><img <<$set_imgh>> src="images/pc/activities/routine/2.jpg"></center>&nbsp;<br>You apply a lot of everything nice and thick, mostly in pink and make yourself look like a bimbo.'
  17. if newstylemirror = 1:
  18. !########### buttons and desc ###########
  19. ! ----- avatar
  20. if player_avatar = 1:
  21. $serv['avatar']='<center><img <<$set_imgh>> src="images/avatar.jpg"></center>'
  22. else
  23. $serv['avatar']='<center><img <<$set_imgh>> src="<<FUNC(''$face_image'')>>"></center>'
  24. end
  25. ! ----- hair
  26. if autohairbrush = 1 and pcs_hairbsh = 0 : xgt 'mirror', 'brush'
  27. !!!!!!!! Maruda Hair Mod
  28. if mc_inventory['scrunchies'] < 1:hscrunchw = 0
  29. if mc_inventory['kirbygrips'] < 1:hpingripw = 0
  30. if mc_inventory['scrunchies'] < 2:hpigtail = 0
  31. if pcs_hairbsh < 1: $serv['hairbrush']='<a href="exec: xgt ''mirror'', ''brush''"><img src="images/system/icons/action/hairbrush.png"></a>'
  32. if pcs_hairlng > 80 and mc_inventory['scrunchies'] >= 1 and hbraids = 0:
  33. if hscrunchw = 0 and hpingripw = 0:
  34. $serv['ponytail']='<a href="exec:hscrunchw = 1 & gs ''mirror'', ''start''"><img src="images/system/icons/action/scrunchy.png"></a>'
  35. $serv['ponytail desc']='As you have a scrunchy, you can arrange your hair into a <a href="exec:hscrunchw = 1 & gs ''mirror'', ''start''">ponytail</a>. You have <b><<mc_inventory[''scrunchies'']>></b> scrunchies left.'
  36. end
  37. if hscrunchw = 1:
  38. $serv['ponytail']='<a href="exec:hscrunchw = 0 & gs ''mirror'', ''start''"><img src="images/system/icons/action/ponytail.png"></a>'
  39. $serv['ponytail desc']='Remove the <a href="exec:hscrunchw = 0 & gs ''mirror'', ''start''">scrunchie</a> to get rid of the ponytail.'
  40. end
  41. end
  42. if pcs_hairlng > 80 and pcs_hairlng <= 400 and mc_inventory['kirbygrips'] >= 1 and hbraids = 0:
  43. if hscrunchw = 0 and hpingripw = 0:
  44. $serv['bun']='<a href="exec:hpingripw = 1 & gs ''mirror'', ''start''"><img src="images/system/icons/action/clips_pins_grips.png"></a>'
  45. $serv['bun desc']='You have several clips, pins and grips for you hair. Hence, you can <a href="exec:hpingripw = 1 & gs ''mirror'', ''start''">updo your hair</a>. You have <b><<mc_inventory[''kirbygrips'']>></b> hair accessories at your disposal.'
  46. end
  47. if hpingripw = 1:
  48. $serv['bun']='<a href="exec:hpingripw = 0 & gs ''mirror'', ''start''"><img src="images/system/icons/action/bun.png"></a>'
  49. $serv['bun desc']='Let your hair <a href="exec:hpingripw = 0 & gs ''mirror'', ''start''">flow free</a>.'
  50. end
  51. end
  52. if pcs_hairlng > 80 and pcs_hairlng <= 800 and mc_inventory['scrunchies'] >= 2 and hbraids = 0:
  53. if hscrunchw = 0 and hpingripw = 0:
  54. $serv['pigtails']='<a href="exec:hpigtail = 1 & hscrunchw = 2 & gs ''mirror'', ''start''"><img src="images/system/icons/action/hair_ties.png"></a>'
  55. $serv['pigtails desc']='You can use two hair ties to make yourself some <a href="exec:hpigtail = 1 & hscrunchw = 2 & gs ''mirror'', ''start''">pigtails</a>.'
  56. end
  57. if hscrunchw = 2:
  58. $serv['pigtails']='<a href="exec:hpigtail = 0 & hscrunchw = 0 & gs ''mirror'', ''start''"><img src="images/system/icons/action/pigtails.png"></a>'
  59. $serv['pigtails desc']='<a href="exec:hpigtail = 0 & hscrunchw = 0 & gs ''mirror'', ''start''">Remove</a> your scrunchies and let your hair flow free again.'
  60. end
  61. end
  62. if canBraidHair = 1 and mc_inventory['scrunchies'] >= 1 and hBraids = 0 and (pcs_hairlng > 80 and pcs_hairlng <= 800) and hscrunchw = 0 and hpingripw = 0 and hscrunchw = 0:
  63. $serv['braid']='<a href="exec:hbraids = 15 & minut += 30 & gs ''mirror'', ''start''"><img src="images/system/icons/action/braiding.png"></a>'
  64. $serv['braid desc']='You can spend half an hour <a href="exec:hbraids = 15 & minut += 30 & gs ''mirror'', ''start''">braiding</a> your hair, just the way your sister taught you.'
  65. elseif hbraids > 0:
  66. $serv['braid']='<a href="exec:hbraids = 0 & minut += 30 & gs ''mirror'', ''start''"><img src="images/system/icons/action/braid.png"></a>'
  67. $serv['braid desc']='Take half an hour removing your <a href="exec:hbraids = 0 & minut += 30 & gs ''mirror'', ''start''">braid</a>.'
  68. end
  69. ! ----- actions
  70. $serv['back']='<a href="exec: gt ''mirror'',''fin''"><img src="images/system/icons/action/back.png"></a>'
  71. ! ----- lip balm and false lashes
  72. if mc_inventory['lipbalm'] > 0 and pcs_lipbalm <= 0:
  73. $serv['lipbalm']='<a href="exec: cla & gs ''mirror'',''applyLipbalm'' & act ''View results'':gt ''mirror'', ''start''"><img src="images/system/icons/action/lipbalm.png"></a>'
  74. end
  75. if mc_inventory['eyelash_fake'] > 0 and pcs_lashes < 3 and lashextensionstyle <= 0:
  76. $serv['falselashes']='<a href="exec: cla & gs ''mirror'',''applyLashesplain'' & act ''View results'':gt ''mirror'', ''start''"><img src="images/system/icons/action/falselashes.png"></a>'
  77. end
  78. if mc_inventory['eyelash_mink'] > 0 and pcs_lashes < 4 and lashextensionstyle <= 0:
  79. $serv['minklashes']='<a href="exec: cla & gs ''mirror'',''applyLashesmink'' & act ''View results'':gt ''mirror'', ''start''"><img src="images/system/icons/action/minklashes.png"></a>'
  80. end
  81. ! ----- make up
  82. if pcs_makeup = makeup['base'] and mc_inventory['cosmetics'] > 0:
  83. $serv4="
  84. *clr & cla
  85. '<center><img <<$set_imgh>> src=""images/pc/activities/routine/1.jpg""></center>'
  86. 'You consider for a moment which look you want to go for.'
  87. *nl
  88. act 'Change your mind': gt 'mirror', 'start'
  89. if pcs_makeup < 2 and mc_inventory['cosmetics'] > 0:
  90. act 'Light make-up':
  91. *clr & cla
  92. minut += 3
  93. gs 'exp_gain', 'makupskl', rand(1,3)
  94. mc_inventory['cosmetics'] -= 1
  95. pcs_makeup = 2
  96. '<<$makeupLight>>'
  97. act 'Continue': gt 'mirror', 'start'
  98. end
  99. end
  100. if pcs_makeup < 3 and mc_inventory['cosmetics'] > 1:
  101. act 'Vibrant make-up':
  102. *clr & cla
  103. minut += 5
  104. gs 'exp_gain', 'makupskl', rand(1,3)
  105. mc_inventory['cosmetics'] -= 2
  106. pcs_makeup = 3
  107. '<<$makeupNatural>>'
  108. act 'Continue': gt 'mirror', 'start'
  109. end
  110. end
  111. if mc_inventory['cosmetics'] > 2:
  112. if pcs_makeup < 4:
  113. act 'Thick make-up':
  114. *clr & cla
  115. minut += 10
  116. gs 'exp_gain', 'makupskl', rand(1,3)
  117. mc_inventory['cosmetics'] -= 3
  118. vidageday -= 1
  119. pcs_makeup = 4
  120. '<<$makeupHeavy>>'
  121. act 'Continue': gt 'mirror', 'start'
  122. end
  123. end
  124. if pcs_makeup < 6:
  125. act 'Bimbo make-up':
  126. *clr & cla
  127. minut += 10
  128. gs 'exp_gain', 'makupskl', rand(1,3)
  129. mc_inventory['cosmetics'] -= 3
  130. vidageday -= 1
  131. pcs_makeup = 6
  132. '<<$makeupBimbo>>'
  133. act 'Continue': gt 'mirror', 'start'
  134. end
  135. end
  136. end
  137. "
  138. $serv['makeup']='<a href="exec: dynamic $serv4"><img src="images/system/icons/action/makeup.png"></a>'
  139. end
  140. '<center><table align=center cellspacing=0 cellpadding=0><tr><td align=center colspan=15><<$serv["avatar"]>></td></tr><tr><td colspan=15><hr></td></tr><tr><td align=center><<$serv["falselashes"]>></td> <td align=center><<$serv["minklashes"]>></td><td align=center><<$serv["lipbalm"]>></td><td align=center><<$serv["makeup"]>></td><td align=center><<$serv["ponytail"]>></td><td align=center><<$serv["bun"]>></td><td align=center><<$serv["pigtails"]>></td><td align=center><<$serv["braid"]>></td><td align=center><<$serv["hairbrush"]>></td><td align=center><<$serv["back"]>></td></tr></table></center>'
  141. !########## main desc ##########
  142. if $start_type[1] = 'tg':
  143. if daystart < 10:
  144. 'In the mirror, you see a strange woman''s face looking back at you that exactly copies all your actions. You can hardly accept the idea that this is now you.'
  145. elseif daystart < 30:
  146. 'In the mirror you see a woman''s face to which you have become accustomed to. But sometimes, you get the feel that this is not your face.'
  147. end
  148. end
  149. '<<$pcs_apprnc>>'
  150. '<<$hair>>'
  151. '<<$pcs_makeup>>. Your ' + iif(pcs_eyesize > 1, '<<$pc_desc[''eye size'']>> ', '') + 'eyes are <<$pc_desc[''eye colour'']>> <<$pcs_lashes>>.'
  152. if glass > 0: 'You are wearing <<$pc_descWordy[''vision'']>>.'
  153. 'You have <<$pcs_lipbalm>> <<$pc_desc[''lip size'']>> lips.'
  154. '<<$skin>>'
  155. !########## hair additional desc ##########
  156. if curly > 0 and defcurly = 0: $serv['hhair']='Your curly hair will last for another <b><<curly>></b> days.'
  157. if straight > 0 and defcurly = 1: $serv['hhair']='Your straightened hair will last for another <b><<straight>></b> days.'
  158. if hbraids > 0: $serv['hbraids']='Your braided hair will last for another <b><<hbraids>></b> days.'
  159. if pcs_haircol ! nathcol:
  160. if dyefade > 0 and dyefade < 7: $serv['hdye']='Your hair dye is beginning to fade and your roots are showing.'
  161. if dyefade = 0: $serv['hdye']='Your hair dye has faded and looks terrible.'
  162. end
  163. if $serv['hhair'] ! '' : '<<$serv["hhair"]>>'
  164. if $serv['hbraids'] ! '' : '<<$serv["hbraids"]>>'
  165. if $serv['hdye'] ! '' : '<<$serv["hdye"]>>'
  166. if $serv['ponytail desc'] ! '' : '<<$serv["ponytail desc"]>>'
  167. if $serv['bun desc'] ! '' : '<<$serv["bun desc"]>>'
  168. if $serv['pigtails desc'] ! '' : '<<$serv["pigtails desc"]>>'
  169. if $serv['braid desc'] ! '' : '<<$serv["braid desc"]>>'
  170. else
  171. if player_avatar = 1:
  172. '<center><img <<$set_imgh>> src="images/avatar.jpg"></center>'
  173. else
  174. '<center><img <<$set_imgh>> src="<<FUNC(''$face_image'')>>"></center>'
  175. end
  176. *nl
  177. if $start_type[1] = 'tg':
  178. if daystart < 10:
  179. 'In the mirror, you see a strange woman''s face looking back at you that exactly copies all your actions. You can hardly accept the idea that this is now you.'
  180. elseif daystart < 30:
  181. 'In the mirror you see a woman''s face to which you have become accustomed to. But sometimes, you get the feel that this is not your face.'
  182. end
  183. end
  184. '<<$pcs_apprnc>>'
  185. '<<$hair>>'
  186. '<<$pcs_makeup>>. Your ' + iif(pcs_eyesize > 1, '<<$pc_desc[''eye size'']>> ', '') + 'eyes are <<$pc_desc[''eye colour'']>> <<$pcs_lashes>>.'
  187. if glass > 0: 'You are wearing <<$pc_descWordy[''vision'']>>.'
  188. 'You have <<$pcs_lipbalm>> <<$pc_desc[''lip size'']>> lips.'
  189. '<<$skin>>'
  190. if curly > 0 and defcurly = 0: '<br>Your curly hair will last for another <<curly>> days.'
  191. if straight > 0 and defcurly = 1: '<br>Your straightened hair will last for another <<straight>> days.'
  192. if hbraids > 0: '<br>Your braided hair will last for another <<hbraids>> days.'
  193. if pcs_haircol ! nathcol:
  194. if dyefade > 0 and dyefade < 7: '<br>Your hair dye is beginning to fade and your roots are showing.'
  195. if dyefade = 0: '<br>Your hair dye has faded and looks terrible.'
  196. end
  197. if autohairbrush = 1 and pcs_hairbsh = 0 : xgt 'mirror', 'brush'
  198. !!!!!!!! Maruda Hair Mod
  199. if mc_inventory['scrunchies'] < 1:hscrunchw = 0
  200. if mc_inventory['kirbygrips'] < 1:hpingripw = 0
  201. if mc_inventory['scrunchies'] < 2:hpigtail = 0
  202. if pcs_hairlng > 80 and mc_inventory['scrunchies'] >= 1 and hbraids = 0:
  203. *nl
  204. if hscrunchw = 0 and hpingripw = 0: 'As you have a scrunchy, you can arrange your hair into a <a href="exec:hscrunchw = 1 & gs ''mirror'', ''start''">ponytail</a>. You have <<mc_inventory[''scrunchies'']>> scrunchies left.'
  205. if hscrunchw = 1: 'Remove the <a href="exec:hscrunchw = 0 & gs ''mirror'', ''start''">scrunchie</a> to get rid of the ponytail.'
  206. end
  207. if pcs_hairlng > 80 and mc_inventory['kirbygrips'] >= 1 and hbraids = 0:
  208. if hscrunchw = 0 and hpingripw = 0: 'You have several clips, pins and grips for you hair. Hence, you can <a href="exec:hpingripw = 1 & gs ''mirror'', ''start''">updo your hair</a>. You have <<mc_inventory[''kirbygrips'']>> hair accessories at your disposal.'
  209. if hpingripw = 1: 'Let your hair <a href="exec:hpingripw = 0 & gs ''mirror'', ''start''">flow free</a>.'
  210. end
  211. if pcs_hairlng > 80 and mc_inventory['scrunchies'] >= 2 and hbraids = 0:
  212. if hscrunchw = 0 and hpingripw = 0: 'You can use two hair ties to make yourself some <a href="exec:hpigtail = 1 & hscrunchw = 2 & gs ''mirror'', ''start''">pigtails</a>.'
  213. if hscrunchw = 2: '<a href="exec:hpigtail = 0 & hscrunchw = 0 & gs ''mirror'', ''start''">Remove</a> your scrunchies and let your hair flow free again.'
  214. end
  215. if canBraidHair = 1 and mc_inventory['scrunchies'] >= 1 and hBraids = 0 and (pcs_hairlng > 80 and pcs_hairlng <= 800) and hscrunchw = 0 and hpingripw = 0 and hscrunchw = 0:
  216. 'You can spend half an hour <a href="exec:hbraids = 15 & minut += 30 & gs ''mirror'', ''start''">braiding</a> your hair, just the way your sister taught you.'
  217. end
  218. if hbraids > 0:
  219. 'Take half an hour removing your <a href="exec:hbraids = 0 & minut += 30 & gs ''mirror'', ''start''">braid</a>.'
  220. end
  221. end
  222. if mc_inventory['cosmetics'] > 0: *nl 'Cosmetics: <<mc_inventory[''cosmetics'']>>' else *nl 'You have no cosmetics.'
  223. if mc_inventory['lipbalm'] > 0: *pl ' | Lip gloss: <<mc_inventory[''lipbalm'']>>' else *pl ' You have no lip gloss left.'
  224. if mc_inventory['eyelash_fake'] > 0: *nl 'False lashes: <<mc_inventory[''eyelash_fake'']>>' else *nl 'You have no false lashes left.'
  225. if mc_inventory['eyelash_mink'] > 0: *pl ' | Mink lashes: <<mc_inventory[''eyelash_mink'']>>' else *pl ' You have no mink lashes left.'
  226. if mc_inventory['umbrella'] = 0: *nl 'WARNING: Makeup will get ruined by the rain unless you buy an umbrella.'
  227. act 'Move away from the mirror': gt 'mirror','fin'
  228. if pcs_hairbsh < 1: act 'Brush your hair': xgt 'mirror', 'brush'
  229. if pcs_makeup = makeup['base'] and mc_inventory['cosmetics'] > 0:
  230. act 'Apply makeup':
  231. *clr & cla
  232. '<center><img <<$set_imgh>> src="images/pc/activities/routine/1.jpg"></center>'
  233. 'You consider for a moment which look you want to go for.'
  234. *nl
  235. act 'Change your mind': gt 'mirror', 'start'
  236. if pcs_makeup < 2 and mc_inventory['cosmetics'] > 0:
  237. act 'Light make-up':
  238. *clr & cla
  239. minut += 3
  240. gs 'exp_gain', 'makupskl', rand(1,3)
  241. mc_inventory['cosmetics'] -= 1
  242. pcs_makeup = 2
  243. '<<$makeupLight>>'
  244. act 'Continue': gt 'mirror', 'start'
  245. end
  246. end
  247. if pcs_makeup < 3 and mc_inventory['cosmetics'] > 1:
  248. act 'Vibrant make-up':
  249. *clr & cla
  250. minut += 5
  251. gs 'exp_gain', 'makupskl', rand(1,3)
  252. mc_inventory['cosmetics'] -= 2
  253. pcs_makeup = 3
  254. '<<$makeupNatural>>'
  255. act 'Continue': gt 'mirror', 'start'
  256. end
  257. end
  258. if mc_inventory['cosmetics'] > 2:
  259. if pcs_makeup < 4:
  260. act 'Thick make-up':
  261. *clr & cla
  262. minut += 10
  263. gs 'exp_gain', 'makupskl', rand(1,3)
  264. mc_inventory['cosmetics'] -= 3
  265. vidageday -= 1
  266. pcs_makeup = 4
  267. '<<$makeupHeavy>>'
  268. act 'Continue': gt 'mirror', 'start'
  269. end
  270. end
  271. if pcs_makeup < 6:
  272. act 'Bimbo make-up':
  273. *clr & cla
  274. minut += 10
  275. gs 'exp_gain', 'makupskl', rand(1,3)
  276. mc_inventory['cosmetics'] -= 3
  277. vidageday -= 1
  278. pcs_makeup = 6
  279. '<<$makeupBimbo>>'
  280. act 'Continue': gt 'mirror', 'start'
  281. end
  282. end
  283. end
  284. end
  285. elseif mc_inventory['cosmetics'] <= 0:
  286. 'You don''t have any cosmetics to apply.'
  287. end
  288. if mc_inventory['lipbalm'] > 0 and pcs_lipbalm <= 0:
  289. act 'Apply lip balm':
  290. cla
  291. gs 'mirror','applyLipbalm'
  292. act 'View results':gt 'mirror', 'start'
  293. end
  294. end
  295. if mc_inventory['eyelash_fake'] > 0 and pcs_lashes < 3 and lashextensionstyle <= 0:
  296. act 'Apply false lashes':
  297. cla
  298. gs 'mirror','applyLashesplain'
  299. act 'View results':gt 'mirror', 'start'
  300. end
  301. end
  302. if mc_inventory['eyelash_mink'] > 0 and pcs_lashes < 4 and lashextensionstyle <= 0:
  303. act 'Apply mink lashes':
  304. cla
  305. gs 'mirror','applyLashesmink'
  306. act 'View results':gt 'mirror', 'start'
  307. end
  308. end
  309. act 'Manage your custom make-up routines': gs 'mirror', 'routine_manage'
  310. if $makeup['routine_1'] ! '':
  311. gs 'mirror', 'routine_description', 1
  312. if func('mirror', 'routine_check', 1):
  313. act 'Apply <<$makeup[''routine_1_name'']>>':
  314. gt 'mirror', 'works', makeup['routine_1_makeup'], makeup['routine_1_lipbalm'], makeup['routine_1_lashes']
  315. end
  316. end
  317. end
  318. if $makeup['routine_2'] ! '':
  319. gs 'mirror', 'routine_description', 2
  320. if func('mirror', 'routine_check', 2):
  321. act 'Apply <<$makeup[''routine_2_name'']>>':
  322. gt 'mirror', 'works', makeup['routine_2_makeup'], makeup['routine_2_lipbalm'], makeup['routine_2_lashes']
  323. end
  324. end
  325. end
  326. if $makeup['routine_3'] ! '':
  327. gs 'mirror', 'routine_description', 3
  328. if func('mirror', 'routine_check', 3):
  329. act 'Apply <<$makeup[''routine_3_name'']>>':
  330. gt 'mirror', 'works', makeup['routine_3_makeup'], makeup['routine_3_lipbalm'], makeup['routine_3_lashes']
  331. end
  332. end
  333. end
  334. if $makeup['routine_4'] ! '':
  335. gs 'mirror', 'routine_description', 4
  336. if func('mirror', 'routine_check', 4):
  337. act 'Apply <<$makeup[''routine_4_name'']>>':
  338. gt 'mirror', 'works', makeup['routine_4_makeup'], makeup['routine_4_lipbalm'], makeup['routine_4_lashes']
  339. end
  340. end
  341. end
  342. gs 'stat'
  343. killvar 'serv'
  344. act '<<iif(newstylemirror,''Change to the old style mirror'',''Change to the new style mirror'')>>': newstylemirror = iif(newstylemirror,0,1) & gt 'mirror','start'
  345. end
  346. !! --- start ---
  347. !! for now keeping this monstrosity here for reference
  348. ! mid($routine4,1,1), mid($routine4,2,1), mid($routine4,3,1)
  349. if $ARGS[0] = 'routine_manage':
  350. cls & cla
  351. *nl
  352. 'Select make-up level'
  353. *p iif(makeupSetting = 0,'none,', '<a href="exec:makeupSetting = 0 & gs ''mirror'', ''routine_manage''">none</a>,')
  354. *p iif(makeupSetting = 1,' light,', ' <a href="exec:makeupSetting = 1 & gs ''mirror'', ''routine_manage''">light</a>,')
  355. *p iif(makeupSetting = 2,' vibrant,', ' <a href="exec:makeupSetting = 2 & gs ''mirror'', ''routine_manage''">vibrant</a>,')
  356. *p iif(makeupSetting = 3,' thick,', ' <a href="exec:makeupSetting = 3 & gs ''mirror'', ''routine_manage''">thick</a>,')
  357. *pl iif(makeupSetting = 5,' bimbo', ' <a href="exec:makeupSetting = 5 & gs ''mirror'', ''routine_manage''">bimbo</a>')
  358. *nl
  359. 'Choose if you will use lipbalm'
  360. *p iif(cust_lipbalm = 0,'no,', '<a href="exec:cust_lipbalm = 0 & gs ''mirror'', ''routine_manage''">no</a>,')
  361. *pl iif(cust_lipbalm = 1,' yes', ' <a href="exec:cust_lipbalm = 1 & gs ''mirror'', ''routine_manage''">yes</a>')
  362. *nl
  363. 'Choose lash options'
  364. *p iif(custlashes = 0,'none,', '<a href="exec:custlashes = 0 & gs ''mirror'', ''routine_manage''">none</a>,')
  365. *p iif(custlashes = 1,' fake,', ' <a href="exec:custlashes = 1 & gs ''mirror'', ''routine_manage''">fake</a>,')
  366. *pl iif(custlashes = 2,' mink', ' <a href="exec:custlashes = 2 & gs ''mirror'', ''routine_manage''">mink</a>')
  367. $routine = str(makeupSetting) + str(cust_lipbalm) + str(custlashes)
  368. act 'Exit': gt 'mirror','start'
  369. temp_routine_index = 0
  370. if $makeup['routine_1'] = '':
  371. temp_routine_index = 1
  372. elseif $makeup['routine_2'] = '':
  373. temp_routine_index = 2
  374. elseif $makeup['routine_3'] = '':
  375. temp_routine_index = 3
  376. elseif $makeup['routine_4'] = '':
  377. temp_routine_index = 4
  378. end
  379. if temp_routine_index > 0:
  380. act 'Save routine':
  381. makeup['routine_<<temp_routine_index>>_makeup'] = makeupSetting
  382. makeup['routine_<<temp_routine_index>>_lipbalm'] = cust_lipbalm
  383. makeup['routine_<<temp_routine_index>>_lashes'] = custlashes
  384. $makeup['routine_<<temp_routine_index>>'] = $routine
  385. $makeup['routine_<<temp_routine_index>>_name'] = 'routine <<temp_routine_index>>'
  386. gs 'mirror', 'routine_manage'
  387. end
  388. end
  389. if $makeup['routine_1'] ! '':
  390. gs 'mirror', 'routine_description', 1, 'no_color'
  391. act 'Remove <<$makeup[''routine_1_name'']>>':
  392. gs 'shortgs', 'remove_array_element', 'makeup', 'routine_1'
  393. gs 'shortgs', 'remove_array_element', 'makeup', 'routine_1_name'
  394. gs 'mirror', 'routine_manage'
  395. end
  396. act 'Rename <<$makeup[''routine_1_name'']>>':
  397. $makeup['routine_1_name'] = input ('Name the routine')
  398. gs 'mirror', 'routine_manage'
  399. end
  400. end
  401. if $makeup['routine_2'] ! '':
  402. gs 'mirror', 'routine_description', 2, 'no_color'
  403. act 'Remove <<$makeup[''routine_2_name'']>>':
  404. gs 'shortgs', 'remove_array_element', 'makeup', 'routine_2'
  405. gs 'shortgs', 'remove_array_element', 'makeup', 'routine_2_name'
  406. gs 'mirror', 'routine_manage'
  407. end
  408. act 'Rename <<$makeup[''routine_2_name'']>>':
  409. $makeup['routine_2_name'] = input ('Name the routine')
  410. gs 'mirror', 'routine_manage'
  411. end
  412. end
  413. if $makeup['routine_3'] ! '':
  414. gs 'mirror', 'routine_description', 3, 'no_color'
  415. act 'Remove <<$makeup[''routine_3_name'']>>':
  416. gs 'shortgs', 'remove_array_element', 'makeup', 'routine_3'
  417. gs 'shortgs', 'remove_array_element', 'makeup', 'routine_3_name'
  418. gs 'mirror', 'routine_manage'
  419. end
  420. act 'Rename <<$makeup[''routine_3_name'']>>':
  421. $makeup['routine_3_name'] = input ('Name the routine')
  422. gs 'mirror', 'routine_manage'
  423. end
  424. end
  425. if $makeup['routine_4'] ! '':
  426. gs 'mirror', 'routine_description', 4, 'no_color'
  427. act 'Remove <<$makeup[''routine_4_name'']>>':
  428. gs 'shortgs', 'remove_array_element', 'makeup', 'routine_4'
  429. gs 'shortgs', 'remove_array_element', 'makeup', 'routine_4_name'
  430. gs 'mirror', 'routine_manage'
  431. end
  432. act 'Rename <<$makeup[''routine_4_name'']>>':
  433. $makeup['routine_4_name'] = input ('Name the routine')
  434. gs 'mirror', 'routine_manage'
  435. end
  436. end
  437. end
  438. if $ARGS[0] = 'routine_description':
  439. *nl 'Make-up routine <<ARGS[1]>> is called <font color="#268bd2"><<$makeup[''routine_<<ARGS[1]>>_name'']>></font> and consists of:'
  440. *nl
  441. if makeup['routine_<<ARGS[1]>>_makeup'] > 0:
  442. killvar '$temp_prefix' & killvar '$temp_postfix'
  443. if $ARGS[2] = '' and pcs_makeup < makeup['routine_<<ARGS[1]>>_makeup'] + 1:
  444. if mc_inventory['cosmetics'] >= min(makeup['routine_<<ARGS[1]>>_makeup'], 3):
  445. $temp_prefix = '<font color="#E5C07B">'
  446. $temp_postfix = ' - Not applied</font>'
  447. else
  448. $temp_prefix = '<font color="#dc322f">'
  449. $temp_postfix = ' - Not enough to apply</font>'
  450. end
  451. end
  452. if makeup['routine_<<ARGS[1]>>_makeup'] = 1:
  453. ' <<$temp_prefix>>Light make-up<<$temp_postfix>>'
  454. elseif makeup['routine_<<ARGS[1]>>_makeup'] = 2:
  455. ' <<$temp_prefix>>Vibrant make-up<<$temp_postfix>>'
  456. elseif makeup['routine_<<ARGS[1]>>_makeup'] = 3:
  457. ' <<$temp_prefix>>Thick make-up<<$temp_postfix>>'
  458. elseif makeup['routine_<<ARGS[1]>>_makeup'] = 5:
  459. ' <<$temp_prefix>>Bimbo make-up<<$temp_postfix>>'
  460. end
  461. end
  462. if makeup['routine_<<ARGS[1]>>_lipbalm'] > 0:
  463. killvar '$temp_prefix' & killvar '$temp_postfix'
  464. if $ARGS[2] = '' and pcs_lipbalm < makeup['routine_<<ARGS[1]>>_lipbalm']:
  465. if mc_inventory['lipbalm'] > 0:
  466. $temp_prefix = '<font color="#E5C07B">'
  467. $temp_postfix = ' - Not applied</font>'
  468. else
  469. $temp_prefix = '<font color="#dc322f">'
  470. $temp_postfix = ' - Not enough to apply</font>'
  471. end
  472. end
  473. ' <<$temp_prefix>>Lipbalm<<$temp_postfix>>'
  474. end
  475. if makeup['routine_<<ARGS[1]>>_lashes'] > 0:
  476. killvar '$temp_prefix' & killvar '$temp_postfix'
  477. if $ARGS[2] = '' and lashextensionstyle <= 0 and pcs_lashes < makeup['routine_<<ARGS[1]>>_lashes'] + 2:
  478. if (makeup['routine_<<ARGS[1]>>_lashes'] = 1 and mc_inventory['eyelash_fake'] >= 1) or (makeup['routine_<<ARGS[1]>>_lashes'] = 2 and mc_inventory['eyelash_mink'] >= 1):
  479. $temp_prefix = '<font color="#E5C07B">'
  480. $temp_postfix = ' - Not applied</font>'
  481. else
  482. $temp_prefix = '<font color="#dc322f">'
  483. $temp_postfix = ' - Not enough to apply</font>'
  484. end
  485. end
  486. if makeup['routine_<<ARGS[1]>>_lashes'] = 1:
  487. ' <<$temp_prefix>>False lashes<<$temp_postfix>>'
  488. elseif makeup['routine_<<ARGS[1]>>_lashes'] = 2:
  489. ' <<$temp_prefix>>Mink false lashes<<$temp_postfix>>'
  490. end
  491. end
  492. killvar '$temp_prefix' & killvar '$temp_postfix'
  493. end
  494. if $ARGS[0] = 'routine_check':
  495. if (makeup['routine_<<ARGS[1]>>_makeup'] > 0 and pcs_makeup < makeup['routine_<<ARGS[1]>>_makeup'] + 1 and mc_inventory['cosmetics'] >= min(makeup['routine_<<ARGS[1]>>_makeup'], 3)) or (makeup['routine_<<ARGS[1]>>_lipbalm'] > 0 and pcs_lipbalm < makeup['routine_<<ARGS[1]>>_lipbalm'] and mc_inventory['lipbalm'] > 0) or (makeup['routine_<<ARGS[1]>>_lashes'] > 0 and lashextensionstyle <= 0 and pcs_lashes < makeup['routine_<<ARGS[1]>>_lashes'] + 2 and ((makeup['routine_<<ARGS[1]>>_lashes'] = 1 and mc_inventory['eyelash_fake'] >= 1) or (makeup['routine_<<ARGS[1]>>_lashes'] = 2 and mc_inventory['eyelash_mink'] >= 1))): result = 1
  496. end
  497. ! if $ARGS[0] = 'routine_check': {
  498. makeup['routine_<<ARGS[1]>>_makeup'] > 0 and
  499. pcs_makeup < makeup['routine_<<ARGS[1]>>_makeup'] + 1 and
  500. mc_inventory['cosmetics'] >= min(makeup['routine_<<ARGS[1]>>_makeup'], 3)
  501. makeup['routine_<<ARGS[1]>>_lipbalm'] > 0 and
  502. pcs_lipbalm < makeup['routine_<<ARGS[1]>>_lipbalm'] and
  503. mc_inventory['lipbalm'] > 0
  504. makeup['routine_<<ARGS[1]>>_lashes'] > 0 and
  505. lashextensionstyle <= 0 and
  506. pcs_lashes < makeup['routine_<<ARGS[1]>>_lashes'] + 2 and
  507. ((
  508. makeup['routine_<<ARGS[1]>>_lashes'] = 1 and
  509. mc_inventory['eyelash_fake'] >= 1
  510. ) or (
  511. makeup['routine_<<ARGS[1]>>_lashes'] = 2 and
  512. mc_inventory['eyelash_mink'] >= 1
  513. ))
  514. }
  515. if $ARGS[0] = 'steam':
  516. menu_off = 1
  517. '<center><img <<$set_imgh>> src="images/shared/home/bathroom/mirror1.jpg"></center>'
  518. '<center>The mirror is heavily misted. It must be wiped or left to cool.</center>'
  519. gs 'stat'
  520. act 'Wipe the mirror':
  521. *clr & cla
  522. minut += 1
  523. mirror_steam = 100
  524. gs 'stat'
  525. '<center><img <<$set_imgh>> src="images/shared/home/bathroom/mirror2.jpg"></center>'
  526. '<center>You wipe the mirror with a towel.</center>'
  527. act 'Look in the mirror':gt 'mirror','start'
  528. end
  529. act 'Move away from the mirror':gt 'mirror','fin'
  530. end
  531. if $ARGS[0] = 'brush':
  532. menu_off = 1
  533. *clr & cla
  534. minut += 3
  535. pcs_hairbsh = 1
  536. if newstylemirror = 1:
  537. $serv['noaction'] = '<img <<$set_imgh>> src="images/system/icons/blank.png">'
  538. if player_avatar = 1:
  539. $serv['avatar']='<img <<$set_imgh>> src="images/avatar.jpg">'
  540. else
  541. $serv['avatar']='<img <<$set_imgh>> src="<<FUNC(''$face_image'')>>">'
  542. end
  543. if $mirrorloc = 'mirror':
  544. $serv['back']='<a href="exec: gt ''mirror'',''start''"><img src="images/system/icons/action/back.png"></a>'
  545. else
  546. $serv['back']='<a href="exec: gt ''mirror'',''fin''"><img src="images/system/icons/action/back.png"></a>'
  547. end
  548. '<center><table align=center cellspacing=0 cellpadding=0><tr><td align=center colspan=15><center><<$serv["avatar"]>></center></td></tr><tr><td colspan=15><hr></td></tr><tr><td colspan=10></td><td><<$serv["back"]>></td><td colspan=4></td></tr></table></center>'
  549. killvar('$serv')
  550. else
  551. if player_avatar = 1:
  552. '<center><img <<$set_imgh>> src="images/avatar.jpg"></center>'
  553. else
  554. '<center><img <<$set_imgh>> src="<<FUNC(''$face_image'')>>"></center>'
  555. end
  556. 'You brush your hair.'
  557. end
  558. if $mirrorloc = 'mirror':
  559. act 'Finish': gt 'mirror', 'start'
  560. else
  561. act 'Finish': gt 'mirror', 'fin'
  562. end
  563. end
  564. if $ARGS[0] = 'works':
  565. '<center><img <<$set_imgh>> src="images/pc/activities/makeup_1.jpg"></center>'
  566. if pcs_makeup = 0: pcs_makeup = makeup['base']
  567. if ARGS[1] > 0 and pcs_makeup < ARGS[1] + 1:
  568. if mc_inventory['cosmetics'] <= 0:
  569. 'You don''t have any cosmetics.'
  570. elseif mc_inventory['cosmetics'] >= min(ARGS[1], 3):
  571. *nl
  572. if ARGS[1] = 1 and pcs_makeup < 2:
  573. 'You subtly apply some neutral tones, with a light application of makeup to bring out your natural beauty.'
  574. minut += 3
  575. gs 'exp_gain', 'makupskl', rand(1,3)
  576. mc_inventory['cosmetics'] -= 1
  577. pcs_makeup = 2
  578. elseif ARGS[1] = 2 and pcs_makeup < 3:
  579. 'You apply some mildly vibrant tones and colors of makeup to cover your minor imperfections and enhance your best features.'
  580. minut += 5
  581. gs 'exp_gain', 'makupskl', rand(1,3)
  582. mc_inventory['cosmetics'] -= 2
  583. pcs_makeup = 3
  584. elseif ARGS[1] = 3 and pcs_makeup < 4:
  585. 'You apply some deeper, richer shades of makeup, thick enough to cover most imperfections, while drawing attention to your eyes and lips.'
  586. minut += 10
  587. gs 'exp_gain', 'makupskl', rand(1,3)
  588. mc_inventory['cosmetics'] -= 3
  589. vidageday -= 1
  590. pcs_makeup = 4
  591. elseif ARGS[1] = 5 and pcs_makeup < 6:
  592. 'You apply some bright, seductive makeup, thick enough to cover most imperfections, while drawing attention in a way only a bimbo can.'
  593. minut += 10
  594. gs 'exp_gain', 'makupskl', rand(1,3)
  595. mc_inventory['cosmetics'] -= 3
  596. vidageday -= 1
  597. pcs_makeup = 6
  598. end
  599. else
  600. 'You don''t have enough cosmetics to apply your chosen option.'
  601. end
  602. end
  603. if pcs_hairbsh < 1:
  604. minut += 3
  605. pcs_hairbsh = 1
  606. 'You brush your hair.'
  607. end
  608. if ARGS[2] > 0: gs 'mirror', 'applyLipbalm'
  609. if ARGS[3] > 0 and lashextensionstyle <= 0 and pcs_lashes < ARGS[3] + 2:
  610. if ARGS[3] = 1 and mc_inventory['eyelash_fake'] >= 1:
  611. gs 'mirror', 'applyLashesplain'
  612. elseif ARGS[3] = 2 and mc_inventory['eyelash_mink'] >= 1:
  613. gs 'mirror', 'applyLashesmink'
  614. end
  615. end
  616. cla
  617. act 'View results':gt 'mirror', 'start'
  618. end &! --- works ----
  619. if $ARGS[0] = 'applyLipbalm':
  620. if mc_inventory['lipbalm'] > 0 and pcs_lipbalm <= 0:
  621. minut += 1
  622. mc_inventory['lipbalm'] -= 1
  623. lipkoef += rand(0, 1)
  624. if lipkoef > 50:
  625. lipkoef = 0
  626. pcs_lip += 1
  627. end
  628. pcs_lipbalm += 8
  629. 'You apply some moisturizing balm on your lips.'
  630. end
  631. end &! --- applyLipbalm ---
  632. if $ARGS[0] = 'applyLashesmink':
  633. if mc_inventory['eyelash_mink'] > 0 and pcs_lashes < 4:
  634. minut += 15
  635. mc_inventory['eyelash_mink'] -= 1
  636. if false_lashes >= 1 and pcs_lashes = 3:'You remove your old, plain lashes first.'
  637. false_lashes = 1
  638. pcs_lashes = 4
  639. 'You spend a good bit of time affixing your lavish, mink lash strips.'
  640. end
  641. end &! --- applyLashesmink ---
  642. if $ARGS[0] = 'applyLashesplain':
  643. if mc_inventory['eyelash_fake'] > 0 and pcs_lashes < 3:
  644. minut += 15
  645. mc_inventory['eyelash_fake'] -= 1
  646. false_lashes = 1
  647. pcs_lashes = 3
  648. 'You spend a fair bit of time carefully trimming and affixing your flirtatious false lashes.'
  649. end
  650. end &! --- applyLashesplain ---
  651. if $ARGS[0] = 'fin':
  652. killvar '$makeupLight'
  653. killvar '$makeupNatural'
  654. killvar '$makeupHeavy'
  655. killvar '$routine'
  656. killvar '$mirrorloc'
  657. killvar 'temp_routine_index'
  658. menu_off = 0
  659. gt $locM, $locM_arg
  660. end &! --- fin ----
  661. if $ARGS[0] = 'd_bag_mirror':
  662. *clr & cla
  663. gs 'stat'
  664. '<center><h1>Compact Mirror</h1></center>'
  665. '<center><img <<$set_imgh>> src="/images/pc/items/mirror_compact.jpg"></center>'
  666. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  667. '<td cellspacing="0" cellpadding="0" valign="top">'
  668. 'You have '+iif(mc_inventory['travel_makeup'] > 0, '<b><<mc_inventory[''travel_makeup'']>></b>', 'no')+' cosmetic applications and '+iif(mc_inventory['makeup_wipes'] > 0, '<b><<mc_inventory[''makeup_wipes'']>></b>', 'no')+' tissues left in your purse.'
  669. *nl
  670. if pcs_hairbsh < 1 and mc_inventory['comb'] = 1:
  671. '<a href="exec: pcs_hairbsh = 1 & gt ''mirror'', ''d_bag_mirror''"><b>Brush your hair</b></a>'
  672. end
  673. if pcs_makeup = 0:
  674. if mc_inventory['makeup_wipes'] > 0:
  675. '<a href="exec: mc_inventory[''makeup_wipes''] -= 1 & pcs_makeup = pcs_makeup[''base''] & gt ''mirror'', ''d_bag_mirror''"><b>Clear smeared cosmetics</b></a>'
  676. if mc_inventory['travel_makeup'] >= min(makeupSetting, 3):
  677. if makeup['base'] < makeupSetting + 1:
  678. '<a href="exec: gt ''mirror'', ''kosmetitka_fix''"><b>Fix your makeup</b></a>'
  679. end
  680. else
  681. 'You need portable makeup and tissues to fix your makeup.'
  682. end
  683. else
  684. 'You need portable makeup and tissues to fix your makeup.'
  685. end
  686. else
  687. if pcs_makeup = 1:
  688. if mc_inventory['travel_makeup'] > 0:
  689. '<a href="exec: minut += 3 & gs ''exp_gain'', ''makupskl'', rand(1,3) & pcs_makeup = 2 & mc_inventory[''travel_makeup''] -= 1 & gt ''mirror'', ''d_bag_mirror''"><b>Put on light makeup</b></a>'
  690. end
  691. elseif pcs_makeup > makeup['base']:
  692. if mc_inventory['makeup_wipes'] > 0:
  693. '<a href="exec: mc_inventory[''makeup_wipes''] -= 1 & pcs_makeup = pcs_makeup[''base''] & gt ''mirror'', ''d_bag_mirror''"><b>Remove your makeup</b></a>'
  694. end
  695. end
  696. if pcs_lipbalm <= 0 and mc_inventory['lipbalm'] > 0:
  697. '<a href="exec: gs ''mirror'', ''applyLipbalm'' & gt ''mirror'', ''d_bag_mirror''"><b>Apply lip balm</b></a>'
  698. end
  699. end
  700. '</td></tr></table></center>'
  701. act 'Finish': gt 'din_bad', 'd_bag'
  702. end
  703. if $ARGS[0] = 'kosmetitka_fix':
  704. *clr & cla
  705. '<center><h1>Compact Mirror</h1></center>'
  706. '<center><img <<$set_imgh>> src="images/pc/activities/routine/4.jpg"></center>'
  707. mc_inventory['makeup_wipes'] -= 1
  708. gs 'exp_gain', 'makupskl', rand(1,3)
  709. if makeupSetting = 1:
  710. minut += 3
  711. mc_inventory['travel_makeup'] -= 1
  712. pcs_makeup = 2
  713. '<center>You carefully fix your makeup and restore the neutral and light tones that bring out your natural beauty.</center>'
  714. elseif makeupSetting = 2:
  715. minut += 5
  716. mc_inventory['travel_makeup'] -= 2
  717. pcs_makeup = 3
  718. '<center>You carefully fix your makeup and restore the mildly vibrant tones and colors that cover your minor imperfections and enhance your best features.</center>'
  719. elseif makeupSetting = 3:
  720. minut += 10
  721. mc_inventory['travel_makeup'] -= 3
  722. vidageday -= 1
  723. pcs_makeup = 4
  724. '<center>You carefully fix your makeup and restore the deeper, richer shades, thick enough to cover most imperfections, while drawing attention to your eyes and lips.</center>'
  725. elseif makeupSetting = 4:
  726. minut += 10
  727. mc_inventory['travel_makeup'] -= 3
  728. vidageday -= 1
  729. pcs_makeup = 6
  730. '<center>You carefully fix your makeup and restore the bright, seductive shades, thick enough to cover most imperfections, while drawing attention in a way only a bimbo can.</center>'
  731. end
  732. gs 'stat'
  733. act 'Continue': gt 'mirror', 'd_bag_mirror'
  734. end
  735. --- mirror ---------------------------------