Skip to content

Behavior

  • Order β€” assigned to ships, drives NPC behavior (combat, trade, mining, navigation).
  • Mission β€” player-facing tasks generated by the mission framework.
  • Conversation β€” NPC dialogue tree.
  • Boarding operation β€” boarding state machine attached to a target ship.
  • β€œHow do I assign a default order to a ship?” β†’ Order β†’ Actions β†’ <create_order default=true>.
  • β€œHow do I add an option to NPC conversation?” β†’ Conversation β†’ Actions β†’ <add_player_choice> / <add_player_choice_sub>.
  • β€œHow do I detect when player accepts mission X?” β†’ Mission β†’ Events β†’ mission framework signals.
  • β€œHow do I modify boarding resistance dynamically?” β†’ Boarding operation β†’ Gotchas (caching issue).