nichBathMaster.qsrc 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. '<a href="exec: gt ''nichTanya'', ''bathroom''">Tanya</a> 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. elseif $nichTanyAct = 'prepareClub':
  51. 'Tanya is currently in here doing her make-up.'
  52. nichCleanAppropriate = 0
  53. end
  54. act 'Go to the master bedroom':
  55. minut += 1
  56. gt 'nichBedroomMaster'
  57. end
  58. act 'Go to Tanya''s room':
  59. minut += 1
  60. gt 'nichBedroomTanja'
  61. end
  62. if nichWork = 2:
  63. if nichCleanAppropriate = 0:
  64. 'It wouldn''t be appropriate to clean this room now.'
  65. else
  66. gs 'nichChore','inspect','masterbath'
  67. end
  68. end
  69. end
  70. --- nichBathMaster ---------------------------------