| − | |A list of features, as with the main software type. Each feature also additionally has an optional '''MaxFactor''' number that works like a multiplier for the player, e.g. setting it to 3, means the player can multiply this features effect from 1 to 3. If MaxFactor is used, you can also use '''AmountScript''' to write a SIPL script that formats the number, e.g. '''x + " bunnies"''', will write "3 bunnies" if the player picks 3 as the factor. '''LocalizePlural('Employee', x)''' will use the plural enabled localization key based on the factor, e.g. 3 would write "3 employees". and '''Switch(x, clampBool, localizeBool, 'one', 'two', 'three')''' will pick one of the strings based on the factor value, e.g. 4 would be 'three' if clampBool is true and 'one' if it is false. Finally features can optionally define DependsOn, which is a feature in the main product that needs to be present to use this feature in an add-on. | + | |A list of features, as with the main software type. Each feature also additionally has an optional '''MaxFactor''' number that works like a multiplier for the player, e.g. setting it to 3, means the player can multiply this features effect from 1 to 3. If MaxFactor is used, you can also use '''AmountScript''' to write a SIPL script that formats the number, e.g. '''x + " bunnies"''', will write "3 bunnies" if the player picks 3 as the factor. '''LocalizePlural('Employee', x)''' will use the plural enabled localization key based on the factor, e.g. 3 would write "3 employees". and '''Switch(x, clampBool, localizeBool, 'one', 'two', 'three')''' will pick one of the strings based on the factor value, e.g. 4 would be 'three' if clampBool is true and 'one' if it is false. Finally features can optionally define '''DependsOn''', which is a feature in the main product that needs to be present to use this feature in an add-on. |