|
@@ -63,7 +63,7 @@ $camera_locations['pav_park'] = {
|
|
|
$camera_return_loc_arg = 'start'
|
|
|
}
|
|
|
|
|
|
-$camera_locations['glake'] = {
|
|
|
+$camera_locations['pav_lake'] = {
|
|
|
$camera_description = 'Pavlovsk Lake'
|
|
|
$camera_event = 'pav_lake'
|
|
|
$camera_return_loc = 'pav_lake'
|
|
@@ -85,7 +85,7 @@ $camera_people['mother'] = {
|
|
|
$camera_event = 'mother'
|
|
|
$camera_return_loc = ''
|
|
|
$camera_return_loc_arg = ''
|
|
|
- $camera_requirement = (npc_rel['A29'] >= 50 and month > 2 and month < 9)
|
|
|
+ camera_requirement = (npc_rel['A29'] >= 50 and month > 2 and month < 9)
|
|
|
}
|
|
|
|
|
|
$camera_people['anya'] = {
|
|
@@ -93,7 +93,7 @@ $camera_people['anya'] = {
|
|
|
$camera_event = 'anya'
|
|
|
$camera_return_loc = ''
|
|
|
$camera_return_loc_arg = ''
|
|
|
- $camera_requirement = (npc_rel['A33'] >= 50)
|
|
|
+ camera_requirement = (npc_rel['A33'] >= 50)
|
|
|
}
|
|
|
|
|
|
$camera_people['anushka'] = {
|
|
@@ -101,7 +101,7 @@ $camera_people['anushka'] = {
|
|
|
$camera_event = ''
|
|
|
$camera_return_loc = ''
|
|
|
$camera_return_loc_arg = ''
|
|
|
- $camera_requirement = (npc_rel['A144'] >= 50)
|
|
|
+ camera_requirement = (npc_rel['A144'] >= 50)
|
|
|
}
|
|
|
|
|
|
$camera_people['lazar'] = {
|
|
@@ -109,7 +109,7 @@ $camera_people['lazar'] = {
|
|
|
$camera_event = 'lazar'
|
|
|
$camera_return_loc = ''
|
|
|
$camera_return_loc_arg = ''
|
|
|
- $camera_requirement = (npc_rel['A149'] >= 50 and month > 2 and month < 9)
|
|
|
+ camera_requirement = (npc_rel['A149'] >= 50 and month > 2 and month < 9)
|
|
|
}
|
|
|
|
|
|
$camera_people['eugene'] = {
|
|
@@ -117,7 +117,7 @@ $camera_people['eugene'] = {
|
|
|
$camera_event = 'eugene'
|
|
|
$camera_return_loc = ''
|
|
|
$camera_return_loc_arg = ''
|
|
|
- $camera_requirement = (LCEugenefirst >= 1)
|
|
|
+ camera_requirement = (LCEugenefirst >= 1)
|
|
|
}
|
|
|
|
|
|
|
|
@@ -136,7 +136,7 @@ if $ARGS[0] = 'start':
|
|
|
! Assign the variables
|
|
|
dynamic $camera_locations[iterator]
|
|
|
! Show the player unphotographed locations
|
|
|
- if $camera_found[$camera_event] ! 1: '<<$camera_description>>'
|
|
|
+ if camera_found[$camera_event] ! 1: '<<$camera_description>>'
|
|
|
iterator += 1
|
|
|
if iterator < location_count: jump 'location_loop'
|
|
|
end
|
|
@@ -149,7 +149,7 @@ if $ARGS[0] = 'start':
|
|
|
! Assign the variables
|
|
|
dynamic $camera_people[iterator]
|
|
|
! If the subject has not been photographed and requirements are met (-1), show the name
|
|
|
- if $camera_found[$camera_event] ! 1 and $camera_requirement = -1: '<<$camera_description>>'
|
|
|
+ if camera_found[$camera_event] ! 1 and camera_requirement = -1: '<<$camera_description>>'
|
|
|
iterator += 1
|
|
|
if iterator < people_count: jump 'people_loop'
|
|
|
end
|
|
@@ -163,37 +163,50 @@ if $ARGS[0] = 'check_location':
|
|
|
! Assign the variables
|
|
|
dynamic $camera_locations[$loc]
|
|
|
! If they have not already photographed the location
|
|
|
- if $camera_found[$camera_event] ! 1:
|
|
|
+ if camera_found[$camera_event] ! 1:
|
|
|
! Offer the action
|
|
|
act 'Photograph the <<$camera_description>>':
|
|
|
- $camera_found[$camera_event] = 1
|
|
|
+ camera_found[$camera_event] = 1
|
|
|
$loc = $camera_return_loc
|
|
|
$loc_arg = $camera_return_loc_arg
|
|
|
gt 'camera', $camera_event
|
|
|
end
|
|
|
! If they photographed the lake but did not trigger the sonia conditions, offer her
|
|
|
- elseif $camera_event = 'pav_lake' and $camera_found['sonia'] ! 1 and sunWeather = 1 and soniaPS > 0:
|
|
|
+ elseif $camera_event = 'pav_lake' and camera_found['sonia'] ! 1 and sunWeather = 1 and soniaPS > 0:
|
|
|
gs 'camera', 'pav_lake_sonia', 'describe'
|
|
|
end
|
|
|
end
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'check_person':
|
|
|
- $targetPerson = $ARGS[1]
|
|
|
+!!if $ARGS[0] = 'check_person':
|
|
|
+!! $targetPerson = $ARGS[1]
|
|
|
! If the player has a camera and this person exists in the array
|
|
|
- if photographyEv >= 2 and $camera_people[$targetPerson] ! 0:
|
|
|
+!! if photographyEv >= 2 and $camera_people[$targetPerson] ! 0:
|
|
|
! Assign the variables
|
|
|
- dynamic $camera_people[$targetPerson]
|
|
|
+!! dynamic $camera_people[$targetPerson]
|
|
|
! If they have not already photographed the person
|
|
|
- if $camera_found[$targetPerson] ! 1 and $camera_requirement = -1:
|
|
|
+!! if $camera_found[$targetPerson] ! 1 and $camera_requirement = -1:
|
|
|
! Offer the action
|
|
|
- act 'Ask to take a photo':
|
|
|
- $camera_found[$targetPerson] = 1
|
|
|
- gt 'camera', $camera_event
|
|
|
- end
|
|
|
- end
|
|
|
- end
|
|
|
+!! act 'Ask to take a photo':
|
|
|
+!! $camera_found[$targetPerson] = 1
|
|
|
+!! gt 'camera', $camera_event
|
|
|
+!! end
|
|
|
+!! end
|
|
|
+!! end
|
|
|
+!!end
|
|
|
+
|
|
|
|
|
|
+if $ARGS[0] = 'check_person':
|
|
|
+ ! If the player has a camera and this person exists in the array
|
|
|
+ if photographyEv >= 2 and $camera_people[$ARGS[1]] ! 0:
|
|
|
+ ! Assign the variables
|
|
|
+ dynamic $camera_people[$ARGS[1]]
|
|
|
+ ! If they have not already photographed the person
|
|
|
+ if camera_found[$ARGS[1]] ! 1 and camera_requirement = -1:
|
|
|
+ ! Offer the action
|
|
|
+ dynamic ' act ''Ask to take a photo'': camera_found["<<$ARGS[1]>>"] = 1 & gt ''camera'', $camera_event'
|
|
|
+ end
|
|
|
+ end
|
|
|
end
|
|
|
|
|
|
|
|
@@ -405,7 +418,7 @@ if $ARGS[0] = 'pav_lake_sonia':
|
|
|
if $ARGS[1] = 'describe': 'You notice a girl sunbathing topless. It takes you a moment to realize it is Sonia, she appears to be alone. You wonder if she would make a good subject to photograph, a take on how innocence can get lost in a cruel world.'
|
|
|
act 'Take Sonia''s photograph':
|
|
|
*clr & cla
|
|
|
- $camera_found['sonia'] = 1
|
|
|
+ camera_found['sonia'] = 1
|
|
|
photoskl_exp += rand(1,2)
|
|
|
gs 'stat'
|
|
|
'<center><img src="images/characters/pavlovsk/school/girl/sonia/lake/photography/photo1.jpg"></center>'
|