focustense / easymod

Modding for the modern age.
44 stars 2 forks source link

Conditions for automatically skipping NPCs #61

Open focustense opened 3 years ago

focustense commented 3 years ago

Was just looking at a few examples and this came to mind. There's a case where EasyNPC is doing nothing interesting with an NPC, and in this case it should skip them: When the default plugin is the last plugin in the load order to modify that NPC, and either of the following are true:

In this case, EasyNPC would just be creating an ITM, and possibly a useless facegen to boot. Even if the default plugin has a facegen, despite not having face edits in the plugin, EasyNPC still doesn't need to copy it because, as a master, the default plugin/mod is going to remain installed.

It's minor, but this would have helped with workarounds for some of the children issues in #60, could have been a way to prevent those children from ever being added to the output mod, but without this feature that won't work.

This is separate from the request to manually exclude NPCs. This would automatically exclude NPCs that aren't being modified in any interesting way.

Killing-J0ke commented 3 years ago

Being able to manually skip any character would be useful too.

llyarc commented 3 years ago

If one npc template has another npc, using a different face in this case may cause problems. I'm not quite sure how the template works exactly but it should be a point worth noting, maybe skipping them or giving them the same face automatically