begin 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. # begin
  2. if $ARGS[0] = 'start':
  3. gs 'din_pav'
  4. gs 'dinSex2'
  5. gs 'dina'
  6. gs 'din_van'
  7. gs 'din_bad'
  8. gs 'dinSex'
  9. gs 'dinBoroda'
  10. gs 'BanSexType'
  11. !{cycle start}
  12. '<center><b><font color="maroon">CHOOSE GAME START</font></b></center>'
  13. *nl
  14. '<b>Original Start:</b>'
  15. 'You are Michael Kuznetsov, a fairly average, 35 year old businessman whose life is about to be turned inside out. Features magic and an (incomplete) over-arching plot. Beware of unintelligible translations.'
  16. *nl
  17. '<b>Alternate Start:</b>'
  18. 'You are a 15 or 16 year old small-town girl with another year of school remaining. Name and starting stats are customizable, no magic and no major ''plot'' other than <i>life</i>. Not to say that your classmates and family don''t have their own stories, though!'
  19. *nl
  20. '<b>Cursed schoolgirl Start:</b>'
  21. 'You are a 15 or 16 year old small-town girl with another year of school remaining. Name and starting stats are customizable. Includes magic and the (incomplete) plot from original start, plus all the family and classmate events from the alternate start.'
  22. act '<center><b>Original start</b></center>':
  23. cla
  24. pc = 100
  25. VersionCheck = 5030
  26. act '<center>Show intro (recommended)</center>':
  27. gt 'altPRE', 'Original start'
  28. end
  29. act '<center>Skip intro (seen it before)</center>':
  30. gt 'altPRE', 'Original start, Skip intro'
  31. end
  32. end
  33. act '<center><b>Alternate Start</b></center>':
  34. cla
  35. pc = 0
  36. VersionCheck = 5030
  37. MagikDostup = 1
  38. gt 'alterStart'
  39. end
  40. act '<center><b>Cursed Schoolgirl Start</b></center>':
  41. cla
  42. pc = 0
  43. VersionCheck = 5030
  44. altQS = 1
  45. gt 'alterStart'
  46. end
  47. end
  48. if $ARGS[0] = 'real_character':
  49. cls
  50. '<center><b><font color = maroon>CHARACTER SELECTION</font></b></center>'
  51. '<center><img src="images/pic/character_creation.jpeg"></center>'
  52. *nl
  53. 'This game offers you the ability to create your own character.'
  54. 'To do this, replace the image "<a href="exec:view''avatar.jpg''">avatar</a>" in the root folder of the game with a file of the same name and format JPEG (.jpg). That''s it!'
  55. 'Please note, this choice can only be changed in the cheat menu and in-game changes to hair color, length etc. will not affect the displayed image if you are using a custom one.'
  56. 'This function is made solely to simplify things for those that want to use a custom image without having to sort through hundreds of pictures.'
  57. 'Your selected image is your own personal choice, and is based on your personal preferences. By default, the game uses an avatar image from the site wikimedia.org.'
  58. *NL 'If you are playing with Quest player for Android, click '
  59. if Enable_Android = 1:
  60. *P '<a href="exec:Enable_Android = 0 & gt ''begin'',''real_character''">Here</a> (Current: <B>Yes</B>)'
  61. else
  62. *P '<a href="exec:Enable_Android = 1 & gt ''begin'',''real_character''">Here</a> (Current: <B>No</B>)'
  63. end
  64. act'<center><b>Start a standard character</b></center>':
  65. cls
  66. gt'begin', 'start'
  67. end
  68. act'<center><b>Use the avatar system</b></center>':
  69. cls
  70. player_avatar = 1
  71. glacol = 1
  72. glaraz = 2
  73. pcs_haircol = 1
  74. lip = 2
  75. gt'begin','description_real_character'
  76. end
  77. end
  78. if $ARGS[0] = 'description_real_character':
  79. gs 'begin', 'hair'
  80. gs 'begin', 'lip'
  81. gs 'begin', 'glaza'
  82. cls
  83. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  84. '<center><img src="images/pic/character_creation_pic1.jpg"></center>'
  85. *nl
  86. '<center>On this screen, you may adjust your character''s description to match your <a href="exec:view''avatar.jpg''">avatar</a>. Please note, at present, hair color and glasses choice may be overridden by the personality choice you make during the game intro.</center>'
  87. *nl
  88. '<center>Customize your:</center>'
  89. !'<center>Your name is <B><i><<$pcs_nickname>> <<$pcs_lastname>></B></i>. (You may change this during the intro, and also at the passport office in-game.)'
  90. '<center><a href="exec:gs ''begin'', ''birthday''">Birthday</a></center>'
  91. '<center><a href="exec:gs ''begin'', ''hair''">Hair</a></center>'
  92. '<center><a href="exec:gs ''begin'', ''lip''">Lips</a></center>'
  93. '<center><a href="exec:gs ''begin'', ''glaza''">Eyes</a></center>'
  94. if opPRE = 2:
  95. act'<center><b>Done</b></center>': gt 'alterStart', 'custom'
  96. else
  97. act'<center><b>Done</b></center>':gt'begin', 'start'
  98. end
  99. end
  100. if $ARGS[0] = 'hair':
  101. cls
  102. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  103. '<center><img src="images/pic/character_creation_pic1.jpg"></center>'
  104. *nl
  105. if pcs_haircol = 0 and curly <= 0:$hair = 'You have <a href="exec:curly = 1 & gs ''begin'', ''hair''">straight</a>, <a href="exec:gs ''begin'', ''pcs_haircol'' & gs ''begin'', ''hair''">black</a> hair.'& $hair2 = 'black hair' & $hair3 = 'black hair'
  106. if pcs_haircol = 1 and curly <= 0:$hair = 'You have <a href="exec:curly = 1 & gs ''begin'', ''hair''">straight</a>, <a href="exec:gs ''begin'', ''pcs_haircol'' & gs ''begin'', ''hair''">brown</a> hair.'& $hair2 = 'brown hair' & $hair3 = 'brown hair'
  107. if pcs_haircol = 2 and curly <= 0:$hair = 'You have <a href="exec:curly = 1 & gs ''begin'', ''hair''">straight</a>, <a href="exec:gs ''begin'', ''pcs_haircol'' & gs ''begin'', ''hair''">red</a> hair.'& $hair2 = 'Red hair' & $hair3 = 'red hair'
  108. if pcs_haircol = 3 and curly <= 0:$hair = 'You have <a href="exec:curly = 1 & gs ''begin'', ''hair''">straight</a>, <a href="exec:gs ''begin'', ''pcs_haircol'' & gs ''begin'', ''hair''">blonde</a> hair.'& $hair2 = 'blond hair' & $hair3 = 'blond hair'
  109. if pcs_haircol = 0 and curly > 0:$hair = 'You have <a href="exec:curly = 0 & gs ''begin'', ''hair''">curly</a>, <a href="exec:gs ''begin'', ''pcs_haircol'' & gs ''begin'', ''hair''">black</a> hair.'& $hair2 = 'curls' & $hair3 = 'black curls'
  110. if pcs_haircol = 1 and curly > 0:$hair = 'You have <a href="exec:curly = 0 & gs ''begin'', ''hair''">curly</a>, <a href="exec:gs ''begin'', ''pcs_haircol'' & gs ''begin'', ''hair''">brown</a> hair.'& $hair2 = 'curls' & $hair3 = 'blond curls'
  111. if pcs_haircol = 2 and curly > 0:$hair = 'You have <a href="exec:curly = 0 & gs ''begin'', ''hair''">curly</a>, <a href="exec:gs ''begin'', ''pcs_haircol'' & gs ''begin'', ''hair''">red</a> hair.'& $hair2 = 'curls' & $hair3 = 'red hair'
  112. if pcs_haircol = 3 and curly > 0:$hair = 'You have <a href="exec:curly = 0 & gs ''begin'', ''hair''">curly</a>, <a href="exec:gs ''begin'', ''pcs_haircol'' & gs ''begin'', ''hair''">blonde</a> hair.' &$hair2 = 'curls' & $hair3 = 'blond curls'
  113. '<center>Adjust your hair to match your <a href="exec:view''avatar.jpg''">avatar</a>. Please note that, at present, hair choices are overridden by your starting personality choice (e.g. volleyball players will always have straight blond hair).</center>'
  114. *nl
  115. if avatar_hair = 1:
  116. '<center>Please note that this choice is given only once and you will not be able to change it without starting a new game!</center>'
  117. '<center>You have <i><<$av_hair>>.</i> <a href="exec:avatar_hair = 0 & gs ''begin'', ''hair''">Revert to default</a>.</center>'
  118. else
  119. '<center><i><<$hair>></i> You may also <a href="exec:gs ''begin'', ''hair_input'' & gs ''begin'', ''hair''">manually enter a description</a></center>.'
  120. end
  121. act'<center><b>Done</b></center>':gt'begin','description_real_character'
  122. end
  123. if $ARGS[0] = 'pcs_haircol':
  124. pcs_haircol += 1
  125. if pcs_haircol > 3: pcs_haircol = 0
  126. end
  127. if $ARGS[0] = 'hair_input':
  128. avatar_hair = 1
  129. $av_hair = input("Enter a description of your hair:")
  130. end
  131. if $ARGS[0] = 'lip':
  132. cls
  133. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  134. '<center><img src="images/pic/character_creation_pic1.jpg"></center>'
  135. *nl
  136. if lip = 0:$lip = 'you have thin <<$lipbalmstat>> lips.' & $liptalk = 'thin lips' & $liptalk2 = 'thin lips' & $liptalk3 = 'thin lips'
  137. if lip = 1:$lip = 'You have normal <<$lipbalmstat>> lips.' & $liptalk = 'soft lips' & $liptalk2 = 'delicate lips' & $liptalk3 = 'tender lips'
  138. if lip = 2:$lip = 'You have plump <<$lipbalmstat>> lips.' & $liptalk = 'plump lips' & $liptalk2 = 'plump lips' & $liptalk3 = 'plump lips'
  139. if lip = 3:$lip = 'You have large, <<$lipbalmstat>> full lips.' & $liptalk = 'full lips' & $liptalk2 = 'plump lips' & $liptalk3 = 'full lips'
  140. if lip = 4:$lip = 'You have huge, thick <<$lipbalmstat>> lips.' & $liptalk = 'thick lips' & $liptalk2 = 'thick lips' & $liptalk3 = 'thick lips'
  141. '<center>Adjust the size of your lips to match your <a href="exec:view''avatar.jpg''">image</a>:</center>'
  142. *nl
  143. '<center><i><<$lip>></i></center>'
  144. *nl
  145. if lip < 4:'<center><a href="exec:lip += 1 & gs ''begin'', ''lip''">Bigger lips</a></center>'
  146. if lip > 0:'<center><a href="exec:lip -= 1 & gs ''begin'', ''lip''">Smaller lips</a></center>'
  147. act'<center><b>Done</b></center>':gt'begin','description_real_character'
  148. end
  149. if $ARGS[0] = 'glaza':
  150. cls
  151. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  152. if player_avatar = 1:
  153. '<center><img src="images/pic/character_creation_pic1.jpg"></center>'
  154. else
  155. '<center><img src="<<FUNC(''$face_image'')>>"></center>'
  156. end
  157. *nl
  158. if glacol = 0:$glacol = 'brown' & $glacol2 = 'brown'
  159. if glacol = 1:$glacol = 'gray' & $glacol2 = 'gray'
  160. if glacol = 2:$glacol = 'green' & $glacol2 = 'green'
  161. if glacol = 3:$glacol = 'blue' & $glacol2 = 'blue'
  162. if glass <= 0:$glass = '' & glassvnesh = 0
  163. if glass = 1:$glass = ' You wear glasses.' & glassvnesh = 10
  164. if glass = 2:$glass = ' You wear glasses.' & glassvnesh = 5
  165. if resnic > 2:resnic = 2
  166. if resnic = 0:$resnic = 'with short eyelashes'
  167. if resnic = 1:$resnic = 'normal eyelashes'
  168. if resnic = 2:$resnic = 'with long eyelashes'
  169. if glaraz > 3:glaraz = 3
  170. if glaraz = 0:$glaza = 'You have little <a href="exec:gs ''begin'', ''glacol'' & gs ''begin'', ''glaza''"><<$glacol>></a> eyes, <<$resnic>>.<<$glass>>' & $glaza2 = '<<$glacol>> eyes' & $glaza3 = '<<$glacol2>> eyes'
  171. if glaraz = 1:$glaza = 'You have expressive <a href="exec:gs ''begin'', ''glacol'' & gs ''begin'', ''glaza''"><<$glacol>></a> eyes, <<$resnic>>.<<$glass>>' & $glaza2 = 'expressive <<$glacol>> eyes' & $glaza3 = 'expressive <<$glacol2>> eyes'
  172. if glaraz = 2:$glaza = 'You have large <a href="exec:gs ''begin'', ''glacol'' & gs ''begin'', ''glaza''"><<$glacol>></a> eyes, <<$resnic>>.<<$glass>>' & $glaza2 = 'big <<$glacol>> eyes' & $glaza3 = 'high <<$glacol2>> eyes'
  173. if glaraz = 3:$glaza = 'You have huge <a href="exec:gs ''begin'', ''glacol'' & gs ''begin'', ''glaza''"><<$glacol>></a> eyes, <<$resnic>>.<<$glass>>' & $glaza2 = 'great <<$glacol>> eyes' & $glaza3 = 'great <<$glacol2>> eyes'
  174. '<center>Adjust your eyes and eyelashes to match your <a href="exec:view''avatar.jpg''">avatar</a>. Please note, glasses choice may be overridden by your starting personality choice (e.g. bookworms/nerds will always start with glasses).</center>'
  175. *nl
  176. '<center><i><<$glaza>></i></center>'
  177. *nl
  178. if resnic < 2:'<center><a href="exec:resnic += 1 & gs ''begin'', ''glaza''">Lengthen lashes</a></center>'
  179. if resnic > 0:'<center><a href="exec:resnic -= 1 & gs ''begin'', ''glaza''">Shorten lashes</a></center>'
  180. if glaraz < 3:'<center><a href="exec:glaraz += 1 & gs ''begin'', ''glaza''">Larger eyes</a></center>'
  181. if glaraz > 0:'<center><a href="exec:glaraz -= 1 & gs ''begin'', ''glaza''">Smaller eyes</a></center>'
  182. if glass = 0 and glass < 2:'<center><a href="exec:glass = 2 & gs ''begin'', ''glaza''">Wear glasses</a></center>'
  183. if glass > 0 and glass <= 2:'<center><a href="exec:glass = 0 & gs ''begin'', ''glaza''">Remove glasses</a></center>'
  184. if player_avatar = 1:
  185. act'<center><b>Done</b></center>':gt'begin','description_real_character'
  186. else
  187. act'<center><b>Done</b></center>':gt 'alterStart', 'custom'
  188. end
  189. end
  190. if $ARGS[0] = 'glacol':
  191. glacol += 1
  192. if glacol > 3: glacol = 0
  193. end
  194. if $ARGS[0] = 'birthday':
  195. cls
  196. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  197. if player_avatar = 1:
  198. '<center><img src="images/pic/character_creation_pic1.jpg"></center>'
  199. else
  200. '<center><img src="<<FUNC(''$face_image'')>>"></center>'
  201. end
  202. '<center>Choose your date of birth:</center>'
  203. *nl
  204. if birthyear = 0: birthyear = 2000 and pcs_dob = birthyear * 10000
  205. if birthmonth = 2:
  206. if ((birthyear mod 4 = 0) and (birthyear mod 100 ! 0)) or (birthyear mod 400 = 0):
  207. monthdays = 29
  208. else
  209. monthdays = 28
  210. end
  211. elseif birthmonth = 4 or birthmonth = 6 or birthmonth = 9 or birthmonth = 11:
  212. monthdays = 30
  213. else
  214. monthdays = 31
  215. end
  216. if birthmonth > 12: birthmonth = 12
  217. if birthmonth < 1: birthmonth = 1
  218. if birthday < 1: birthday = 1
  219. if birthday > monthdays: birthday = monthdays
  220. if birthday < 10 and birthmonth < 10:
  221. '<center>Your birthday: <B>0<<birthmonth>>/0<<birthday>></B> (MM/DD)</center>'
  222. elseif birthday < 10 and birthmonth >= 10:
  223. '<center>Your birthday: <B><<birthmonth>>/0<<birthday>></B> (MM/DD)</center>'
  224. elseif birthday >= 10 and birthmonth < 10:
  225. '<center>Your birthday: <B>0<<birthmonth>>/<<birthday>></B> (MM/DD)</center>'
  226. elseif birthday >= 10 and birthmonth >= 10:
  227. '<center>Your birthday: <B><<birthmonth>>/<<birthday>></B> (MM/DD)</center>'
  228. end
  229. pcs_dob += birthmonth * 100 & pcs_dob += birthday
  230. *nl
  231. '<center><a href="exec:birthday += 5 & gs ''begin'', ''birthday''">+5 Days</a></center>'
  232. '<center><a href="exec:birthday += 1 & gs ''begin'', ''birthday''">+1 Day</a></center>'
  233. '<center><a href="exec:birthday -= 1 & gs ''begin'', ''birthday''">-1 Day</a></center>'
  234. '<center><a href="exec:birthday -= 5 & gs ''begin'', ''birthday''">-5 Days</a></center>'
  235. '<center><a href="exec:birthmonth = 1 & gs ''begin'', ''birthday''">January</a></center>'
  236. '<center><a href="exec:birthmonth = 2 & gs ''begin'', ''birthday''">February</a></center>'
  237. '<center><a href="exec:birthmonth = 3 & gs ''begin'', ''birthday''">March</a></center>'
  238. '<center><a href="exec:birthmonth = 4 & gs ''begin'', ''birthday''">April</a></center>'
  239. '<center><a href="exec:birthmonth = 5 & gs ''begin'', ''birthday''">May</a></center>'
  240. '<center><a href="exec:birthmonth = 6 & gs ''begin'', ''birthday''">June</a></center>'
  241. '<center><a href="exec:birthmonth = 7 & gs ''begin'', ''birthday''">July</a></center>'
  242. '<center><a href="exec:birthmonth = 8 & gs ''begin'', ''birthday''">August</a></center>'
  243. '<center><a href="exec:birthmonth = 9 & gs ''begin'', ''birthday''">September</a></center>'
  244. '<center><a href="exec:birthmonth = 10 & gs ''begin'', ''birthday''">October</a></center>'
  245. '<center><a href="exec:birthmonth = 11 & gs ''begin'', ''birthday''">November</a></center>'
  246. '<center><a href="exec:birthmonth = 12 & gs ''begin'', ''birthday''">December</a></center>'
  247. if player_avatar = 1:
  248. act'<center><b>Done</b></center>':gt'begin','description_real_character'
  249. else
  250. act'<center><b>Done</b></center>':gt 'alterStart', 'custom'
  251. end
  252. end
  253. --- begin ---------------------------------