Changes

Jump to navigation Jump to search
32 bytes added ,  15:20, 5 March 2022
Line 408: Line 408:  
|-
 
|-
 
|Unlock
 
|Unlock
|Which year this add-on will unlock, e.g. Unlock 1995
+
|Which year this add-on will unlock, e.g. '''Unlock 1995'''
 
|-
 
|-
 
|Categories
 
|Categories
Line 432: Line 432:  
|-
 
|-
 
|Features
 
|Features
|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. and Switch(x, clampBool, localizeBool, 'one', 'two', 'three') will pick one of the strings based on the factor value. 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. and '''Switch(x, clampBool, localizeBool, 'one', 'two', 'three')''' will pick one of the strings based on the factor value. 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.
 
|-
 
|-
 
|Manufacturing
 
|Manufacturing

Navigation menu