Shipwreck

A value shape that methods take or return.

Group
player
Methods
None
Fields
3

Getting one

player:sailing():shipwreck(…)

Fields

FieldTypeDescription
kindShipwreckKindWhat wreck it is.
depletedbooleanWhether it has been salvaged empty.
levelnumberThe Sailing level it needs.

Returned by

MethodReturnsDescription
Sailing.shipwreckShipwreck?The shipwreck an object is, live or depleted; nil for any other object.