# city_mansion_residence_2
if $ARGS[0] = 'yliving':
$loc = 'city_mansion_residence_2'
$loc_arg = 'yliving'
$menu_loc = 'city_mansion_residence_2'
$menu_arg = 'yliving'
$location_type = 'private'
$locclass = 'livingr'
menu_off = 0
minut += 1
gs 'stat'
gs 'music_actions', 'clear_restrictions'
*clr & cla
'
Living Room'
if ymanrem[7] = 2:
'> src="images/locations/city/suburb/mansion/y_living.jpg">'
elseif ymanrem[7] = 1:
'> src="images/locations/city/suburb/mansion/i_finished.jpg">'
else
'> src="images/locations/city/suburb/mansion/i_unfinished.jpg">'
end
act 'Leave the room': gt 'city_mansion_residence_1', 'yfoyer'
if ymanrem[7] = 2:
'A large room where you can watch TV, or relax on your luxury leather sofa.'
if $ml_guitar['location'] = $loc: 'Your guitar rests on its stand next to the sofa.'
gs 'subkid'
gs 'music_actions', 'start'
end
end
if $ARGS[0] = 'ylounge':
$loc = 'city_mansion_residence_2'
$loc_arg = 'ylounge'
$menu_loc = 'city_mansion_residence_2'
$menu_arg = 'ylounge'
$location_type = 'private'
menu_off = 0
minut += 1
gs 'stat'
*clr & cla
'Lounge'
if ymanrem[8] = 2:
'> src="images/locations/city/suburb/mansion/y_lounge.jpg">'
elseif ymanrem[8] = 1:
'> src="images/locations/city/suburb/mansion/i_finished.jpg">'
else
'> src="images/locations/city/suburb/mansion/i_unfinished.jpg">'
end
act 'Leave the room': gt 'city_mansion_residence_1', 'yfoyer'
if ymanrem[8] = 2:
'The lounge, where you can work on your tapestries and relax in front of the fireplace.'
if mc_inventory['sewing_kit'] = 1:
'Your sewing kit is stored next to your favorite chair.'
*nl
if mc_inventory['sewing_fabric'] <= 0:'You do not have any fabric.'
*nl
if pcs_sewng >= 80:
if newgobelen = 0 and mc_inventory['sewing_fabric'] > 0:
act 'Start a new tapestry': gt 'sewing', 'tapestry'
elseif newgobelen >= 1:
'Your tapestry is <> percent finished.'
act 'Work on the tapestry':gt 'sewing', 'tapestry'
end
end
if mc_inventory['tapestry'] > 0: 'You have <> completed tapestries.'
end
end
end
if $ARGS[0] = 'ylibrary':
menu_off = 0
gs 'shortgs', 'setloc', 'city_mansion_residence_2', 'ylibrary'
$location_type = 'private'
minut += 1
gs 'stat'
'Library'
if ymanrem[10] = 2:
'> src="images/locations/city/suburb/mansion/y_library.jpg">'
elseif ymanrem[10] = 1:
'> src="images/locations/city/suburb/mansion/i_finished.jpg">'
else
'> src="images/locations/city/suburb/mansion/i_unfinished.jpg">'
end
act 'Leave the room': gt 'city_mansion_residence_1', 'yfoyer'
if ymanrem[10] = 2:
'A huge collection of books are neatly placed on the bookshelves.'
gs 'library_functions', 'set_library_read_acts'
end
end
if $ARGS[0] = 'yoffice':
$loc = 'city_mansion_residence_2'
$loc_arg = 'yoffice'
$menu_loc = 'city_mansion_residence_2'
$menu_arg = 'yoffice'
$locM = 'city_mansion_residence_2'
$locM_arg = 'yoffice'
$location_type = 'private'
menu_off = 0
minut += 1
gs 'stat'
gs 'music_actions', 'clear_restrictions'
*clr & cla
'Office'
if ymanrem[12] = 2:
'> src="images/locations/city/suburb/mansion/y_office.jpg">'
elseif ymanrem[12] = 1:
'> src="images/locations/city/suburb/mansion/i_finished.jpg">'
else
'> src="images/locations/city/suburb/mansion/i_unfinished.jpg">'
end
act 'Leave the room': gt 'city_mansion_residence_1', 'yfoyer'
if ymanrem[12] = 2:
'Your work room where you spend most of the time signing important papers and handling your business needs.'
!!TODO: Code to check if Sveta is not alone
gs 'internet_mobile', 'get_access'
'There''s a computer sitting on your antique desk.'
!! IMPORTANT: if there is anything added later that could mean that others are in the room, gs 'music_actions', 'not_alone' should be added with the correct conditions.
gs 'music_actions', 'start'
end
end
if $ARGS[0] = 'ynursery':
$loc = 'city_mansion_residence_2'
$loc_arg = 'ynursery'
$menu_loc = 'city_mansion_residence_2'
$menu_arg = 'ynursery'
$location_type = 'private'
menu_off = 0
minut += 1
gs 'stat'
*clr & cla
'Nursery'
if ymanrem[9] = 2:
'> src="images/locations/city/suburb/mansion/y_nursery.jpg">'
'The neatly designed nursery room, only the best for your children.'
elseif ymanrem[9] = 1:
'> src="images/locations/city/suburb/mansion/i_finished.jpg">'
else
'> src="images/locations/city/suburb/mansion/i_unfinished.jpg">'
end
act 'Leave the room': gt 'city_mansion_residence_1', 'yfoyer'
if ymanrem[9] = 2: gs 'subkid'
end
--- city_mansion_residence_2 ---------------------------------