loadg 2.6 KB

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