Files
mindustry/tools/extra-schemas/mul.json
T
2026-08-05 11:53:34 -04:00

12 lines
518 B
JSON

{
"doc": "Multiplies by a constant or another PartProgress's value. Set exactly one of 'amount' or 'other'. Applied via PartProgress's 'op'/'operation' field (e.g. `op: mul`), NOT 'type' - its parameter fields (if any) are written flat alongside 'op', on the same object.",
"amount": {
"type": "float",
"doc": "Constant multiplier."
},
"other": {
"type": "mindustry.entities.part.DrawPart$PartProgress",
"doc": "Another progress function whose value is multiplied instead of a constant."
}
}