|
@@ -307,7 +307,29 @@ if $ARGS[0] = 'yoffice':
|
|
|
end
|
|
|
|
|
|
if ml_guitar['hasguitar'] = 1 and (ml_guitar['chordbook'] = 1 or ml_guitarlesson['lessoncount'] > 0) and ml_performance['performed_minutes'] < ml_performance['max_perform_minutes'] and alko < 5:
|
|
|
- act 'Practice guitar': gt 'music_bedroomPractice', 'guitar'
|
|
|
+ if pcs_inhib < 30:
|
|
|
+ if pcs_inhib < 10:
|
|
|
+ $diff = 'hard'
|
|
|
+ elseif pcs_inhib < 20:
|
|
|
+ $diff = 'medium'
|
|
|
+ else
|
|
|
+ $diff = 'easy'
|
|
|
+ end
|
|
|
+ gs 'willpower', 'skill', 'self', $diff
|
|
|
+ will_cost = (will_cost * 3) - (pcs_perform)
|
|
|
+ if will_cost <= pcs_willpwr:
|
|
|
+ act 'Practice guitar (<<will_cost>> Willpower)':
|
|
|
+ inhib_exp += rand(1,2)
|
|
|
+ gs 'willpower', 'pay', 'self'
|
|
|
+ gs 'stat'
|
|
|
+ gt 'music_bedroomPractice', 'guitar'
|
|
|
+ end
|
|
|
+ else
|
|
|
+ act 'Practice guitar (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You feel too embarrassed to pick up your guitar in front of people</font>'
|
|
|
+ end
|
|
|
+ else
|
|
|
+ act 'Practice guitar': gt 'music_bedroomPractice', 'guitar'
|
|
|
+ end
|
|
|
end
|
|
|
|
|
|
!! Streaming music
|