Dock

A value shape that methods take or return.

Group
player
Methods
None
Fields
6

Getting one

player:sailing():dock(…)

Fields

FieldTypeDescription
idnumberThe dock's id, 0 to 60.
namestringIts name ("Port Sarim").
kindDockKindA port or a mooring point.
levelnumberThe Sailing level it needs.
questQuest?The quest it needs, nil for none.
objectnumber?Its gangplank or mooring object's id, nil when the game has none by the dock's name.

Returned by

MethodReturnsDescription
Sailing.dockDock?The dock with this id; nil for an id the game does not list.
Sailing.docks{ Dock }Every port and mooring point, in the game's table order.