mod_addedflavour_city_hotel_CoRm.qsrc 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # mod_addedflavour_city_hotel_CoRm
  2. if $ARGS[0] = 'start':
  3. CLOSE ALL
  4. *clr & cla
  5. $locM = 'mod_addedflavour_city_hotel_CoRm'
  6. $locM_arg = 'start'
  7. $loc = 'mod_addedflavour_city_hotel_CoRm'
  8. $loc_arg = 'start'
  9. $menu_loc = 'mod_addedflavour_city_hotel_CoRm'
  10. $menu_arg = 'start'
  11. menu_off = 0
  12. $location_type = 'private'
  13. gs 'themes', 'indoors'
  14. gs 'mod_addedflavour_charsche' , 'chkschedule'
  15. gs 'mod_addedflavour_A69_Functions' , 'JuniorCupDirector'
  16. gs 'stat'
  17. '<center><b>Hotel Common Room</b></center>'
  18. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/hotel/HotelCommonRoom.jpg"></center>'
  19. *nl
  20. 'Here is the Common Room (converted from the Executive Suite) intended to be a place set aside for Pavlovsk Falcon Members to keep themselves occupied.'
  21. *nl
  22. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'mod_addedflavour_city_hotel_CoRm' , 'Any'
  23. '<b>People Present:</b>'
  24. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 0:
  25. peoplepresentloopcount = 0
  26. :peoplepresentloop
  27. if peoplepresentloopcount >= arrsize('modArr_AF_SFLA_SharedActPeopleArray'):
  28. jump 'peoplepresentloopend'
  29. end
  30. peoplepresentid = modArr_AF_SFLA_SharedActPeopleArray[peoplepresentloopcount]
  31. $peoplepresentname = '<<$npc_firstname[''A<<peoplepresentid>>'']>>'
  32. peoplepresentcharpos = arrpos('charsche_charlist',peoplepresentid)
  33. if $charsche_character_CurActDesc[peoplepresentcharpos] = 'Resting':
  34. '<<$peoplepresentname>> is lounging around and doing nothing in particular'
  35. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Yoga':
  36. '<<$peoplepresentname>> is doing some Yoga'
  37. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Working Out':
  38. '<<$peoplepresentname>> is Working Out in the Gym Space'
  39. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Watch TV':
  40. '<<$peoplepresentname>> is Watching the Television'
  41. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Eating':
  42. '<<$peoplepresentname>> is eating some food'
  43. end
  44. peoplepresentloopcount += 1
  45. jump 'peoplepresentloop'
  46. :peoplepresentloopend
  47. else
  48. 'You don''t see anyone here'
  49. end
  50. *nl
  51. '<b>Activities:</b>'
  52. 'A Space is set aside for <a href="exec: gs ''exercise'' , ''workout'' ">Personal Exercise</a>.'
  53. act 'Exercise' : gs 'exercise' , 'workout'
  54. 'A Sofa to <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''relax'' , 30">Relax</a> on'
  55. act 'Relax (0:30)' : gt 'mod_addedflavour_SFLA_Events' , 'relax' , 30
  56. 'A Table set aside to hold all the <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''eatlightmeal'' , ''NoUse'' ">Food</a> and <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''drinkwater'' ">Drink</a> available to the Team'
  57. act 'Eat some Food' : gt 'mod_addedflavour_SFLA_Events' , 'eatlightmeal' , 'NoUse'
  58. act 'Drink some Water' : gt 'mod_addedflavour_SFLA_Events' , 'drinkwater'
  59. act '<b>Go To Hotel Corridor</b>' : minut += 1 & gt 'mod_addedflavour_city_hotel_Korr' , 'start'
  60. end
  61. --- mod_addedflavour_city_hotel_CoRm ---------------------------------