music_bedroompractice.qsrc 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # music_bedroompractice
  2. if $ARGS[0] = 'guitar':
  3. *clr & cla
  4. minut += 30
  5. ml_performance['performed_minutes'] += 15
  6. ml_performance['total_time_performed'] += 15
  7. pcs_mood += 5
  8. gs 'stat'
  9. '<center><img <<$set_imgh>> src="images/pc/activities/music/guitarpractice_1.jpg"></center>'
  10. if ml_guitarlesson['lessoncount'] = 0 and ml_guitar['chordbook'] = 1 and pcs_instrmusic <= 10:
  11. instrmusic_exp += rand(1,3)
  12. gs 'pain', 1, 'fingers', 'ache'
  13. gs 'stat'
  14. 'You open the book you got from Jimmy and start to practice the chords and basic techniques on the guitar.'
  15. 'It goes slowly, your fingers get in the way and they start to hurt after a short time as the strings dig into them, but you soldier on until.'
  16. 'The strings still either buzz, or don''t ring but by the end you start to get a feel for how to do it better. '
  17. elseif ml_guitarlesson['lessoncount'] = 0 and ml_guitar['chordbook'] = 1 and pcs_instrmusic > 10 and pcs_instrmusic < 25 and internet < 1:
  18. 'You open the chordbook you got from Jimmy and start to practice, but you feel that you don''t really improve that much.'
  19. instrmusic_exp += rand(1,2)
  20. elseif ml_guitarlesson['lessoncount'] = 0 and ml_guitar['chordbook'] = 1 and pcs_instrmusic > 15 and internet > 0:
  21. '<center><video autoplay loop src="images/pc/activities/music/onlineguitarlesson.mp4"></video></center>'
  22. 'You look at the book you got from Jimmy, then decide to turn to the internet for new lessons.'
  23. instrmusic_exp += rand(1,3)
  24. elseif ml_guitarlesson['lessoncount'] > 0 and pcs_instrmusic >= 25 and internet > 0:
  25. instrmusic_exp += rand(2,3)
  26. '<center><video autoplay loop src="images/pc/activities/music/onlineguitarlesson.mp4"></video></center>'
  27. 'You work through the practices from your guitarlesson then turn to the internet to learn some more new songs.'
  28. else
  29. 'You pick up you guitar and the lessons from the guitar teacher and start to practice.'
  30. instrmusic_exp += rand(2,3)
  31. end
  32. if $loc = 'sitr':
  33. act 'Finish practice': gt $loc
  34. else
  35. act 'Finish practice': gt $loc, 'start'
  36. end
  37. end
  38. if $ARGS[0] = 'rehearsing':
  39. *clr & cla
  40. minut += 30
  41. pcs_mood += 5
  42. ml_performance['performed_minutes'] += 30
  43. ml_performance['total_time_performed'] += 30
  44. gs 'stat'
  45. '<center><img <<$set_imgh>> src="images/pc/activities/music/guitarpractice_1.jpg"></center>'
  46. if ml_performance['set_quality'] < 25:
  47. !! TODO: Very, very beginning, many mistakes, frowny..
  48. elseif ml_performance['set_quality'] < 50:
  49. !! TODO: Getting better, the main bits are learned, most of the lyrics remembered
  50. elseif ml_performance['set_quality'] < 75:
  51. !! TODO: Not perfect, could play it with some errors and mistakes
  52. elseif ml_performance['set_quality'] < 95:
  53. !! TODO: Almost perfect, some minor errors, occassionally missed words in the lyrics
  54. else
  55. !! TODO: Done and dusted, learned it all.
  56. end
  57. if ml_performance['set_quality'] < 85:
  58. instrmusic_exp += rand(1,3)
  59. vokal_exp += rand(1,3)
  60. if perform_lvl < 35: perform_exp += rand(1,3)
  61. end
  62. ml_performance['set_quality'] += rand(1,(pcs_instrmusic + pcs_vokal + pcs_perform)/10)
  63. ml_performance['set_lastpracticeday'] = daystart
  64. act 'Finish practice': gt $loc, 'start'
  65. end
  66. --- music_bedroompractice ---------------------------------