city_musicstore.qsrc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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.jpg"></center>'
  11. 'You enter the store, welcomed by the familiar mix of random notes and bits of songs screaming from the back.'
  12. act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
  13. !{ act 'Try some guitars':
  14. !!TO DO: Better scenes here
  15. if pcs_instrmusic < 30 and pcs_perform < 10:
  16. 'You pick up a guitar you like the look of, but are too shy to play it. After strumming a few chords, you put it back on it''s stand.'
  17. else
  18. 'Some texts here depending on music skill and performing skill'
  19. end
  20. end }
  21. act 'Leave':
  22. if ml_boughtguitar > 0 or ml_boughtamp > 0:
  23. gt 'city_musicstore', 'payandtakestuff'
  24. end
  25. gt 'city_mall'
  26. end
  27. musicrand = rand(1,2)
  28. if musicrand = 1 and yearstart >= 2 and (week > 5 and hour >= 8 and hour < 17):
  29. 'As you approach the counter, you see your old classmate Radomir standing behind it.'
  30. act 'Approach the counter':
  31. *clr
  32. delact 'Approach the counter'
  33. gs 'npc_relationship', 'modify', 'A154', 'like'
  34. gs 'stat'
  35. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big154.jpg"></center>'
  36. if npc_rel['A154'] >= 60:
  37. if pcs_hotcat >= 6:
  38. 'He gives you a smile when he sees you. "Come to hang out with me on my break? Maybe we can have a little fun?" he asks with a wink.'
  39. 'You smile. "No, I just came to look around and maybe do a little shopping."'
  40. 'He smiles and starts telling you about a variety of instruments. He seems to really know his stuff.'
  41. else
  42. 'He gives you a slight knowing smirk when he sees you. "So what can I do for one of my fans?"'
  43. '"I just came to look around and maybe do a little shopping," you reply.'
  44. 'He nods and starts telling you about a variety of instruments. He seems to really know his stuff.'
  45. end
  46. elseif npc_rel['A154'] <= 20:
  47. 'He visibly sighs when he sees you and does his best to ignore you, though he answers any questions about instruments that you ask with the barest amount of information.'
  48. else
  49. if pcs_hotcat >= 6:
  50. 'Radomir is talking about the band''s latest gig as you approach. He looks your body up and down when he sees you. "Nice to see all the working out is paying off. Looking good."'
  51. 'You smile. "Thanks, but I just came to look around and maybe do a little shopping."'
  52. 'He nods and starts telling you about a variety of instruments. He seems to really know his stuff.'
  53. else
  54. 'He smirks when he sees you. "Come to try and butter me up before I get famous?"'
  55. 'You ignore his comment and ask him about some of the instruments.'
  56. 'He nods and starts telling you about a variety of instruments. He seems to really know his stuff.'
  57. end
  58. end
  59. end
  60. else
  61. 'Jimmy just nods at you, then returns his attention to the guitar laying on the counter in front of him.'
  62. end
  63. end
  64. end
  65. if $ARGS[0] = 'firstvisit':
  66. musicrand = rand(1,5)
  67. if musicrand = 1:
  68. '<center><img src="images/locations/city/citycenter/mall/musicstore/boys_rocking.jpg"></center>'
  69. 'You enter the store, passing the door to be submerged in a loud, cacophony environment. The walls are filled with guitars, bass, amps, drums and even keyboards. In the back are three teenage boys trying to play some of the guitars. They''re loud and not very good...'
  70. 'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
  71. elseif musicrand = 2:
  72. '<center><img src="images/locations/city/citycenter/mall/musicstore/nostairways.jpg"></center>'
  73. 'You enter the store, passing the door to be submerged in a loud, cacophony environment. The walls are filled with guitars, bass, amps, drums and even keyboards.'
  74. 'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
  75. 'He suddenly 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.'
  76. else
  77. '<center><img src="images/locations/city/citycenter/mall/musicstore/music_store.jpg"></center>'
  78. 'You enter the store, passing the door to be submerged in a loud, cacophony environment. The walls are filled with guitars, bass, amps, drums and even keyboards.'
  79. 'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
  80. end
  81. act 'Approach the counter':
  82. *clr & cla
  83. '<center><img src="images/locations/city/citycenter/mall/musicstore/jimmy.jpg"></center>'
  84. 'He straightens up. "Hello there, I''m Jimmy! Is there anything I can help you with?"'
  85. act 'Look for a guitar':
  86. *clr & cla
  87. '<center><img src="images/locations/city/citycenter/mall/musicstore/cheap_acoustic_1.jpg"></center>'
  88. 'You start browsing the guitars on offer, but aren''t sure what you''re looking and gladly accept his help. After answering his questions about what you''re looking for, he finally picks up an affordable acoustic guitar as a recommendation.'
  89. 'He leaves you alone with the instrument, so you sit down to try it. You strum the chords that you know, trying to play something.'
  90. if money > 3400 or karta > 3400:
  91. if money < 14280 and karta < 14280:
  92. 'While the guitar isn''t the best sounding, it''s comfortable and looking at the price tags, the only one you can afford.'
  93. else
  94. 'The guitar isn''t the best sounding. However, looking at the price tags on the others, you''re not sure if you should spend so much money on a better one until you''re better at playing.'
  95. end
  96. if money > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with cash': gt 'city_musicstore', 'buycheapacoustic', 'money'
  97. if karta > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with card': gt 'city_musicstore', 'buycheapacoustic', 'karta'
  98. act 'You have to think about it':
  99. ml_didntbuyguitarthefirstvisit = 1
  100. 'You hesitate before deciding not to buy it, at least not for now. "I''ll have to talk to think about it first," you tell Jimmy.'
  101. 'He nods. "You know what? I''ll put it aside for you in case you change your mind, but be quick before someone else beats you to it!" He scribbles something on a post-it note and sticks it on the guitar. "I''ll try to keep the price the same, 3,400 <b>₽</b>."'
  102. act 'Leave': gt 'city_mall'
  103. end
  104. else
  105. ml_didntbuyguitarthefirstvisit = 1
  106. 'While the guitar isn''t the best sounding, it is comfortable. Unfortunately, while it''s cheaper than the rest, it still costs more than you have. You hand it back to Jimmy with a sigh. "Sorry, but I can''t buy it right now."'
  107. 'He nods. "You know what? I''ll put it aside for you in case you change your mind, but be quick before someone else beats you to it!" He scribbles something on a post-it note and sticks it on the guitar. "I''ll try to keep the price the same, 3,400 <b>₽</b>."'
  108. act 'Leave': gt 'city_mall'
  109. end
  110. end
  111. act 'Leave':
  112. ml_didntbuyguitarthefirstvisit = 1
  113. gt 'city_mall'
  114. end
  115. end
  116. act 'Leave':
  117. ml_didntbuyguitarthefirstvisit = 1
  118. gt 'city_mall'
  119. end
  120. end
  121. if $ARGS[0] = 'cameback':
  122. *clr & cla
  123. '<center><img src="images/locations/city/citycenter/mall/musicstore/music_store.jpg"></center>'
  124. *nl
  125. 'You enter the store, passing the door to be submerged in a loud, cacophony environment.'
  126. if money > 3400 or karta > 3400:
  127. act 'Ask Jimmy about the guitar':
  128. cla
  129. '<center><img src="images/locations/city/citycenter/mall/musicstore/jimmy.jpg"></center>'
  130. 'You walk up to the counter where Jimmy is busy tinkering with a guitar.'
  131. '"Hey Jimmy, I was wondering if you still have that guitar?"'
  132. 'He looks up from the guitar. "Oh hey. Sure, I have it. Let me get it for you."'
  133. 'He disappears for a while before he brings the guitar out. "See, all in good shape. Properly set up and everything."'
  134. if money > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with cash': gt 'city_musicstore', 'buycheapacoustic', 'money'
  135. if karta > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with card': gt 'city_musicstore', 'buycheapacoustic', 'karta'
  136. end
  137. end
  138. act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
  139. act 'Try some guitars':
  140. '<center><img src="images/locations/city/citycenter/mall/musicstore/try_guitars.jpg"></center>'
  141. !! TO DO: Better scenes here
  142. if pcs_instrmusic < 30 and pcs_perform < 10:
  143. 'You pick up a guitar you like the look of, but are too shy to play it. After strumming a few chords, you put it back on it''s stand.'
  144. else
  145. 'Some texts here depending on music skill and performing skill'
  146. end
  147. end
  148. act 'Leave':
  149. if ml_boughtguitar > 0 or ml_boughtamp > 0:
  150. gt 'city_musicstore', 'payandtakestuff'
  151. end
  152. gt 'city_mall'
  153. end
  154. end
  155. if $ARGS[0] = 'buycheapacoustic':
  156. *clr & cla
  157. '<center><img src="images/locations/city/citycenter/mall/musicstore/starterkit.jpg"></center>'
  158. if ml_didntbuyguitarthefirstvisit = 1:
  159. 'You decide to buy the guitar and take it to the counter, where Jimmy throws in a gigbag and a set of strings and picks. "A proper starter kit," he states and rings up the purchase.'
  160. killvar 'ml_didntbuyguitarthefirstvisit'
  161. else
  162. 'Jimmy puts the guitar in a gigbag and drops a set of strings and picks in the pocket. "A proper starter kit," he states and rings up the purchase.'
  163. end
  164. 'He looks at you thoughtfully, then drops a thick, slightly worn booklet in the bag. "Some stuff to learn from," he says while handing your purchase to you. "Congratulations, welcome to the starving musician community."'
  165. gs 'city_musicstore', 'first_setup'
  166. if $ARGS[1] = 'money': money -= 3400
  167. if $ARGS[1] = 'karta': karta -= 3400
  168. gs 'stat'
  169. act 'Leave': gt 'city_mall'
  170. end
  171. if $ARGS[0] = 'payandtakestuff':
  172. if ml_boughtamp + ml_guitar['carried'] > 0 or ml_boughtguitar > 1:
  173. minut += (ml_boughtguitar * 5) + (ml_boughtguitar * 5)
  174. 'Jimmy takes your details and your home address after you pay to set up the delivery. "It should be there tomorrow."'
  175. else
  176. minut += 20
  177. ml_guitar['carried'] = 1
  178. 'Jimmy disappears into the back of the shop with your guitar before returning 10 minutes later. "That''s it all set up, but if you need to tweak anything, just bring it in and we''ll do it for you, free of charge."'
  179. '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>>."'
  180. end
  181. killvar 'ml_boughtamp'
  182. killvar 'ml_boughtguitar'
  183. killvar 'ml_gigbag'
  184. killvar 'ml_hardcase'
  185. act 'Leave': gt 'city_mall'
  186. end
  187. if $ARGS[0] = 'first_setup':
  188. !! First instrument and other items
  189. ml_guitars['jb-budget-acoustic'] = 1
  190. ml_strings = 2
  191. ml_guitar['chordbook'] = 1
  192. ml_guitar['hasguitar'] = 1
  193. ml_guitar['carried'] = 1
  194. !! Has to set it here as cikl calculates it otherwise at midnight
  195. ml_performance['max_perform_minutes'] = pcs_instrmusic + pcs_vokal
  196. ml_performance['performed_minutes'] = 0
  197. end
  198. --- city_musicstore ---------------------------------