| 3651 | entry.decorators = decorators; | 3651 | entry.decorators = decorators; |
| 3652 | entry.content = content; | 3652 | entry.content = content; |
| 3653 | | 3653 | |
| 3654 | if(decorators.includes('@@activate')){ | | |
| 3655 | //activate in any case | | |
| 3656 | activatedNow.add(entry); | | |
| 3657 | continue; | | |
| 3658 | } | | |
| 3659 | | | |
| 3660 | if(decorators.includes('@@dont_activate')){ | | |
| 3661 | //deactivate in any case if @@activate is not present | | |
| 3662 | continue; | | |
| 3663 | } | | |
| 3664 | | | |
| 3665 | // Check if this entry applies to the character or if it's excluded | 3654 | // Check if this entry applies to the character or if it's excluded |
| 3666 | if (entry.characterFilter && entry.characterFilter?.names?.length > 0) { | 3655 | if (entry.characterFilter && entry.characterFilter?.names?.length > 0) { |
| 3667 | const nameIncluded = entry.characterFilter.names.includes(getCharaFilename()); | 3656 | const nameIncluded = entry.characterFilter.names.includes(getCharaFilename()); |