Skip to content

Add 'ownedby NPC' filter to catch all NPC ships, not just those owned by space pirates. #140

Open

Description

@RaeASunshine

This is a suggestion based off a Torch bug: TorchAPI/Torch#358

It would be nice to issue a cleanup command for all NPC ships, not just space pirates. Currently, pirates shortcut only gets NPCs in the SPRT faction, and for modded games with multiple NPC factions that is not enough to keep the server clean of old (and partially destroyed) NPC grids.

A 'ownedby NPC' would be a nice filter option to have to grab all NPCs, regardless of their faction.

Activity

  1. SKO85 commented on May 15, 2020

    @SKO85
    Contributor

    This already there I think. Check hasownertype condition.

    hasownertype npc for example. The ownedby might also been modified meanwhile to support this too, but it is mostly used to identify with id or name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions