1
0

fame.qsrc 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. # fame
  2. !!For adding to the PC fame, the call will look a bit like so:
  3. !!gs 'fame', 'pav', 'dance', 5
  4. !!$ARGS [0] is for the location: pav, city or village
  5. !!$ARGS [1] is for the act that is adding to fame, listed below:
  6. !!acting, dance, painting, music, ballet, modelling, porn, stripping, prostitute, sex, kickboxing, running, volleyball, chess, teaching
  7. !!ARGS[2] is the value of the increase and should be an integer, its hard to put a value on fame but lets go with:
  8. !! 1-5 for small regular stuff and 10-50 for things with big impact like modelling
  9. if $ARGS[0] = 'deg':
  10. !!degradation calculation applied overnight
  11. $fametown = 'pav'
  12. :famedegloop
  13. if dyneval('RESULT = <<$fametown>>_acting') > 2: dynamic '<<$fametown>>_acting -= rand(-1,3)'
  14. if dyneval('RESULT = <<$fametown>>_dance') > 2: dynamic '<<$fametown>>_dance -= rand(-1,3)'
  15. if dyneval('RESULT = <<$fametown>>_painting') > 2: dynamic '<<$fametown>>_painting -= rand(-1,3)'
  16. if dyneval('RESULT = <<$fametown>>_music') > 2: dynamic '<<$fametown>>_music -= rand(-1,3)'
  17. if dyneval('RESULT = <<$fametown>>_ballet') > 2: dynamic '<<$fametown>>_ballet -= rand(-1,3)'
  18. if dyneval('RESULT = <<$fametown>>_modelling') > 2: dynamic '<<$fametown>>_modelling -= rand(-1,3)'
  19. if dyneval('RESULT = <<$fametown>>_porn') > 2: dynamic '<<$fametown>>_porn -= rand(-1,3)'
  20. if dyneval('RESULT = <<$fametown>>_stripping') > 2: dynamic '<<$fametown>>_stripping -= rand(-1,3)'
  21. if dyneval('RESULT = <<$fametown>>_sex') > 2: dynamic '<<$fametown>>_sex -= rand(-1,3)'
  22. if dyneval('RESULT = <<$fametown>>_prostitute') > 2: dynamic '<<$fametown>>_prostitute -= rand(-1,3)'
  23. if dyneval('RESULT = <<$fametown>>_kickboxing') > 2: dynamic '<<$fametown>>_kickboxing -= rand(-1,3)'
  24. if dyneval('RESULT = <<$fametown>>_running') > 2: dynamic '<<$fametown>>_running -= rand(-1,3)'
  25. if dyneval('RESULT = <<$fametown>>_volleyball') > 2: dynamic '<<$fametown>>_volleyball -= rand(-1,3)'
  26. if dyneval('RESULT = <<$fametown>>_chess') > 2: dynamic '<<$fametown>>_chess -= rand(-1,3)'
  27. if dyneval('RESULT = <<$fametown>>_teaching') > 2: dynamic '<<$fametown>>_teaching -= rand(-1,3)'
  28. if dyneval('RESULT = <<$fametown>>_media') > 2: dynamic '<<$fametown>>_media -= rand(-1,3)'
  29. if $fametown = 'pav':
  30. $fametown = 'city'
  31. jump 'famedegloop'
  32. elseif $fametown = 'city':
  33. $fametown = 'village'
  34. jump 'famedegloop'
  35. end
  36. else
  37. !!main fame calculation
  38. dynamic '<<$ARGS[0]>>_<<$ARGS[1]>> += <<ARGS[2]>>'
  39. fame_performer = 0
  40. fame_sexind = 0
  41. fame_slut = 0
  42. fame_sport = 0
  43. fame_int = 0
  44. fame_social = 0
  45. global_performer = 0
  46. global_sexind = 0
  47. global_slut = 0
  48. global_sport = 0
  49. global_int = 0
  50. global_social = 0
  51. $fametown = 'pav'
  52. :fametownloop
  53. dynamic '<<$fametown>>_performer = 0'
  54. if dyneval('RESULT = <<$fametown>>_acting') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_acting)/3'
  55. if dyneval('RESULT = <<$fametown>>_dance') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_dance)/3'
  56. if dyneval('RESULT = <<$fametown>>_painting') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_painting)/3'
  57. if dyneval('RESULT = <<$fametown>>_music') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_music)/3'
  58. if dyneval('RESULT = <<$fametown>>_ballet') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_ballet)/3'
  59. if dyneval('RESULT = <<$fametown>>_modelling') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_modelling)/3'
  60. dynamic '<<$fametown>>_sexind = 0'
  61. if dyneval('RESULT = <<$fametown>>_porn') > 30: dynamic '<<$fametown>>_sexind += (<<$fametown>>_porn)/2'
  62. if dyneval('RESULT = <<$fametown>>_stripping') > 30: dynamic '<<$fametown>>_sexind += (<<$fametown>>_stripping)/2'
  63. dynamic '<<$fametown>>_slut = 0'
  64. if dyneval('RESULT = <<$fametown>>_sex') > 30: dynamic '<<$fametown>>_slut += (<<$fametown>>_sex)/2'
  65. if dyneval('RESULT = <<$fametown>>_prostitute') > 30: dynamic '<<$fametown>>_slut += (<<$fametown>>_prostitute)/2'
  66. dynamic '<<$fametown>>_sport = 0'
  67. if dyneval('RESULT = <<$fametown>>_kickboxing') > 30: dynamic '<<$fametown>>_sport += (<<$fametown>>_kickboxing)/3'
  68. if dyneval('RESULT = <<$fametown>>_running') > 30: dynamic '<<$fametown>>_sport += (<<$fametown>>_running)/3'
  69. if dyneval('RESULT = <<$fametown>>_volleyball') > 30: dynamic '<<$fametown>>_sport += (<<$fametown>>_volleyball)/3'
  70. dynamic '<<$fametown>>_int = 0'
  71. if dyneval('RESULT = <<$fametown>>_chess') > 30: dynamic '<<$fametown>>_int += (<<$fametown>>_chess)/2'
  72. if dyneval('RESULT = <<$fametown>>_teaching') > 30: dynamic '<<$fametown>>_int += (<<$fametown>>_teaching)/3'
  73. dynamic '<<$fametown>>_social = 0'
  74. if dyneval('RESULT = <<$fametown>>_media') > 30: dynamic '<<$fametown>>_social += (<<$fametown>>_media)/2'
  75. dynamic '<<$fametown>>_fame = 0'
  76. if dyneval('RESULT = <<$fametown>>_performer') > 30:
  77. dynamic '<<$fametown>>_fame += (<<$fametown>>_performer - 30)/2'
  78. if dyneval('RESULT = <<$fametown>>_performer') > 30:
  79. dynamic 'global_performer += <<$fametown>>_performer - 30'
  80. end
  81. end
  82. if dyneval('RESULT = <<$fametown>>_sexind') > 30:
  83. dynamic '<<$fametown>>_fame += (<<$fametown>>_sexind - 30)/2'
  84. if dyneval('RESULT = <<$fametown>>_sexind') > 80:
  85. dynamic 'global_sexind += <<$fametown>>_sexind - 80'
  86. end
  87. end
  88. if dyneval('RESULT = <<$fametown>>_slut') > 30:
  89. dynamic '<<$fametown>>_fame += (<<$fametown>>_slut - 30)/2'
  90. if dyneval('RESULT = <<$fametown>>_slut') > 80:
  91. dynamic 'global_slut += <<$fametown>>_slut - 80'
  92. end
  93. end
  94. if dyneval('RESULT = <<$fametown>>_sport') > 30:
  95. dynamic '<<$fametown>>_fame += (<<$fametown>>_sport - 30)/2'
  96. if dyneval('RESULT = <<$fametown>>_sport') > 50:
  97. dynamic 'global_sport += <<$fametown>>_sport - 50'
  98. end
  99. end
  100. if dyneval('RESULT = <<$fametown>>_int') > 30:
  101. dynamic '<<$fametown>>_fame += (<<$fametown>>_int - 30)/2'
  102. if dyneval('RESULT = <<$fametown>>_int') > 80:
  103. dynamic 'global_int += <<$fametown>>_int - 80'
  104. end
  105. end
  106. if dyneval('RESULT = <<$fametown>>_social') > 30:
  107. dynamic '<<$fametown>>_fame += (<<$fametown>>_social - 30)/2'
  108. if dyneval('RESULT = <<$fametown>>_social') > 20:
  109. dynamic 'global_social += <<$fametown>>_social - 20'
  110. end
  111. end
  112. if $fametown = 'pav':
  113. $fametown = 'city'
  114. jump 'fametownloop'
  115. elseif $fametown = 'city':
  116. $fametown = 'village'
  117. jump 'fametownloop'
  118. end
  119. $fametown = 'pav'
  120. :fametownloop2
  121. if dyneval('RESULT = <<$fametown>>_performer') < global_performer/2: dynamic '<<$fametown>>_performer += global_performer/2'
  122. if dyneval('RESULT = <<$fametown>>_sexind') < global_sexind/2: dynamic '<<$fametown>>_sexind += global_sexind/4'
  123. if dyneval('RESULT = <<$fametown>>_slut') < global_slut/2: dynamic '<<$fametown>>_slut += global_slut/5'
  124. if dyneval('RESULT = <<$fametown>>_sport') < global_sport/2: dynamic '<<$fametown>>_sport += global_sport/4'
  125. if dyneval('RESULT = <<$fametown>>_int') < global_int/2: dynamic '<<$fametown>>_int += global_int/4'
  126. if dyneval('RESULT = <<$fametown>>_social') < global_social/2: dynamic '<<$fametown>>_social += global_social/2'
  127. if $fametown = 'pav':
  128. $fametown = 'city'
  129. jump 'fametownloop2'
  130. elseif $fametown = 'city':
  131. $fametown = 'village'
  132. jump 'fametownloop2'
  133. end
  134. pcs_fame = pav_fame + city_fame + village_fame
  135. $gnikname = ''
  136. if pav_slut > 25:
  137. if pav_slut < 50:
  138. $gnikname = 'flirt'
  139. elseif pav_slut < 75:
  140. $gnikname = 'cocksucker'
  141. elseif pav_slut < 100:
  142. $gnikname = 'boy toy'
  143. elseif pav_slut < 125:
  144. $gnikname = 'sex addict'
  145. elseif pav_slut < 150:
  146. $gnikname = 'slut'
  147. else
  148. $gnikname = 'whore'
  149. end
  150. end
  151. end
  152. --- fame ---------------------------------