game-village-politics-backend/config/game/economy.php

24 lines
833 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
return [
// Per hour at world speed 1, regardless of staffing.
'base_production' => ['wood' => 5, 'clay' => 5, 'iron' => 5],
// Food per hour each villager eats.
'upkeep' => ['villager' => 1],
// Villagers and soldiers fill this share of the farms' nominal output; the rest is
// surplus that goes into storage. Expensive units eat into it, down to starvation.
'villager_share' => 0.8,
// Output at staffing ratio r is e^(k·(r−1)): 100% full, about 10% empty.
'staffing' => ['k' => 2.3],
// Share of a level's cost refunded when it is demolished, and its build time spent doing so.
'demolish_refund' => 0.5,
'demolish_time_factor' => 0.5,
// Each headquarters level makes building this much faster (time / (1 + x·level)).
'hq_build_speed_per_level' => 0.05,
];