home_family_init.qsrc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # home_family_init
  2. !! Date Created: 31st March, 2024
  3. !! Author: Myles
  4. !!
  5. !! Version: .01 - initial release
  6. !!
  7. !! Desc: Initialisation file for family residence in Pavlosk, default functions, tasks and misc for all internal rooms.
  8. !! Related files:
  9. !! Internal rooms to location: BedrPar, BedrPar2, korrPar, kuhrPar, sitrPar, vanrPar
  10. !! External links to location: pav_residential, pod_ezd
  11. if $ARGS[0] = '' or $ARGS[0] = 'init':
  12. !! Set up default image paths for npc and location:
  13. $default_img_path = 'locations/pavlovsk/resident/apartment/home'
  14. $mother_img_path = 'images/characters/pavlovsk/resident/mom/'
  15. !! clear and initialise location for content:
  16. *clr & cla
  17. CLOSE ALL
  18. music_loop = 0
  19. !! enable sidebar menu for locations
  20. menu_off = 0
  21. !! set internal location type
  22. $location_type = 'private'
  23. gs 'themes', 'indoors'
  24. !! Update all initial stats for location
  25. gs 'stat'
  26. !! Display the header text and banner image
  27. gs 'core_library', 'stage_title'
  28. !! Now track quests, NPCs and any pets:
  29. gs 'home_family_init', 'trackers'
  30. end
  31. !! Pull Quest trackers
  32. if $ARGS[0] = 'trackers':
  33. !! Pull the family tracker
  34. gs 'family_schedule'
  35. !! TODO: Finish pet tracker.
  36. !! Pull pet schedule:
  37. !! gs 'pet_init', 'init', 'mc'
  38. !! Init ballet career quest tracker
  39. gs 'core_library', 'init'
  40. end
  41. --- home_family_init ---------------------------------