din_npc.qsrc 592 B

1234567891011121314151617181920212223242526272829
  1. # din_npc
  2. ! enables going home to current house
  3. ! 1 = parents house
  4. ! 2 = Grandparents House
  5. ! 3 = St. Petersburg Apt
  6. if $ARGS[0] = 'go_home':
  7. if $home['current'] = 'hunters_lodge':
  8. gt 'gad_swamp_yard','start'
  9. elseif $home['location'] = 'pav_complex':
  10. gt 'pav_complex', 'start'
  11. else
  12. gt $home['location']
  13. end
  14. end
  15. if $ARGS[0] = 'go_straight_home':
  16. if $home['current'] = 'lyceum_dorm':
  17. gt 'etoexhib', 'pos40'
  18. elseif $home['current'] = 'university_dorm':
  19. gt 'uni_dorm', 'dorm_room'
  20. else
  21. gt $home['entrance'], 'start'
  22. end
  23. end
  24. --- din_npc ---------------------------------