1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # mod_addedflavour_SFLA_SpRm
- if $ARGS[0] = 'start' or $ARGS[0] = '':
- *clr & cla
- CLOSE ALL
- $locM = 'mod_addedflavour_SFLA_SpRm'
- $locM_arg = 'start'
- $loc = 'mod_addedflavour_SFLA_SpRm'
- $loc_arg = 'start'
- $menu_loc = 'mod_addedflavour_SFLA_SpRm'
- $menu_arg = 'start'
- menu_off = 0
- gs 'themes', 'indoors'
- gs 'mod_addedflavour_charsche' , 'chkschedule'
- gs 'stat'
- if sound = 0 : gs 'mod_addedflavour_SFLA_Functions' , 'soundgen'
- if modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 2:
- $modVar_AF_TempStr = 'Lv2o'
- elseif modVar_AF_SFLA_AptRProg['SpRm'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
- $modVar_AF_TempStr = 'Lv2'
- else
- $modVar_AF_TempStr = 'Lv1'
- end
- '<center><b><font color="maroon">Spare Room</font></b></center>'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/SpRm<<$modVar_AF_TempStr>>.jpg"></center>'
- gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-UpgradeRoom-Check' , 'SpRm'
- if modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 2:
- $modVar_AF_TempStr = $npc_firstname['A<<modVar_AF_SFLA_AptState[''GuestID'']>>']
- 'You enter into the Spare Room. Currently it is being used as a bedroom by your invited guest - <<$modVar_AF_TempStr>>'
- elseif modVar_AF_SFLA_AptRProg['SpRm'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
- 'You enter into the Spare Room. Currently it is an inviting open space fit for use as a quiet area to study, an open area to workout or for an invited guest to convert into a bedroom.'
- else
- 'You enter into the Spare Room. Currently it is moreorless a dumping ground for whatever doesn''t fit into the other rooms so is used as a place to study or workout.'
- end
- if modVar_AF_SFLA_AptRProg['SpRm'] >= modVar_AF_SFLA_AptRProg['Lv2Req'] and modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 0:
- act 'Think about guests' : gt 'mod_addedflavour_SFLA_Events' , 'SFLA-AptGuest-Consider'
- elseif modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 1 and modVar_AF_SFLA_KolkaVisit['A700'] = 1 and modVar_AF_SFLA_KolkaVisit['A701'] = 1 and modVar_AF_SFLA_KolkaVisit['A702'] = 1 and modVar_AF_SFLA_KolkaVisit['A34'] = 1 and modVar_AF_SFLA_KolkaVisit['A29'] = 1 and modVar_AF_SFLA_KolkaVisit['InTransit'] = 0 and week <= 5:
- act 'Invite Kolka' : gt 'mod_addedflavour_A34_Events' , 'SFLA-AptGuest-KolkaConfirm'
- end
- gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'mod_addedflavour_SFLA_SpRm'
- *nl
- if modVar_AF_SFLA_AptState['SpareRoomOccupied'] <= 1:
- '<b>Activities:</b>'
- 'A Mat is laid out to <a href="exec: gs ''exercise'' , ''workout'' ">Workout</a> on.'
- act 'Exercise' : gs 'exercise' , 'workout'
- 'A Desk you could get ' + iif(student > 0 and komp = 1,'your <a href="exec: gt ''Komp'' , ''start'' ">Laptop</a>','a Laptop') + ' out on.'
- end
- act 'Go To Living Room' : minut += 1 & gt 'mod_addedflavour_SFLA_Sitr' , 'start'
- end
- --- mod_addedflavour_SFLA_SpRm ---------------------------------
|