From 09caff2b2a06d1f8ac8203567035a21c612165f9 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 11 Jan 2024 13:15:02 +0100 Subject: send resources --- src/Model/Unit/Merchant.php | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/Model/Unit/Merchant.php (limited to 'src/Model/Unit/Merchant.php') diff --git a/src/Model/Unit/Merchant.php b/src/Model/Unit/Merchant.php deleted file mode 100644 index be0b25e..0000000 --- a/src/Model/Unit/Merchant.php +++ /dev/null @@ -1,33 +0,0 @@ - 200, - 'clay' => 200, - 'iron' => 200, - 'food' => 200, - ]; - public array $resourceRequirementsFactor = [ - 'wood' => 2.0, - 'clay' => 2.0, - 'iron' => 2.0, - 'food' => 2.0, - ]; - - public static function getResourceCapabilities(Village|int $village): int - { - $marketplace = Village::getBuilding($village->id ?? $village, 'Marketplace'); - - return $marketplace->level * 100; - } -} -- cgit v1.2.3