mod_addedflavour_SFLA_SpRm.qsrc 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # mod_addedflavour_SFLA_SpRm
  2. if $ARGS[0] = 'start' or $ARGS[0] = '':
  3. *clr & cla
  4. CLOSE ALL
  5. $locM = 'mod_addedflavour_SFLA_SpRm'
  6. $locM_arg = 'start'
  7. $loc = 'mod_addedflavour_SFLA_SpRm'
  8. $loc_arg = 'start'
  9. $menu_loc = 'mod_addedflavour_SFLA_SpRm'
  10. $menu_arg = 'start'
  11. menu_off = 0
  12. gs 'themes', 'indoors'
  13. gs 'mod_addedflavour_charsche' , 'chkschedule'
  14. gs 'stat'
  15. if sound = 0 : gs 'mod_addedflavour_SFLA_Functions' , 'soundgen'
  16. if modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 2:
  17. $modVar_AF_TempStr = 'Lv2o'
  18. elseif modVar_AF_SFLA_AptRProg['SpRm'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
  19. $modVar_AF_TempStr = 'Lv2'
  20. else
  21. $modVar_AF_TempStr = 'Lv1'
  22. end
  23. '<center><b><font color="maroon">Spare Room</font></b></center>'
  24. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/SpRm<<$modVar_AF_TempStr>>.jpg"></center>'
  25. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-UpgradeRoom-Check' , 'SpRm'
  26. if modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 2:
  27. $modVar_AF_TempStr = $npc_firstname['A<<modVar_AF_SFLA_AptState[''GuestID'']>>']
  28. 'You enter into the Spare Room. Currently it is being used as a bedroom by your invited guest - <<$modVar_AF_TempStr>>'
  29. elseif modVar_AF_SFLA_AptRProg['SpRm'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
  30. '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.'
  31. else
  32. '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.'
  33. end
  34. if modVar_AF_SFLA_AptRProg['SpRm'] >= modVar_AF_SFLA_AptRProg['Lv2Req'] and modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 0:
  35. act 'Think about guests' : gt 'mod_addedflavour_SFLA_Events' , 'SFLA-AptGuest-Consider'
  36. 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:
  37. act 'Invite Kolka' : gt 'mod_addedflavour_A34_Events' , 'SFLA-AptGuest-KolkaConfirm'
  38. end
  39. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'mod_addedflavour_SFLA_SpRm'
  40. *nl
  41. if modVar_AF_SFLA_AptState['SpareRoomOccupied'] <= 1:
  42. '<b>Activities:</b>'
  43. 'A Mat is laid out to <a href="exec: gs ''exercise'' , ''workout'' ">Workout</a> on.'
  44. act 'Exercise' : gs 'exercise' , 'workout'
  45. 'A Desk you could get ' + iif(student > 0 and komp = 1,'your <a href="exec: gt ''Komp'' , ''start'' ">Laptop</a>','a Laptop') + ' out on.'
  46. end
  47. act 'Go To Living Room' : minut += 1 & gt 'mod_addedflavour_SFLA_Sitr' , 'start'
  48. end
  49. --- mod_addedflavour_SFLA_SpRm ---------------------------------