1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<?php namespace App\Model\Building; class ClayPit extends ResourceGenerator { public string $unitType = 'PitWorker'; public int $buildTimeFactor = 1; public int $maxLevel = 25; public array $resourceRequirements = [ 'wood' => 1.0, 'clay' => 2.0, 'iron' => 1.0, ]; public string $resourceType = 'clay'; }