This seems to be a common pattern in the Elona+ Custom source code: if a character does not have a talk event available for their tone, there will be a branch that instead makes them say a default set of phrases.
These phrases should be put in a "default" tone prototype instead. It would be configurable if you wanted to use the default or not. Specifying a talk event with a blank string in a tone prototype would mean you would not use the default, if there is one available. There could also be a boolean flag on the base.tone prototype which will prevent any default phrases from being used for that tone.
This seems to be a common pattern in the Elona+ Custom source code: if a character does not have a talk event available for their tone, there will be a branch that instead makes them say a default set of phrases.
These phrases should be put in a "default" tone prototype instead. It would be configurable if you wanted to use the default or not. Specifying a talk event with a blank string in a tone prototype would mean you would not use the default, if there is one available. There could also be a boolean flag on the
base.tone
prototype which will prevent any default phrases from being used for that tone.