Kerbal Space Program
1.12.4
|
Implement this on a Part Module to be able to modify a part's cost More...
Public Member Functions | |
float | GetModuleCost (float defaultCost, ModifierStagingSituation sit) |
Return the amount to modify the original part's dry cost by. Returned values are added to the base cost. (0 means no effect) More... | |
ModifierChangeWhen | GetModuleCostChangeWhen () |
Return under which circumstances the modulecost changes More... | |
Implement this on a Part Module to be able to modify a part's cost
float IPartCostModifier.GetModuleCost | ( | float | defaultCost, |
ModifierStagingSituation | sit | ||
) |
Return the amount to modify the original part's dry cost by. Returned values are added to the base cost. (0 means no effect)
Implemented in PartStatsUpgradeModule, ModuleInventoryPart, Expansions.Serenity.BaseServo, ModuleProceduralFairing, FlagDecalBackground, and ModulePartVariants.
ModifierChangeWhen IPartCostModifier.GetModuleCostChangeWhen | ( | ) |
Return under which circumstances the modulecost changes
Implemented in PartStatsUpgradeModule, ModuleInventoryPart, Expansions.Serenity.BaseServo, ModuleProceduralFairing, FlagDecalBackground, and ModulePartVariants.