din_npc.qsrc 561 B

12345678910111213141516171819202122232425262728293031
  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 curr_home = 12:
  8. gt '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 curr_home = 10:
  17. gt 'etoexhib', 'pos40'
  18. elseif curr_home = 11:
  19. gt 'obroom', 'start'
  20. elseif curr_home = 12:
  21. gt 'swamphouse', 'start'
  22. else
  23. gt $home_entrance
  24. end
  25. end
  26. --- din_npc ---------------------------------