1
0

mirror 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. # mirror
  2. if $ARGS[0] = 'start':
  3. *clr & cla
  4. gs 'stat' &! It should be here, because some of the strigs have to be initialized
  5. if player_avatar = 1:
  6. '<center><img <<$set_imgh>> src="images/avatar.jpg"></center>'
  7. else
  8. '<center><img <<$set_imgh>> src="<<FUNC(''$face_image'')>>"></center>'
  9. end
  10. if mirror_steam ! hour: mirror_steam = 100
  11. if $loc = 'vanrPar' and mirror_steam = hour or $loc = 'vanr' and mirror_steam = hour or $loc = 'yvan'and mirror_steam = hour: gt'mirror','steam'
  12. if pcs_hairbsh = 0:
  13. act 'Brush your hair': xgt 'mirror', 'brush'
  14. end
  15. *nl
  16. if daystart < 10 and StoryLine = 0:'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.'
  17. if daystart >= 10 and daystart < 30 and StoryLine = 0:'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.'
  18. '<<$hair>>. '
  19. '<<$pcs_makeup>>. Your<<$pcdesc_eyesizeinsertive>> eyes are <<$pcdesc_eyecolour>> <<$pcs_lashes>>, and you have <<$pcdesc_fulllipswordy>>.'
  20. '<<$skin>>'
  21. '<<$pcs_apprnc>>'
  22. if curly > 0 and defcurly = 0: '<br>Your curly hair will last for another <<curly>> days.'
  23. if straight > 0 and defcurly = 1: '<br>Your straightened hair will last for another <<straight>> days.'
  24. if hbraids > 0: '<br>Your braided hair will last for another <<hbraids>> days.'
  25. if pcs_haircol ! nathcol:
  26. if dyefade > 0 and dyefade < 7: '<br>Your hair dye is beginning to fade and your roots are showing.'
  27. if dyefade = 0: '<br>Your hair dye has faded and looks terrible.'
  28. end
  29. if kosmetica > 0: *nl 'Cosmetics: <<kosmetica>>' else *nl 'You have no makeup.'
  30. if lipbalm > 0: *pl ' | Lip gloss: <<lipbalm>>' else *pl ' You have no lip gloss left.'
  31. if falselashesplain > 0: *nl 'False lashes: <<falselashesplain>>' else *nl 'You have no false lashes left.'
  32. if falselashesmink > 0: *pl ' | Mink lashes: <<falselashesmink>>' else *pl ' You have no mink lashes left.'
  33. *nl
  34. $makeupLight = 'You subtly apply some neutral tones, with a light application of makeup to bring out your natural beauty.'
  35. $makeupNatural = 'You apply some mildly vibrant tones and colors of makeup to cover your minor imperfections and enhance your best features.'
  36. $makeupHeavy = 'You apply some deeper, richer shades of makeup, thick enough to cover most imperfections, while drawing attention to your eyes and lips.'
  37. ! WD: Cheat Unused ~ 'AutoHapri'
  38. if pcs_hairbsh = 0 and AutoHapri = 1:
  39. minut += 3
  40. pcs_hairbsh = 1
  41. 'You brush your hair.'
  42. end
  43. !! WD: Cheat Unused ~ 'AutoMakeup'
  44. if pcs_makeup = 1 and kosmetica > 0 and AutoMakeup = 1:
  45. pcs_makeup = AutoMakeupType
  46. makupskl_exp += rand(1,3)
  47. if kosmetica < 3 and pcs_makeup = 4:pcs_makeup = 3
  48. if kosmetica < 2 and pcs_makeup = 3:pcs_makeup = 2
  49. if kosmetica < 1 and pcs_makeup ! 1:
  50. pcs_makeup = 1
  51. 'You have no make-up left.'
  52. else
  53. if pcs_makeup = 2:
  54. *pl $makeupLight
  55. minut -= 3
  56. kosmetica -= 1
  57. end
  58. if pcs_makeup = 3:
  59. *pl $makeupNatural
  60. minut -= 5
  61. kosmetica -= 2
  62. end
  63. if pcs_makeup = 4:
  64. *pl $makeupHeavy
  65. minut -= 10
  66. vidageday -= 1
  67. kosmetica -= 3
  68. end
  69. end
  70. end
  71. ! WD: Cheat Unused ~ 'AutoLipBalm'
  72. !! Added the makeup setting.
  73. if pcs_makeup = 1 and kosmetica >= makeupSetting:
  74. act 'Apply makeup':
  75. *clr & cla
  76. '<center><img <<$set_imgh>> src="images/pc/mop.jpg"></center>'
  77. *nl
  78. 'You consider for a moment which look you want to go for.'
  79. *nl
  80. if makeupSetting = 1:
  81. cla
  82. 'Without thinking, you instantly apply a sutle amount of makeup to your face.'
  83. minut += 3
  84. makupskl_exp += rand(1,3)
  85. kosmetica -= 1
  86. pcs_makeup = 2
  87. '<<$makeupLight>>'
  88. act 'View results':gt 'mirror', 'start'
  89. elseif makeupSetting = 2:
  90. cla
  91. 'Without thinking, you instantly apply a moderate amount of makeup to your face.'
  92. minut += 5
  93. makupskl_exp += rand(1,3)
  94. kosmetica -= 2
  95. pcs_makeup = 3
  96. '<<$makeupNatural>>'
  97. act 'View results':gt 'mirror', 'start'
  98. elseif makeupSetting = 3:
  99. cla
  100. 'Without thinking, you instantly apply a heavy amount of makeup to your face.'
  101. minut += 10
  102. makupskl_exp += rand(1,3)
  103. kosmetica -= 3
  104. vidageday -= 1
  105. pcs_makeup = 4
  106. '<<$makeupHeavy>>'
  107. act 'View results':gt 'mirror', 'start'
  108. else
  109. if kosmetica > 0:
  110. act 'Light make-up':
  111. cla
  112. minut += 3
  113. makupskl_exp += rand(1,3)
  114. kosmetica -= 1
  115. pcs_makeup = 2
  116. '<<$makeupLight>>'
  117. act 'View results':gt 'mirror', 'start'
  118. end
  119. end
  120. if kosmetica > 1:
  121. act 'Natural makeup':
  122. cla
  123. minut += 5
  124. makupskl_exp += rand(1,3)
  125. kosmetica -= 2
  126. pcs_makeup = 3
  127. '<<$makeupNatural>>'
  128. act 'View results':gt 'mirror', 'start'
  129. end
  130. end
  131. if kosmetica > 2:
  132. act 'Heavy makeup':
  133. cla
  134. minut += 10
  135. makupskl_exp += rand(1,3)
  136. kosmetica -= 3
  137. vidageday -= 1
  138. pcs_makeup = 4
  139. '<<$makeupHeavy>>'
  140. act 'View results':gt 'mirror', 'start'
  141. end
  142. end
  143. act 'No makeup':
  144. cla
  145. minut += 2
  146. 'After looking in the mirror, you decide that you look fine and don''t need to put on any makeup, especially since you''ll likely be washing it off in a few hours.'
  147. act 'View results':gt 'mirror', 'start'
  148. end
  149. end
  150. end
  151. elseif kosmetica < makeupSetting:
  152. 'You don''t have enough makeup to apply your chosen option.'
  153. end
  154. if AutoLipBalm = 1: gs 'mirror','applyLipbalm'
  155. if lipbalm > 0 and pcs_lipbalm <= 0:
  156. act 'Apply lip balm':
  157. cla
  158. gs 'mirror','applyLipbalm'
  159. act 'View results':gt 'mirror', 'start'
  160. end
  161. end
  162. if falselashesplain > 0 and pcs_lashes < 3 and lashextensionstyle <= 0:
  163. act 'Apply false lashes':
  164. cla
  165. gs 'mirror','applyLashesplain'
  166. act 'View results':gt 'mirror', 'start'
  167. end
  168. end
  169. if falselashesmink > 0 and pcs_lashes < 4 and lashextensionstyle <= 0:
  170. act 'Apply mink lashes':
  171. cla
  172. gs 'mirror','applyLashesmink'
  173. act 'View results':gt 'mirror', 'start'
  174. end
  175. end
  176. if (pcs_makeup <= 1 and kosmetica > 0) or (lipbalm > 0 and pcs_lipbalm <= 0 and pcs_hairbsh = 0):
  177. act 'Do the works': gt 'mirror', 'works'
  178. end
  179. !!New makeup setting
  180. !!This imforms the person what makeup they have pre selected
  181. !! 0 - none, 1 - light, 2 - moderate, 3 - heavy
  182. 'Select level for auto make-up: <a href="exec:makeupSetting = 0 & gt ''mirror'', ''start''">none</a>, <a href="exec:makeupSetting = 1 & gt ''mirror'', ''start''">light</a>, <a href="exec:makeupSetting = 2 & gt ''mirror'', ''start''">vibrant</a>, <a href="exec:makeupSetting = 3 & gt ''mirror'', ''start''">thick</a>.'
  183. if makeupSetting = 0:
  184. 'Currently you have no make-up set.'
  185. elseif makeupSetting = 1:
  186. 'Currently the level you have set is for light make-up.'
  187. elseif makeupSetting = 2:
  188. 'Currently the level you have set is for vibrant make-up.'
  189. elseif makeupSetting = 3:
  190. 'Currently the level you have set is for thick make-up.'
  191. end
  192. gs 'stat'
  193. act 'Move away from the mirror':gt 'mirror','fin'
  194. end &! --- start ---
  195. if $ARGS[0] = 'steam':
  196. '<center><img <<$set_imgh>> src="images/shared/home/bathroom/mirror1.jpg"></center>'
  197. '<center>Mirror heavily misted. It must wipe or leave to cool.</center>'
  198. gs 'stat'
  199. act 'Wipe the mirror':
  200. *clr & cla
  201. minut+=1
  202. mirror_steam = 100
  203. gs 'stat'
  204. '<center><img <<$set_imgh>> src="images/shared/home/bathroom/mirror2.jpg"></center>'
  205. '<center>You wiped the mirror with a towel.</center>'
  206. act 'Look in the mirror':gt 'mirror','start'
  207. end
  208. act '<b>Move away from the mirror</b>':gt 'mirror','fin'
  209. end &! --- steam ----
  210. if $ARGS[0] = 'brush':
  211. minut += 3
  212. pcs_hairbsh = 1
  213. 'You brush your hair.'
  214. wait 500
  215. gt 'mirror', 'start'
  216. end &! --- brush ----
  217. if $ARGS[0] = 'works':
  218. cla
  219. if kosmetica <= 0:
  220. 'You don''t have any makeup.'
  221. elseif pcs_makeup = 1 and kosmetica >= makeupSetting:
  222. *clr
  223. '<center><img <<$set_imgh>> src="images/pc/mop.jpg"></center>'
  224. *nl
  225. 'You consider for a moment which look you want to go for.'
  226. *nl
  227. if makeupSetting = 1:
  228. 'Without thinking, you instantly apply a sutle amount of makeup to your face.'
  229. minut += 3
  230. makupskl_exp += rand(1,3)
  231. kosmetica -= 1
  232. pcs_makeup = 2
  233. '<<$makeupLight>>'
  234. elseif makeupSetting = 2:
  235. 'Without thinking, you instantly apply a moderate amount of makeup to your face.'
  236. minut += 5
  237. makupskl_exp += rand(1,3)
  238. kosmetica -= 2
  239. pcs_makeup = 3
  240. '<<$makeupNatural>>'
  241. elseif makeupSetting = 3:
  242. 'Without thinking, you instantly apply a heavy amount of makeup to your face.'
  243. minut += 10
  244. makupskl_exp += rand(1,3)
  245. kosmetica -= 3
  246. vidageday -= 1
  247. pcs_makeup = 4
  248. '<<$makeupHeavy>>'
  249. end
  250. elseif kosmetica < makeupSetting:
  251. 'You don''t have enough makeup to apply your chosen option.'
  252. end
  253. if pcs_hairbsh = 0:
  254. minut += 3
  255. pcs_hairbsh = 1
  256. 'You brush your hair.'
  257. end
  258. gs 'mirror','applyLipbalm'
  259. if falselashesmink >= 1 and pcs_lashes < 4 and lashextensionstyle <= 0:gs 'mirror','applyLashesmink'
  260. if falselashesplain >= 1 and pcs_lashes < 3 and lashextensionstyle <= 0:gs 'mirror','applyLashesplain'
  261. act 'View results':gt 'mirror', 'start'
  262. end &! --- works ----
  263. if $ARGS[0] = 'applyLipbalm':
  264. if lipbalm > 0 and pcs_lipbalm <= 0:
  265. minut += 10
  266. lipbalm -= 1
  267. lipkoef += rand(0, 1)
  268. if lipkoef > 50:
  269. lipkoef = 0
  270. pcs_lip += 1
  271. end
  272. pcs_lipbalm += 8
  273. 'You apply some moisturizing balm on your lips.'
  274. end
  275. end &! --- applyLipbalm ---
  276. if $ARGS[0] = 'applyLashesmink':
  277. if falselashesmink > 0 and pcs_lashes < 4:
  278. minut += 15
  279. falselashesmink -= 1
  280. if false_lashes >= 1 and pcs_lashes = 3:'You remove your old, plain lashes first.'
  281. false_lashes = 1
  282. pcs_lashes = 4
  283. 'You spend a good bit of time affixing your lavish, mink lash strips.'
  284. end
  285. end &! --- applyLashesmink ---
  286. if $ARGS[0] = 'applyLashesplain':
  287. if falselashesplain > 0 and pcs_lashes < 3:
  288. minut += 15
  289. falselashesplain -= 1
  290. false_lashes = 1
  291. pcs_lashes = 3
  292. 'You spend a fair bit of time carefully trimming and affixing your flirtatious false lashes.'
  293. end
  294. end &! --- applyLashesplain ---
  295. if $ARGS[0] = 'fin':
  296. killvar '$makeupLight'
  297. killvar '$makeupNatural'
  298. killvar '$makeupHeavy'
  299. gt $locM, $metkaM
  300. end &! --- fin ----
  301. --- mirror ---------------------------------