forked from Mirrors/openclonk
Fixed Warnings in Producers
parent
a1670205d3
commit
98b67b1cdc
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue