BlueGit

blue-star tribegen

Files

tribegen / web / config.example.php

config.example.php

initial generation
timfa Tim · pushed by timfa · 9 months ago
0b655138 History
config.example.php 1.3 KiB Download Raw
1<?php
2/**
3 * Configuration file for TribeGen
4 * Copy this to config.local.php to override defaults
5 */
6
7return [
8 'database' => [
9 'path' => __DIR__ . '/../data/tribegen.db',
10 ],
11
12 'game' => [
13 // Initial kobold generation
14 'initial_kobolds' => 20,
15 'initial_tribe_size' => 6, // Leader + 5 members
16 'initial_age_min' => 5,
17 'initial_age_max' => 20,
18
19 // Stat ranges
20 'stat_min' => 0,
21 'stat_max' => 100,
22
23 // Age tiers
24 'age_tiers' => [
25 'egg' => [-1, 0],
26 'baby' => [0, 4],
27 'adult' => [4, 35],
28 'old' => [35, 60],
29 'very_old' => [60, 999],
30 ],
31
32 // Injury system
33 'max_injury_severity' => 10,
34 'old_age_injury_severity' => 1,
35 'old_age_injury_start_age' => 35,
36
37 // Item system
38 'stat_modification_limits' => [
39 'min' => -5,
40 'max' => 5,
41 ],
42
43 // Genetic inheritance
44 'max_lineage_depth' => 3,
45 ],
46
47 'events' => [
48 'hunting' => true,
49 'exploration' => true,
50 'farming' => true,
51 ],
52
53 'injuries' => [
54 'wound' => true,
55 'fracture' => true,
56 'infection' => true,
57 'poison' => true,
58 'burn' => true,
59 ],
60];