loadg 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. # loadg
  2. gs 'saveupdater'
  3. gs 'din_npc'
  4. !!-------------------Above this line to be kept-------------------
  5. ! WD: Set variable to store Image needed HTML code
  6. if $ImageNeededPlacholder = '':
  7. set $ImageNeededPlacholder = '<center><img src="images/system/image_needed.png"></center>'
  8. end
  9. gs 'din_pav'
  10. gs 'dinSex2'
  11. gs 'dina'
  12. gs 'din_van'
  13. gs 'din_bad'
  14. gs 'dinSex'
  15. gs 'dinBoroda'
  16. gs 'BanSexType'
  17. gs 'gschool_lessons', 'npc_data'
  18. if StoryLine = 0 and daystart_start = 0:daystart_start = 145
  19. if vshrink = 0 and vshrinkdays = 0 and ashrink = 0 and ashrinkdays = 0:vshrink = 1 & vshrinkdays = 6 & ashrink = 1 & ashrinkdays = 3
  20. if bankAccount = 0 and karta > 0:
  21. bankAccount = 1
  22. if bankDebtLimit = 0: bankDebtLimit = 5000
  23. end
  24. if $cycreport_txt = '':
  25. temp[1] = daystart-daylastperiod
  26. $cycreport_txt = 'It has been <<temp[1]>> days since you last had a period.'
  27. end
  28. if menoage = 0:
  29. menoage = rand(40,50)
  30. temprand = rand(0,10)
  31. if temprand = 0:
  32. menoage += rand(0,5)
  33. elseif temprand < 4:
  34. menoage += rand(3,10)
  35. elseif temprand < 9:
  36. menoage += rand(5,12)
  37. else
  38. menoage += rand(7,13)
  39. end
  40. end
  41. monthsend[1] = 31
  42. if ((year mod 4 = 0) and (year mod 100 ! 0)) or (year mod 400 = 0):
  43. Leapyear = 1 & monthsend[2] = 29
  44. else
  45. Leapyear = 0 & monthsend[2] = 28
  46. end
  47. monthsend[3] = 31
  48. monthsend[4] = 30
  49. monthsend[5] = 31
  50. monthsend[6] = 30
  51. monthsend[7] = 31
  52. monthsend[8] = 31
  53. monthsend[9] = 30
  54. monthsend[10] = 31
  55. monthsend[11] = 30
  56. monthsend[12] = 31
  57. $monthName[1] = 'January'
  58. $monthName[2] = 'February'
  59. $monthName[3] = 'March'
  60. $monthName[4] = 'April'
  61. $monthName[5] = 'May'
  62. $monthName[6] = 'June'
  63. $monthName[7] = 'July'
  64. $monthName[8] = 'August'
  65. $monthName[9] = 'September'
  66. $monthName[10] = 'October'
  67. $monthName[11] = 'November'
  68. $monthName[12] = 'December'
  69. $month = $monthName[month]
  70. !!if oldsavehcol = 0:
  71. !!commented out as its activating on new games and people should have the used it by now but not deleted in case of queries
  72. !!DELETE in 0.6.1 or later
  73. !! cla
  74. !! cls
  75. !! *clr
  76. !! :hcolloop
  77. !! 'There have been changes made to the hair colour system, please indicate your character''s natural hair colour.'
  78. !! 'Enter 0 (zero) for black, 1 (one) for brown, 2 (two) for red, or 3 (three) for blonde.'
  79. !! 'Note: Cancelling or entering no value will default to 0, black hair.'
  80. !! nathcol = input("Enter the number that corresponds to your character''s natural hair colour:")
  81. !! if nathcol >= 0 or nathcol <= 3:
  82. !! if pcs_haircol ! nathcol: dyefade = rand(21,35)
  83. !! oldsavehcol = 1
  84. !! act 'Return to game': gs 'stat' & gt $CURLOC
  85. !! else
  86. !! 'That is not a valid entry.'
  87. !! jump 'hcolloop'
  88. !! end
  89. !!end
  90. if dounspell = 0 and newbdsp = 0:
  91. dounspell = 1
  92. dounsplkil = 2
  93. nbsize = pcs_cupsize - silicone
  94. gs 'body_shape', 'hardreset'
  95. newbdsp = 1
  96. end
  97. if succubusflag = 1 and sucpcinfo = 4 and sucinfoday = 0: sucinfoday = daystart + 5 + rand(0,5)
  98. if skin > 0: pcs_skin += 20 * skin & killvar 'skin'
  99. if pcs_apprncbase = 0: gs 'body_shape', 'basebeautycalc', 1
  100. if normbuffpick = 2: bodset = 2 & killvar 'normbuffpick'
  101. :cumidloop
  102. if arrsize('$cumarrnam') > arrsize('cumarrcnt'):
  103. cumarrcnt[arrsize('cumarrcnt')] = -2
  104. jump 'cumidloop'
  105. end
  106. :spidloop
  107. if arrsize('$sparrnam') > arrsize('sparrcnt'):
  108. sparrcnt[arrsize('sparrcnt')] = -1
  109. jump 'spidloop'
  110. end
  111. !!For old save Succubae
  112. if mutagenP > 0: stren_muta = mutagenP & killvar 'mutagenP'
  113. if mutagenA > 0: agil_muta = mutagenA & killvar 'mutagenA'
  114. if mutagenV > 0: vital_muta = mutagenV & killvar 'mutagenV'
  115. if mutagenI > 0: intel_muta = mutagenI & killvar 'mutagenI'
  116. if mutagenR > 0: react_muta = mutagenR & killvar 'mutagenR'
  117. if mutagenW > 0: sprt_muta = mutagenW & killvar 'mutagenW'
  118. !!This sets new attributes to default on saves that did not have these attributes
  119. if pcs_chrsm <= 0: pcs_chrsm = 10
  120. if pcs_prcptn <= 0: pcs_prcptn = 10
  121. if pillcvrt = 0:
  122. pillcvrt = 1
  123. if tabletki > 0:
  124. stepa = ((tabletki*100)/28) mod 10
  125. stepb = ((tabletki*100)/28) - stepa
  126. tabletki = stepb/100
  127. pillsleft[0] = (stepa*28)/100
  128. end
  129. end
  130. if karinsex ! 0: TatianaSex = karinsex & killvar 'karinsex'
  131. if karinsucsex > 0: tatisucsex += karinsucsex & killvar 'karinsucsex'
  132. if tatianasucsex > 0: tatisucsex += tatianasucsex & killvar 'tatianasucsex'
  133. if $excer_name[1] = '':$excer_name[1] = 'Default 1'
  134. if $excer_name[2] = '':$excer_name[2] = 'Default 2'
  135. if $excer_name[3] = '':$excer_name[3] = 'Default 3'
  136. if $excer_name[4] = '':$excer_name[4] = 'Default 4'
  137. !!-------------------------- above this line can be removed for 0.6.1 ---------------------------------
  138. if dounspell = 1: dounsplkil = 2 & gs 'body_shape', 'hardreset'
  139. if pirsA = 1 and PirsA1_owned = 0:PirsA1_owned = 1
  140. if pirsB = 1 and PirsB1_owned = 0:PirsB1_owned = 1
  141. if pirsC = 1 and PirsC1_owned = 0:PirsC1_owned = 1
  142. if pirsD = 1 and PirsD1_owned = 0:PirsD1_owned = 1
  143. if pirsE = 1 and PirsE1_owned = 0:PirsE1_owned = 1
  144. if pirsF = 1 and PirsF1_owned = 0:PirsF1_owned = 1
  145. if pirsN = 1 and PirsN1_owned = 0:PirsN1_owned = 1
  146. if pirsG = 1 and PirsG1_owned = 0:PirsG1_owned = 1
  147. !!adding default shoes and assigning them
  148. sgandm[6] = 1
  149. strainers[21] = 1
  150. if $cheapshoetype = '':
  151. $cheapshoetype = 'gandm' & cheapshoenumber = 6
  152. if $clothingworntype = 'cheap': $shoeworntype = 'gandm' & shoewornnumber = 6
  153. end
  154. if $averageshoetype = '':
  155. $averageshoetype = 'gandm' & averageshoenumber = 6
  156. if $clothingworntype = 'average': $shoeworntype = 'gandm' & shoewornnumber = 6
  157. end
  158. if $expensiveshoetype = '':
  159. $expensiveshoetype = 'gandm' & expensiveshoenumber = 6
  160. if $clothingworntype = 'expensive': $shoeworntype = 'gandm' & shoewornnumber = 6
  161. end
  162. if $formalshoetype = '':
  163. $formalshoetype = 'gandm' & formalshoenumber = 6
  164. if $clothingworntype = 'formal': $shoeworntype = 'gandm' & shoewornnumber = 6
  165. end
  166. if $officeshoetype = '':
  167. $officeshoetype = 'gandm' & officeshoenumber = 6
  168. if $clothingworntype = 'office': $shoeworntype = 'gandm' & shoewornnumber = 6
  169. end
  170. if $schoolshoetype = '':
  171. $schoolshoetype = 'gandm' & schoolshoenumber = 6
  172. if $clothingworntype = 'school': $shoeworntype = 'gandm' & shoewornnumber = 6
  173. end
  174. if $exerciseshoetype = '':
  175. $exerciseshoetype = 'trainers' & exerciseshoenumber = 21
  176. if $clothingworntype = 'exercise': $shoeworntype = 'gandm' & shoewornnumber = 21
  177. end
  178. if $fetishshoetype = '':
  179. $fetishshoetype = 'gandm' & fetishshoenumber = 6
  180. if $clothingworntype = 'fetish': $shoeworntype = 'gandm' & shoewornnumber = 6
  181. end
  182. if $exhibitshoetype = '':
  183. $exhibitshoetype = 'gandm' & exhibitshoenumber = 6
  184. if $clothingworntype = 'exhibit': $shoeworntype = 'gandm' & shoewornnumber = 6
  185. end
  186. if $uniformshoetype = '':
  187. $uniformshoetype = 'gandm' & uniformshoenumber = 6
  188. if $clothingworntype = 'uniform': $shoeworntype = 'gandm' & shoewornnumber = 6
  189. end
  190. if $burlesqueshoetype = '':
  191. $burlesqueshoetype = 'gandm' & burlesqueshoenumber = 6
  192. if $clothingworntype = 'burlesque': $shoeworntype = 'gandm' & shoewornnumber = 6
  193. end
  194. if $alternativeshoetype = '':
  195. $alternativeshoetype = 'gandm' & alternativeshoenumber = 6
  196. if $clothingworntype = 'alternative': $shoeworntype = 'gandm' & shoewornnumber = 6
  197. end
  198. --- loadg ---------------------------------