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/Building/Marketplace.php | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/Model/Building/Marketplace.php (limited to 'src/Model/Building/Marketplace.php') diff --git a/src/Model/Building/Marketplace.php b/src/Model/Building/Marketplace.php deleted file mode 100644 index 8978003..0000000 --- a/src/Model/Building/Marketplace.php +++ /dev/null @@ -1,32 +0,0 @@ - 1000, - 'clay' => 1000, - 'iron' => 800, - ]; - public array $resourceRequirementsFactor = [ - 'wood' => 10.0, - 'clay' => 10.0, - 'iron' => 8.0, - ]; - - public static function getResourceCapabilities(Village $village): int - { - $merchants = Village::getUnit($village, 'Merchant', Village::FETCH_UNIT_RESIDENCE, Village::RETURN_UNIT_EXISTING); - - return Merchant::getResourceCapabilities($village) * $merchants->amount; - } -} -- cgit v1.2.3