initg.qsrc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. # initg
  2. if $ARGS[0] = '':
  3. $initext = STR($usrtxt)
  4. CMDCLEAR
  5. SHOWINPUT 0
  6. *clr
  7. :initg_loop
  8. $t = MID($initext,0,STRPOS($initext, '\n')-1)
  9. $inittext[] = $t
  10. $t
  11. dynamic $t
  12. $initext = MID($initext,STRPOS($initext, '\n')+1, len($initext))
  13. if STRPOS($initext, '\n') < 4 : $initext = MID($initext,STRPOS($initext, '\n')+1, len($initext))
  14. if STRPOS($initext, '\r') < 4 : $initext = MID($initext,STRPOS($initext, '\r')+1, len($initext))
  15. if STRPOS($initext, '\n') > 0 : jump 'initg_loop'
  16. $t = $initext
  17. $inittext[] = $t
  18. $t
  19. dynamic $t
  20. killvar '$t'
  21. gs 'stat'
  22. dynamic $cheatmenu['setting']
  23. end
  24. if $ARGS[0] = 'get_game_set':
  25. *clr & cla
  26. 'As there is no other way to preserve your favorite settings, you have to do it in the following way:'
  27. *nl 'All the game environment variable will be written on the main window in the next step, and you have to copy paste them via the clipboard into a text file, so you could restore it in your next game.'
  28. act 'Continue' :
  29. *clr & cla
  30. 'cheatVars[''gameover''] = <<cheatVars[''gameover'']>>'
  31. 'music_on = <<music_on>>'
  32. 'music_loop = <<music_loop>>'
  33. 'disable_autosave = <<disable_autosave>>'
  34. 'cheatVars[''auto_brush''] = <<cheatVars[''auto_brush'']>>'
  35. 'cheatVars[''full_morning_rout''] = <<cheatVars[''full_morning_rout'']>>'
  36. 'cheatVars[''track_period''] = <<cheatVars[''track_period'']>>'
  37. 'cheatVars[''enema''] = <<cheatVars[''enema'']>>'
  38. 'cheatVars[''rename_porn''] = <<cheatVars[''rename_porn'']>>'
  39. 'difficulty = <<difficulty>>'
  40. 'usePopUps = <<usePopUps>>'
  41. 'set_imgw = <<set_imgw>>'
  42. 'set_imgh = <<set_imgh>>'
  43. '$set_imgh = "<<$set_imgh>>"'
  44. 'Enable_tablemap = <<Enable_tablemap>>'
  45. 'Enable_faceturn = <<Enable_faceturn>>'
  46. 'Enable_Android = <<Enable_Android>>'
  47. 'disable_LoadSave = <<disable_LoadSave>>'
  48. 'TempUnit = <<TempUnit>>'
  49. 'default_wbanner = <<default_wbanner>>'
  50. 'set_weatherht = <<set_weatherht>>'
  51. 'default_menu_icons = <<default_menu_icons>>'
  52. 'set_miconht = <<set_miconht>>'
  53. 'cheatStatusIcons = <<cheatStatusIcons>>'
  54. 'disable_show_icons = <<disable_show_icons>>'
  55. 'set_siconht = <<set_siconht>>'
  56. 'ETOmenu = <<ETOmenu>>'
  57. 'Enable_scalepic = <<Enable_scalepic>>'
  58. 'Enable_scalewidth = <<Enable_scalewidth>>'
  59. 'Enable_scaleheight = <<Enable_scaleheight>>'
  60. 'Enable_statfsize = <<Enable_statfsize>>'
  61. 'Enable_showattr = <<Enable_showattr>>'
  62. 'Enable_showskill = <<Enable_showskill>>'
  63. 'Enable_showrelation = <<Enable_showrelation>>'
  64. 'Enable_showstatimg = <<Enable_showstatimg>>'
  65. 'Enable_statimg_loc = <<Enable_statimg_loc>>'
  66. 'set_statimgh = <<set_statimgh>>'
  67. 'set_statimgw = <<set_statimgw>>'
  68. act 'Finish': dynamic $cheatmenu['setting']
  69. end
  70. end
  71. if $ARGS[0] = 'set_game_set':
  72. *clr & cla
  73. 'In the next step, it will be opened the input window where you can copy your saved state of the game environment variables. Both Windows (cr lf) and Unix (lf) end of line is supported, although the second one will not be properly formatted on the screen.'
  74. act 'Continue' :
  75. cla
  76. $USERCOM = 'initg'
  77. SHOWINPUT 1
  78. *nl 'Now you can input your data and press <b>Enter</b>'
  79. end
  80. end
  81. --- initg ---------------------------------