Add ProductionCost/TimeMultiplier

This commit is contained in:
Mustafa Alperen Seki
2018-11-21 21:33:46 +03:00
committed by reaperrr
parent 1f730fbfb9
commit de7706c98f
6 changed files with 132 additions and 18 deletions

View File

@@ -323,6 +323,12 @@ namespace OpenRA.Mods.Common.Traits
string SequencePrefix { get; }
}
[RequireExplicitImplementation]
public interface IProductionCostModifierInfo : ITraitInfo { int GetProductionCostModifier(TechTree techTree, string queue); }
[RequireExplicitImplementation]
public interface IProductionTimeModifierInfo : ITraitInfo { int GetProductionTimeModifier(TechTree techTree, string queue); }
[RequireExplicitImplementation]
public interface ICashTricklerModifier { int GetCashTricklerModifier(); }