123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- # 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
- '<center><b><font color="maroon">Living Room</font></b></center>'
- if ymanrem[7] = 2:
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/y_living.jpg"></center>'
- elseif ymanrem[7] = 1:
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_finished.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_unfinished.jpg"></center>'
- end
- act 'Leave the room': gt 'city_mansion_residence_1', 'yfoyer'
- if ymanrem[7] = 2:
- 'A large room where you can watch <a href="exec:gt ''TV'',''start''">TV</a>, or relax on your luxury <a href="exec:gt ''divan'', ''start''">leather sofa</a>.'
- 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
- '<center><b><font color="maroon">Lounge</font></b></center>'
- if ymanrem[8] = 2:
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/y_lounge.jpg"></center>'
- elseif ymanrem[8] = 1:
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_finished.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_unfinished.jpg"></center>'
- 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 <a href="exec:gt ''sewing'',''start''">sewing kit</a> 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 <<newgobelen/10>> percent finished.'
- act 'Work on the tapestry':gt 'sewing', 'tapestry'
- end
- end
- if mc_inventory['tapestry'] > 0: 'You have <<mc_inventory[''tapestry'']>> 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'
- '<center><b><font color="maroon">Library</font></b></center>'
- if ymanrem[10] = 2:
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/y_library.jpg"></center>'
- elseif ymanrem[10] = 1:
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_finished.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_unfinished.jpg"></center>'
- 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
- '<center><b><font color="maroon">Office</font></b></center>'
- if ymanrem[12] = 2:
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/y_office.jpg"></center>'
- elseif ymanrem[12] = 1:
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_finished.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_unfinished.jpg"></center>'
- 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 <a href="exec:gt ''Komp'', ''start''">computer</a> sitting on your antique <a href="exec:gt ''stol'', ''start''">desk</a>.'
- !! 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
- '<center><b><font color="maroon">Nursery</font></b></center>'
- if ymanrem[9] = 2:
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/y_nursery.jpg"></center>'
- '<center>The neatly designed nursery room, only the best for your children.</center>'
- elseif ymanrem[9] = 1:
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_finished.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_unfinished.jpg"></center>'
- end
- act 'Leave the room': gt 'city_mansion_residence_1', 'yfoyer'
- if ymanrem[9] = 2: gs 'subkid'
- end
- --- city_mansion_residence_2 ---------------------------------
|