mirror 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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>>. <<$lip>>'
  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 Balm: <<lipbalm>>' else *pl ' | You have no lip balm left'
  31. *nl
  32. $makeupLight = 'You subtly apply some neutral tones, with a light application of makeup to bring out your natural beauty.'
  33. $makeupNatural = 'You apply some mildly vibrant tones and colors of makeup to cover your minor imperfections and enhance your best features.'
  34. $makeupHeavy = 'You apply some deeper, richer shades of makeup, thick enough to cover most imperfections, while drawing attention to your eyes and lips.'
  35. ! WD: Cheat Unused ~ 'AutoHapri'
  36. if pcs_hairbsh = 0 and AutoHapri = 1:
  37. minut += 3
  38. pcs_hairbsh = 1
  39. 'You brush your hair.'
  40. end
  41. !! WD: Cheat Unused ~ 'AutoMakeup'
  42. if pcs_makeup = 1 and kosmetica > 0 and AutoMakeup = 1:
  43. pcs_makeup = AutoMakeupType
  44. makupskl_exp += rand(1,3)
  45. if kosmetica < 3 and pcs_makeup = 4:pcs_makeup = 3
  46. if kosmetica < 2 and pcs_makeup = 3:pcs_makeup = 2
  47. if kosmetica < 1 and pcs_makeup ! 1:
  48. pcs_makeup = 1
  49. 'You have no make-up left.'
  50. else
  51. if pcs_makeup = 2:
  52. *pl $makeupLight
  53. minut -= 3
  54. kosmetica -= 1
  55. end
  56. if pcs_makeup = 3:
  57. *pl $makeupNatural
  58. minut -= 5
  59. kosmetica -= 2
  60. end
  61. if pcs_makeup = 4:
  62. *pl $makeupHeavy
  63. minut -= 10
  64. vidageday -= 1
  65. kosmetica -= 3
  66. end
  67. end
  68. end
  69. ! WD: Cheat Unused ~ 'AutoLipBalm'
  70. !! Added the makeup setting.
  71. if pcs_makeup = 1 and kosmetica >= makeupSetting:
  72. act 'Apply makeup':
  73. *clr & cla
  74. '<center><img <<$set_imgh>> src="images/pc/mop.jpg"></center>'
  75. *nl
  76. 'You consider for a moment which look you want to go for.'
  77. *nl
  78. if makeupSetting = 1:
  79. cla
  80. 'Without thinking, you instantly apply a sutle amount of makeup to your face.'
  81. minut += 3
  82. makupskl_exp += rand(1,3)
  83. kosmetica -= 1
  84. pcs_makeup = 2
  85. '<<$makeupLight>>'
  86. act 'View results':gt 'mirror', 'start'
  87. elseif makeupSetting = 2:
  88. cla
  89. 'Without thinking, you instantly apply a moderate amount of makeup to your face.'
  90. minut += 5
  91. makupskl_exp += rand(1,3)
  92. kosmetica -= 2
  93. pcs_makeup = 3
  94. '<<$makeupNatural>>'
  95. act 'View results':gt 'mirror', 'start'
  96. elseif makeupSetting = 3:
  97. cla
  98. 'Without thinking, you instantly apply a heavy amount of makeup to your face.'
  99. minut += 10
  100. makupskl_exp += rand(1,3)
  101. kosmetica -= 3
  102. vidageday -= 1
  103. pcs_makeup = 4
  104. '<<$makeupHeavy>>'
  105. act 'View results':gt 'mirror', 'start'
  106. else
  107. if kosmetica > 0:
  108. act 'Light make-up':
  109. cla
  110. minut += 3
  111. makupskl_exp += rand(1,3)
  112. kosmetica -= 1
  113. pcs_makeup = 2
  114. '<<$makeupLight>>'
  115. act 'View results':gt 'mirror', 'start'
  116. end
  117. end
  118. if kosmetica > 1:
  119. act 'Natural makeup':
  120. cla
  121. minut += 5
  122. makupskl_exp += rand(1,3)
  123. kosmetica -= 2
  124. pcs_makeup = 3
  125. '<<$makeupNatural>>'
  126. act 'View results':gt 'mirror', 'start'
  127. end
  128. end
  129. if kosmetica > 2:
  130. act 'Heavy makeup':
  131. cla
  132. minut += 10
  133. makupskl_exp += rand(1,3)
  134. kosmetica -= 3
  135. vidageday -= 1
  136. pcs_makeup = 4
  137. '<<$makeupHeavy>>'
  138. act 'View results':gt 'mirror', 'start'
  139. end
  140. end
  141. act 'No makeup':
  142. cla
  143. minut += 2
  144. '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.'
  145. act 'View results':gt 'mirror', 'start'
  146. end
  147. end
  148. end
  149. elseif kosmetica < makeupSetting:
  150. 'You don''t have enough makeup to apply your chosen option.'
  151. end
  152. if AutoLipBalm = 1: gs 'mirror','applyLipbalm'
  153. if lipbalm > 0 and pcs_lipbalm <= 0:
  154. act 'Apply lip balm':
  155. cla
  156. gs 'mirror','applyLipbalm'
  157. act 'View results':gt 'mirror', 'start'
  158. end
  159. end
  160. if (pcs_makeup <= 1 and kosmetica > 0) or (lipbalm > 0 and pcs_lipbalm <= 0 and pcs_hairbsh = 0):
  161. act 'Do the works': gt 'mirror', 'works'
  162. end
  163. !!New makeup setting
  164. !!This imforms the person what makeup they have pre selected
  165. !! 0 - none, 1 - light, 2 - moderate, 3 - heavy
  166. '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>.'
  167. if makeupSetting = 0:
  168. 'Currently you have no make-up set.'
  169. elseif makeupSetting = 1:
  170. 'Currently the level you have set is for light make-up.'
  171. elseif makeupSetting = 2:
  172. 'Currently the level you have set is for vibrant make-up.'
  173. elseif makeupSetting = 3:
  174. 'Currently the level you have set is for thick make-up.'
  175. end
  176. gs 'stat'
  177. act 'Move away from the mirror':gt 'mirror','fin'
  178. end --- start ---
  179. if $ARGS[0] = 'steam':
  180. '<center><img <<$set_imgh>> src="images/shared/home/bathroom/mirror1.jpg"></center>'
  181. '<center>Mirror heavily misted. It must wipe or leave to cool.</center>'
  182. gs 'stat'
  183. act 'Wipe the mirror':
  184. *clr & cla
  185. minut+=1
  186. mirror_steam = 100
  187. gs 'stat'
  188. '<center><img <<$set_imgh>> src="images/shared/home/bathroom/mirror2.jpg"></center>'
  189. '<center>You wiped the mirror with a towel.</center>'
  190. act 'Look in the mirror':gt 'mirror','start'
  191. end
  192. act '<b>Move away from the mirror</b>':gt 'mirror','fin'
  193. end &! --- steam ----
  194. if $ARGS[0] = 'brush':
  195. minut += 3
  196. pcs_hairbsh = 1
  197. 'You brush your hair.'
  198. wait 500
  199. gt 'mirror', 'start'
  200. end &! --- brush ----
  201. if $ARGS[0] = 'works':
  202. cla
  203. if kosmetica <= 0:
  204. 'You don''t have any makeup.'
  205. elseif pcs_makeup = 1 and kosmetica >= makeupSetting:
  206. *clr
  207. '<center><img <<$set_imgh>> src="images/pc/mop.jpg"></center>'
  208. *nl
  209. 'You consider for a moment which look you want to go for.'
  210. *nl
  211. if makeupSetting = 1:
  212. 'Without thinking, you instantly apply a sutle amount of makeup to your face.'
  213. minut += 3
  214. makupskl_exp += rand(1,3)
  215. kosmetica -= 1
  216. pcs_makeup = 2
  217. '<<$makeupLight>>'
  218. elseif makeupSetting = 2:
  219. 'Without thinking, you instantly apply a moderate amount of makeup to your face.'
  220. minut += 5
  221. makupskl_exp += rand(1,3)
  222. kosmetica -= 2
  223. pcs_makeup = 3
  224. '<<$makeupNatural>>'
  225. elseif makeupSetting = 3:
  226. 'Without thinking, you instantly apply a heavy amount of makeup to your face.'
  227. minut += 10
  228. makupskl_exp += rand(1,3)
  229. kosmetica -= 3
  230. vidageday -= 1
  231. pcs_makeup = 4
  232. '<<$makeupHeavy>>'
  233. end
  234. elseif kosmetica < makeupSetting:
  235. 'You don''t have enough makeup to apply your chosen option.'
  236. end
  237. if pcs_hairbsh = 0:
  238. minut += 3
  239. pcs_hairbsh = 1
  240. 'You brush your hair.'
  241. end
  242. gs 'mirror','applyLipbalm'
  243. act 'View results':gt 'mirror', 'start'
  244. end &! --- works ----
  245. if $ARGS[0] = 'applyLipbalm':
  246. if lipbalm > 0 and pcs_lipbalm <= 0:
  247. minut += 10
  248. lipbalm -= 1
  249. lipkoef += rand(0, 1)
  250. if lipkoef > 50:
  251. lipkoef = 0
  252. pcs_lip += 1
  253. end
  254. pcs_lipbalm += 8
  255. 'You apply some moisturizing balm on your lips.'
  256. end
  257. end &! --- applyLipbalm ---
  258. if $ARGS[0] = 'fin':
  259. killvar '$makeupLight'
  260. killvar '$makeupNatural'
  261. killvar '$makeupHeavy'
  262. gt $locM, $metkaM
  263. end &! --- fin ----
  264. --- mirror ---------------------------------