1
0

portmirror 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. # portmirror
  2. if $ARGS[0] = 'start':
  3. cls
  4. gs 'stat'
  5. *pl '<center><img src="<<FUNC(''$face_image'')>>"></center>'
  6. *nl
  7. 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.'
  8. 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.'
  9. *pl '<<$hair>>'
  10. *pl '<<$pcs_makeup>>. <<$lip>>'
  11. *pl '<<$skin>>'
  12. *pl '<<$pcs_apprnc>>'
  13. if curly > 0 and defcurly = 0: '<br>Your curly hair will last for another <<curly>> days.'
  14. if straight > 0 and defcurly = 1: '<br>Your straightened hair will last for another <<straight>> days.'
  15. if hbraids > 0: '<br>Your braided hair will last for another <<hbraids>> days.'
  16. if pcs_haircol ! nathcol:
  17. if dyefade > 0 and dyefade < 7: '<br>Your hair dye is beginning to fade and your roots are showing.'
  18. if dyefade = 0: '<br>Your hair dye has faded and looks terrible.'
  19. end
  20. $makeUpString = '<br>'
  21. if kosmetica > 0: $makeUpString += 'Cosmetics: <<kosmetica>>'
  22. if kosmetica = 0: $makeUpString += 'You have no makeup'
  23. if lipbalm > 0: $makeUpString += ' | Lip Balm: <<lipbalm>>'
  24. if lipbalm = 0: $makeUpString += ' | You have no lip balm left'
  25. *pl $makeUpString
  26. *nl
  27. $makeupLight = 'You subtly apply some neutral tones, with a light application of makeup to bring out your natural beauty.'
  28. $makeupNatural = 'You apply some mildly vibrant tones and colors of makeup to cover your minor imperfections and enhance your best features.'
  29. $makeupHeavy = 'You apply some deeper, richer shades of makeup, thick enough to cover most imperfections, while drawing attention to your eyes and lips.'
  30. $brushHair = 'You brush your hair.'
  31. $applyLipbalm = 'You apply some moisturizing balm on your lips.'
  32. ! WD: Cheat Unused ~ 'AutoHapri'
  33. if pcs_hairbsh = 0 and AutoHapri = 1:
  34. minut += 3
  35. pcs_hairbsh = 1
  36. *pl $brushHair
  37. end
  38. !! WD: Cheat Unused ~ 'AutoMakeup'
  39. if pcs_makeup = 1 and kosmetica > 0 and AutoMakeup = 1:
  40. pcs_makeup = AutoMakeupType
  41. makupskl_exp += rand(1,3)
  42. if kosmetica < 3 and pcs_makeup = 4:pcs_makeup = 3
  43. if kosmetica < 2 and pcs_makeup = 3:pcs_makeup = 2
  44. if kosmetica < 1 and pcs_makeup ! 1:
  45. pcs_makeup = 1
  46. 'You have no make-up left.'
  47. else
  48. if pcs_makeup = 2:
  49. *pl $makeupLight
  50. minut -= 3
  51. kosmetica -= 1
  52. end
  53. if pcs_makeup = 3:
  54. *pl $makeupNatural
  55. minut -= 5
  56. kosmetica -= 2
  57. end
  58. if pcs_makeup = 4:
  59. *pl $makeupHeavy
  60. minut -= 10
  61. vidageday -= 1
  62. kosmetica -= 3
  63. end
  64. end
  65. end
  66. ! WD: Cheat Unused ~ 'AutoLipBalm'
  67. if lipbalm > 0 and pcs_lipbalm <= 0 and AutoLipBalm = 1:
  68. minut -= 10
  69. lipbalm -= 1
  70. lipkoef += rand(0, 1)
  71. if lipkoef > 50:
  72. lipkoef = 0
  73. pcs_lip += 1
  74. end
  75. pcs_lipbalm += 8
  76. *pl $applyLipbalm
  77. end
  78. if pcs_hairbsh = 0:
  79. act 'Brush your hair': gt 'portmirror', 'brush'
  80. end
  81. !! Added the makeup setting.
  82. if pcs_makeup = 1 and kosmetica > 0:
  83. act 'Apply makeup':
  84. cla
  85. *clr
  86. '<center><img src="images/pc/mop.jpg"></center>'
  87. *nl
  88. *pl 'You consider for a moment which look you want to go for.'
  89. *nl
  90. if makeupSetting = 1:
  91. cla
  92. 'Without thinking, you instantly apply a sutle amount of makeup to your face.'
  93. minut += 3
  94. makupskl_exp += rand(1,3)
  95. kosmetica -= 1
  96. pcs_makeup = 2
  97. *pl $makeupLight
  98. act 'View results':gt 'portmirror', 'start'
  99. elseif makeupSetting = 2:
  100. cla
  101. 'Without thinking, you instantly apply a moderate amount of makeup to your face.'
  102. minut += 5
  103. makupskl_exp += rand(1,3)
  104. kosmetica -= 2
  105. pcs_makeup = 3
  106. *pl $makeupNatural
  107. act 'View results':gt 'portmirror', 'start'
  108. elseif makeupSetting = 3:
  109. cla
  110. 'Without thinking, you instantly apply a heavy amount of makeup to your face.'
  111. minut += 10
  112. makupskl_exp += rand(1,3)
  113. kosmetica -= 3
  114. vidageday -= 1
  115. pcs_makeup = 4
  116. *pl $makeupHeavy
  117. act 'View results':gt 'portmirror', 'start'
  118. else
  119. act 'Light make-up':
  120. cla
  121. minut += 3
  122. makupskl_exp += rand(1,3)
  123. kosmetica -= 1
  124. pcs_makeup = 2
  125. *pl $makeupLight
  126. act 'View results':gt 'portmirror', 'start'
  127. end
  128. if kosmetica >= 2:
  129. act 'Natural makeup':
  130. cla
  131. minut += 5
  132. makupskl_exp += rand(1,3)
  133. kosmetica -= 2
  134. pcs_makeup = 3
  135. *pl $makeupNatural
  136. act 'View results':gt 'portmirror', 'start'
  137. end
  138. end
  139. if kosmetica >= 3:
  140. act 'Heavy makeup':
  141. cla
  142. minut += 10
  143. makupskl_exp += rand(1,3)
  144. kosmetica -= 3
  145. vidageday -= 1
  146. pcs_makeup = 4
  147. *pl $makeupHeavy
  148. act 'View results':gt 'portmirror', 'start'
  149. end
  150. end
  151. if kosetica > 0:
  152. act 'No makeup':
  153. cla
  154. minut += 2
  155. '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.'
  156. act 'View results':gt 'portmirror', 'start'
  157. end
  158. end
  159. end
  160. end
  161. end
  162. if lipbalm > 0 and pcs_lipbalm <= 0:
  163. act 'Apply lip balm':
  164. cla
  165. minut += 10
  166. lipbalm -= 1
  167. lipkoef += rand(0, 1)
  168. if lipkoef > 50:
  169. lipkoef = 0
  170. pcs_lip += 1
  171. end
  172. pcs_lipbalm += 8
  173. *pl $applyLipbalm
  174. act 'View results':gt 'portmirror', 'start'
  175. end
  176. end
  177. if pcs_hairbsh = 0 or (pcs_makeup = 1 and kosmetica > 0) or (lipbalm > 0 and pcs_lipbalm <= 0):
  178. act 'Do the works': gt 'portmirror', 'works'
  179. end
  180. !!New makeup setting
  181. !!This imforms the person what makeup they have pre selected
  182. !! 0 - none, 1 - light, 2 - moderate, 3 - heavy
  183. 'Select level for auto make-up: <a href="exec:makeupSetting = 0 & gt ''portmirror'', ''start''">none</a>, <a href="exec:makeupSetting = 1 & gt ''portmirror'', ''start''">light</a>, <a href="exec:makeupSetting = 2 & gt ''portmirror'', ''start''">vibrant</a>, <a href="exec:makeupSetting = 3 & gt ''portmirror'', ''start''">thick</a>.'
  184. if makeupSetting = 0:
  185. 'Currently you have no make-up set.'
  186. elseif makeupSetting = 1:
  187. 'Currently the level you have set is for light make-up.'
  188. elseif makeupSetting = 2:
  189. 'Currently the level you have set is for vibrant make-up.'
  190. elseif makeupSetting = 3:
  191. 'Currently the level you have set is for thick make-up.'
  192. end
  193. act 'Move away from the mirror':gt '<<$gt1>>', '<<$gt2>>'
  194. end
  195. if $ARGS[0] = 'brush':
  196. cla
  197. minut += 3
  198. pcs_hairbsh = 1
  199. *pl $brushHair
  200. act 'View results':gt 'portmirror', 'start'
  201. end
  202. if $ARGS[0] = 'works':
  203. cla
  204. if pcs_makeup = 1 and kosmetica > 0:
  205. *clr
  206. '<center><img src="images/pc/mop.jpg"></center>'
  207. *nl
  208. *pl 'You consider for a moment which look you want to go for.'
  209. *nl
  210. if makeupSetting = 1:
  211. 'Without thinking, you instantly apply a sutle amount of makeup to your face.'
  212. minut += 3
  213. makupskl_exp += rand(1,3)
  214. kosmetica -= 1
  215. pcs_makeup = 2
  216. *pl $makeupLight
  217. elseif makeupSetting = 2:
  218. 'Without thinking, you instantly apply a moderate amount of makeup to your face.'
  219. minut += 5
  220. makupskl_exp += rand(1,3)
  221. kosmetica -= 2
  222. pcs_makeup = 3
  223. *pl $makeupNatural
  224. elseif makeupSetting = 3:
  225. 'Without thinking, you instantly apply a heavy amount of makeup to your face.'
  226. minut += 10
  227. makupskl_exp += rand(1,3)
  228. kosmetica -= 3
  229. vidageday -= 1
  230. pcs_makeup = 4
  231. *pl $makeupHeavy
  232. else
  233. act 'Light make-up':
  234. cla
  235. minut += 3
  236. makupskl_exp += rand(1,3)
  237. kosmetica -= 1
  238. pcs_makeup = 2
  239. *pl $makeupLight
  240. act 'View results':gt 'portmirror', 'start'
  241. end
  242. if kosmetica >= 2:
  243. act 'Natural makeup':
  244. cla
  245. minut += 5
  246. makupskl_exp += rand(1,3)
  247. kosmetica -= 2
  248. pcs_makeup = 3
  249. *pl $makeupNatural
  250. act 'View results':gt 'portmirror', 'start'
  251. end
  252. end
  253. if kosmetica >= 3:
  254. act 'Heavy makeup':
  255. cla
  256. minut += 10
  257. makupskl_exp += rand(1,3)
  258. kosmetica -= 3
  259. vidageday -= 1
  260. pcs_makeup = 4
  261. *pl $makeupHeavy
  262. act 'View results':gt 'portmirror', 'start'
  263. end
  264. end
  265. end
  266. end
  267. if pcs_hairbsh = 0:
  268. minut += 3
  269. pcs_hairbsh = 1
  270. *pl $brushHair
  271. end
  272. if lipbalm > 0 and pcs_lipbalm <= 0:
  273. minut += 10
  274. lipbalm -= 1
  275. lipkoef += rand(0, 1)
  276. if lipkoef > 50:
  277. lipkoef = 0
  278. lip += 1
  279. end
  280. pcs_lipbalm += 8
  281. *pl $applyLipbalm
  282. end
  283. act 'View results':gt 'portmirror', 'start'
  284. end
  285. --- portmirror ---------------------------------