1
0

music_checks.qsrc 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # music_checks
  2. !! Del Parco Storyline Stages
  3. !! ml_delparcoQW['Stage'] = 0 - Storyline hasn''t started yet.
  4. !! ml_delparcoQW['Stage'] = 1 - Sveta declines the offer when they meet while she is busking. Zariyah tells her to visit her office next Friday around 4pm.
  5. !! ml_delparcoQW['Stage'] = 2 - Sveta accepts the offer when they meet while she is busking. Zariyah tells her to think about it, and that if she changes her mind, just visit her in her office.
  6. !! ml_delparcoQW['Stage'] = 3 -
  7. !! ml_delparcoQW['Stage'] = 4 -
  8. !! ml_delparcoQW['Stage'] = 5 -
  9. !! ml_delparcoQW['Stage'] = 6 -
  10. !! ml_delparcoQW['Stage'] = 7 -
  11. !! ml_delparcoQW['Stage'] = 98 - Sveta declined the offer even after thinking about it. Zariyah gave her a card and asked her to call if she changes her mind.
  12. !! Story is not over, Sveta can start it any time by calling or visiting Zariyah
  13. !! ml_delparcoQW['Stage'] = 99 - Zariyah met Sveta when Sveta was visibly pregnant and asked her to talk after Sveta gave birth and feels like she is ready for this.
  14. !! Like with Stage 98, Sveta can continue the story at a later point (after she is not pregnant anymore).
  15. !! ml_delparcoQW['Stage'] = 100 - Zariyah will not do anything with Sveta. Either she decided not to even give her an offer, or she fired Sveta
  16. if $ARGS[0] = 'zariyah_approach':
  17. if $loc = 'pav_park':
  18. chance = 75
  19. else
  20. ml_approach = (rand(0,100) > 80 and (pcs_instrmusic + pcs_vokal + pcs_perform) >= 120 and pcs_hotcat >= 5 and ml_delparcoQW['stage'] = 0)
  21. end
  22. ml_approach = rand(1,100) > chance and (pcs_instrmusic + pcs_vokal + pcs_perform) >= 120 and pcs_hotcat >= 5 and ml_delparcoQW['stage'] = 0
  23. if ml_approach:
  24. !! Check for fame: if very 'famous' then she won't ever approach Sveta, doesn't want her associated with Del Parco.
  25. if fame['pav_slut'] > 250 or fame['pav_prostitute'] > 250 or fame['pav_sex'] > 250 or fame['pav_porn'] > 500 or fame['pav_stripping'] > 500:
  26. ml_delparcoQW['Stage'] = 100
  27. !! Check for covered in cum: face, hair, clothes (at least decent amount). If Sveta is in public, visibly covered in cum, she won''t ever approach Sveta,
  28. !! doesn''t want her associated with Del Parco.
  29. elseif cumvol[11] > 10 or cumvol[16] > 20 or cumvol[6] > 20 or cumvol[7] > 20:
  30. ml_delparcoQW['Stage'] = 100
  31. !! Check for drunk+. If Sveta drunk, very drunk or wasted Zariyah won''t approach her - what for? However, she will still approach her if the next time
  32. !! she sees Sveta busking and Sveta passes the checks.
  33. elseif alko > 6:
  34. ml_approach = 0
  35. ml_delparcoQW['Zariyah_Trust'] -= 10
  36. !! Check for stoned: if Sveta is stoned the Zariyah will avoid her for now. But they still can meet.
  37. elseif drugVars['heroin_high'] > 20:
  38. ml_approach = 0
  39. ml_delparcoQW['Zariyah Trust'] -= 20
  40. end
  41. !! Less serious checks
  42. !! Check if Sveta is tipsy
  43. if alko > 4 and alko < 7:
  44. ml_delparcoQW['Drinking Rule'] = 1
  45. ml_delparcoQW['Zariyah Trust'] -= 5
  46. end
  47. !! Check if Sveta is high
  48. if drugVars['weed_high'] > 0:
  49. ml_delparcoQW['Weed Rule'] = 1
  50. ml_delparcoQW['Zariyah Trust'] -= 5
  51. end
  52. !! Check if Sveta is dressed like a hooker
  53. if PCloStyle > 3 or PCloStyle2 = 3 or PCloThinness > 4 or PCloTopCut > 3 or PCloSkirt > 4 or PCloPants > 5 or PCloPanties > 0:
  54. ml_delparcoQW['Outfit Rule'] = 1
  55. ml_delparcoQW['Zariyah Trust'] -= 5
  56. end
  57. !! Check if Sveta is pregnant
  58. if pregchem > 3450:
  59. !! If Sveta is visibly pregnant, and also clearly drank alcohol and/or is high and/or is stoned and/or is dressed like a hooker,
  60. !! Zariyah doesn''t want to do anything with her.
  61. if alko > 4 or drugVars['weed_high'] > 0 or drugVars['heroin_high'] > 20 or ml_delparcoQW['Outfit Rule'] = 1:
  62. ml_delparcoQW['Stage'] = 100
  63. !! If Sveta is visibly pregnant, Zariyah will talk with her and make an offer for after she gave birth. She doesn''t want a pregnant
  64. !! woman in or close to her third semester as a musician, too risky. But later, sure.
  65. else
  66. ml_delparcoQW['Stage'] = 99
  67. end
  68. end
  69. gs 'music_checks', 'check_for_trust'
  70. if ml_delparcoQW['Stage'] = 100: ml_approach = 0
  71. end
  72. killvar 'chance'
  73. end
  74. if $ARGS[0] = 'check_if_fired':
  75. !! Check for fame: if very 'famous' then she won't ever approach Sveta, doesn't want her associated with Del Parco.
  76. if fame['pav_sex'] > 150:
  77. ml_delparcoQW['Sveta Sex'] = 1
  78. ml_delparcoQW['Stage'] = 100
  79. elseif fame['pav_prostitute'] > 150:
  80. ml_delparcoQW['Sveta Prostitute'] = 1
  81. ml_delparcoQW['Stage'] = 100
  82. elseif fame['pav_porn'] > 500:
  83. ml_delparcoQW['Sveta Porn'] = 1
  84. ml_delparcoQW['Stage'] = 100
  85. elseif fame['pav_stripping'] > 500:
  86. ml_delparcoQW['Sveta Stripper'] = 1
  87. ml_delparcoQW['Stage'] = 100
  88. !! Check for covered in cum: face, hair, clothes (at least decent amount). If Sveta is shows up to a gig covered in cum, Zariyah will fire her on the spot.
  89. !! TODO: Will add something here, if she is caught and raped in the park before the gig it makes sense that she goes to Zariyah to call the police. That will be a separate scene.
  90. elseif cumvol[11] > 10 or cumvol[16] > 20 or cumvol[6] > 20 or cumvol[7] > 20:
  91. ml_delparcoQW['Stage'] = 100
  92. !! Check for drunk+. If Sveta shows up to perform drunk, very drunk or wasted Zariyah will fire her because she is unreliable.
  93. elseif alko > 6:
  94. ml_delparcoQW['Sveta Drunk'] = 1
  95. ml_delparcoQW['Stage'] = 100
  96. !! Check for stoned: if Sveta shows up to perform stoned, Zariyah will fire her because she is unreliable.
  97. elseif drugVars['heroin_high'] > 20:
  98. ml_delparcoQW['Sveta Stoned'] = 1
  99. ml_delparcoQW['Stage'] = 100
  100. end
  101. end
  102. if $ARGS[0] = 'check_if_can_perform':
  103. !! Less serious checks
  104. !! Check if Sveta is tipsy
  105. if alko > 4 and alko < 7:
  106. ml_delparcoQW['Drinking Rule'] = 1
  107. ml_delparcoQW['Zariyah Trust'] -= 10
  108. ml_perform = 0
  109. end
  110. !! Check if Sveta is high
  111. if drugVars['weed_high'] > 0:
  112. ml_delparcoQW['Weed Rule'] = 1
  113. ml_delparcoQW['Zariyah Trust'] -= 10
  114. ml_perform = 0
  115. end
  116. !! Check if Sveta is dressed like a hooker
  117. if PCloStyle > 3 or PCloStyle2 = 3 or PCloThinness > 4 or PCloTopCut > 3 or PCloSkirt > 4 or PCloPants > 5 or PCloPanties > 0:
  118. ml_delparcoQW['Outfit Rule'] = 1
  119. ml_delparcoQW['Zariyah Trust'] -= 10
  120. ml_perform = 0
  121. end
  122. end
  123. if $ARGS[0] = 'check_for_trust':
  124. !! Check for Zariyah''s trust level. If it is 0 or less, then the story is over. So if she sees Sveta drunk or stoned several times, she won''t make an offer.
  125. if ml_delparcoQW['Zariyah Trust'] <= 0:
  126. ml_delparcoQW['Stage'] = 100
  127. end
  128. end
  129. if $ARGS[0] = 'reset_checks':
  130. ml_delparcoQW['Drinking Rule'] = 1
  131. ml_delparcoQW['Weed Rule'] = 1
  132. ml_delparcoQW['Outfit Rule'] = 1
  133. end
  134. --- music_checks ---------------------------------