|
@@ -51,7 +51,7 @@ end
|
|
!! Friends and Relations
|
|
!! Friends and Relations
|
|
if $ARGS[0] = 'rel_pavlovsk':
|
|
if $ARGS[0] = 'rel_pavlovsk':
|
|
gs $loc_id, 'pavlovsk_array'
|
|
gs $loc_id, 'pavlovsk_array'
|
|
- $table_gen_max = 6
|
|
|
|
|
|
+ $table_gen_max = loc_gen
|
|
gs $loc_id, 'table_gen'
|
|
gs $loc_id, 'table_gen'
|
|
|
|
|
|
end
|
|
end
|
|
@@ -61,8 +61,6 @@ if $ARGS[0] = 'rel_gad':
|
|
end
|
|
end
|
|
if $ARGS[0] = 'rel_pushkin':
|
|
if $ARGS[0] = 'rel_pushkin':
|
|
!! Ballet Maya
|
|
!! Ballet Maya
|
|
-
|
|
|
|
-
|
|
|
|
end
|
|
end
|
|
|
|
|
|
!! Game locations - quests
|
|
!! Game locations - quests
|
|
@@ -214,7 +212,7 @@ if $ARGS[0] = 'failure':
|
|
if $ARGS[1] = 'id':
|
|
if $ARGS[1] = 'id':
|
|
$debug['journal'] = 'NPC ID not set, vcard not generated.'
|
|
$debug['journal'] = 'NPC ID not set, vcard not generated.'
|
|
elseif $ARGS[1] = 'quest_body':
|
|
elseif $ARGS[1] = 'quest_body':
|
|
- $debug['journal'] = 'Quest body not set, quests details was not display.'
|
|
|
|
|
|
+ $debug['journal'] = 'Quest body not set, quests details was not set.'
|
|
elseif $ARGS[1] = 'nav_forward':
|
|
elseif $ARGS[1] = 'nav_forward':
|
|
$debug['journal'] = 'No forward navigation set - please ensure you have set the var in quest_data'
|
|
$debug['journal'] = 'No forward navigation set - please ensure you have set the var in quest_data'
|
|
elseif $ARGS[1] = 'nav_back':
|
|
elseif $ARGS[1] = 'nav_back':
|
|
@@ -310,26 +308,35 @@ end
|
|
if $ARGS[0] = 'pavlovsk_array':
|
|
if $ARGS[0] = 'pavlovsk_array':
|
|
!! Set up locations for image paths for the loop
|
|
!! Set up locations for image paths for the loop
|
|
loc_gen = 1
|
|
loc_gen = 1
|
|
|
|
+ !! Display Name
|
|
$loc_name[loc_gen] = 'Five Eight Estate'
|
|
$loc_name[loc_gen] = 'Five Eight Estate'
|
|
|
|
+ !! $args[1] function name to show data
|
|
$loc_shortname[loc_gen] = '58_estate'
|
|
$loc_shortname[loc_gen] = '58_estate'
|
|
|
|
+ !! default game image file path
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/resident/apartment/complex.jpg'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/resident/apartment/complex.jpg'
|
|
- loc_gen = 2
|
|
|
|
- $loc_name[loc_gen] = 'Commercial'
|
|
|
|
|
|
+ !! Area description to indicate what is in this area.
|
|
|
|
+ $loc_description[loc_gen] = 'Five Eight Estate where your parents and aunt Luda live. There is also the garage that your father hires to fix his car.'
|
|
|
|
+
|
|
|
|
+ !$loc_path[loc_gen] =
|
|
|
|
+
|
|
|
|
+ loc_gen += 1
|
|
|
|
+ $loc_name[loc_gen] = 'Commercial Area'
|
|
$loc_shortname[loc_gen] = 'commercial'
|
|
$loc_shortname[loc_gen] = 'commercial'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/gorodok.jpg'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/gorodok.jpg'
|
|
- loc_gen = 3
|
|
|
|
- $loc_name[loc_gen] = 'Industrial'
|
|
|
|
|
|
+ $loc_description[loc_gen] = ''
|
|
|
|
+ loc_gen += 1
|
|
|
|
+ $loc_name[loc_gen] = 'Industrial Area'
|
|
$loc_shortname[loc_gen] = 'industrial'
|
|
$loc_shortname[loc_gen] = 'industrial'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/factory/pav_factory.jpg'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/factory/pav_factory.jpg'
|
|
- loc_gen = 4
|
|
|
|
- $loc_name[loc_gen] = 'Market'
|
|
|
|
|
|
+ loc_gen += 1
|
|
|
|
+ $loc_name[loc_gen] = 'Pavlovsk Market'
|
|
$loc_shortname[loc_gen] = 'market'
|
|
$loc_shortname[loc_gen] = 'market'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/pav_market_day.jpg'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/pav_market_day.jpg'
|
|
- loc_gen = 5
|
|
|
|
- $loc_name[loc_gen] = 'Park'
|
|
|
|
|
|
+ loc_gen += 1
|
|
|
|
+ $loc_name[loc_gen] = 'Pavlovsk Park'
|
|
$loc_shortname[loc_gen] = 'park'
|
|
$loc_shortname[loc_gen] = 'park'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/park/skver.jpg'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/park/skver.jpg'
|
|
- loc_gen = 6
|
|
|
|
|
|
+ loc_gen += 1
|
|
$loc_name[loc_gen] = 'Train Station'
|
|
$loc_name[loc_gen] = 'Train Station'
|
|
$loc_shortname[loc_gen] = 'train_station'
|
|
$loc_shortname[loc_gen] = 'train_station'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/trainstation/vokzal.jpg'
|
|
$loc_path[loc_gen] = 'images/locations/pavlovsk/trainstation/vokzal.jpg'
|