1
0

city_musicstore.qsrc 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. # city_musicstore
  2. if $ARGS[0] = 'musicshop':
  3. *clr & cla
  4. if ml_musicstorevisited = 0:
  5. ml_musicstorevisited = 1
  6. gt 'city_musicstore', 'firstvisit'
  7. elseif ml_didntbuyguitarthefirstvisit = 1:
  8. gt 'city_musicstore', 'cameback'
  9. else
  10. '<center><img src="images/locations/city/citycenter/mall/musicstore/music-store-600.jpg"></center>'
  11. 'You enter the store, welcomed by the familiar mix of random notes and bits of songs screaming from the back.'
  12. 'Jimmy just nods at you, then returns his attention to the guitar laying on the counter in front of him.'
  13. act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
  14. act 'Try some guitars':
  15. !! TODO: Better scenes here
  16. if pcs_instrmusic < 30 and pcs_perform < 10:
  17. 'You pick up a guitar to try it, but you are too shy and after strumming a few chords you put it back on it''s stand'
  18. else
  19. 'Some texts here depending on music skill and performing skill'
  20. end
  21. end
  22. act 'Leave':
  23. if ml_boughtguitar > 0 or ml_boughtamp > 0:
  24. gt 'city_musicstore', 'payandtakestuff'
  25. end
  26. gt 'torgcentr'
  27. end
  28. end
  29. end
  30. if $ARGS[0] = 'firstvisit':
  31. '<center><img src="images/locations/city/citycenter/mall/musicstore/music-store-600.jpg"></center>'
  32. *nl
  33. 'You enter the store, passing the door to be submerged in a loud, cacophonic environment.
  34. The walls are filled with guitars, and in the back three teenaged guys are trying instruments in a very loud way.'
  35. !! TODO: Replace the image, Waynes world is fun but silly
  36. '<center><img src="images/locations/city/citycenter/mall/musicstore/waynesworld.jpg"></center>'
  37. *nl
  38. 'A tall, dark haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
  39. 'He straightens up "Hello there, I''m Jimmy" - he greets you - "Is there anything I can help you with?"'
  40. *nl
  41. '<center><img src="images/locations/city/citycenter/mall/musicstore/jimmy.jpg"></center>'
  42. *nl
  43. 'Suddenly he turns and throws a sponge at one of the boys playing in the back "No. Stairway. To. Heaven." he growls and points at the sign on the wall before turning back to you.'
  44. '<center><img src="images/locations/city/citycenter/mall/musicstore/nostairways.jpg"></center>'
  45. act 'Look for a guitar':
  46. *clr & cla
  47. '<center><img src="images/locations/city/citycenter/mall/musicstore/cheap_acoustic_1.jpg"></center>'
  48. 'You start to browse the guitars in the shop, not entirely sure what you are looking for and gladly accept the help of the store clerk. After answering his questions and chatting about music and what you are looking for he finally picks up an affordable acoustic guitar as a recommendation.'
  49. 'After some conversation with the store owner he offers you an affordable acoustic guitar to buy'
  50. 'Jimmy leaves you alone with the instrument, so you sit down to try it, strumming the chords that you know, trying to play something.'
  51. if money > 3400 or karta > 3400:
  52. if money < 14280 and karta < 14280:
  53. 'While the guitar is not the best sounding one it''s comfortable and looking at the price tags, the only one you can afford.'
  54. else
  55. 'While the guitar is not the best sounding one it''s comfortable and looking at the price tags, you are not sure you should spend too much money until you are better at playing the guitar.'
  56. end
  57. if money > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with cash': gt 'city_musicstore', 'buycheapacoustic', 'money'
  58. if karta > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with card': gt 'city_musicstore', 'buycheapacoustic', 'karta'
  59. act 'You have to think about it':
  60. ml_didntbuyguitarthefirstvisit = 1
  61. 'You hesitate for a moment, unsure whether to buy it or not and finally decide to not do it, at least not now. "I will have to talk to my mum first" you say to Jimmy. '
  62. 'He just nods "Don''t worry <<$pcs_firstname>>. You know what, I will put it aside for you for a bit in case you change your mind". He scribbles something on a post-it note, and sticks it on the guitar "I will try to keep the price the same, 3,400 rubels."'
  63. act 'Leave': gt 'torgcentr'
  64. end
  65. else
  66. ml_didntbuyguitarthefirstvisit = 1
  67. 'While the guitar is not the best sounding one it''s comfortable. Unfortunately while it''s cheaper than the rest, it still costs more than you have. With a sigh you hand it back to Jimmy "I''m sorry, but, I can''t buy it now."'
  68. 'He just nods "Don''t worry, I tell you what, I will put it aside for you if you change your mind. He scribbles something on a post-it note, and sticks it on the guitar "I will try to keep the price the same, 3,400 rubels."'
  69. act 'Leave': gt 'torgcentr'
  70. end
  71. end
  72. act 'Leave':
  73. ml_didntbuyguitarthefirstvisit = 1
  74. gt 'torgcentr'
  75. end
  76. end
  77. if $ARGS[0] = 'cameback':
  78. *clr & cla
  79. '<center><img src="images/locations/city/citycenter/mall/musicstore/music-store-600.jpg"></center>'
  80. *nl
  81. 'You enter the store, passing the door to be submerged in a loud, cacophonic environment.'
  82. if money > 3400 or karta > 3400:
  83. act 'Ask Jimmy about the guitar':
  84. cla
  85. 'You walk up to the counter where Jimmy is busy tinkering with a guitar.'
  86. '"Hi Jimmy... I was wondering if you still has that guitar..."'
  87. 'Jimmy looks up from the guitar "Hi <<$pcs_firstname>>, sure, I have it. Let me get it for you."'
  88. 'He disappears for several minutes before he brings out the guitar. "See, all in good shape. Properly set up and everything."'
  89. if money > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with cash': gt 'city_musicstore', 'buycheapacoustic', 'money'
  90. if karta > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with card': gt 'city_musicstore', 'buycheapacoustic', 'karta'
  91. end
  92. end
  93. act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
  94. act 'Try some guitars':
  95. !! TODO: Better scenes here
  96. if pcs_instrmusic < 30 and pcs_perform < 10:
  97. 'You pick up a guitar to try it, but you are too shy and after strumming a few chords you put it back on it''s stand'
  98. else
  99. 'Some texts here depending on music skill and performing skill'
  100. end
  101. end
  102. act 'Leave':
  103. if ml_boughtguitar > 0 or ml_boughtamp > 0:
  104. gt 'city_musicstore', 'payandtakestuff'
  105. end
  106. gt 'torgcentr'
  107. end
  108. end
  109. if $ARGS[0] = 'buycheapacoustic':
  110. *clr & cla
  111. '<center><img src="images/locations/city/citycenter/mall/musicstore/starterkit.jpg"></center>'
  112. if ml_didntbuyguitarthefirstvisit = 1:
  113. 'You finally decide to buy the guitar, taking it to the checkout. Jimmy throws in a gigbag to carry the gitar and a set of strings and picks. "A proper starter kit" he states and rings up the purchase.'
  114. killvar 'ml_didntbuyguitarthefirstvisit'
  115. else
  116. 'Jimmy puts the guitar in a gigbag, and drops a set of strings and picks in the the pocket. "A proper starter kit" he states and rings up the purchase.'
  117. end
  118. 'He looks at you thoughtfully, then drops a thick, slightly worn booklet in the bag "Some stuff to learn from" he says handing your purchase to you "Congratulations, welcome to the starving musician community."'
  119. ml_guitars['jb-budget-acoustic'] = 1
  120. ml_strings = 2
  121. ml_guitar['chordbook'] = 1
  122. ml_guitar['hasguitar'] = 1
  123. ml_guitar['carried'] = 1
  124. if $ARGS[1] = 'money': money -= 3400
  125. if $ARGS[2] = 'karta': karta -= 3400
  126. gs 'stat'
  127. act 'Leave': gt 'torgcentr'
  128. end
  129. if $ARGS[0] = 'payandtakestuff':
  130. if ml_boughtamp + ml_guitar['carried'] > 0 or ml_boughtguitar > 1:
  131. minut += (ml_boughtguitar * 5) + (ml_boughtguitar * 5)
  132. 'Jimmy takes your details and your home address after you pay, and sets up the delivery. "It should be there tomorrow, <<$pcs_nickname>>."'
  133. else
  134. minut += 20
  135. ml_guitar['carried'] = 1
  136. 'Jimmy disappears with your chosen guitar in the back of the shop only to return after about 10 minutes. "It''s all set up, <<$pcs_nickname>>, if you need to tweak anything, just bring it in, we will do it, no charge."'
  137. *nl
  138. 'He puts the guitar in ' + iif(ml_gigbag = 1, 'a gigbag', '') + iif(ml_hardcase = 1, 'its case', '') + ' and hands it to you. "All the best, <<$pcs_nickname>>."'
  139. end
  140. killvar 'ml_boughtamp'
  141. killvar 'ml_boughtguitar'
  142. killvar 'ml_gigbag'
  143. killvar 'ml_hardcase'
  144. act 'Leave': gt 'torgcentr'
  145. end
  146. --- city_musicstore ---------------------------------