setCarryCapacity
setCarryCapacity(
writer,carrier,capacity):void
Changes a carrier’s capacity. A capacity lowered under what it holds destroys nothing: it takes no more until it holds less.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
EntityAuthority |
carrier |
Entity |
capacity |
number |
Returns
Section titled “Returns”void