30 lines
999 B
PHP
30 lines
999 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
// The market and its merchants (architecture.md, "Market"). How many merchants a
|
||
|
|
// village has comes from the market's level (buildings.market.merchants).
|
||
|
|
|
||
|
|
return [
|
||
|
|
// Resources one merchant carries.
|
||
|
|
'carry' => 1000,
|
||
|
|
|
||
|
|
// Minutes a merchant takes per field at world speed 1. Like a unit's speed, divided
|
||
|
|
// by the world speed and movement.unit_speed; travel modes don't apply.
|
||
|
|
'minutes_per_field' => 6,
|
||
|
|
|
||
|
|
// What the market trades. Food is not traded yet.
|
||
|
|
'resources' => ['wood', 'clay', 'iron'],
|
||
|
|
|
||
|
|
// An offer may ask at most max_ratio times what it gives, and give at most
|
||
|
|
// max_ratio times what it asks.
|
||
|
|
'max_ratio' => 3,
|
||
|
|
|
||
|
|
// Trade routes repeat a shipment every `every` seconds, between min_every and
|
||
|
|
// max_every. Real seconds, not divided by the world speed: routes run on the
|
||
|
|
// player's clock. max_routes per village.
|
||
|
|
'route' => [
|
||
|
|
'min_every' => 600,
|
||
|
|
'max_every' => 604800,
|
||
|
|
'max_routes' => 10,
|
||
|
|
],
|
||
|
|
];
|