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