BoatKind

A value shape that methods take or return.

Group
player
Methods
None
Fields
7

Getting one

player:sailing():boarded():kind()

Fields

FieldTypeDescription
typeIdnumberThe boat type: 0 raft, 1 skiff, 2 sloop, 3 Will and Anne's boat.
rownumberIts row in the game's boat table.
namestringIts name ("Sloop").
sizenumberIts size.
playerCapacitynumberHow many players it carries.
crewCapacitynumberHow many crewmates it carries.
levelnumberThe Sailing level it needs.

Returned by

MethodReturnsDescription
BoardedBoat.kindBoatKind?The boat type; nil when the client cannot read the game's boat table.
OwnedBoat.kindBoatKind?The boat type; nil when the client cannot read the game's boat table.