addCarrier
addCarrier(
writer,entity,carrierOptions):void
Gives entity a carrier, or changes the one it has, as every character
gets one from carrying(). A carrier never holds a store as well. Its
first good gives it the world’s next custody id, so two carts, or two
bodies of one player, never share one.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
EntityAuthority |
entity |
Entity |
carrierOptions |
CarrierOptions |
Returns
Section titled “Returns”void