2026-10-28 18:17:34 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
// World defaults. A world's `config` JSON overrides any key (see WorldConfig).
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
// Multiplies production and divides every duration.
|
|
|
|
|
'speed' => 1.0,
|
|
|
|
|
|
|
|
|
|
'village' => [
|
2026-10-28 18:45:02 +00:00
|
|
|
// Building space: the sum of the buildings' `space` may not exceed it.
|
|
|
|
|
'space' => 50,
|
2026-10-28 18:17:34 +00:00
|
|
|
'start_resources' => ['wood' => 500, 'clay' => 500, 'iron' => 500, 'food' => 300],
|
|
|
|
|
// Auto-placed at level 0 in this order.
|
|
|
|
|
'start_buildings' => ['headquarters', 'storage', 'farm'],
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'builders' => [
|
|
|
|
|
'base' => 2,
|
|
|
|
|
// One more builder from each of these headquarters levels on.
|
|
|
|
|
'extra_at_hq_levels' => [10, 20],
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'map' => [
|
|
|
|
|
'size' => 1000,
|
2026-10-28 18:45:02 +00:00
|
|
|
// Most fields one map.view may cover in each direction.
|
|
|
|
|
'max_view' => 41,
|
|
|
|
|
// Seeded once per world around the map centre, buildings at random levels up to max_level.
|
|
|
|
|
'barbarians' => ['count' => 120, 'radius' => 25, 'max_level' => 3],
|
2026-10-28 18:17:34 +00:00
|
|
|
],
|
|
|
|
|
];
|