diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-10-04 11:32:04 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-04 11:32:04 +0200 |
commit | 94a3dd52da3ae180af37c6fd0e8c24b3562da388 (patch) | |
tree | acced055660bfd65ca3e955ea26d412457ba4507 /src/Model/Unit | |
parent | fa00b957378a393f8edbfc98ef111d35d18ecb09 (diff) |
initial commit 2
Diffstat (limited to 'src/Model/Unit')
-rw-r--r-- | src/Model/Unit/Farmer.php | 3 | ||||
-rw-r--r-- | src/Model/Unit/Miner.php | 3 | ||||
-rw-r--r-- | src/Model/Unit/PitWorker.php | 3 | ||||
-rw-r--r-- | src/Model/Unit/WoodCutter.php | 5 |
4 files changed, 13 insertions, 1 deletions
diff --git a/src/Model/Unit/Farmer.php b/src/Model/Unit/Farmer.php index de37802..8e3c1ea 100644 --- a/src/Model/Unit/Farmer.php +++ b/src/Model/Unit/Farmer.php @@ -11,5 +11,8 @@ class Farmer extends Unit public int $populationDemandFactor = 1; public array $resourceRequirements = [ 'wood' => 1.0, + 'clay' => 1.0, + 'iron' => 1.0, + 'food' => 0, ]; } diff --git a/src/Model/Unit/Miner.php b/src/Model/Unit/Miner.php index ae6c00a..2d246ef 100644 --- a/src/Model/Unit/Miner.php +++ b/src/Model/Unit/Miner.php @@ -11,5 +11,8 @@ class Miner extends Unit public int $populationDemandFactor = 1; public array $resourceRequirements = [ 'wood' => 1.0, + 'clay' => 1.0, + 'iron' => 2.0, + 'food' => 2.0, ]; } diff --git a/src/Model/Unit/PitWorker.php b/src/Model/Unit/PitWorker.php index 4f873b4..d2a52c3 100644 --- a/src/Model/Unit/PitWorker.php +++ b/src/Model/Unit/PitWorker.php @@ -11,5 +11,8 @@ class PitWorker extends Unit public int $populationDemandFactor = 1; public array $resourceRequirements = [ 'wood' => 1.0, + 'clay' => 2.0, + 'iron' => 1.0, + 'food' => 2.0, ]; } diff --git a/src/Model/Unit/WoodCutter.php b/src/Model/Unit/WoodCutter.php index 17923ca..d8c2c42 100644 --- a/src/Model/Unit/WoodCutter.php +++ b/src/Model/Unit/WoodCutter.php @@ -10,6 +10,9 @@ class WoodCutter extends Unit public int $travelTime = 1; public int $populationDemandFactor = 1; public array $resourceRequirements = [ - 'wood' => 1.0, + 'wood' => 2.0, + 'clay' => 1.0, + 'iron' => 1.0, + 'food' => 2.0, ]; } |