initg.qsrc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. gs 'Cheatmenu_din', '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[''pee''] = <<cheatVars[''pee'']>>'
  39. 'cheatVars[''random_lovers''] = <<cheatVars[''random_lovers'']>>'
  40. 'cheatVars[''random_robbers''] = <<cheatVars[''random_robbers'']>>'
  41. 'cheatVars[''random_rapists''] = <<cheatVars[''random_rapists'']>>'
  42. 'cheatVars[''therapist_schedule''] = <<cheatVars[''therapist_schedule'']>>'
  43. 'cheatVars[''rename_porn''] = <<cheatVars[''rename_porn'']>>'
  44. 'difficulty = <<difficulty>>'
  45. 'usePopUps = <<usePopUps>>'
  46. 'set_imgw = <<set_imgw>>'
  47. 'set_imgh = <<set_imgh>>'
  48. '$set_imgh = "<<$set_imgh>>"'
  49. 'Enable_tablemap = <<Enable_tablemap>>'
  50. 'Enable_faceturn = <<Enable_faceturn>>'
  51. 'Enable_Android = <<Enable_Android>>'
  52. 'disable_LoadSave = <<disable_LoadSave>>'
  53. 'TempUnit = <<TempUnit>>'
  54. 'default_wbanner = <<default_wbanner>>'
  55. 'set_weatherht = <<set_weatherht>>'
  56. 'default_menu_icons = <<default_menu_icons>>'
  57. 'set_miconht = <<set_miconht>>'
  58. 'cheatStatusIcons = <<cheatStatusIcons>>'
  59. 'disable_show_icons = <<disable_show_icons>>'
  60. 'set_siconht = <<set_siconht>>'
  61. 'ETOmenu = <<ETOmenu>>'
  62. 'Enable_scalepic = <<Enable_scalepic>>'
  63. 'Enable_scalewidth = <<Enable_scalewidth>>'
  64. 'Enable_scaleheight = <<Enable_scaleheight>>'
  65. 'Enable_statfsize = <<Enable_statfsize>>'
  66. 'Enable_showattr = <<Enable_showattr>>'
  67. 'Enable_showskill = <<Enable_showskill>>'
  68. 'Enable_showrelation = <<Enable_showrelation>>'
  69. 'Enable_showstatimg = <<Enable_showstatimg>>'
  70. 'Enable_statimg_loc = <<Enable_statimg_loc>>'
  71. 'set_statimgh = <<set_statimgh>>'
  72. 'set_statimgw = <<set_statimgw>>'
  73. act 'Finish': gs 'Cheatmenu_din', 'setting'
  74. end
  75. end
  76. if $ARGS[0] = 'set_game_set':
  77. *clr & cla
  78. '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.'
  79. act 'Continue' :
  80. cla
  81. $USERCOM = 'initg'
  82. SHOWINPUT 1
  83. *nl 'Now you can input your data and press <b>Enter</b>'
  84. end
  85. end
  86. --- initg ---------------------------------