nichBathMaster.qsrc 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # nichBathMaster
  2. CLOSE ALL
  3. $metka = ''
  4. $loc = 'nichBathMaster'
  5. $location_type = 'bathroom'
  6. $menu_loc = 'nichBathMaster'
  7. $nichLoc = 'masterBathroom'
  8. $menu_arg = ''
  9. menu_off = 0
  10. gs 'stat'
  11. gs 'themes', 'indoors'
  12. !! Argument return: PC has been in the room before, dont perform actions meant to be executed before or as she enters the room.
  13. if $ARGS[0] = '' or $ARGS[0] = 'start' or $ARGS[0] = 'return':
  14. '<center><b><font color="maroon">Nicholas'' Bathroom</font></b></center>'
  15. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/nichApartment/bathroomMaster.jpg"></center>'
  16. 'The bathroom is modern and well fitted, more than matching the display of wealth in the other rooms, from the elaborate decorations and spacious shower and tub to the underfloor heating.'
  17. if nichWork = 2:
  18. 'You have your own bathroom and should not use this one.'
  19. end
  20. nichCleanAppropriate = 1
  21. $nichGalaAct = func('nichUtil','npcActivity','gala')
  22. $nichNichAct = func('nichUtil','npcActivity','nicholas')
  23. $nichTanyAct = func('nichUtil','npcActivity','tanya')
  24. nichGalaPresent = FUNC('nichUtil','isPresent','gala','masterBathroom')
  25. nichNichPresent = FUNC('nichUtil','isPresent','nicholas','masterBathroom')
  26. nichTanyPresent = FUNC('nichUtil','isPresent','tanya','masterBathroom')
  27. if $nichNichAct = 'bathMorning':
  28. 'Nicholas is currently in here using the shower.'
  29. nichCleanAppropriate = 0
  30. elseif $nichNichAct = 'bathClub':
  31. 'Nicholas is currently in here preparing himself to go out.'
  32. nichCleanAppropriate = 0
  33. elseif $nichNichAct = 'bathEvening':
  34. 'Nicholas is currently in here brushing his teeth.'
  35. nichCleanAppropriate = 0
  36. end
  37. if $nichGalaAct = 'bathMorning':
  38. 'Gala is currently in here using the shower.'
  39. nichCleanAppropriate = 0
  40. elseif $nichGalaAct = 'bathEvening':
  41. 'Gala is currently in here brushing her teeth.'
  42. nichCleanAppropriate = 0
  43. end
  44. if $nichTanyAct = 'bathMorning':
  45. 'Tanya is currently in here using the shower.'
  46. nichCleanAppropriate = 0
  47. elseif $nichTanyAct = 'bathEvening':
  48. 'Tanya is currently in here brushing her teeth.'
  49. nichCleanAppropriate = 0
  50. end
  51. act 'Go to the master bedroom':
  52. minut += 1
  53. gt 'nichBedroomMaster'
  54. end
  55. act 'Go to Tanya''s room':
  56. minut += 1
  57. gt 'nichBedroomTanja'
  58. end
  59. if nichWork = 2:
  60. if nichCleanAppropriate = 0:
  61. 'It wouldn''t be appropriate to clean this room now.'
  62. else
  63. gs 'nichChore','inspect','masterbath'
  64. end
  65. end
  66. end
  67. --- nichBathMaster ---------------------------------