mod_addedflavour_SFLA_BaRm.qsrc 2.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # mod_addedflavour_SFLA_BaRm
  2. if $ARGS[0] = 'start' or $ARGS[0] = '':
  3. *clr & cla
  4. CLOSE ALL
  5. $locM = 'mod_addedflavour_SFLA_BaRm'
  6. $locM_arg = 'start'
  7. $loc = 'mod_addedflavour_SFLA_BaRm'
  8. $loc_arg = 'start'
  9. $menu_loc = 'mod_addedflavour_SFLA_BaRm'
  10. $menu_arg = 'start'
  11. menu_off = 0
  12. $location_type = 'bathroom'
  13. gs 'stat'
  14. gs 'themes', 'indoors'
  15. gs 'mod_addedflavour_charsche' , 'chkschedule'
  16. if modVar_AF_SFLA_AptRProg['BaRm'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
  17. $modVar_AF_TempStr = 'Lv2'
  18. else
  19. $modVar_AF_TempStr = 'Lv1'
  20. end
  21. '<center><b><font color="maroon">Bathroom</font></b></center>'
  22. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/BaRm<<$modVar_AF_TempStr>>.jpg"></center>'
  23. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-UpgradeRoom-Check' , 'BaRm'
  24. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'mod_addedflavour_SFLA_BaRm' , 'Any'
  25. if modVar_AF_SFLA_AptRProg['BaRm'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
  26. 'You stand in a very stylish looking bathroom with exquisite fixtures and fittings. You can see a ' + iif(arrsize('modArr_AF_SFLA_SharedActPeopleArray') = 0,'<a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''bath'' ">Bath</a>, <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''shower'' ">Shower</a>','Bath, Shower') + ', Sink and <a href="exec: gt ''mirror'',''start'' ">Mirror</a> which you are free to use at your leisure.'
  27. else
  28. 'You stand in a very rudimentry looking Bathroom. It is basic looking but is functional and has everything you need including a ' + iif(arrsize('modArr_AF_SFLA_SharedActPeopleArray') = 0,'<a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''shower'' ">Shower</a>','Shower') + ', Sink and <a href="exec: gt ''mirror'',''start'' ">Mirror</a>.'
  29. end
  30. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'mod_addedflavour_SFLA_BaRm'
  31. *nl
  32. gs 'mod_addedflavour_SFLA_Events', 'SFLA-AptLive-BaRm'
  33. act '<b>Go To Kitchen</b>' : minut += 1 & gt 'mod_addedflavour_SFLA_Kit' , 'start'
  34. end
  35. --- mod_addedflavour_SFLA_BaRm ---------------------------------