begin 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. # begin
  2. gs 'din_pav'
  3. gs 'dinSex2'
  4. gs 'dina'
  5. gs 'din_van'
  6. gs 'din_bad'
  7. gs 'obj_din'
  8. gs 'BanSexType'
  9. !{cycle start}
  10. daylastperiod = daystart
  11. temprand = rand(0,3)
  12. if temprand = 0:
  13. cycle = 0
  14. mesec = rand(1,120)
  15. EggRH = 0
  16. FocH = 0
  17. unfertegg = 0
  18. ferteggage = 0
  19. Ovulate = 0
  20. LutH = 0
  21. daylastperiod -= (96-mesec)/24
  22. elseif temprand = 1:
  23. cycle = 1
  24. EggRH = rand(1,149)
  25. FocH = EggRH
  26. mesec = 0
  27. unfertegg = 0
  28. ferteggage = 0
  29. Ovulate = 0
  30. LutH = 0
  31. daylastperiod -= 4+(FocH/24)
  32. elseif temprand = 2:
  33. cycle = 2
  34. unfertegg = 1
  35. ferteggage = rand(0,44)
  36. Ovulate = (rand(24,44) - ferteggage)
  37. if Ovulate <= 0: Ovulate = 1
  38. mesec = 0
  39. EggRH = 0
  40. FocH = 0
  41. LutH = 0
  42. daylastperiod -= 10+(ferteggage/24)
  43. elseif temprand = 3:
  44. cycle = 3
  45. LutH = rand(0,300)
  46. ferteggage = 36 + LutH
  47. mesec = 0
  48. EggRH = 0
  49. FocH = 0
  50. unfertegg = 0
  51. Ovulate = 0
  52. daylastperiod -= 10+(ferteggage/24)
  53. end
  54. temp[1] = daystart-daylastperiod
  55. $cycreport_txt = 'It has been <<temp[1]>> days since you last had a period.'
  56. if menoage <= 0:
  57. menoage = rand(40,50)
  58. temprand = rand(0,10)
  59. if temprand = 0:
  60. menoage += rand(0,5)
  61. elseif temprand < 4:
  62. menoage += rand(3,10)
  63. elseif temprand < 9:
  64. menoage += rand(5,12)
  65. else
  66. menoage += rand(7,13)
  67. end
  68. end
  69. '<center><b><font color="maroon">CHOOSE GAME START</font></b></center>'
  70. *nl
  71. '<b>Original Start:</b>'
  72. '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.'
  73. *nl
  74. '<b>Alternate Start:</b>'
  75. '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!'
  76. *nl
  77. '<b>Cursed schoolgirl Start:</b>'
  78. '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.'
  79. act '<center><b>Original start</b></center>':
  80. cla
  81. act '<center>Show intro (recommended)</center>':
  82. cla
  83. music_on = 0
  84. showstat 1
  85. showobjs 1
  86. addobj 'Player'
  87. gt 'roomPRE'
  88. end
  89. act '<center>Skip intro (seen it before)</center>':
  90. music_on = 0
  91. gs 'begin1'
  92. gt 'street'
  93. end
  94. end
  95. act '<center><b>Alternate Start</b></center>':
  96. cla
  97. MagikDostup = 1
  98. gt 'alterStart'
  99. end
  100. act '<center><b>Cursed Schoolgirl Start</b></center>':
  101. cla
  102. altQS = 1
  103. gt 'alterStart'
  104. end
  105. if $ARGS[0] = 'real_character':
  106. cls
  107. cla
  108. '<center><b><font color = maroon>CHARACTER SELECTION</font></b></center>'
  109. '<center><img src="images/pic/character_creation.jpeg"></center>'
  110. *nl
  111. 'This game has the ability to create your own character.'
  112. '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!'
  113. 'Please note, this choice is given only once and you will not be able to change it without starting a new game! Also in-game changes to hair color, length etc. will not affect the displayed image if you are using a custom one.'
  114. '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.'
  115. '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.'
  116. act'<center><b>Start a standard character</b></center>':
  117. cla
  118. cls
  119. gt'begin'
  120. end
  121. act'<center><b>Customize your character</b></center>':
  122. cla
  123. cls
  124. player_avatar = 1
  125. glacol = 1
  126. glaraz = 2
  127. hcol = 1
  128. lip = 2
  129. gt'begin','description_real_character'
  130. end
  131. end
  132. $din_birthday_select = {
  133. cls
  134. cla
  135. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  136. '<center><img src="images/pic/character_creation_pic1.jpg"></center>'
  137. '<center>Choose your date of birth:</center>'
  138. *nl
  139. if birthmonth = 2:
  140. monthdays = 28
  141. elseif birthmonth = 4 or birthmonth = 6 or birthmonth = 9 or birthmonth = 11:
  142. monthdays = 30
  143. else:
  144. monthdays = 31
  145. end
  146. if birthmonth > 12: birthmonth = 12
  147. if birthmonth < 1: birthmonth = 1
  148. if birthday < 1: birthday = 1
  149. if birthday > monthdays: birthday = monthdays
  150. if birthday < 10 and birthmonth < 10:
  151. '<center>Your birthday: <B>0<<birthmonth>>/0<<birthday>></B> (MM/DD)</center>'
  152. elseif birthday < 10 and birthmonth >= 10:
  153. '<center>Your birthday: <B><<birthmonth>>/0<<birthday>></B> (MM/DD)</center>'
  154. elseif birthday >= 10 and birthmonth < 10:
  155. '<center>Your birthday: <B>0<<birthmonth>>/<<birthday>></B> (MM/DD)</center>'
  156. elseif birthday >= 10 and birthmonth >= 10:
  157. '<center>Your birthday: <B><<birthmonth>>/<<birthday>></B> (MM/DD)</center>'
  158. end
  159. *nl
  160. '<center><a href="exec:birthday += 5 & dynamic $din_birthday_select">+5 Days</a></center>'
  161. '<center><a href="exec:birthday += 1 & dynamic $din_birthday_select">+1 Day</a></center>'
  162. '<center><a href="exec:birthday -= 1 & dynamic $din_birthday_select">-1 Day</a></center>'
  163. '<center><a href="exec:birthday -= 5 & dynamic $din_birthday_select">-5 Days</a></center>'
  164. '<center><a href="exec:birthmonth = 1 & dynamic $din_birthday_select">January</a></center>'
  165. '<center><a href="exec:birthmonth = 2 & dynamic $din_birthday_select">February</a></center>'
  166. '<center><a href="exec:birthmonth = 3 & dynamic $din_birthday_select">March</a></center>'
  167. '<center><a href="exec:birthmonth = 4 & dynamic $din_birthday_select">April</a></center>'
  168. '<center><a href="exec:birthmonth = 5 & dynamic $din_birthday_select">May</a></center>'
  169. '<center><a href="exec:birthmonth = 6 & dynamic $din_birthday_select">June</a></center>'
  170. '<center><a href="exec:birthmonth = 7 & dynamic $din_birthday_select">July</a></center>'
  171. '<center><a href="exec:birthmonth = 8 & dynamic $din_birthday_select">August</a></center>'
  172. '<center><a href="exec:birthmonth = 9 & dynamic $din_birthday_select">September</a></center>'
  173. '<center><a href="exec:birthmonth = 10 & dynamic $din_birthday_select">October</a></center>'
  174. '<center><a href="exec:birthmonth = 11 & dynamic $din_birthday_select">November</a></center>'
  175. '<center><a href="exec:birthmonth = 12 & dynamic $din_birthday_select">December</a></center>'
  176. act'<center><b>Done</b></center>':gt'begin','description_real_character'
  177. }
  178. $din_hcol = {
  179. hcol += 1
  180. if hcol > 3: hcol = 0
  181. }
  182. $avatar_hair = {
  183. avatar_hair = 1
  184. $av_hair = input("Enter a description of your hair:")
  185. }
  186. $din_hair_select = {
  187. cls
  188. cla
  189. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  190. '<center><img src="images/pic/character_creation_pic1.jpg"></center>'
  191. *nl
  192. if hcol = 0 and curly <= 0:$hair = 'You have <a href="exec:curly = 1 & dynamic $din_hair_select">straight</a>, <a href="exec:dynamic $din_hcol & dynamic $din_hair_select">black</a> hair.'& $hair2 = 'black hair' & $hair3 = 'black hair'
  193. if hcol = 1 and curly <= 0:$hair = 'You have <a href="exec:curly = 1 & dynamic $din_hair_select">straight</a>, <a href="exec:dynamic $din_hcol & dynamic $din_hair_select">brown</a> hair.'& $hair2 = 'brown hair' & $hair3 = 'brown hair'
  194. if hcol = 2 and curly <= 0:$hair = 'You have <a href="exec:curly = 1 & dynamic $din_hair_select">straight</a>, <a href="exec:dynamic $din_hcol & dynamic $din_hair_select">red</a> hair.'& $hair2 = 'Red hair' & $hair3 = 'red hair'
  195. if hcol = 3 and curly <= 0:$hair = 'You have <a href="exec:curly = 1 & dynamic $din_hair_select">straight</a>, <a href="exec:dynamic $din_hcol & dynamic $din_hair_select">blonde</a> hair.'& $hair2 = 'blond hair' & $hair3 = 'blond hair'
  196. if hcol = 0 and curly > 0:$hair = 'You have <a href="exec:curly = 0 & dynamic $din_hair_select">curly</a>, <a href="exec:dynamic $din_hcol & dynamic $din_hair_select">black</a> hair.'& $hair2 = 'curls' & $hair3 = 'black curls'
  197. if hcol = 1 and curly > 0:$hair = 'You have <a href="exec:curly = 0 & dynamic $din_hair_select">curly</a>, <a href="exec:dynamic $din_hcol & dynamic $din_hair_select">brown</a> hair.'& $hair2 = 'curls' & $hair3 = 'blond curls'
  198. if hcol = 2 and curly > 0:$hair = 'You have <a href="exec:curly = 0 & dynamic $din_hair_select">curly</a>, <a href="exec:dynamic $din_hcol & dynamic $din_hair_select">red</a> hair.'& $hair2 = 'curls' & $hair3 = 'red hair'
  199. if hcol = 3 and curly > 0:$hair = 'You have <a href="exec:curly = 0 & dynamic $din_hair_select">curly</a>, <a href="exec:dynamic $din_hcol & dynamic $din_hair_select">blonde</a> hair.' &$hair2 = 'curls' & $hair3 = 'blond curls'
  200. '<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>'
  201. *nl
  202. if avatar_hair = 1:
  203. '<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>'
  204. '<center>You have <i><<$av_hair>>.</i> <a href="exec:avatar_hair = 0 & dynamic $din_hair_select">Revert to default</a>.</center>'
  205. else
  206. '<center><i><<$hair>></i> You may also <a href="exec:dynamic $avatar_hair & dynamic $din_hair_select">manually enter a description</a></center>.'
  207. end
  208. act'<center><b>Done</b></center>':gt'begin','description_real_character'
  209. }
  210. $din_glacol_select = {
  211. glacol += 1
  212. if glacol > 3: glacol = 0
  213. }
  214. $din_glaza_select = {
  215. cls
  216. cla
  217. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  218. '<center><img src="images/pic/character_creation_pic1.jpg"></center>'
  219. *nl
  220. if glacol = 0:$glacol = 'brown' & $glacol2 = 'brown'
  221. if glacol = 1:$glacol = 'gray' & $glacol2 = 'gray'
  222. if glacol = 2:$glacol = 'green' & $glacol2 = 'green'
  223. if glacol = 3:$glacol = 'blue' & $glacol2 = 'blue'
  224. if glass <= 0:$glass = '' & glassvnesh = 0
  225. if glass = 1:$glass = ' You wear glasses.' & glassvnesh = 10
  226. if glass = 2:$glass = ' You wear glasses.' & glassvnesh = 5
  227. if resnic > 2:resnic = 2
  228. if resnic = 0:$resnic = 'with short lashes'
  229. if resnic = 1:$resnic = 'normal eyelashes'
  230. if resnic = 2:$resnic = 'with long eyelashes'
  231. if glaraz > 3:glaraz = 3
  232. if glaraz = 0:$glaza = 'You have little <a href="exec:dynamic $din_glacol_select & dynamic $din_glaza_select"><<$glacol>></a> eyes, <<$resnic>>.<<$glass>>' & $glaza2 = '<<$glacol>> eyes' & $glaza3 = '<<$glacol2>> eyes'
  233. if glaraz = 1:$glaza = 'You have expressive <a href="exec:dynamic $din_glacol_select & dynamic $din_glaza_select"><<$glacol>></a> eyes, <<$resnic>>.<<$glass>>' & $glaza2 = 'expressive <<$glacol>> eyes' & $glaza3 = 'expressive <<$glacol2>> eyes'
  234. if glaraz = 2:$glaza = 'You have large <a href="exec:dynamic $din_glacol_select & dynamic $din_glaza_select"><<$glacol>></a> eyes, <<$resnic>>.<<$glass>>' & $glaza2 = 'big <<$glacol>> eyes' & $glaza3 = 'high <<$glacol2>> eyes'
  235. if glaraz = 3:$glaza = 'You have huge <a href="exec:dynamic $din_glacol_select & dynamic $din_glaza_select"><<$glacol>></a> eyes, <<$resnic>>.<<$glass>>' & $glaza2 = 'great <<$glacol>> eyes' & $glaza3 = 'great <<$glacol2>> eyes'
  236. '<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>'
  237. *nl
  238. '<center><i><<$glaza>></i></center>'
  239. *nl
  240. if resnic < 2:'<center><a href="exec:resnic += 1 & dynamic $din_glaza_select">Lengthen lashes</a></center>'
  241. if resnic > 0:'<center><a href="exec:resnic -= 1 & dynamic $din_glaza_select">Shorten lashes</a></center>'
  242. if glaraz < 3:'<center><a href="exec:glaraz += 1 & dynamic $din_glaza_select">Larger eyes</a></center>'
  243. if glaraz > 0:'<center><a href="exec:glaraz -= 1 & dynamic $din_glaza_select">Smaller eyes</a></center>'
  244. if glass = 0 and glass < 2:'<center><a href="exec:glass = 2 & dynamic $din_glaza_select">Wear glasses</a></center>'
  245. if glass > 0 and glass <= 2:'<center><a href="exec:glass = 0 & dynamic $din_glaza_select">Remove glasses</a></center>'
  246. act'<center><b>Done</b></center>':gt'begin','description_real_character'
  247. }
  248. $din_lip_select = {
  249. cls
  250. cla
  251. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  252. '<center><img src="images/pic/character_creation_pic1.jpg"></center>'
  253. *nl
  254. if lip = 0:$lip = 'you have thin <<$lipbalmstat>> lips.' & $liptalk = 'thin lips' & $liptalk2 = 'thin lips' & $liptalk3 = 'thin lips'
  255. if lip = 1:$lip = 'You have normal <<$lipbalmstat>> lips.' & $liptalk = 'soft lips' & $liptalk2 = 'delicate lips' & $liptalk3 = 'tender lips'
  256. if lip = 2:$lip = 'You have plump <<$lipbalmstat>> lips.' & $liptalk = 'plump lips' & $liptalk2 = 'plump lips' & $liptalk3 = 'plump lips'
  257. if lip = 3:$lip = 'You have large, <<$lipbalmstat>> full lips.' & $liptalk = 'full lips' & $liptalk2 = 'plump lips' & $liptalk3 = 'full lips'
  258. if lip = 4:$lip = 'You have huge, thick <<$lipbalmstat>> lips.' & $liptalk = 'thick lips' & $liptalk2 = 'thick lips' & $liptalk3 = 'thick lips'
  259. '<center>Adjust the size of your lips to match your <a href="exec:view''avatar.jpg''">image</a>:</center>'
  260. *nl
  261. '<center><i><<$lip>></i></center>'
  262. *nl
  263. if lip < 4:'<center><a href="exec:lip += 1 & dynamic $din_lip_select">Bigger lips</a></center>'
  264. if lip > 0:'<center><a href="exec:lip -= 1 & dynamic $din_lip_select">Smaller lips</a></center>'
  265. act'<center><b>Done</b></center>':gt'begin','description_real_character'
  266. }
  267. if $ARGS[0] = 'description_real_character':
  268. dynamic $din_hair_select
  269. dynamic $din_lip_select
  270. dynamic $din_glaza_select
  271. cls
  272. cla
  273. '<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
  274. '<center><img src="images/pic/character_creation_pic1.jpg"></center>'
  275. *nl
  276. '<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>'
  277. *nl
  278. '<center>Customize your:</center>'
  279. !'<center>Your name is <B><i><<$name>> <<$surname>></B></i>. (You may change this during the intro, and also at the passport office in-game.)'
  280. '<center><a href="exec:dynamic $din_birthday_select">Birthday</a></center>'
  281. '<center><a href="exec:dynamic $din_hair_select">Hair</a></center>'
  282. '<center><a href="exec:dynamic $din_lip_select">Lips</a></center>'
  283. '<center><a href="exec:dynamic $din_glaza_select">Eyes</a></center>'
  284. act'<center><b>Done</b></center>':gt'begin'
  285. end
  286. --- begin ---------------------------------