mirror.qsrc 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742
  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 'You have <<mc_inventory[''cosmetics'']>> cosmetics left.' else *nl 'You have no cosmetics left.'
  223. if mc_inventory['lipbalm'] > 0: *pl ' You have <<mc_inventory[''lipbalm'']>> lip gloss left.' else *pl ' You have no lip gloss left.'
  224. if mc_inventory['eyelash_fake'] > 0: *nl 'You have <<mc_inventory[''eyelash_fake'']>> false lashes left.' else *nl 'You have no false lashes left.'
  225. if mc_inventory['eyelash_mink'] > 0: *pl ' You have <<mc_inventory[''eyelash_mink'']>> mink lashes left.' 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. temp_routine_index = 1
  311. :makeup_routine_apply_acts_loop
  312. $temp_routine_name = $makeup['routine_<<temp_routine_index>>_name']
  313. dynamic "if $makeup['routine_<<temp_routine_index>>'] ! '':
  314. gs 'mirror', 'routine_description', <<temp_routine_index>>
  315. if func('mirror', 'routine_check', <<temp_routine_index>>):
  316. act 'Apply <<$temp_routine_name>>':
  317. gt 'mirror', 'works', makeup['routine_<<temp_routine_index>>_makeup'], makeup['routine_<<temp_routine_index>>_lipbalm'], makeup['routine_<<temp_routine_index>>_lashes']
  318. end
  319. end
  320. end"
  321. if temp_routine_index < 4: temp_routine_index += 1 & jump 'makeup_routine_apply_acts_loop'
  322. gs 'stat'
  323. killvar 'serv'
  324. act '<<iif(newstylemirror,''Change to the old style mirror'',''Change to the new style mirror'')>>': newstylemirror = iif(newstylemirror,0,1) & gt 'mirror','start'
  325. end
  326. !! --- start ---
  327. !! for now keeping this monstrosity here for reference
  328. ! mid($routine4,1,1), mid($routine4,2,1), mid($routine4,3,1)
  329. if $ARGS[0] = 'routine_manage':
  330. cls & cla
  331. *nl
  332. 'Select make-up level'
  333. *p iif(makeupSetting = 0,'none,', '<a href="exec:makeupSetting = 0 & gs ''mirror'', ''routine_manage''">none</a>,')
  334. *p iif(makeupSetting = 1,' light,', ' <a href="exec:makeupSetting = 1 & gs ''mirror'', ''routine_manage''">light</a>,')
  335. *p iif(makeupSetting = 2,' vibrant,', ' <a href="exec:makeupSetting = 2 & gs ''mirror'', ''routine_manage''">vibrant</a>,')
  336. *p iif(makeupSetting = 3,' thick,', ' <a href="exec:makeupSetting = 3 & gs ''mirror'', ''routine_manage''">thick</a>,')
  337. *pl iif(makeupSetting = 5,' bimbo', ' <a href="exec:makeupSetting = 5 & gs ''mirror'', ''routine_manage''">bimbo</a>')
  338. *nl
  339. 'Choose if you will use lipbalm'
  340. *p iif(cust_lipbalm = 0,'no,', '<a href="exec:cust_lipbalm = 0 & gs ''mirror'', ''routine_manage''">no</a>,')
  341. *pl iif(cust_lipbalm = 1,' yes', ' <a href="exec:cust_lipbalm = 1 & gs ''mirror'', ''routine_manage''">yes</a>')
  342. *nl
  343. 'Choose lash options'
  344. *p iif(custlashes = 0,'none,', '<a href="exec:custlashes = 0 & gs ''mirror'', ''routine_manage''">none</a>,')
  345. *p iif(custlashes = 1,' fake,', ' <a href="exec:custlashes = 1 & gs ''mirror'', ''routine_manage''">fake</a>,')
  346. *pl iif(custlashes = 2,' mink', ' <a href="exec:custlashes = 2 & gs ''mirror'', ''routine_manage''">mink</a>')
  347. $routine = str(makeupSetting) + str(cust_lipbalm) + str(custlashes)
  348. act 'Exit': gt 'mirror','start'
  349. temp_routine_index = 0
  350. :makeup_routine_save_selector_loop
  351. temp_routine_index += 1
  352. if temp_routine_index < 5 and $makeup['routine_<<temp_routine_index>>'] ! '': jump 'makeup_routine_save_selector_loop'
  353. dynamic "if temp_routine_index < 5:
  354. act 'Save routine':
  355. makeup['routine_<<temp_routine_index>>_makeup'] = makeupSetting
  356. makeup['routine_<<temp_routine_index>>_lipbalm'] = cust_lipbalm
  357. makeup['routine_<<temp_routine_index>>_lashes'] = custlashes
  358. $makeup['routine_<<temp_routine_index>>'] = $routine
  359. $makeup['routine_<<temp_routine_index>>_name'] = 'routine <<temp_routine_index>>'
  360. gs 'mirror', 'routine_manage'
  361. end
  362. end"
  363. temp_routine_index = 1
  364. :makeup_routine_manage_acts_loop
  365. $temp_routine_name = $makeup['routine_<<temp_routine_index>>_name']
  366. dynamic "if $makeup['routine_<<temp_routine_index>>'] ! '':
  367. gs 'mirror', 'routine_description', temp_routine_index, 'no_color'
  368. act 'Remove <<$temp_routine_name>>':
  369. gs 'shortgs', 'remove_array_element', 'makeup', 'routine_<<temp_routine_index>>'
  370. gs 'shortgs', 'remove_array_element', 'makeup', 'routine_<<temp_routine_index>>_name'
  371. gs 'mirror', 'routine_manage'
  372. end
  373. act 'Rename <<$temp_routine_name>>':
  374. $makeup['routine_<<temp_routine_index>>_name'] = input ('Name the routine')
  375. gs 'mirror', 'routine_manage'
  376. end
  377. end"
  378. if temp_routine_index < 4: temp_routine_index += 1 & jump 'makeup_routine_manage_acts_loop'
  379. end
  380. if $ARGS[0] = 'routine_description':
  381. *nl 'Make-up routine <<ARGS[1]>> is called <font color="#268bd2"><<$makeup[''routine_<<ARGS[1]>>_name'']>></font> and consists of:'
  382. *nl
  383. if makeup['routine_<<ARGS[1]>>_makeup'] > 0:
  384. killvar '$temp_prefix' & killvar '$temp_postfix'
  385. if $ARGS[2] = '' and pcs_makeup < makeup['routine_<<ARGS[1]>>_makeup'] + 1:
  386. if mc_inventory['cosmetics'] >= min(makeup['routine_<<ARGS[1]>>_makeup'], 3):
  387. $temp_prefix = '<font color="#E5C07B">'
  388. $temp_postfix = ' - Not applied</font>'
  389. else
  390. $temp_prefix = '<font color="#dc322f">'
  391. $temp_postfix = ' - Not enough to apply</font>'
  392. end
  393. end
  394. if makeup['routine_<<ARGS[1]>>_makeup'] = 1:
  395. ' <<$temp_prefix>>Light make-up<<$temp_postfix>>'
  396. elseif makeup['routine_<<ARGS[1]>>_makeup'] = 2:
  397. ' <<$temp_prefix>>Vibrant make-up<<$temp_postfix>>'
  398. elseif makeup['routine_<<ARGS[1]>>_makeup'] = 3:
  399. ' <<$temp_prefix>>Thick make-up<<$temp_postfix>>'
  400. elseif makeup['routine_<<ARGS[1]>>_makeup'] = 5:
  401. ' <<$temp_prefix>>Bimbo make-up<<$temp_postfix>>'
  402. end
  403. end
  404. if makeup['routine_<<ARGS[1]>>_lipbalm'] > 0:
  405. killvar '$temp_prefix' & killvar '$temp_postfix'
  406. if $ARGS[2] = '' and pcs_lipbalm < makeup['routine_<<ARGS[1]>>_lipbalm']:
  407. if mc_inventory['lipbalm'] > 0:
  408. $temp_prefix = '<font color="#E5C07B">'
  409. $temp_postfix = ' - Not applied</font>'
  410. else
  411. $temp_prefix = '<font color="#dc322f">'
  412. $temp_postfix = ' - Not enough to apply</font>'
  413. end
  414. end
  415. ' <<$temp_prefix>>Lipbalm<<$temp_postfix>>'
  416. end
  417. if makeup['routine_<<ARGS[1]>>_lashes'] > 0:
  418. killvar '$temp_prefix' & killvar '$temp_postfix'
  419. if $ARGS[2] = '' and lashextensionstyle <= 0 and pcs_lashes < makeup['routine_<<ARGS[1]>>_lashes'] + 2:
  420. 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):
  421. $temp_prefix = '<font color="#E5C07B">'
  422. $temp_postfix = ' - Not applied</font>'
  423. else
  424. $temp_prefix = '<font color="#dc322f">'
  425. $temp_postfix = ' - Not enough to apply</font>'
  426. end
  427. end
  428. if makeup['routine_<<ARGS[1]>>_lashes'] = 1:
  429. ' <<$temp_prefix>>False lashes<<$temp_postfix>>'
  430. elseif makeup['routine_<<ARGS[1]>>_lashes'] = 2:
  431. ' <<$temp_prefix>>Mink false lashes<<$temp_postfix>>'
  432. end
  433. end
  434. killvar '$temp_prefix' & killvar '$temp_postfix'
  435. end
  436. if $ARGS[0] = 'routine_check':
  437. 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
  438. end
  439. ! if $ARGS[0] = 'routine_check': {
  440. makeup['routine_<<ARGS[1]>>_makeup'] > 0 and
  441. pcs_makeup < makeup['routine_<<ARGS[1]>>_makeup'] + 1 and
  442. mc_inventory['cosmetics'] >= min(makeup['routine_<<ARGS[1]>>_makeup'], 3)
  443. makeup['routine_<<ARGS[1]>>_lipbalm'] > 0 and
  444. pcs_lipbalm < makeup['routine_<<ARGS[1]>>_lipbalm'] and
  445. mc_inventory['lipbalm'] > 0
  446. makeup['routine_<<ARGS[1]>>_lashes'] > 0 and
  447. lashextensionstyle <= 0 and
  448. pcs_lashes < makeup['routine_<<ARGS[1]>>_lashes'] + 2 and
  449. ((
  450. makeup['routine_<<ARGS[1]>>_lashes'] = 1 and
  451. mc_inventory['eyelash_fake'] >= 1
  452. ) or (
  453. makeup['routine_<<ARGS[1]>>_lashes'] = 2 and
  454. mc_inventory['eyelash_mink'] >= 1
  455. ))
  456. }
  457. if $ARGS[0] = 'steam':
  458. menu_off = 1
  459. '<center><img <<$set_imgh>> src="images/shared/home/bathroom/mirror1.jpg"></center>'
  460. '<center>The mirror is heavily misted. It must be wiped or left to cool.</center>'
  461. gs 'stat'
  462. act 'Wipe the mirror':
  463. *clr & cla
  464. minut += 1
  465. mirror_steam = 100
  466. gs 'stat'
  467. '<center><img <<$set_imgh>> src="images/shared/home/bathroom/mirror2.jpg"></center>'
  468. '<center>You wipe the mirror with a towel.</center>'
  469. act 'Look in the mirror':gt 'mirror','start'
  470. end
  471. act 'Move away from the mirror':gt 'mirror','fin'
  472. end
  473. if $ARGS[0] = 'brush':
  474. menu_off = 1
  475. *clr & cla
  476. minut += 3
  477. pcs_hairbsh = 1
  478. if newstylemirror = 1:
  479. $serv['noaction'] = '<img <<$set_imgh>> src="images/system/icons/blank.png">'
  480. if player_avatar = 1:
  481. $serv['avatar']='<img <<$set_imgh>> src="images/avatar.jpg">'
  482. else
  483. $serv['avatar']='<img <<$set_imgh>> src="<<FUNC(''$face_image'')>>">'
  484. end
  485. if $mirrorloc = 'mirror':
  486. $serv['back']='<a href="exec: gt ''mirror'',''start''"><img src="images/system/icons/action/back.png"></a>'
  487. else
  488. $serv['back']='<a href="exec: gt ''mirror'',''fin''"><img src="images/system/icons/action/back.png"></a>'
  489. end
  490. '<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>'
  491. killvar('$serv')
  492. else
  493. if player_avatar = 1:
  494. '<center><img <<$set_imgh>> src="images/avatar.jpg"></center>'
  495. else
  496. '<center><img <<$set_imgh>> src="<<FUNC(''$face_image'')>>"></center>'
  497. end
  498. 'You brush your hair.'
  499. end
  500. if $mirrorloc = 'mirror':
  501. act 'Finish': gt 'mirror', 'start'
  502. else
  503. act 'Finish': gt 'mirror', 'fin'
  504. end
  505. end
  506. if $ARGS[0] = 'works':
  507. '<center><img <<$set_imgh>> src="images/pc/activities/makeup_1.jpg"></center>'
  508. if pcs_makeup = 0: pcs_makeup = makeup['base']
  509. if ARGS[1] > 0 and pcs_makeup < ARGS[1] + 1:
  510. if mc_inventory['cosmetics'] <= 0:
  511. 'You don''t have any cosmetics.'
  512. elseif mc_inventory['cosmetics'] >= min(ARGS[1], 3):
  513. *nl
  514. if ARGS[1] = 1 and pcs_makeup < 2:
  515. 'You subtly apply some neutral tones, with a light application of makeup to bring out your natural beauty.'
  516. minut += 3
  517. gs 'exp_gain', 'makupskl', rand(1,3)
  518. mc_inventory['cosmetics'] -= 1
  519. pcs_makeup = 2
  520. elseif ARGS[1] = 2 and pcs_makeup < 3:
  521. 'You apply some mildly vibrant tones and colors of makeup to cover your minor imperfections and enhance your best features.'
  522. minut += 5
  523. gs 'exp_gain', 'makupskl', rand(1,3)
  524. mc_inventory['cosmetics'] -= 2
  525. pcs_makeup = 3
  526. elseif ARGS[1] = 3 and pcs_makeup < 4:
  527. 'You apply some deeper, richer shades of makeup, thick enough to cover most imperfections, while drawing attention to your eyes and lips.'
  528. minut += 10
  529. gs 'exp_gain', 'makupskl', rand(1,3)
  530. mc_inventory['cosmetics'] -= 3
  531. vidageday -= 1
  532. pcs_makeup = 4
  533. elseif ARGS[1] = 5 and pcs_makeup < 6:
  534. 'You apply some bright, seductive makeup, thick enough to cover most imperfections, while drawing attention in a way only a bimbo can.'
  535. minut += 10
  536. gs 'exp_gain', 'makupskl', rand(1,3)
  537. mc_inventory['cosmetics'] -= 3
  538. vidageday -= 1
  539. pcs_makeup = 6
  540. end
  541. else
  542. 'You don''t have enough cosmetics to apply your chosen option.'
  543. end
  544. end
  545. if pcs_hairbsh < 1:
  546. minut += 3
  547. pcs_hairbsh = 1
  548. 'You brush your hair.'
  549. end
  550. if ARGS[2] > 0: gs 'mirror', 'applyLipbalm'
  551. if ARGS[3] > 0 and lashextensionstyle <= 0 and pcs_lashes < ARGS[3] + 2:
  552. if ARGS[3] = 1 and mc_inventory['eyelash_fake'] >= 1:
  553. gs 'mirror', 'applyLashesplain'
  554. elseif ARGS[3] = 2 and mc_inventory['eyelash_mink'] >= 1:
  555. gs 'mirror', 'applyLashesmink'
  556. end
  557. end
  558. cla
  559. act 'View results':gt 'mirror', 'start'
  560. end &! --- works ----
  561. if $ARGS[0] = 'applyLipbalm':
  562. if mc_inventory['lipbalm'] > 0 and pcs_lipbalm <= 0:
  563. minut += 1
  564. mc_inventory['lipbalm'] -= 1
  565. lipkoef += rand(0, 1)
  566. if lipkoef > 50:
  567. lipkoef = 0
  568. pcs_lip += 1
  569. end
  570. pcs_lipbalm += 8
  571. 'You apply some moisturizing balm on your lips.'
  572. end
  573. end &! --- applyLipbalm ---
  574. if $ARGS[0] = 'applyLashesmink':
  575. if mc_inventory['eyelash_mink'] > 0 and pcs_lashes < 4:
  576. minut += 15
  577. mc_inventory['eyelash_mink'] -= 1
  578. if false_lashes >= 1 and pcs_lashes = 3:'You remove your old, plain lashes first.'
  579. false_lashes = 1
  580. pcs_lashes = 4
  581. 'You spend a good bit of time affixing your lavish, mink lash strips.'
  582. end
  583. end &! --- applyLashesmink ---
  584. if $ARGS[0] = 'applyLashesplain':
  585. if mc_inventory['eyelash_fake'] > 0 and pcs_lashes < 3:
  586. minut += 15
  587. mc_inventory['eyelash_fake'] -= 1
  588. false_lashes = 1
  589. pcs_lashes = 3
  590. 'You spend a fair bit of time carefully trimming and affixing your flirtatious false lashes.'
  591. end
  592. end &! --- applyLashesplain ---
  593. if $ARGS[0] = 'fin':
  594. killvar '$makeupLight'
  595. killvar '$makeupNatural'
  596. killvar '$makeupHeavy'
  597. killvar '$routine'
  598. killvar '$mirrorloc'
  599. killvar 'temp_routine_index'
  600. killvar '$temp_routine_name'
  601. menu_off = 0
  602. gt $locM, $locM_arg
  603. end &! --- fin ----
  604. if $ARGS[0] = 'd_bag_mirror':
  605. *clr & cla
  606. gs 'stat'
  607. '<center><h1>Compact Mirror</h1></center>'
  608. '<center><img <<$set_imgh>> src="images/pc/items/mirror_compact.jpg"></center>'
  609. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  610. '<td cellspacing="0" cellpadding="0" valign="top">'
  611. '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.'
  612. *nl
  613. if pcs_hairbsh < 1 and mc_inventory['comb'] = 1:
  614. '<a href="exec: pcs_hairbsh = 1 & gt ''mirror'', ''d_bag_mirror''"><b>Brush your hair</b></a>'
  615. end
  616. if pcs_makeup = 0:
  617. if mc_inventory['makeup_wipes'] > 0:
  618. '<a href="exec: mc_inventory[''makeup_wipes''] -= 1 & pcs_makeup = makeup[''base''] & gt ''mirror'', ''d_bag_mirror''"><b>Clear smeared cosmetics</b></a>'
  619. if mc_inventory['travel_makeup'] >= min(makeupSetting, 3):
  620. if makeup['base'] < makeupSetting + 1:
  621. '<a href="exec: gt ''mirror'', ''kosmetitka_fix''"><b>Fix your makeup</b></a>'
  622. end
  623. else
  624. 'You need portable makeup and tissues to fix your makeup.'
  625. end
  626. else
  627. 'You need portable makeup and tissues to fix your makeup.'
  628. end
  629. else
  630. if pcs_makeup = 1:
  631. if mc_inventory['travel_makeup'] > 0:
  632. '<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>'
  633. end
  634. elseif pcs_makeup > makeup['base']:
  635. if mc_inventory['makeup_wipes'] > 0:
  636. '<a href="exec: mc_inventory[''makeup_wipes''] -= 1 & pcs_makeup = makeup[''base''] & gt ''mirror'', ''d_bag_mirror''"><b>Remove your makeup</b></a>'
  637. end
  638. end
  639. if pcs_lipbalm <= 0 and mc_inventory['lipbalm'] > 0:
  640. '<a href="exec: gs ''mirror'', ''applyLipbalm'' & gt ''mirror'', ''d_bag_mirror''"><b>Apply lip balm</b></a>'
  641. end
  642. end
  643. '</td></tr></table></center>'
  644. act 'Finish': gt 'din_bad', 'd_bag'
  645. end
  646. if $ARGS[0] = 'kosmetitka_fix':
  647. *clr & cla
  648. '<center><h1>Compact Mirror</h1></center>'
  649. '<center><img <<$set_imgh>> src="images/pc/activities/routine/4.jpg"></center>'
  650. mc_inventory['makeup_wipes'] -= 1
  651. gs 'exp_gain', 'makupskl', rand(1,3)
  652. if makeupSetting = 1:
  653. minut += 3
  654. mc_inventory['travel_makeup'] -= 1
  655. pcs_makeup = 2
  656. '<center>You carefully fix your makeup and restore the neutral and light tones that bring out your natural beauty.</center>'
  657. elseif makeupSetting = 2:
  658. minut += 5
  659. mc_inventory['travel_makeup'] -= 2
  660. pcs_makeup = 3
  661. '<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>'
  662. elseif makeupSetting = 3:
  663. minut += 10
  664. mc_inventory['travel_makeup'] -= 3
  665. vidageday -= 1
  666. pcs_makeup = 4
  667. '<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>'
  668. elseif makeupSetting = 4:
  669. minut += 10
  670. mc_inventory['travel_makeup'] -= 3
  671. vidageday -= 1
  672. pcs_makeup = 6
  673. '<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>'
  674. end
  675. gs 'stat'
  676. act 'Continue': gt 'mirror', 'd_bag_mirror'
  677. end
  678. --- mirror ---------------------------------