shop_photography.qsrc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. # shop_photography
  2. !! Photography shop in the City Center Mall
  3. !! Variables used:
  4. !! photographyEv = Track shop progression through buying a camera
  5. !! 0 = First visit
  6. !! 1 = Return visitor, but have not bought camera
  7. !! 2 = Bought camera, unlocks portfolio sharing
  8. !! photography_job = Track progression through job events
  9. !! photojob_daystart = Track when job last accepted - only allowed one job per week
  10. !! portfolio_locations[n] for storing which images Sveta has of locations (value of 1 for have)
  11. !! portfolio_people[n] for storing which images Sveta has of people
  12. ! The owner of the shop is Branko Volenskii
  13. if $ARGS[0] = 'start':
  14. $loc = 'shop_photography'
  15. $loc_arg = 'start'
  16. $location_type = 'public_indoors'
  17. cls
  18. menu_off = 0
  19. gs 'stat'
  20. gs 'themes', 'indoors'
  21. '<center><b><font color="maroon">Camera & Photography Store</font></b></center>'
  22. '<center><img src="images/locations/city/citycenter/mall/photoshop/shop.jpg"></center>'
  23. 'The shop is dedicated to cameras and is celebrating this fact by displaying a myriad of them along every wall. A singular counter sits just off the adjacent wall with the shopkeeper standing behind it, clearly eager for some trade to enter his shop.'
  24. if photography_start = 1 and week >= 6 and photography['datecheck'] ! daystart:
  25. act 'Ask about work':
  26. *clr & cla
  27. minut += 10
  28. gs 'stat'
  29. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  30. if photography_start = 1:
  31. 'You walk up to Branko. "Excuse me Branko, but you said you might have some work for me. Would you happen to have anything?"'
  32. 'He smiles at you. "Yes yes, I remember. You''re <<$pcs_nickname>>, Let me check." He opens a laptop sitting on the counter next to him and taps on the keys before he looks up at you.'
  33. !! Init Job Array
  34. photography['datecheck'] = daystart
  35. gs 'photography_work', 'job_init'
  36. gs 'emp_functions', 'disp_evt', 1
  37. end
  38. end
  39. end
  40. if photographyEv = 2 and photography_start = 0:
  41. act 'Show portfolio': gt 'shop_photography' , 'showportfolio'
  42. end
  43. act 'Talk to the shop owner':
  44. *clr & cla
  45. minut += 10
  46. gs 'stat'
  47. if photographyEv = 0:
  48. !!first time in shop:
  49. photographyEv = 1
  50. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  51. '"Hello there! What''s your name?" the friendly man behind the counter asks with a smile.'
  52. '"<<$pcs_firstname>>." you reply.'
  53. '"Nice to meet you, <<$pcs_firstname>>. You look like the sort of person who would be interested in a quality camera. In fact, judging by the sort of person I see before me, I have just the camera right here that would be perfect for you, only 20,000₽!"'
  54. *nl
  55. '"Well, I''ve been thinking about getting into photography. It might be worth it." you tell him and he launches into a long conversation about the joys you can have with a camera. He talks about what the camera in question can do, along with all it''s features. It does sound like the perfect camera for someone that is serious about getting into photography, but is that you?'
  56. gs 'shop_photography', 'camera_options', 'first'
  57. elseif photographyEv = 1:
  58. !!returning to shop without buying camera:
  59. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  60. 'The owner smiles when he sees you. "Aha! I remember you! <<$pcs_firstname>>! How fantastic it is that you should return to my shop! Have you changed your mind about buying a camera?"'
  61. gs 'shop_photography', 'camera_options', 'repeat'
  62. else
  63. 'The owner smiles when he sees you. "Aha! I remember you! <<$pcs_firstname>>! How fantastic it is that you should return to my shop! How are you getting on with your recent purchase? Brilliantly I hope! I know what I see and I see brilliance before me so it can only be that you would get on brilliantly!"'
  64. act 'Walk away': gt 'shop_photography' , 'start'
  65. end
  66. end
  67. if evt_chk = 1:
  68. !! We've got an event today, check it's location:
  69. gs 'emp_functions', 'disp_evt', 3
  70. end
  71. act 'Leave':
  72. *clr & cla
  73. minut += 3
  74. gt 'torgcentr'
  75. end
  76. end
  77. if $ARGS[0] = 'camera_options':
  78. if money >= 20000:
  79. act 'Purchase DSLR Camera for 20000₽ (with Cash)' : gt 'shop_photography' , 'buycamera' , 'cash'
  80. elseif karta >= 20000:
  81. act 'Purchase DSLR Camera for 20000₽ (with Card)' : gt 'shop_photography' , 'buycamera' , 'card'
  82. else
  83. act 'Can''t afford camera':
  84. *clr & cla
  85. minut += rand(1,2)
  86. gs 'stat'
  87. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  88. if $ARGS[1] = 'first':
  89. 'You consider it for a moment. You would love to buy it, but you know you don''t have enough money for it right now. "Maybe some other time? I can''t really afford it, but thank you for taking the time to explain things to me though."'
  90. 'He smiles. "It was my pleasure young lady. I hope to see you again soon."'
  91. else
  92. 'You consider it for a moment. You would love to buy it, but you know you don''t have enough money for it right now. "I would love to, but I still can''t afford it. I''m saving up to buy it though."'
  93. 'He smiles. "Best of luck. Feel free to look around if you like." You spend a little time looking at all the cameras and accessories you can''t really afford.'
  94. end
  95. act 'Leave':
  96. cla
  97. minut += 3
  98. gt 'torgcentr'
  99. end
  100. end
  101. end
  102. act 'Don''t buy camera':
  103. *clr & cla
  104. minut += rand(1,2)
  105. gs 'stat'
  106. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  107. if $ARGS[1] = 'first':
  108. 'You consider it for a moment, but decide against it. "Maybe some other time, but thank you for taking the time to explain things to me."'
  109. 'He smiles. "It was my pleasure young lady. If you change your mind, you know where to find me."'
  110. else
  111. 'You still don''t know if you want to get into photography. "Maybe some other time, I just wanted to look around."'
  112. 'He smiles. "Of course of course, look around all you like young lady, but if you change your mind you know where to find me."'
  113. end
  114. act 'Leave':
  115. cla
  116. minut += 3
  117. gt 'torgcentr'
  118. end
  119. end
  120. end
  121. if $ARGS[0] = 'buycamera':
  122. *clr & cla
  123. minut += rand(1,2)
  124. if $ARGS[1] = 'cash':
  125. money -= 20000
  126. elseif $ARGS[1] = 'card':
  127. karta -= 20000
  128. end
  129. photographyEv = 2
  130. gs 'stat'
  131. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  132. '"You have made a momentous decision with this purchase! Here is your very own DSLR camera to do anything from professional commissioned photography to personal snaps of small events. And now that I have launched your photographic crusade to enlightenment, what are you indeed planning to use this opportunity for in this world of possibility?"'
  133. *nl
  134. '"I''m thinking of just building a portfolio of pictures for now; something to test how I can build up my ability to frame a scene. I might start by going around the area and looking for pictures to take to build a catalog of photographs."'
  135. *nl
  136. '"Fantastic! Brilliant! Tell you what; once you''ve completed your portfolio, bring it in as I would love to see it! Now go! I release you into this new world of possibility!"'
  137. act 'Walk away': gt 'shop_photography' , 'start'
  138. end
  139. if $ARGS[0] = 'showportfolio':
  140. *clr & cla
  141. minut += 15
  142. gs 'stat'
  143. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  144. if pcs_photoskl <= 35:
  145. '"Ah, your portfolio, by all means I would love to peruse through it!"'
  146. '"Mmmm.... not bad. You have some natural talent, but you still need to learn how to use lighting and angles better. Yes yes, you have some raw talent but you need more experience. Come back when you can, I would love to see you grow into the amazing photographer I know you can be."'
  147. '"Yes yes, when you get more experience I might have a fantastic business opportunity for you! You see, in addition to the shop you see before you, I also have a side business in commissioned photography and from what I''ve seen, you might just be the person I''m looking for; you''ll be paid of course! But first practice, practice practice!"'
  148. 'You frown a little. At least he likes your work. "Okay, I will. I''ll keep practicing and when I feel I''ve improved, I''ll return."'
  149. elseif pcs_photoskl <= 50:
  150. photography_start = 1
  151. '"Ah, your portfolio, by all means I would love to peruse through it!"'
  152. '"Mmmm.... these photographs are good. You have a real eye! With a little more practice, you will become a very skilled photographer."'
  153. '"You can call me Branko. I have a fantastic business opportunity for you! You see, in addition to the shop you see before you, I also have a side business in commissioned photography and from what I''ve seen, you''re the perfect person to help me with some additional work. There will be no pressure, just visit my beautiful shop at the weekend and I''ll let you know if there''s any photography jobs you can do for me; you''ll be paid of course!"'
  154. '"Wow, that sounds interesting. I''ll visit when I can."'
  155. elseif pcs_photoskl <= 75:
  156. photography_start = 1
  157. '"Ah, your portfolio, by all means I would love to peruse through it!"'
  158. '"Mmmm.... these photographs are terrific. Sensational, absolutely sensational."'
  159. '"You can call me Branko. I have a fantastic business opportunity for you! You see, in addition to the shop you see before you, I also have a side business in commissioned photography and from what I''ve seen, you''re the perfect person to help me with some additional work. There will be no pressure, just visit my beautiful shop and I''ll let you know if there''s any photography jobs you can do for me; cash in hand of course!"'
  160. '"Wow, that sounds interesting. I''ll visit when I can."'
  161. else
  162. photography_start = 1
  163. '"Ah, your portfolio, by all means I would love to peruse through it!"'
  164. '"Mmmm.... My god... These are simply breathtaking my dear, just breathtaking! I don''t think I''ve ever meet anyone with as much potential as you in my life! With a little more seasoning, you could become one of the greatest photographers of our time!"'
  165. '"You can call me Branko. I have a fantastic business opportunity for you! You see, in addition to the shop you see before you, I also have a side business in commissioned photography and from what I''ve seen, you''re the perfect person to help me with some additional work. There will be no pressure, just visit my beautiful shop and I''ll let you know if there''s any photography jobs you can do for me; you''ll be paid of course!"'
  166. '"Wow, that sounds interesting. I''ll visit when I can!"'
  167. end
  168. act 'Walk away': gt 'shop_photography' , 'start'
  169. end
  170. --- shop_photography ---------------------------------