12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- # mod_addedflavour_SFLA_Bal
- if $ARGS[0] = 'start' or $ARGS[0] = '':
- CLOSE ALL
- $locM = 'mod_addedflavour_SFLA_Bal'
- $locM_arg = 'start'
- $loc = 'mod_addedflavour_SFLA_Bal'
- $loc_arg = 'start'
- $menu_loc = 'mod_addedflavour_SFLA_Bal'
- $menu_arg = 'start'
- menu_off = 0
- if hour >= 19 or hour < 6 : night_mode = 2
- gs 'themes', 'outdoors'
- gs 'stat'
- gs 'mod_addedflavour_charsche' , 'chkschedule'
- *clr & cla
- if sound = 0 : gs 'mod_addedflavour_SFLA_Functions' , 'soundgen'
- if hour >= 19 or hour < 6:
- $modVar_AF_TempStr = 'N'
- else
- $modVar_AF_TempStr = ''
- end
- '<center><b><font color="maroon">Balcony</font></b></center>'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Bal<<$modVar_AF_TempStr>>.jpg"></center>'
- 'You are standing on the apartment balcony. It is a pleasant little place with some chairs and a table; the most noticable feature being the double glazed windows that keep the elements out and just lets the sun in.'
- *nl
- if hour >= 0 and hour <= 6:
- 'Night has drawn in which has triggered on the many street lights sprinkled among your view, illuminating all who have remained to experience it.'
- elseif hour = 7:
- 'The Sun is just starting to peak over the horizon giving you a halo of light as bursts through the windows.'
- elseif hour >= 8 and hour <= 19 and weatherFall >= 50 and sunWeather = 1:
- 'The day is mild with clouds floating across the sky in an oblivious fashion.'
- elseif hour >= 8 and hour <= 19 and weatherFall >= 50 and sunWeather ! 1:
- 'Rain is covering the window blurring the sodden vision of the city.'
- elseif hour >= 8 and hour <= 19 and weatherFall < 50 and sunWeather = 1:
- 'The Sun is beaming through the windows warming everything it touches.'
- elseif hour >= 8 and hour <= 19 and weatherFall < 50 and sunWeather ! 1:
- 'Rain is sprinkling down over the windows giving an otherwise calm day an unfocused filter.'
- elseif hour >= 20 and hour <= 23:
- 'The Sun is setting with artificial light coming in to replace the natural light as it goes.'
- end
- gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'mod_addedflavour_SFLA_Bal'
- *nl
- '<b>Sideboard Contents:</b>'
- if modVar_AF_SFLA_AptPerishables['Sunlotion'] > 0:
- 'A Bottle of Sun Tan Lotion sits on the side that looks good for <b><<modVar_AF_SFLA_AptPerishables[''Sunlotion'']>></b> uses. ' + iif(krem >= 20 and modVar_AF_SFLA_AptPerishables['Sunlotion'] <= 5,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''sunlotion'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Replace Sun Lotion</a>','<font color="gray">Replace Sun Lotion</font>')
- elseif modVar_AF_SFLA_AptPerishables['Sunlotion'] = 0:
- 'An empty Bottle of Sun Tan Lotion sits ready to be binned. ' + iif(krem >= 20 and modVar_AF_SFLA_AptPerishables['Sunlotion'] <= 5,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''sunlotion'' , ''add'' , ''PCS'' & gt $loc , $loc_arg ">Replace Sun Lotion</a>','<font color="gray">Replace Sun Lotion</font>')
- end
- *nl
- if hour >= 9 and hour < 18 and weatherFall < 50 and sunWeather = 1:
- act 'Sunbathe (1:00)' : gt 'mod_addedflavour_SFLA_Events' , 'sunbathe'
- end
- if hour >= 8 and hour <= 19:
- act 'Relax (0:30)' : gt 'mod_addedflavour_SFLA_Events' , 'relax' , 30
- end
- act '<b>Go To Living Room</b>' : night_mode = 0 & minut += 1 & gt 'mod_addedflavour_SFLA_Sitr' , 'start'
- end
-
-
- --- mod_addedflavour_SFLA_Bal ---------------------------------
|