From 0bd7d93375a6e3b4fe80dec065280109794648ce Mon Sep 17 00:00:00 2001 From: Lector Date: Mon, 23 Mar 2026 18:54:09 +0100 Subject: [PATCH] Update instructions for adding new entities IdentifierGroupts instead of Identifier.ts --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ca0cfa74..0da966fe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,7 +37,7 @@ Alternatively, you can fork the repository and create pull requests from there. If you add new entities, there are some additional steps to take. 1. Add the corresponding identifier to the `src/types/_Identifier.ts` file. Just duplicate an existing one, adjust the referenced entity at the end and make sure the variable/function name is the entity name plus `Identifier` and is inserted into the list of identifiers in alphabetical order. -2. Check `src/types/_Identifier.ts` if you need to add the entity to any existing identifier group. For example, if you add another special ability entity, add it to the `SpecialAbilityIdentifier` group; if it is a combat-related special ability, add it to the `CombatRelatedSpecialAbilityIdentifier` group as well. +2. Check `src/types/_IdentifierGroup.ts` if you need to add the entity to any existing identifier group. For example, if you add another special ability entity, add it to the `SpecialAbilityIdentifier` group; if it is a combat-related special ability, add it to the `CombatRelatedSpecialAbilityIdentifier` group as well. 3. **If it is not a child entity:** Export the entity declaration alone from `src/types/index.ts`. 4. **If it is not a child entity:** Add the entity declaration to the schema definition in `src/main.ts` in alphabetical order.