|
@@ -1,5 +1,4 @@
|
|
# shop_photography
|
|
# shop_photography
|
|
-
|
|
|
|
!! Photography shop in the City Center Mall
|
|
!! Photography shop in the City Center Mall
|
|
!! Variables used:
|
|
!! Variables used:
|
|
!! photographyEv = Track shop progression through buying a camera
|
|
!! photographyEv = Track shop progression through buying a camera
|
|
@@ -24,55 +23,25 @@ if $ARGS[0] = 'start':
|
|
'<center><img src="images/locations/city/citycenter/mall/photoshop/shop.jpg"></center>'
|
|
'<center><img src="images/locations/city/citycenter/mall/photoshop/shop.jpg"></center>'
|
|
'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.'
|
|
'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.'
|
|
|
|
|
|
- if photography_job >= 1 and week >= 6:
|
|
|
|
- act 'Ask about work':
|
|
|
|
|
|
+ if photography_start = 1 and week >= 6:
|
|
|
|
+ act 'Ask about work':
|
|
*clr & cla
|
|
*clr & cla
|
|
minut += 10
|
|
minut += 10
|
|
gs 'stat'
|
|
gs 'stat'
|
|
'<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
|
|
'<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
|
|
- if photography_job = 1:
|
|
|
|
- dynamic $photojob[1]
|
|
|
|
|
|
+ if photography_start = 1:
|
|
|
|
+ dynamic $photojob[evt_PhotoID]
|
|
'You walk up to Branko. "Excuse me Branko, but you said you might have some work for me. Would you happen to have anything?"'
|
|
'You walk up to Branko. "Excuse me Branko, but you said you might have some work for me. Would you happen to have anything?"'
|
|
- 'He smiles at you. "Yes yes, I remember. 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. "Yes I do have a job, the Tank and <<$photojob_description>>. I will pay you two thousand rubles, with a bonus if you do very good work. It has to be done today, if you are interested."'
|
|
|
|
- act 'Decline the assignment':
|
|
|
|
- *clr & cla
|
|
|
|
- gs 'stat'
|
|
|
|
- '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
|
|
|
|
- 'You shake your head. "Sorry I can''t, I have other things already planned this weekend. Maybe next weekend?"'
|
|
|
|
- 'He nods in understanding. "I understand, but I''m afraid that won''t be happening next week. Check with me next weekend and I might have something else."'
|
|
|
|
- 'You smile at him. "Okay, thanks." With that, you leave the store.'
|
|
|
|
- act 'Leave':
|
|
|
|
- cla
|
|
|
|
- minut += 3
|
|
|
|
- gt 'torgcentr'
|
|
|
|
- end
|
|
|
|
- end
|
|
|
|
- act 'Take the assignment':
|
|
|
|
- *clr & cla
|
|
|
|
- gs 'stat'
|
|
|
|
- '<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
|
|
|
|
- 'You can''t help but smile and feel excited. Your first paying gig as a photographer! "Yes, I would love to! Just tell me where I have to go."'
|
|
|
|
- 'He smiles. "Excellent!" 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 the representative the SD card. I''ll then transfer your pay to your account."'
|
|
|
|
- 'You smile at him. "Thank you, I will go there now." With that, you leave the store.'
|
|
|
|
- act 'Go to work': gt 'shop_photography' , 'photojob'
|
|
|
|
- end
|
|
|
|
- else
|
|
|
|
- 'You walk up to Branko. "Excuse me Branko, do you have more work for me?"'
|
|
|
|
- if photography_job < ARRSIZE('$photojob'):
|
|
|
|
- 'He smiles at you. "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. "Yes I do have a job, the pay will be the same as before. It has to be done today, if you are interested."'
|
|
|
|
- act 'What''s the assignment': gt 'shop_photography' , 'work'
|
|
|
|
- else
|
|
|
|
- 'He smiles at you. "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 with a frown. "Sorry, I don''t have any work for you right now. Try again next weekend."'
|
|
|
|
- act 'Leave':
|
|
|
|
- cla
|
|
|
|
- minut += 3
|
|
|
|
- gt 'torgcentr'
|
|
|
|
- end
|
|
|
|
- end
|
|
|
|
|
|
+ '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.'
|
|
|
|
+
|
|
|
|
+ !! Init Job Array
|
|
|
|
+ gs 'shop_photography', 'job_init'
|
|
|
|
+ gs 'emp_functions', 'disp_evt', 1
|
|
|
|
+
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
- if photographyEv = 2 and photography_job = 0:
|
|
|
|
|
|
+ if photographyEv = 2 and photography_start = 0:
|
|
act 'Show portfolio': gt 'shop_photography' , 'showportfolio'
|
|
act 'Show portfolio': gt 'shop_photography' , 'showportfolio'
|
|
end
|
|
end
|
|
act 'Talk to the shop owner':
|
|
act 'Talk to the shop owner':
|
|
@@ -182,19 +151,19 @@ if $ARGS[0] = 'showportfolio':
|
|
'"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!"'
|
|
'"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!"'
|
|
'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."'
|
|
'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."'
|
|
elseif pcs_photoskl <= 50:
|
|
elseif pcs_photoskl <= 50:
|
|
- photography_job = 1
|
|
|
|
|
|
+ photography_start = 1
|
|
'"Ah, your portfolio, by all means I would love to peruse through it!"'
|
|
'"Ah, your portfolio, by all means I would love to peruse through it!"'
|
|
'"Mmmm.... these photographs are good. You have a real eye! With a little more practice, you will become a very skilled photographer."'
|
|
'"Mmmm.... these photographs are good. You have a real eye! With a little more practice, you will become a very skilled photographer."'
|
|
'"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!"'
|
|
'"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!"'
|
|
'"Wow, that sounds interesting. I''ll visit when I can."'
|
|
'"Wow, that sounds interesting. I''ll visit when I can."'
|
|
elseif pcs_photoskl <= 75:
|
|
elseif pcs_photoskl <= 75:
|
|
- photography_job = 1
|
|
|
|
|
|
+ photography_start = 1
|
|
'"Ah, your portfolio, by all means I would love to peruse through it!"'
|
|
'"Ah, your portfolio, by all means I would love to peruse through it!"'
|
|
'"Mmmm.... these photographs are terrific. Sensational, absolutely sensational."'
|
|
'"Mmmm.... these photographs are terrific. Sensational, absolutely sensational."'
|
|
'"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!"'
|
|
'"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!"'
|
|
'"Wow, that sounds interesting. I''ll visit when I can."'
|
|
'"Wow, that sounds interesting. I''ll visit when I can."'
|
|
else
|
|
else
|
|
- photography_job = 1
|
|
|
|
|
|
+ photography_start = 1
|
|
'"Ah, your portfolio, by all means I would love to peruse through it!"'
|
|
'"Ah, your portfolio, by all means I would love to peruse through it!"'
|
|
'"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!"'
|
|
'"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!"'
|
|
'"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!"'
|
|
'"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!"'
|
|
@@ -208,91 +177,125 @@ if $ARGS[0] = 'work':
|
|
minut += 10
|
|
minut += 10
|
|
gs 'stat'
|
|
gs 'stat'
|
|
'<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
|
|
'<center><img src="images/locations/city/citycenter/mall/photoshop/owner.jpg"></center>'
|
|
- dynamic $photojob[photography_job]
|
|
|
|
'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."'
|
|
'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."'
|
|
- 'He smiles. "Excellent! I need photos of <<$photojob_description>>" 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."'
|
|
|
|
|
|
+ '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."'
|
|
'You smile at him. "Thank you, I''ll go there now." With that, you leave the store.'
|
|
'You smile at him. "Thank you, I''ll go there now." With that, you leave the store.'
|
|
act 'Go to work': gt 'shop_photography' , 'photojob'
|
|
act 'Go to work': gt 'shop_photography' , 'photojob'
|
|
end
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'photojob':
|
|
if $ARGS[0] = 'photojob':
|
|
*clr & cla
|
|
*clr & cla
|
|
|
|
+ gs 'exp_gain', 'photoskl', rand(1,50)
|
|
|
|
+ gs 'stat'
|
|
photography_job += 1
|
|
photography_job += 1
|
|
photojob_daystart = daystart
|
|
photojob_daystart = daystart
|
|
! Prevent taking a new job on the sunday following today
|
|
! Prevent taking a new job on the sunday following today
|
|
if week = 6: photojob_daystart += 1
|
|
if week = 6: photojob_daystart += 1
|
|
minut += rand(1,2)
|
|
minut += rand(1,2)
|
|
gs 'stat'
|
|
gs 'stat'
|
|
- $loc = $photojob_loc
|
|
|
|
|
|
+ $loc =$transient_mc_locat
|
|
$loc_arg = $photojob_loc_arg
|
|
$loc_arg = $photojob_loc_arg
|
|
- gt 'shop_photography', $photojob_ev
|
|
|
|
-end
|
|
|
|
-
|
|
|
|
-! Call at the end of each photo job event to tidy up
|
|
|
|
-if $ARGS[0] = 'photojob_cleanup':
|
|
|
|
- KILLVAR '$photojob_shortname'
|
|
|
|
- KILLVAR '$photojob_description'
|
|
|
|
- KILLVAR '$photojob_loc'
|
|
|
|
- KILLVAR '$photojob_loc_arg'
|
|
|
|
- KILLVAR '$photojob_ev'
|
|
|
|
|
|
+ gt 'shop_photography', $transient_trigger
|
|
end
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'photojob_pay':
|
|
if $ARGS[0] = 'photojob_pay':
|
|
- gs 'exp_gain', 'photoskl', rand(1,50)
|
|
|
|
- gs 'stat'
|
|
|
|
- photopay = 2000
|
|
|
|
if pcs_photoskl > 125:
|
|
if pcs_photoskl > 125:
|
|
- photopay += 4000
|
|
|
|
|
|
+ gs 'emp_functions', 'wage_evt', 4
|
|
elseif pcs_photoskl > 100:
|
|
elseif pcs_photoskl > 100:
|
|
- photopay += 2500
|
|
|
|
|
|
+ gs 'emp_functions', 'wage_evt', 3
|
|
elseif pcs_photoskl > 75:
|
|
elseif pcs_photoskl > 75:
|
|
- photopay += 1500
|
|
|
|
|
|
+ gs 'emp_functions', 'wage_evt', 2
|
|
elseif pcs_photoskl > 50:
|
|
elseif pcs_photoskl > 50:
|
|
- photopay += 1000
|
|
|
|
|
|
+ gs 'emp_functions', 'wage_evt', 1
|
|
|
|
+ else
|
|
|
|
+ gs 'emp_functions', 'wage_evt', 5, 50
|
|
end
|
|
end
|
|
- money += photopay
|
|
|
|
- gs 'stat'
|
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
+!! Photography jobs functions
|
|
|
|
+
|
|
|
|
+if $ARGS[0] = 'job_init':
|
|
|
|
+ !! Set up arrays if not initialised
|
|
|
|
+ if $evt_job[1] = '' : gs 'emp_functions', 'job_evt'
|
|
|
|
+ array_len = ARRSIZE('$photojob')
|
|
|
|
+ array_len = array_len -1
|
|
|
|
+ evt_PhotoID = rand(1, array_len)
|
|
|
|
+ dynamic $photojob[evt_PhotoID]
|
|
|
|
+ !! set Day of Week for job to appear on
|
|
|
|
+ transient_evt_dow = 6
|
|
|
|
+ !! evt_silent - hide event from player in journal (or other locations) - 1 to enable.
|
|
|
|
+ transient_evt_silent = 0
|
|
|
|
+ !! Now set up the event date
|
|
|
|
+ gs 'shop_photography' , 'photojob_pay'
|
|
|
|
+ gs 'emp_functions', 'gen_evt'
|
|
|
|
+end
|
|
|
|
+
|
|
|
|
+
|
|
! Array of photography jobs - additional events should be easy to wire up
|
|
! Array of photography jobs - additional events should be easy to wire up
|
|
$photojob[1] = {
|
|
$photojob[1] = {
|
|
|
|
+ !!Ensure the event is visible in journal:
|
|
|
|
+ transient_evt_silent = 1
|
|
|
|
+ !! Set the job type as per list
|
|
|
|
+ transient_evt_type = 1
|
|
|
|
+ transient_evt_sub_type = 1
|
|
$photojob_shortname = 'Tank'
|
|
$photojob_shortname = 'Tank'
|
|
- $photojob_description = 'Tank and Bazooka Experience Day in Levingrad Oblast'
|
|
|
|
- $photojob_loc = 'city_industrial'
|
|
|
|
- $photojob_loc_arg = ''
|
|
|
|
- $photojob_ev = 'phototank'
|
|
|
|
|
|
+ $transient_desc = 'Tank and Bazooka Experience Day in Levingrad Oblast'
|
|
|
|
+ !! Field for trigger location
|
|
|
|
+ $transient_loc = 'city_industrial'
|
|
|
|
+ $transient_arg = ''
|
|
|
|
+ !! Journal loc description
|
|
|
|
+ $transient_mc_locat = 'St Petersburg Industrial Area'
|
|
|
|
+ !! Event content location
|
|
|
|
+ $transient_evt_exec= 'shop_photography'
|
|
|
|
+ $transient_trigger = 'phototank'
|
|
}
|
|
}
|
|
|
|
|
|
$photojob[2] = {
|
|
$photojob[2] = {
|
|
|
|
+ transient_evt_silent = 1
|
|
|
|
+ transient_evt_type = 1
|
|
|
|
+ transient_evt_sub_type = 2
|
|
$photojob_shortname = 'Model'
|
|
$photojob_shortname = 'Model'
|
|
- $photojob_description = 'Newspaper Commission at Petrovskaya Akvatoria'
|
|
|
|
- $photojob_loc = 'shop_photography'
|
|
|
|
- $photojob_loc_arg = 'start'
|
|
|
|
- $photojob_ev = 'photomodel'
|
|
|
|
|
|
+ $transient_desc = 'Newspaper Commission at Petrovskaya Akvatoria'
|
|
|
|
+ $transient_loc = 'shop_photography'
|
|
|
|
+ $transient_arg = 'start'
|
|
|
|
+ $transient_mc_locat = 'Meet Branko at the Photography Shop'
|
|
|
|
+ $transient_trigger = 'photomodel'
|
|
}
|
|
}
|
|
|
|
|
|
$photojob[3] = {
|
|
$photojob[3] = {
|
|
|
|
+ transient_evt_silent = 1
|
|
|
|
+ transient_evt_type = 1
|
|
|
|
+ transient_evt_sub_type = 3
|
|
$photojob_shortname = 'Wedding'
|
|
$photojob_shortname = 'Wedding'
|
|
- $photojob_description = 'Wedding at Yelagin Palace'
|
|
|
|
- $photojob_loc = 'city_residential'
|
|
|
|
- $photojob_loc_arg = ''
|
|
|
|
- $photojob_ev = 'photowedding'
|
|
|
|
|
|
+ $transient_desc = 'Wedding at Yelagin Palace'
|
|
|
|
+ $transient_loc = 'city_residential'
|
|
|
|
+ $transient_arg = ''
|
|
|
|
+ $transient_mc_locat = 'St Petersburg Residential Area'
|
|
|
|
+ $transient_trigger = 'photowedding'
|
|
}
|
|
}
|
|
|
|
|
|
$photojob[4] = {
|
|
$photojob[4] = {
|
|
|
|
+ transient_evt_silent = 1
|
|
|
|
+ transient_evt_type = 1
|
|
|
|
+ transient_evt_sub_type = 4
|
|
$photojob_shortname = 'Motorsport'
|
|
$photojob_shortname = 'Motorsport'
|
|
- $photojob_description = 'Russian Touring Car Championship Event at St. Petersburg Autodrome'
|
|
|
|
- $photojob_loc = 'city_industrial'
|
|
|
|
- $photojob_loc_arg = ''
|
|
|
|
- $photojob_ev = 'photomotorsport'
|
|
|
|
|
|
+ $transient_desc = 'Russian Touring Car Championship Event at St. Petersburg Autodrome'
|
|
|
|
+ $transient_loc = 'city_industrial'
|
|
|
|
+ $transient_arg = ''
|
|
|
|
+ $transient_mc_locat = 'St Petersburg Industrial Area'
|
|
|
|
+ $transient_trigger = 'photomotorsport'
|
|
}
|
|
}
|
|
|
|
|
|
$photojob[5] = {
|
|
$photojob[5] = {
|
|
|
|
+ transient_evt_silent = 1
|
|
|
|
+ transient_evt_type = 1
|
|
|
|
+ transient_evt_sub_type = 5
|
|
$photojob_shortname = 'Court'
|
|
$photojob_shortname = 'Court'
|
|
- $photojob_description = 'Press Event at City Courthouse'
|
|
|
|
- $photojob_loc = 'shop_photography'
|
|
|
|
- $photojob_loc_arg = 'start'
|
|
|
|
- $photojob_ev = 'photocourt'
|
|
|
|
|
|
+ $transient_desc = 'Press Event at City Courthouse'
|
|
|
|
+ $transient_loc = 'shop_photography'
|
|
|
|
+ $transient_arg = 'start'
|
|
|
|
+ $transient_mc_locat = 'Meet Branko at the Photography Shop'
|
|
|
|
+ $transient_trigger = 'photocourt'
|
|
}
|
|
}
|
|
|
|
|
|
if $ARGS[0] = 'phototank':
|
|
if $ARGS[0] = 'phototank':
|
|
@@ -395,6 +398,5 @@ if $ARGS[0] = 'photocourt':
|
|
act 'Return' : gt $loc, $loc_arg
|
|
act 'Return' : gt $loc, $loc_arg
|
|
end
|
|
end
|
|
|
|
|
|
-
|
|
|
|
--- shop_photography ---------------------------------
|
|
--- shop_photography ---------------------------------
|
|
|
|
|