adya / NPCs-Names-Distributor

A Framework to distriubte any names to any NPCs
MIT License
7 stars 3 forks source link

Obscuring Names #5

Closed adya closed 1 year ago

adya commented 1 year ago

Rework Obscuring Names to make more sense.

Algorithm for obscurity:

  1. If definition for obscuring names present - use it
  2. If not present (or names wasn't picked) check title
  3. If custom title is provided - use it
  4. If no custom title and isTitleless = false - use preferred obscuring name (originalName or ???. Original name is default option when not titleless)
adya commented 1 year ago

Almost done. Need to test definitions and how it interacts with titles.

adya commented 1 year ago

NNDObscured is no longer needed since NND can precisely identify all NPCs whose name can be determined. As such NNDKnown makes more sense as it can exclude NPCs who should be known from the start.