loadg 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. # loadg
  2. ! WD: Set variable to store Image needed HTML code
  3. if $ImageNeededPlacholder = '':
  4. set $ImageNeededPlacholder = '<center><img src="images/community/image_needed.png"></center>'
  5. end
  6. gs 'din_pav'
  7. gs 'dinSex2'
  8. gs 'dina'
  9. gs 'din_van'
  10. gs 'din_bad'
  11. gs 'dinSex'
  12. gs 'dinBoroda'
  13. gs 'BanSexType'
  14. gs 'saveupdater'
  15. if StoryLine = 0:daystart_start = 145
  16. if vshrink = 0 and vshrinkdays = 0 and ashrink = 0 and ashrinkdays = 0:vshrink = 1 & vshrinkdays = 6 & ashrink = 1 & ashrinkdays = 3
  17. if bankAccount = 0 and karta > 0:
  18. bankAccount = 1
  19. if bankDebtLimit = 0: bankDebtLimit = 5000
  20. end
  21. if $cycreport_txt = '':
  22. temp[1] = daystart-daylastperiod
  23. $cycreport_txt = 'It has been <<temp[1]>> days since you last had a period.'
  24. end
  25. if menoage = 0:
  26. menoage = rand(40,50)
  27. temprand = rand(0,10)
  28. if temprand = 0:
  29. menoage += rand(0,5)
  30. elseif temprand < 4:
  31. menoage += rand(3,10)
  32. elseif temprand < 9:
  33. menoage += rand(5,12)
  34. else
  35. menoage += rand(7,13)
  36. end
  37. end
  38. monthsend[1] = 31
  39. if ((year mod 4 = 0) and (year mod 100 ! 0)) or (year mod 400 = 0):
  40. Leapyear = 1 & monthsend[2] = 29
  41. else
  42. Leapyear = 0 & monthsend[2] = 28
  43. end
  44. monthsend[3] = 31
  45. monthsend[4] = 30
  46. monthsend[5] = 31
  47. monthsend[6] = 30
  48. monthsend[7] = 31
  49. monthsend[8] = 31
  50. monthsend[9] = 30
  51. monthsend[10] = 31
  52. monthsend[11] = 30
  53. monthsend[12] = 31
  54. $monthName[1] = 'January'
  55. $monthName[2] = 'February'
  56. $monthName[3] = 'March'
  57. $monthName[4] = 'April'
  58. $monthName[5] = 'May'
  59. $monthName[6] = 'June'
  60. $monthName[7] = 'July'
  61. $monthName[8] = 'August'
  62. $monthName[9] = 'September'
  63. $monthName[10] = 'October'
  64. $monthName[11] = 'November'
  65. $monthName[12] = 'December'
  66. $month = $monthName[month]
  67. if oldsavehcol = 0:
  68. cla
  69. cls
  70. *clr
  71. :hcolloop
  72. 'There have been changes made to the hair colour system, please indicate your character''s natural hair colour.'
  73. 'Enter 0 (zero) for black, 1 (one) for brown, 2 (two) for red, or 3 (three) for blonde.'
  74. 'Note: Cancelling or entering no value will default to 0, black hair.'
  75. nathcol = input("Enter the number that corresponds to your character''s natural hair colour:")
  76. if nathcol >= 0 or nathcol <= 3:
  77. if pcs_haircol ! nathcol: dyefade = rand(21,35)
  78. oldsavehcol = 1
  79. act 'Return to game': gs 'stat' & gt $CURLOC
  80. else
  81. 'That is not a valid entry.'
  82. jump 'hcolloop'
  83. end
  84. end
  85. if dounspell = 0 and newbdsp = 0:
  86. dounspell = 1
  87. dounsplkil = 2
  88. nbsize = titK - silicone
  89. gs 'body_shape', 'hardreset'
  90. newbdsp = 1
  91. end
  92. if succubusflag = 1 and sucpcinfo = 4 and sucinfoday = 0: sucinfoday = daystart + 5 + rand(0,5)
  93. if skin > 0: skinvan += 20 * skin & killvar 'skin'
  94. if vneshbase = 0: gs 'body_shape', 'basebeautycalc', 1
  95. if normbuffpick = 2: bodset = 2 & killvar 'normbuffpick'
  96. :cumidloop
  97. if arrsize('$cumarrnam') > arrsize('cumarrcnt'):
  98. cumarrcnt[arrsize('cumarrcnt')] = -2
  99. jump 'cumidloop'
  100. end
  101. :spidloop
  102. if arrsize('$sparrnam') > arrsize('sparrcnt'):
  103. sparrcnt[arrsize('sparrcnt')] = -1
  104. jump 'spidloop'
  105. end
  106. --- loadg ---------------------------------