shop_photography.qsrc 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  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:
  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. dynamic $photojob[evt_PhotoID]
  32. 'You walk up to Branko. "Excuse me Branko, but you said you might have some work for me. Would you happen to have anything?"'
  33. '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.'
  34. !! Init Job Array
  35. gs 'shop_photography', '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. act 'Leave':
  68. *clr & cla
  69. minut += 3
  70. gt 'torgcentr'
  71. end
  72. end
  73. if $ARGS[0] = 'camera_options':
  74. if money >= 20000:
  75. act 'Purchase DSLR Camera for 20000₽ (with Cash)' : gt 'shop_photography' , 'buycamera' , 'cash'
  76. elseif karta >= 20000:
  77. act 'Purchase DSLR Camera for 20000₽ (with Card)' : gt 'shop_photography' , 'buycamera' , 'card'
  78. else
  79. act 'Can''t afford camera':
  80. *clr & cla
  81. minut += rand(1,2)
  82. gs 'stat'
  83. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  84. if $ARGS[1] = 'first':
  85. '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."'
  86. 'He smiles. "It was my pleasure young lady. I hope to see you again soon."'
  87. else
  88. '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."'
  89. '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.'
  90. end
  91. act 'Leave':
  92. cla
  93. minut += 3
  94. gt 'torgcentr'
  95. end
  96. end
  97. end
  98. act 'Don''t buy camera':
  99. *clr & cla
  100. minut += rand(1,2)
  101. gs 'stat'
  102. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  103. if $ARGS[1] = 'first':
  104. '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."'
  105. 'He smiles. "It was my pleasure young lady. If you change your mind, you know where to find me."'
  106. else
  107. 'You still don''t know if you want to get into photography. "Maybe some other time, I just wanted to look around."'
  108. '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."'
  109. end
  110. act 'Leave':
  111. cla
  112. minut += 3
  113. gt 'torgcentr'
  114. end
  115. end
  116. end
  117. if $ARGS[0] = 'buycamera':
  118. *clr & cla
  119. minut += rand(1,2)
  120. if $ARGS[1] = 'cash':
  121. money -= 20000
  122. elseif $ARGS[1] = 'card':
  123. karta -= 20000
  124. end
  125. photographyEv = 2
  126. gs 'stat'
  127. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  128. '"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?"'
  129. *nl
  130. '"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."'
  131. *nl
  132. '"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!"'
  133. act 'Walk away': gt 'shop_photography' , 'start'
  134. end
  135. if $ARGS[0] = 'showportfolio':
  136. *clr & cla
  137. minut += 15
  138. gs 'stat'
  139. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  140. if pcs_photoskl <= 35:
  141. '"Ah, your portfolio, by all means I would love to peruse through it!"'
  142. '"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."'
  143. '"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!"'
  144. '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."'
  145. elseif pcs_photoskl <= 50:
  146. photography_start = 1
  147. '"Ah, your portfolio, by all means I would love to peruse through it!"'
  148. '"Mmmm.... these photographs are good. You have a real eye! With a little more practice, you will become a very skilled photographer."'
  149. '"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!"'
  150. '"Wow, that sounds interesting. I''ll visit when I can."'
  151. elseif pcs_photoskl <= 75:
  152. photography_start = 1
  153. '"Ah, your portfolio, by all means I would love to peruse through it!"'
  154. '"Mmmm.... these photographs are terrific. Sensational, absolutely sensational."'
  155. '"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!"'
  156. '"Wow, that sounds interesting. I''ll visit when I can."'
  157. else
  158. photography_start = 1
  159. '"Ah, your portfolio, by all means I would love to peruse through it!"'
  160. '"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!"'
  161. '"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!"'
  162. '"Wow, that sounds interesting. I''ll visit when I can!"'
  163. end
  164. act 'Walk away': gt 'shop_photography' , 'start'
  165. end
  166. if $ARGS[0] = 'work':
  167. *clr & cla
  168. minut += 10
  169. gs 'stat'
  170. '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
  171. 'You can''t help but smile and feel excited. Yet another paying job as a photographer! "Yes I would love to, just tell me what you have."'
  172. 'He smiles. "Excellent! I need photos of <<$transient_desc>>" He prints out a page and hands it to you. "Okay, here''s where it is and a list of the photos I need. When you finish, come back here to give me the photos and get paid."'
  173. 'You smile at him. "Thank you, I''ll go there now." With that, you leave the store.'
  174. act 'Go to work': gt 'shop_photography' , 'photojob'
  175. end
  176. if $ARGS[0] = 'photojob':
  177. *clr & cla
  178. gs 'exp_gain', 'photoskl', rand(1,50)
  179. gs 'stat'
  180. photography_job += 1
  181. photojob_daystart = daystart
  182. ! Prevent taking a new job on the sunday following today
  183. if week = 6: photojob_daystart += 1
  184. minut += rand(1,2)
  185. gs 'stat'
  186. $loc =$transient_mc_locat
  187. $loc_arg = $photojob_loc_arg
  188. gt 'shop_photography', $transient_trigger
  189. end
  190. if $ARGS[0] = 'photojob_pay':
  191. if pcs_photoskl > 125:
  192. gs 'emp_functions', 'wage_evt', 4
  193. elseif pcs_photoskl > 100:
  194. gs 'emp_functions', 'wage_evt', 3
  195. elseif pcs_photoskl > 75:
  196. gs 'emp_functions', 'wage_evt', 2
  197. elseif pcs_photoskl > 50:
  198. gs 'emp_functions', 'wage_evt', 1
  199. else
  200. gs 'emp_functions', 'wage_evt', 5, 100
  201. end
  202. end
  203. !! Photography jobs functions
  204. if $ARGS[0] = 'job_init':
  205. !! Set up arrays if not initialised
  206. if $evt_job[1] = '' : gs 'emp_functions', 'job_evt'
  207. array_len = ARRSIZE('$photojob')
  208. array_len = array_len -1
  209. evt_PhotoID = rand(1, array_len)
  210. dynamic $photojob[evt_PhotoID]
  211. !! set Day of Week for job to appear on
  212. transient_evt_dow = 6
  213. !! Now set up the event date
  214. gs 'shop_photography' , 'photojob_pay'
  215. gs 'emp_functions', 'gen_evt'
  216. end
  217. ! Array of photography jobs - additional events should be easy to wire up
  218. $photojob[1] = {
  219. !!Ensure the event is visible in journal:
  220. transient_evt_silent = 1
  221. !! Set the job type as per list
  222. transient_evt_type = 1
  223. transient_evt_sub_type = 1
  224. $photojob_shortname = 'Tank'
  225. $transient_desc = 'Tank and Bazooka Experience Day in Levingrad Oblast'
  226. !! Field for trigger location
  227. $transient_loc = 'city_industrial'
  228. $transient_arg = ''
  229. !! Journal loc description
  230. $transient_mc_locat = 'St Petersburg Industrial Area'
  231. !! Event content location
  232. $transient_evt_exec= 'shop_photography'
  233. $transient_trigger = 'phototank'
  234. }
  235. $photojob[2] = {
  236. transient_evt_silent = 1
  237. transient_evt_type = 1
  238. transient_evt_sub_type = 2
  239. $photojob_shortname = 'Model'
  240. $transient_desc = 'Newspaper Commission at Petrovskaya Akvatoria'
  241. $transient_loc = 'shop_photography'
  242. $transient_arg = 'start'
  243. $transient_mc_locat = 'Meet Branko at the Photography Shop'
  244. $transient_trigger = 'photomodel'
  245. }
  246. $photojob[3] = {
  247. transient_evt_silent = 1
  248. transient_evt_type = 1
  249. transient_evt_sub_type = 3
  250. $photojob_shortname = 'Wedding'
  251. $transient_desc = 'Wedding at Yelagin Palace'
  252. $transient_loc = 'city_residential'
  253. $transient_arg = ''
  254. $transient_mc_locat = 'St Petersburg Residential Area'
  255. $transient_trigger = 'photowedding'
  256. }
  257. $photojob[4] = {
  258. transient_evt_silent = 1
  259. transient_evt_type = 1
  260. transient_evt_sub_type = 4
  261. $photojob_shortname = 'Motorsport'
  262. $transient_desc = 'Russian Touring Car Championship Event at St. Petersburg Autodrome'
  263. $transient_loc = 'city_industrial'
  264. $transient_arg = ''
  265. $transient_mc_locat = 'St Petersburg Industrial Area'
  266. $transient_trigger = 'photomotorsport'
  267. }
  268. $photojob[5] = {
  269. transient_evt_silent = 1
  270. transient_evt_type = 1
  271. transient_evt_sub_type = 5
  272. $photojob_shortname = 'Court'
  273. $transient_desc = 'Press Event at City Courthouse'
  274. $transient_loc = 'shop_photography'
  275. $transient_arg = 'start'
  276. $transient_mc_locat = 'Meet Branko at the Photography Shop'
  277. $transient_trigger = 'photocourt'
  278. }
  279. if $ARGS[0] = 'phototank':
  280. *clr & cla
  281. minut += 20
  282. gs 'stat'
  283. '<center><img src="images/characters/shared/headshots_generic/37.jpg"></center>'
  284. 'You head over to the industrial region where you quickly meet up with your contact at the Experience Center.'
  285. '"Hi there; you must be <<$pcs_firstname>>. The group is already on their way to the site, so I''ll take you up there in my car. I''m sure you know everything you need to do, but feel free to ask if you have any questions."'
  286. 'You get in the car and drive for nearly half an hour until you reach the Experience Center. Once there, the representative parks the car and you get out and head inside.'
  287. act 'Go to the Experience Center':
  288. *clr & cla
  289. minut += rand(120,150)
  290. gs 'exp_gain', 'photoskl', rand(6,10)
  291. gs 'stat'
  292. gs 'shop_photography', 'photojob_pay'
  293. '<center><img src="images/pc/activities/photography/job/tank.jpg"></center>'
  294. 'You arrive at the Experience Center and spend the next two hours taking as many pictures of the experience as you can. The group is clearly enjoying the event; They get to ride in military vehicles across rough terrain and fire weapons at the shooting range.'
  295. 'Once the day is over, you remove your SD card and hand it to the representative, who shows the photos to the group. Once they''ve sorted out whether any of the customers want additional copies, your contact takes you back to the city''s industrial region. When you check your account, you see that you have been paid <<photopay>>.'
  296. gs 'shop_photography', 'photojob_cleanup'
  297. act 'Return': gt $loc, $loc_arg
  298. end
  299. end
  300. if $ARGS[0] = 'photomodel':
  301. *clr & cla
  302. minut += rand(60,90)
  303. gs 'exp_gain', 'photoskl', rand(3,5)
  304. gs 'stat'
  305. gs 'shop_photography', 'photojob_pay'
  306. '<center><img src="images/pc/activities/photography/job/model<<rand(1,3)>>.jpg"></center>'
  307. 'You go to the Petrovskaya Akvatoria Model Museum to take pictures of the various exhibits on behalf of an international newspaper.'
  308. 'After a brief introduction to a member of staff to confirm your activities, you walk around the exhibit, taking a large number of photographs so that the article has a wealth to choose from.'
  309. 'Once you''re finished, you return to the shop and hand the SD card to Branko, who gives you your fee of <<photopay>>₽.'
  310. gs 'shop_photography', 'photojob_cleanup'
  311. act 'Return' : gt $loc, $loc_arg
  312. end
  313. if $ARGS[0] = 'photowedding':
  314. *clr & cla
  315. minut += rand(10,18)
  316. gs 'stat'
  317. '<center><img src="images/characters/shared/headshots_generic/18.jpg"></center>'
  318. 'You head over to the residential district where you meet one of the family members of the betrothed.'
  319. '"Hello, you must be the photographer! If you follow me, I''ll take you to the happy couple to take the pictures of them."'
  320. act 'Follow':
  321. *clr & cla
  322. minut += rand(90,120)
  323. gs 'exp_gain', 'photoskl', rand(6,10)
  324. gs 'stat'
  325. gs 'shop_photography', 'photojob_pay'
  326. '<center><img src="images/pc/activities/photography/job/wedding.jpg"></center>'
  327. 'You meet the bride and groom and help direct them into a number of framed situations for you to take some beautiful photos of them together.'
  328. 'Once you have enough, you spend the rest of the day in the background taking a number of photos of the wedding. Once it''s over, you meet back up with the relative who takes the SD card from you.'
  329. 'Leaving them to close up the venue, you walk out back into the residential district. When you check your account, you see that you have been paid <<photopay>>.'
  330. gs 'shop_photography', 'photojob_cleanup'
  331. act 'Return' : gt $loc, $loc_arg
  332. end
  333. end
  334. if $ARGS[0] = 'photomotorsport':
  335. *clr & cla
  336. minut += rand(15,20)
  337. gs 'stat'
  338. '<center><img src="images/characters/shared/headshots_generic/11.jpg"></center>'
  339. 'You head over to the industrial region and meet a representative of the Autodrome. You will be expected to take pictures of the event and deliver them to your contact.'
  340. '"Why hello there, you must be the person Branko sent. I''m sure you already know everything you have to do at the track, so I''ll give you this press pass and take you to the Autodrome."'
  341. 'You look at the pass they gave you before getting in their car to be taken to the track.'
  342. act 'Go to the Autodrome':
  343. *clr & cla
  344. minut += rand(180,240)
  345. gs 'exp_gain', 'photoskl', rand(9,15)
  346. gs 'stat'
  347. gs 'shop_photography', 'photojob_pay'
  348. '<center><img src="images/pc/activities/photography/job/motorsport.jpg"></center>'
  349. 'You''re dropped off at the employee entrance and directed to the pit area as the teams get their vehicles prepared.'
  350. 'You start off by getting shots of the teams in the build-up to the race, showcasing the tension and focus as the countdown approaches zero.'
  351. 'When the race itself starts you roam the track, taking pictures of any event as it happens, getting high intensity shots of fast paced action, as well as the smooth professionalism of the leading drivers. It is a fantastic experience.'
  352. *nl
  353. 'With your job done, you find your contact again and hand them a full SD card for which they are gratified.'
  354. 'Your contact then takes you back to the city''s industrial region. When you check your account, you see that you have been paid <<photopay>>.'
  355. gs 'shop_photography', 'photojob_cleanup'
  356. act 'Return' : gt $loc, $loc_arg
  357. end
  358. end
  359. if $ARGS[0] = 'photocourt':
  360. *clr & cla
  361. minut += 60
  362. gs 'exp_gain', 'photoskl', rand(3,5)
  363. gs 'stat'
  364. gs 'shop_photography', 'photojob_pay'
  365. '<center><img src="images/pc/activities/photography/job/court.jpg"></center>'
  366. '"You need to go to the courthouse to take publicity photographs of the completed court session as they leave the building, then deliver them back to me to give you your commission."'
  367. 'You head into the City Center and straight to the courthouse, which has already seen a number of people turn up.'
  368. 'Once you''ve ingratiated yourself into the crowd, you position yourself to take some good shots of the plaintiff accompanied by their lawyers and representatives.'
  369. 'With the verdict read, you quickly make your way outside to the front of the courthouse to take photos of him leaving.'
  370. 'Once you''re finished, you return to the shop and hand the SD card to Branko, who gives you your fee of <<photopay>>₽.'
  371. gs 'shop_photography', 'photojob_cleanup'
  372. act 'Return' : gt $loc, $loc_arg
  373. end
  374. --- shop_photography ---------------------------------