4
1

begin.tw 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. :: begin
  2. <!--qsrc2twResult={"version":1,"code":"5f264908fd7a6be344db876078a9e0a0","time":"2024-07-22T09:31:01.621Z"}-->
  3. <!-- !!2021/04/01 -->
  4. <<if QSP.$ARGS[0] == 'start'>>
  5. <<set QSP.$loc_arg[0] = 'start'>>
  6. <<set QSP.$loc[0] = 'begin'>>
  7. <<set QSP.alarmVars['timerEndH'] = 8>>
  8. <<set QSP.alarmVars['timerEndM'] = 0>>
  9. <<set QSP.alarmVars['timerH'] = 6>>
  10. <<set QSP.alarmVars['timerM'] = 30>>
  11. <<set QSP.sleepVars['events_active'] = 1>>
  12. <<set QSP.sleepVars['dreams_active'] = 1>>
  13. <<set QSP.settingmode[0] = 0>>
  14. <<gs `['Cheatmenu_din']`>>
  15. <<SHOWSTAT 1>>
  16. <h2>CHOOSE GAME START</h2>
  17. <div id="beginScenarioSelection" style="display: flex;justify-content: center;">
  18. <<gs `['beginscenarioselection']`>>
  19. </div>
  20. <p>
  21. There are three main start types:
  22. <ul>
  23. <li>Last year of school (before or after summer holidays);</li>
  24. <li>In the city post graduation from school;</li>
  25. <li>First year of university.</li>
  26. </ul>
  27. </p>
  28. <p>
  29. For each start type there are 3 options:
  30. <ul>
  31. <li>Standard;</li>
  32. <li>Magical (Your character will gain magic abilities and learn about a secret magical world);</li>
  33. <li>M2F (As per magic but your character will magically be turned into a girl in the intro).</li>
  34. </ul>
  35. </p>
  36. <</if>>
  37. <<if QSP.$ARGS[0] == 'warning'>>
  38. <h2>WARNING</h2>
  39. <img src="images/system/1_openings/warning.jpg"/>
  40. <<act '<center><b>Continue</b></center>'>>
  41. <<run setup.qsp_gt('begin' , 'real_character')>>
  42. <</act>>
  43. <</if>>
  44. <<if QSP.$ARGS[0] == 'real_character'>>
  45. <<set QSP.$BACKIMAGE[0] = ''>>
  46. <<CLS>>
  47. <<=''>><center><b><font color = maroon>CHARACTER SELECTION</font></b></center><<=''>>
  48. <<='<center><img '+(QSP.$set_imgh[0])+' src="images/system/1_openings/shared/character_creation_1.jpg"></center><center>'>>
  49. <br/>
  50. <<=''>>This game has three ways to display your character's face:<<=''>>
  51. <<=''>> 1. Dynamically using real images. The result will depend on your hair style and colour or a fixed image of your choice.<<=''>>
  52. <<=''>> 2. To use a fixed image. You can set the path to the image or replace the image "avatar" in the "images" folder of the game with a file of the same name and format (.jpg) and select "Use a fixed image".<<=''>>
  53. <<=''>> 3. Dynamically using generated images. The result will depend on your hair style and colour, eye colour, glasses, makeup, and visible cum<<=''>>
  54. <<=''>>Please note, this choice can be changed in the cheat menu at any time. Only one fixed image can be used at a time and will be the same across all saves.<<=''>>
  55. <<=''>>Your fixed 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.<<=''>>
  56. <br/>
  57. <<=''>>If you are playing with Quest player for Android, click <<=''>>
  58. <<if QSP.Enable_Android[0] == 1>>
  59. <<=''>><a href="exec:Enable_Android = 0 & gt 'begin','real_character'">Here</a> (Current: <B>Yes</B>)<<=''>>
  60. <<else>>
  61. <<=''>><a href="exec:Enable_Android = 1 & gt 'begin','real_character'">Here</a> (Current: <B>No</B>)<<=''>>
  62. <</if>>
  63. <<=''>></center><<=''>>
  64. <<act '<center><b>Use the dynamic profile system</b></center>'>>
  65. <<CLS>>
  66. <<run setup.qsp_gt('begin' , 'start')>>
  67. <</act>>
  68. <<act '<center><b>Use a fixed profile image</b></center>'>>
  69. <<CLS>>
  70. <<set QSP.face_style['type'] = 1>>
  71. <<run setup.qsp_gt('begin' , 'use_avatar_menu')>>
  72. <</act>>
  73. <<act '<center><b>Use the rendered profile system</b></center>'>>
  74. <<CLS>>
  75. <<set QSP.face_style['type'] = 2>>
  76. <<run setup.qsp_gt('begin' , 'start')>>
  77. <</act>>
  78. <</if>>
  79. <<if QSP.$ARGS[0] == 'use_avatar_menu'>>
  80. <<set QSP.$face_style['avatar_path'] = setup.qsp_input(('Where is the avatar image located? (Leave blank for "images/avatar.jpg")'))>>
  81. <<if QSP.$face_style['avatar_path'] == ''>><<set QSP.$face_style['avatar_path'] = 'images/avatar.jpg'>><</if>>
  82. <<='You have selected: '+(QSP.$face_style['avatar_path'])+'. Is this correct?'>>
  83. <<act 'Yes'>><<run setup.qsp_gt('begin' , 'start')>><</act>>
  84. <<act 'Try again'>><<run setup.qsp_gt('begin' , 'use_avatar_menu')>><</act>>
  85. <<act 'Use a different character'>><<run setup.qsp_gt('begin' , 'real_character')>><</act>>
  86. <</if>>
  87. :: beginscenarioselection
  88. <<set _selectImageHTMLCheck = `<img src="images/system/icons/check.png" height="50">`>>
  89. <<set _selectImageHTMLUncheck = `<img src="images/system/icons/uncheck.png" height="50">`>>
  90. <table>
  91. <tr>
  92. <th>Start Type</th>
  93. <th>Standard</th>
  94. <th>Magical</th>
  95. <th>M2F</th>
  96. </tr>
  97. <<set _scenarioToLabel = {sg:'School',city:'City',uni:'University'}>>
  98. <<for _scenario range ['sg','city','uni']>>
  99. <tr>
  100. <td><<=_scenarioToLabel[_scenario]>></td>
  101. <<for _magic range ['nomagic', 'magic', 'tg']>>
  102. <td>
  103. <<set _img = _selectImageHTMLUncheck>>
  104. <<if _scenario == QSP.$start_type['loc'] && _magic == QSP.$start_type['magic']>>
  105. <<set _img = _selectImageHTMLCheck>>
  106. <</if>>
  107. <<capture _scenario, _magic>>
  108. <<link _img>>
  109. <<set QSP.$start_type['loc'] = _scenario>>
  110. <<set QSP.$start_type['magic'] = _magic>>
  111. <<replace "#beginScenarioSelection">>
  112. <<gs `['beginScenarioSelection']`>>
  113. <</replace>>
  114. <</link>>
  115. <</capture>>
  116. </td>
  117. <</for>>
  118. </tr>
  119. <</for>>
  120. </table>
  121. <<CLA>>
  122. <<if QSP.$start_type['loc'] == 'sg' && QSP.$start_type['magic'] != 'tg'>>
  123. <<act '<center><b>Start</b></center>'>><<run setup.qsp_gt('intro_sg' , 'start')>><</act>>
  124. <<elseif (QSP.$start_type['magic'] == 'nomagic') != 0>>
  125. <<act '<center><b>Start</b></center>'>><<run setup.qsp_gt('intro_' + QSP.$start_type['loc'] , 'start')>><</act>>
  126. <<elseif (QSP.$start_type['magic'] == 'magic') != 0>>
  127. <<act '<center><b>Start</b></center>'>><<run setup.qsp_gt('intro_' + QSP.$start_type['loc'] + '_m' , 'start')>><</act>>
  128. <<elseif (QSP.$start_type['magic'] == 'tg') != 0>>
  129. <<act '<center><b>Start</b></center>'>><<run setup.qsp_gt('intro_' + QSP.$start_type['loc'] + '_tg' , 'start')>><</act>>
  130. <</if>>
  131. <<act '<center><b>Change game settings</b></center>'>><<set QSP.settingmode[0] = 1>><<gs `['$menu_setting']`>><</act>>