Package com.fs.starfarer.api.util
Interface DynamicStatsAPI
public interface DynamicStatsAPI
Mutable stats that are created on-demand when they're needed, unlike
the "standard" stats that have to be hardcoded.
Intended to be useful for stuff like the interactions between terrain,
hull mod effects, and character skills. It's desirable for them to be
able to affect each other, but since all can be modded in from scratch,
it's hard to rely on the hardcoded stat set.
- Author:
- Alex Mosolov Copyright 2015 Fractal Softworks, LLC
-
Method Details
-
getStat
Base value of the stat is 1.- Parameters:
id
-- Returns:
-
getValue
Base value of the stat is 1.- Parameters:
id
-- Returns:
-
getMod
-
getValue
-
removeUmodified
void removeUmodified() -
getStats
Map<String,MutableStat> getStats() -
getMods
-
isEmpty
boolean isEmpty()
-