Open main menu

Changes

Documentation/Engine/Units/accessory transmission data

928 bytes removed, 16:29, 9 March 2017
Unit def section removed
|Points to a unit of the type [[Documentation/Engine/Units/transmission_names|transmission_names]], usually nameless and within the same unit definition file or [[Documentation/Engine/Units#Includes|included]] from a Serialized Unit Include (.sui) type file. This is used to assign custom names to each gear in automatic and sequential modes (these are overridden by h-shifter pattern definitions).
|}
 
{{UnitDef|def=<nowiki> "accessory_transmission_data":{
"superclass":"accessory_data",
"attrs":{
"name":{
"type": "string"
},
"short_name":{
"type": "string"
},
"icon":{
"type": "string"
},
"info":{
"type": "string_array"
},
"price":{
"type": "s64"
},
"unlock":{
"type": "uint"
},
"suitable_for":{
"type": "string_array"
},
"conflict_with":{
"type": "string_array"
},
"defaults":{
"type": "string_array"
},
"require":{
"type": "token_array"
},
"stall_torque_ratio":{
"type": "float"
},
"differential_ratio":{
"type": "float"
},
"retarder":{
"type": "uint"
},
"ratios_reverse":{
"type": "float_array"
},
"ratios_forward":{
"type": "float_array"
},
"transmission_names":{
"type": "owner_ptr"
}
}
},</nowiki>}}
309
edits