mod_addedflavour_SFLA_Bal.qsrc 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # mod_addedflavour_SFLA_Bal
  2. if $ARGS[0] = 'start' or $ARGS[0] = '':
  3. CLOSE ALL
  4. $locM = 'mod_addedflavour_SFLA_Bal'
  5. $locM_arg = 'start'
  6. $loc = 'mod_addedflavour_SFLA_Bal'
  7. $loc_arg = 'start'
  8. $menu_loc = 'mod_addedflavour_SFLA_Bal'
  9. $menu_arg = 'start'
  10. menu_off = 0
  11. if hour >= 19 or hour < 6 : night_mode = 2
  12. gs 'themes', 'outdoors'
  13. gs 'stat'
  14. gs 'mod_addedflavour_charsche' , 'chkschedule'
  15. *clr & cla
  16. if sound = 0 : gs 'mod_addedflavour_SFLA_Functions' , 'soundgen'
  17. if hour >= 19 or hour < 6:
  18. $modVar_AF_TempStr = 'N'
  19. else
  20. $modVar_AF_TempStr = ''
  21. end
  22. '<center><b><font color="maroon">Balcony</font></b></center>'
  23. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Bal<<$modVar_AF_TempStr>>.jpg"></center>'
  24. '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.'
  25. *nl
  26. if hour >= 0 and hour <= 6:
  27. 'Night has drawn in which has triggered on the many street lights sprinkled among your view, illuminating all who have remained to experience it.'
  28. elseif hour = 7:
  29. 'The Sun is just starting to peak over the horizon giving you a halo of light as bursts through the windows.'
  30. elseif hour >= 8 and hour <= 19 and weatherFall >= 50 and sunWeather = 1:
  31. 'The day is mild with clouds floating across the sky in an oblivious fashion.'
  32. elseif hour >= 8 and hour <= 19 and weatherFall >= 50 and sunWeather ! 1:
  33. 'Rain is covering the window blurring the sodden vision of the city.'
  34. elseif hour >= 8 and hour <= 19 and weatherFall < 50 and sunWeather = 1:
  35. 'The Sun is beaming through the windows warming everything it touches.'
  36. elseif hour >= 8 and hour <= 19 and weatherFall < 50 and sunWeather ! 1:
  37. 'Rain is sprinkling down over the windows giving an otherwise calm day an unfocused filter.'
  38. elseif hour >= 20 and hour <= 23:
  39. 'The Sun is setting with artificial light coming in to replace the natural light as it goes.'
  40. end
  41. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'mod_addedflavour_SFLA_Bal'
  42. *nl
  43. '<b>Sideboard Contents:</b>'
  44. if modVar_AF_SFLA_AptPerishables['Sunlotion'] > 0:
  45. '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>')
  46. elseif modVar_AF_SFLA_AptPerishables['Sunlotion'] = 0:
  47. '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>')
  48. end
  49. *nl
  50. if hour >= 9 and hour < 18 and weatherFall < 50 and sunWeather = 1:
  51. act 'Sunbathe (1:00)' : gt 'mod_addedflavour_SFLA_Events' , 'sunbathe'
  52. end
  53. if hour >= 8 and hour <= 19:
  54. act 'Relax (0:30)' : gt 'mod_addedflavour_SFLA_Events' , 'relax' , 30
  55. end
  56. act '<b>Go To Living Room</b>' : night_mode = 0 & minut += 1 & gt 'mod_addedflavour_SFLA_Sitr' , 'start'
  57. end
  58. --- mod_addedflavour_SFLA_Bal ---------------------------------