city_musicstore.qsrc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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. musicrand = rand(1,2)
  11. if musicrand = 1 and yearstart >= 2 and (week > 5 and hour >= 8 and hour < 17):
  12. '<center><img src="images/locations/city/citycenter/mall/musicstore/music_store.jpg"></center>'
  13. 'You enter the store, welcomed by the familiar mix of random notes and bits of songs screaming from the back.'
  14. 'At the counter you see a familiar face, Radomir. You use to go to school with him in Pavlovsk.'
  15. act 'Approach the counter':
  16. *clr & cla
  17. gs 'npc_relationship', 'modify', 'A154', 'like'
  18. gs 'stat'
  19. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big154.jpg"></center>'
  20. if npc_rel['A154'] >= 60:
  21. if hotcat >= 6:
  22. 'Radomir gives you a smile. "Come to hang out with me on my break? Maybe we can have a little fun." He says with a wink.'
  23. 'You tell him you just came to look around and maybe do a little shopping. After a bit he tells you about a variety of instruments, he seems to really know his stuff when it comes to musical instruments.'
  24. else
  25. 'He gives you a slight knowing smirk when he sees you. "So what can I do for one of my fans?"'
  26. 'You tell him you just came to look around and maybe do a little shopping. After a bit he tells you about a variety of instruments, he seems to really know his stuff when it comes to musical instruments.'
  27. end
  28. elseif npc_rel['A154'] <= 20:
  29. 'Radomir visably sighs when he see''s you. He does his best to ignore you, though he will answer questions about instruments that you ask, but only with the barest amount of information.'
  30. else
  31. if hotcat >= 6:
  32. 'Radomir is talking about the band''s latest gig as you approach. He sees you and looks your body up and down. "Nice to see all the working out is paying off. Looking good."'
  33. 'You tell him you just came to look around and maybe do a little shopping. After a bit he tells you about a variety of instruments, he seems to really know his stuff when it comes to musical instruments.'
  34. else
  35. 'He smirks when he sees you. "Come to try and butter me up before I get famous?" You ignore his comment and ask him about some of the instruments.'
  36. 'After a bit he tells you about a variety of instruments, he seems to really know his stuff when it comes to musical instruments.'
  37. end
  38. end
  39. end
  40. act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
  41. act 'Try some guitars':
  42. !! TODO: Better scenes here
  43. if pcs_instrmusic < 30 and pcs_perform < 10:
  44. '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'
  45. else
  46. 'Some texts here depending on music skill and performing skill'
  47. end
  48. end
  49. act 'Leave':
  50. if ml_boughtguitar > 0 or ml_boughtamp > 0:
  51. gt 'city_musicstore', 'payandtakestuff'
  52. end
  53. gt 'torgcentr'
  54. end
  55. else
  56. '<center><img src="images/locations/city/citycenter/mall/musicstore/music_store.jpg"></center>'
  57. 'You enter the store, welcomed by the familiar mix of random notes and bits of songs screaming from the back.'
  58. 'Jimmy just nods at you, then returns his attention to the guitar laying on the counter in front of him.'
  59. act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
  60. act 'Try some guitars':
  61. !! TODO: Better scenes here
  62. if pcs_instrmusic < 30 and pcs_perform < 10:
  63. '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'
  64. else
  65. 'Some texts here depending on music skill and performing skill'
  66. end
  67. end
  68. act 'Leave':
  69. if ml_boughtguitar > 0 or ml_boughtamp > 0:
  70. gt 'city_musicstore', 'payandtakestuff'
  71. end
  72. gt 'torgcentr'
  73. end
  74. end
  75. end
  76. end
  77. if $ARGS[0] = 'firstvisit':
  78. musicrand = rand(1,5)
  79. if musicrand = 1:
  80. '<center><img src="images/locations/city/citycenter/mall/musicstore/boys_rocking.jpg"></center>'
  81. 'You enter the store, passing the door to be submerged in a loud, cacophony environment. The walls are filled with guitars, bass, amps, drums, even keyboards fill the shop. In the back three teenage boys try and play some of the guitars loudly and not very well.'
  82. 'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
  83. elseif musicrand = 2:
  84. '<center><img src="images/locations/city/citycenter/mall/musicstore/nostairways.jpg"></center>'
  85. 'You enter the store, passing the door to be submerged in a loud, cacophony environment. The walls are filled with guitars, bass, amps, drums, even keyboards fill the shop.'
  86. 'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
  87. '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.'
  88. else
  89. '<center><img src="images/locations/city/citycenter/mall/musicstore/music_store.jpg"></center>'
  90. 'You enter the store, passing the door to be submerged in a loud, cacophony environment. The walls are filled with guitars, bass, amps, drums, even keyboards fill the shop.'
  91. 'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
  92. end
  93. act 'Approach the counter':
  94. *clr & cla
  95. '<center><img src="images/locations/city/citycenter/mall/musicstore/jimmy.jpg"></center>'
  96. 'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
  97. 'He straightens up "Hello there, I''m Jimmy" - he greets you - "Is there anything I can help you with?"'
  98. act 'Look for a guitar':
  99. *clr & cla
  100. '<center><img src="images/locations/city/citycenter/mall/musicstore/cheap_acoustic_1.jpg"></center>'
  101. '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.'
  102. 'After some conversation with the store owner he offers you an affordable acoustic guitar to buy'
  103. 'Jimmy leaves you alone with the instrument, so you sit down to try it, strumming the chords that you know, trying to play something.'
  104. if money > 3400 or karta > 3400:
  105. if money < 14280 and karta < 14280:
  106. 'While the guitar is not the best sounding one it''s comfortable and looking at the price tags, the only one you can afford.'
  107. else
  108. '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.'
  109. end
  110. if money > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with cash': gt 'city_musicstore', 'buycheapacoustic', 'money'
  111. if karta > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with card': gt 'city_musicstore', 'buycheapacoustic', 'karta'
  112. act 'You have to think about it':
  113. ml_didntbuyguitarthefirstvisit = 1
  114. '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. '
  115. '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."'
  116. act 'Leave': gt 'torgcentr'
  117. end
  118. else
  119. ml_didntbuyguitarthefirstvisit = 1
  120. '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."'
  121. '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."'
  122. act 'Leave': gt 'torgcentr'
  123. end
  124. end
  125. act 'Leave':
  126. ml_didntbuyguitarthefirstvisit = 1
  127. gt 'torgcentr'
  128. end
  129. end
  130. act 'Leave':
  131. ml_didntbuyguitarthefirstvisit = 1
  132. gt 'torgcentr'
  133. end
  134. end
  135. if $ARGS[0] = 'cameback':
  136. *clr & cla
  137. '<center><img src="images/locations/city/citycenter/mall/musicstore/music_store.jpg"></center>'
  138. *nl
  139. 'You enter the store, passing the door to be submerged in a loud, cacophony environment.'
  140. if money > 3400 or karta > 3400:
  141. act 'Ask Jimmy about the guitar':
  142. cla
  143. '<center><img src="images/locations/city/citycenter/mall/musicstore/jimmy.jpg"></center>'
  144. 'You walk up to the counter where Jimmy is busy tinkering with a guitar.'
  145. '"Hi Jimmy... I was wondering if you still has that guitar..."'
  146. 'Jimmy looks up from the guitar "Hi <<$pcs_firstname>>, sure, I have it. Let me get it for you."'
  147. 'He disappears for several minutes before he brings out the guitar. "See, all in good shape. Properly set up and everything."'
  148. if money > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with cash': gt 'city_musicstore', 'buycheapacoustic', 'money'
  149. if karta > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with card': gt 'city_musicstore', 'buycheapacoustic', 'karta'
  150. end
  151. end
  152. act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
  153. act 'Try some guitars':
  154. '<center><img src="images/locations/city/citycenter/mall/musicstore/try_guitars.jpg"></center>'
  155. !! TODO: Better scenes here
  156. if pcs_instrmusic < 30 and pcs_perform < 10:
  157. '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'
  158. else
  159. 'Some texts here depending on music skill and performing skill'
  160. end
  161. end
  162. act 'Leave':
  163. if ml_boughtguitar > 0 or ml_boughtamp > 0:
  164. gt 'city_musicstore', 'payandtakestuff'
  165. end
  166. gt 'torgcentr'
  167. end
  168. end
  169. if $ARGS[0] = 'buycheapacoustic':
  170. *clr & cla
  171. '<center><img src="images/locations/city/citycenter/mall/musicstore/starterkit.jpg"></center>'
  172. if ml_didntbuyguitarthefirstvisit = 1:
  173. '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.'
  174. killvar 'ml_didntbuyguitarthefirstvisit'
  175. else
  176. '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.'
  177. end
  178. '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."'
  179. gs 'city_musicstore', 'first_setup'
  180. if $ARGS[1] = 'money': money -= 3400
  181. if $ARGS[1] = 'karta': karta -= 3400
  182. gs 'stat'
  183. act 'Leave': gt 'torgcentr'
  184. end
  185. if $ARGS[0] = 'payandtakestuff':
  186. if ml_boughtamp + ml_guitar['carried'] > 0 or ml_boughtguitar > 1:
  187. minut += (ml_boughtguitar * 5) + (ml_boughtguitar * 5)
  188. 'Jimmy takes your details and your home address after you pay, and sets up the delivery. "It should be there tomorrow, <<$pcs_nickname>>."'
  189. else
  190. minut += 20
  191. ml_guitar['carried'] = 1
  192. '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."'
  193. *nl
  194. '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>>."'
  195. end
  196. killvar 'ml_boughtamp'
  197. killvar 'ml_boughtguitar'
  198. killvar 'ml_gigbag'
  199. killvar 'ml_hardcase'
  200. act 'Leave': gt 'torgcentr'
  201. end
  202. if $ARGS[0] = 'first_setup':
  203. !! First instrument and other items
  204. ml_guitars['jb-budget-acoustic'] = 1
  205. ml_strings = 2
  206. ml_guitar['chordbook'] = 1
  207. ml_guitar['hasguitar'] = 1
  208. ml_guitar['carried'] = 1
  209. !! Has to set it here as cikl calculates it otherwise at midnight
  210. ml_performance['max_perform_minutes'] = pcs_instrmusic + pcs_vokal
  211. ml_performance['performed_minutes'] = 0
  212. end
  213. --- city_musicstore ---------------------------------