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

27 lines
1014 B
PHP

<?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,
// 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,
];