fame 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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, oldtown 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 1-5 for a little to a lot
  8. if $ARGS[0] ! 'deg':
  9. dynamic '<<$ARGS[0]>>_<<ARGS[1]>> += ARGS[2]'
  10. fame_performer = 0
  11. fame_sexind = 0
  12. fame_slut = 0
  13. fame_sport = 0
  14. fame_int = 0
  15. fame_social = 0
  16. global_performer = 0
  17. global_sexind = 0
  18. global_slut = 0
  19. global_sport = 0
  20. global_int = 0
  21. global_social = 0
  22. $fametown = 'pav'
  23. :fametownloop
  24. dynamic '<<$fametown>>_performer = 0'
  25. if dyneval('RESULT = <<$fametown>>_acting') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_acting - 30)/3'
  26. if dyneval('RESULT = <<$fametown>>_dance') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_dance - 30)/3'
  27. if dyneval('RESULT = <<$fametown>>_painting') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_painting - 30)/3'
  28. if dyneval('RESULT = <<$fametown>>_music') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_music - 30)/3'
  29. if dyneval('RESULT = <<$fametown>>_ballet') > 30: dynamic '<<$fametown>>_performer += (<<$fametown>>_ballet - 30)/3'
  30. dynamic '<<$fametown>>_sexind = 0'
  31. if dyneval('RESULT = <<$fametown>>_modelling') > 30: dynamic '<<$fametown>>_sexind += (<<$fametown>>_modelling - 30)/3'
  32. if dyneval('RESULT = <<$fametown>>_porn') > 30: dynamic '<<$fametown>>_sexind += (<<$fametown>>_porn - 30)/3'
  33. if dyneval('RESULT = <<$fametown>>_stripping') > 30: dynamic '<<$fametown>>_sexind += (<<$fametown>>_stripping - 30)/3'
  34. dynamic '<<$fametown>>_slut = 0'
  35. if dyneval('RESULT = <<$fametown>>_sex') > 30: dynamic '<<$fametown>>_slut += (<<$fametown>>_sex - 30)/2'
  36. if dyneval('RESULT = <<$fametown>>_prostitute') > 30: dynamic '<<$fametown>>_slut += (<<$fametown>>_prostitute - 30)/2'
  37. dynamic '<<$fametown>>_sport = 0'
  38. if dyneval('RESULT = <<$fametown>>_kickboxing') > 30: dynamic '<<$fametown>>_sport += (<<$fametown>>_kickboxing - 30)/3'
  39. if dyneval('RESULT = <<$fametown>>_running') > 30: dynamic '<<$fametown>>_sport += (<<$fametown>>_running - 30)/3'
  40. if dyneval('RESULT = <<$fametown>>_volleyball') > 30: dynamic '<<$fametown>>_sport += (<<$fametown>>_volleyball - 30)/3'
  41. dynamic '<<$fametown>>_int = 0'
  42. if dyneval('RESULT = <<$fametown>>_chess') > 30: dynamic '<<$fametown>>_int += (<<$fametown>>_chess - 30)/2'
  43. if dyneval('RESULT = <<$fametown>>_teaching') > 30: dynamic '<<$fametown>>_int += (<<$fametown>>_teaching - 30)/3'
  44. dynamic '<<$fametown>>_social = 0'
  45. if dyneval('RESULT = <<$fametown>>_media') > 30: dynamic '<<$fametown>>_social += (<<$fametown>>_media - 30)/2'
  46. dynamic '<<$fametown>>_fame = 0'
  47. if dyneval('RESULT = <<$fametown>>_performer') > 30:
  48. dynamic '<<$fametown>>_fame += (<<$fametown>>_performer - 30)/2'
  49. if dyneval('RESULT = <<$fametown>>_performer') > 80:
  50. dynamic 'global_performer += <<$fametown>>_performer - 80'
  51. end
  52. end
  53. if dyneval('RESULT = <<$fametown>>_sexind') > 30:
  54. dynamic '<<$fametown>>_fame += (<<$fametown>>_sexind - 30)/2'
  55. if dyneval('RESULT = <<$fametown>>_sexind') > 80:
  56. dynamic 'global_sexind += <<$fametown>>_sexind - 80'
  57. end
  58. end
  59. if dyneval('RESULT = <<$fametown>>_slut') > 30:
  60. dynamic '<<$fametown>>_fame += (<<$fametown>>_slut - 30)/2'
  61. if dyneval('RESULT = <<$fametown>>_slut') > 80:
  62. dynamic 'global_slut += <<$fametown>>_slut - 80'
  63. end
  64. end
  65. if dyneval('RESULT = <<$fametown>>_sport') > 30:
  66. dynamic '<<$fametown>>_fame += (<<$fametown>>_sport - 30)/2'
  67. if dyneval('RESULT = <<$fametown>>_sport') > 80:
  68. dynamic 'global_sport += <<$fametown>>_sport - 80'
  69. end
  70. end
  71. if dyneval('RESULT = <<$fametown>>_int') > 30:
  72. dynamic '<<$fametown>>_fame += (<<$fametown>>_int - 30)/2'
  73. if dyneval('RESULT = <<$fametown>>_int') > 80:
  74. dynamic 'global_int += <<$fametown>>_int - 80'
  75. end
  76. end
  77. if dyneval('RESULT = <<$fametown>>_social') > 30:
  78. dynamic '<<$fametown>>_fame += (<<$fametown>>_social - 30)/2'
  79. if dyneval('RESULT = <<$fametown>>_social') > 80:
  80. dynamic 'global_social += <<$fametown>>_social - 80'
  81. end
  82. end
  83. if $fametown = 'pav':
  84. $fametown = 'city'
  85. jump 'fametownloop'
  86. elseif $fametown = 'city':
  87. $fametown = 'oldtown'
  88. jump 'fametownloop'
  89. elseif $fametown = 'oldtown':
  90. $fametown = 'village'
  91. jump 'fametownloop'
  92. end
  93. $fametown = 'pav'
  94. :fametownloop2
  95. dynamic '<<$fametown>>_performer += global_performer/4'
  96. dynamic '<<$fametown>>_sexind += global_sexind/4'
  97. dynamic '<<$fametown>>_slut += global_slut/4'
  98. dynamic '<<$fametown>>_sport += global_sport/4'
  99. dynamic '<<$fametown>>_int += global_int/4'
  100. dynamic '<<$fametown>>_social += global_social/4'
  101. if dyneval('RESULT = <<$fametown>>_performer') > 30: dynamic 'fame_performer += (<<$fametown>>_performer - 30)/3'
  102. if dyneval('RESULT = <<$fametown>>_sexind') > 30: dynamic 'fame_sexind += (<<$fametown>>_sexind - 30)/3'
  103. if dyneval('RESULT = <<$fametown>>_slut') > 30: dynamic 'fame_slut += (<<$fametown>>_slut - 30)/3'
  104. if dyneval('RESULT = <<$fametown>>_sport') > 30: dynamic 'fame_sport += (<<$fametown>>_sport - 30)/3'
  105. if dyneval('RESULT = <<$fametown>>_int') > 30: dynamic 'fame_int += (<<$fametown>>_int - 30)/3'
  106. if dyneval('RESULT = <<$fametown>>_social') > 30: dynamic 'fame_social += (<<$fametown>>_social - 30)/3'
  107. if $fametown = 'pav':
  108. $fametown = 'city'
  109. jump 'fametownloop2'
  110. elseif $fametown = 'city':
  111. $fametown = 'oldtown'
  112. jump 'fametownloop2'
  113. elseif $fametown = 'oldtown':
  114. $fametown = 'village'
  115. jump 'fametownloop2'
  116. end
  117. pcs_fame = pav_fame + city_fame + oldtown_fame + village_fame
  118. end
  119. if $ARGS[0] ! 'deg':
  120. $fametown = 'pav'
  121. :famedegloop
  122. if dyneval('RESULT = <<$fametown>>_acting') > 1: dynamic '<<$fametown>>_performer -= rand(-1,2)'
  123. if dyneval('RESULT = <<$fametown>>_dance') > 1: dynamic '<<$fametown>>_performer -= rand(-1,2)'
  124. if dyneval('RESULT = <<$fametown>>_painting') > 1: dynamic '<<$fametown>>_performer -= rand(-1,2)'
  125. if dyneval('RESULT = <<$fametown>>_music') > 1: dynamic '<<$fametown>>_performer -= rand(-1,2)'
  126. if dyneval('RESULT = <<$fametown>>_ballet') > 1: dynamic '<<$fametown>>_performer -= rand(-1,2)'
  127. if dyneval('RESULT = <<$fametown>>_modelling') > 1: dynamic '<<$fametown>>_sexind -= rand(-1,2)'
  128. if dyneval('RESULT = <<$fametown>>_porn') > 1: dynamic '<<$fametown>>_sexind -= rand(-1,2)'
  129. if dyneval('RESULT = <<$fametown>>_stripping') > 1: dynamic '<<$fametown>>_sexind -= rand(-1,2)'
  130. if dyneval('RESULT = <<$fametown>>_sex') > 1: dynamic '<<$fametown>>_slut -= rand(-1,2)'
  131. if dyneval('RESULT = <<$fametown>>_prostitute') > 1: dynamic '<<$fametown>>_slut -= rand(-1,2)'
  132. if dyneval('RESULT = <<$fametown>>_kickboxing') > 1: dynamic '<<$fametown>>_sport -= rand(-1,2)'
  133. if dyneval('RESULT = <<$fametown>>_running') > 1: dynamic '<<$fametown>>_sport -= rand(-1,2)'
  134. if dyneval('RESULT = <<$fametown>>_volleyball') > 1: dynamic '<<$fametown>>_sport -= rand(-1,2)'
  135. if dyneval('RESULT = <<$fametown>>_chess') > 1: dynamic '<<$fametown>>_int -= rand(-1,2)'
  136. if dyneval('RESULT = <<$fametown>>_teaching') > 1: dynamic '<<$fametown>>_int -= rand(-1,2)'
  137. if dyneval('RESULT = <<$fametown>>_media') > 1: dynamic '<<$fametown>>_social -= rand(-1,2)'
  138. if $fametown = 'pav':
  139. $fametown = 'city'
  140. jump 'famedegloop'
  141. elseif $fametown = 'city':
  142. $fametown = 'oldtown'
  143. jump 'famedegloop'
  144. elseif $fametown = 'oldtown':
  145. $fametown = 'village'
  146. jump 'famedegloop'
  147. end
  148. end
  149. --- fame ---------------------------------