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

31 lines
1.2 KiB
PHP
Raw Normal View History

<?php
// Troops on the move (architecture.md, "Movements and encounters").
return [
// Travel modes: `speed` multiplies how fast the group moves, `visibility` is the
// radius in fields within which it is seen. 0 means unseen until it arrives.
'modes' => [
'sneaky' => ['speed' => 0.5, 'visibility' => 0],
'cautious' => ['speed' => 0.8, 'visibility' => 4],
'normal' => ['speed' => 1.0, 'visibility' => 15],
'fast' => ['speed' => 1.25, 'visibility' => 30],
'forced' => ['speed' => 1.5, 'visibility' => 60],
],
'default_mode' => 'normal',
// Multiplies every unit's speed on this world, on top of the world speed.
'unit_speed' => 1.0,
// Heads from which a group on the map looks small, medium, large and huge; below the
// first step it is tiny. Strangers see only this, never the units.
'size_tiers' => [50, 250, 1000, 5000],
// Fields around a village within which it spots incoming groups, before a watchtower.
'detection' => 2,
// A sent command can be called back within this many real seconds; the troops
// then turn around and take as long to get home as they had been under way.
'cancel_window' => 600,
];