<?php
/**
 * Configuration file for TribeGen
 * Copy this to config.local.php to override defaults
 */

return [
    'database' => [
        'path' => __DIR__ . '/../data/tribegen.db',
    ],

    'game' => [
        // Initial kobold generation
        'initial_kobolds' => 20,
        'initial_tribe_size' => 6, // Leader + 5 members
        'initial_age_min' => 5,
        'initial_age_max' => 20,

        // Stat ranges
        'stat_min' => 0,
        'stat_max' => 100,

        // Age tiers
        'age_tiers' => [
            'egg' => [-1, 0],
            'baby' => [0, 4],
            'adult' => [4, 35],
            'old' => [35, 60],
            'very_old' => [60, 999],
        ],

        // Injury system
        'max_injury_severity' => 10,
        'old_age_injury_severity' => 1,
        'old_age_injury_start_age' => 35,

        // Item system
        'stat_modification_limits' => [
            'min' => -5,
            'max' => 5,
        ],

        // Genetic inheritance
        'max_lineage_depth' => 3,
    ],

    'events' => [
        'hunting' => true,
        'exploration' => true,
        'farming' => true,
    ],

    'injuries' => [
        'wound' => true,
        'fracture' => true,
        'infection' => true,
        'poison' => true,
        'burn' => true,
    ],
];
