music_guitarlesson.qsrc 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # music_guitarlesson
  2. if $ARGS[0] = 'enquiry':
  3. 'You follow the directions from the receptionist and reach the room where the guitar lessons take place.
  4. The door is half open, and peeking in you see a dark haired man in his thirties sitting at a table, scribbling in a note book.'
  5. '"Uhm, hi, I''m looking for the guitar lessons?" you call outas you step into the room.
  6. The man looks up, then smiles as he sees you "Please, come in. I''m Viktor Zenchuk, and yes, this is where I teach guitar. Would you be interested?"'
  7. *nl
  8. 'You shift on your feet "I''m <<$pcs_name>>, and yes, I think. Can you please tell me a bit more?"'
  9. ' "Sure. I assume you are a beginner..." he looks at you, and you nod "Then obviously we would start at the basics. The instrument, chords, some basic theory. We would meet once a week, here.
  10. If you have a guitar, that''s great, if not, you can use mine. But you will really need to get a guitar to practice at home. The lessons cost 500 rubels, but if you are under 18' +iif(vidage < 18, ', which I assume you are,', '')+ ' then it''s only 300 rubels."'
  11. *nl
  12. 'He looks at you "So, <<$pcs_name>>, do you think you would be interested in taking lessons?"'
  13. npc_rel['ML1'] = 45
  14. ml_enquired = 1
  15. act 'Sign up':
  16. 'You nod "Yes, I really would like to learn to play the guitar. When can we start?"'
  17. 'The teacher pushes the book closer to you "I will need your name here, and the school and class you attend, and also, I need to see your passport, to confirm you are under 18." You write down the information, and show him your passport.'
  18. '"Eccellent, now, what day would you like to come for your first lesson?"'
  19. '<a href="exec: ml_lessonday = 1 & $ml_lessonday = ''Monday'' & gt ''music_guitarlesson'', ''goodbye''">Monday</a>'
  20. '<a href="exec: ml_lessonday = 2 & $ml_lessonday = ''Tuesday'' & gt ''music_guitarlesson'', ''goodbye''">Tuesday</a>'
  21. '<a href="exec: ml_lessonday = 3 & $ml_lessonday = ''Wednesday'' & gt ''music_guitarlesson'', ''goodbye''">Wednesday</a>'
  22. '<a href="exec: ml_lessonday = 4 & $ml_lessonday = ''Thursday'' & gt ''music_guitarlesson'', ''goodbye''">Thursday</a>'
  23. '<a href="exec: ml_lessonday = 5 & $ml_lessonday = ''Friday'' & gt ''music_guitarlesson'', ''goodbye''">Friday</a>'
  24. '<a href="exec: ml_lessonday = 6 & $ml_lessonday = ''Saturday'' & gt ''music_guitarlesson'', ''goodbye''">Saturday</a>'
  25. '<a href="exec: ml_lessonday = 8 & $ml_lessonday = ''None'' & gt ''music_guitarlesson'', ''goodbye''">You don''t know yet</a>'
  26. end
  27. act 'You have to think':
  28. 'You hesitate for a moment "I would be, but I have to talk with my <<$npc_nickname[''A29'']>> first."'
  29. 'The teacher nods "That''s understandable. Just come in when you know and we can set up the lesson" He smiles at you "It was a pleasure to meet you, <<$pcs_name>>, and I''m looking forward to seeing you again."'
  30. act 'Leave': gt 'pav_commclubs'
  31. end
  32. end
  33. if $ARGS[0] = 'setlessonday':
  34. !! TODO: Write the proper scene here
  35. 'You meet the teacher and agree on your next lesson.'
  36. 'Select your next lesson'
  37. '<a href="exec: ml_lessonday = 1 & $ml_lessonday = ''Monday'' & gt ''music_guitarlesson'', ''goodbye''">Monday</a>'
  38. '<a href="exec: ml_lessonday = 2 & $ml_lessonday = ''Tuesday'' & gt ''music_guitarlesson'', ''goodbye''">Tuesday</a>'
  39. '<a href="exec: ml_lessonday = 3 & $ml_lessonday = ''Wednesday'' & gt ''music_guitarlesson'', ''goodbye''">Wednesday</a>'
  40. '<a href="exec: ml_lessonday = 4 & $ml_lessonday = ''Thursday'' & gt ''music_guitarlesson'', ''goodbye''">Thursday</a>'
  41. '<a href="exec: ml_lessonday = 5 & $ml_lessonday = ''Friday'' & gt ''music_guitarlesson'', ''goodbye''">Friday</a>'
  42. '<a href="exec: ml_lessonday = 6 & $ml_lessonday = ''Saturday'' & gt ''music_guitarlesson'', ''goodbye''">Saturday</a>'
  43. end
  44. if $ARGS[0] = 'firstLesson':
  45. !! TODO: Write a proper scene here
  46. gt 'music_guitarlesson', 'lesson'
  47. end
  48. if $ARGS[0] = 'lesson':
  49. !! TODO: Do the guitarlesson stuff here - a few different scenes maybe?
  50. '<center><img <<$set_imgh>> src="mod/musiclife/images/locations/pavlovsk/community/guitarlesson/guitarteach_'+ rand(1,2) +'.jpg"></center>'
  51. if instrmusic_lvl < 15:
  52. instrmusic_exp += rand(1,3)
  53. 'You spend the next 45 minutes learning the basics of the guitar and some chords. At the end of the lesson your fingers and hands hurt, but you feel that you have learned a lot.'
  54. else
  55. instrmusic_exp += rand(1,3)
  56. 'You spend the next 45 minutes working on songs you have learned and improving some specific techniques.'
  57. end
  58. 'Select your next lesson'
  59. '<a href="exec: ml_lessonday = 1 & $ml_lessonday = ''Monday'' & gt ''music_guitarlesson'', ''goodbye''">Monday</a>'
  60. '<a href="exec: ml_lessonday = 2 & $ml_lessonday = ''Tuesday'' & gt ''music_guitarlesson'', ''goodbye''">Tuesday</a>'
  61. '<a href="exec: ml_lessonday = 3 & $ml_lessonday = ''Wednesday'' & gt ''music_guitarlesson'', ''goodbye''">Wednesday</a>'
  62. '<a href="exec: ml_lessonday = 4 & $ml_lessonday = ''Thursday'' & gt ''music_guitarlesson'', ''goodbye''">Thursday</a>'
  63. '<a href="exec: ml_lessonday = 5 & $ml_lessonday = ''Friday'' & gt ''music_guitarlesson'', ''goodbye''">Friday</a>'
  64. '<a href="exec: ml_lessonday = 6 & $ml_lessonday = ''Saturday'' & gt ''music_guitarlesson'', ''goodbye''">Saturday</a>'
  65. '<a href="exec: ml_lessonday = 8 & $ml_lessonday = ''None'' & gt ''music_guitarlesson'', ''goodbye''">You don''t know yet</a>'
  66. money -= ml_gitlesson_cost
  67. ml_guitarlessonday = daystart
  68. ml_glessonweekday = week
  69. ml_guitarlessoncount += 1
  70. minut += 45
  71. npc_rel['ML1'] += 1
  72. act 'End lesson': gt 'pav_commclubs'
  73. end
  74. if $ARGS[0] = 'goodbye':
  75. !! TODO: Kinda ok for now but needs a less awkward phrasing
  76. *clr & cla
  77. if ml_lessonday < 8:
  78. 'You agree to meet for your next lesson on <<$ml_lessonday>> at <<hour>>:00. The teacher enters it in the diary and you say good bye before you leave.'
  79. else
  80. 'You are not sure when it would be a good day right now, so you agree to decide on a day later, you say good bye and leave.'
  81. end
  82. act 'Leave': gt 'pav_commclubs'
  83. end
  84. if $ARGS[0] = 'advertisement':
  85. ml_guitarlessonadv = 1
  86. '<center>As you pass by the community centre door you see a new colour note screaming "Guitar Lessons!" in bright letters over the image of a guitar.<center>'
  87. *nl
  88. '<center><img src="images/locations/pavlovsk/community/guitarlesson/glessonad.jpg"></center>'
  89. act 'Leave': gt 'pav_commcenter'
  90. end
  91. --- music_guitarlesson ---------------------------------