Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RoyAwesome opened this issue Dec 4, 2019 · 1 comment

Comments

@RoyAwesome
Copy link

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.

@SKO85
Copy link
Contributor

SKO85 commented May 15, 2020

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
Projects
None yet
Development

No branches or pull requests

3 participants