Fixed Warnings in Producers

rope
Bernhard Bonigl 2012-04-15 17:14:43 +02:00
parent a1670205d3
commit 98b67b1cdc
4 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ private func IsProduct(id product_id)
{
return product_id->~IsFoundryProduct();
}
private func ProductionTime() { return 290; }
private func ProductionTime(object toProduce) { return 290; }
public func NeedRawMaterial(id rawmat_id)
{

View File

@ -60,7 +60,7 @@ private func IsProduct(id product_id)
{
return product_id->~IsSawmillProduct();
}
private func ProductionTime() { return 100; }
private func ProductionTime(object toProduce) { return 100; }
private func PowerNeed() { return 100; }
public func NeedRawMaterial(id rawmat_id)

View File

@ -22,7 +22,7 @@ public func IsProduct(id product_id)
return product_id->~IsToolProduct();
}
private func ProductionTime() { return 150; }
private func ProductionTime(object toProduce) { return 150; }
private func PowerNeed() { return 100; }
public func NeedRawMaterial(id rawmat_id)

View File

@ -74,7 +74,7 @@ private func IsProduct(id product_id)
{
return product_id->~IsWindmillProduct();
}
private func ProductionTime() { return 290; }
private func ProductionTime(object toProduce) { return 290; }
private func PowerNeed() { return 75; }
public func NeedRawMaterial(id rawmat_id)