// ─── Fabricator Discipline Files ──────────────────────────────────────────────
// Attunement-focused disciplines for Fabricator role

import type { DisciplineDefinition } from '../../types/disciplines';

export const fabricatorDisciplines: DisciplineDefinition[] = [
  {
    id: 'golem-crafting',
    name: 'Golem Crafting',
    attunement: 'fabricator',
    manaType: 'earth',
    baseCost: 10,
    description: 'Improve your ability to craft and maintain golems.',
    statBonus: { stat: 'golemCapacity', baseValue: 2 },
    difficultyFactor: 150,
    scalingFactor: 80,
    drainBase: 4,
    perks: [
      {
        id: 'golem-1',
        type: 'once',
        threshold: 200,
        value: 0,
        description: 'Unlock golem summoning',
      },
      {
        id: 'golem-2',
        type: 'capped',
        threshold: 500,
        value: 5,
        description: 'Double golem capacity at 500 XP',
      },
    ],
  },
  {
    id: 'crafting-efficiency',
    name: 'Crafting Efficiency',
    attunement: 'fabricator',
    manaType: 'sand',
    baseCost: 12,
    description: 'Reduce material costs for crafting.',
    statBonus: { stat: 'craftingCostReduction', baseValue: 15 },
    difficultyFactor: 180,
    scalingFactor: 90,
    drainBase: 6,
    perks: [
      {
        id: 'efficiency-1',
        type: 'once',
        threshold: 300,
        value: 0,
        description: 'Unlock reduced crafting costs',
      },
    ],
  },
];