diff --git a/lib/pages/creature-page/core.tsx b/lib/pages/creature-page/core.tsx index 45cb710..e6fc841 100644 --- a/lib/pages/creature-page/core.tsx +++ b/lib/pages/creature-page/core.tsx @@ -265,6 +265,29 @@ export const CREATURE_DESIGN_DEFAULTS: CreatureDesign = { }, }; +const AttachmentIndicesWidget: React.FC<{ + type: AttachmentPointType; + creature: CreatureSymbol; + attachment: AttachedCreatureSymbol; + onChange: (attachments: AttachedCreatureSymbol) => void; + idPrefix: string; +}> = (props) => { + const id = `${props.idPrefix}_indices`; + const typeCap = capitalize(props.type); + + return ( +