GroundMount
constGroundMount:object
Defined in: client/api.d.ts:6666
The local player’s ground creature mounts: the graphorn.
Type Declaration
Section titled “Type Declaration”canDismount()
Section titled “canDismount()”canDismount():
boolean
Whether the active handler owns both a rider and a live creature, which is what the native teardown requires.
Returns
Section titled “Returns”boolean
canMount()
Section titled “canMount()”canMount():
boolean|null
Calls the game’s production gate. This is PERMISSION ONLY — it checks no-mount zones, map-area rules and the designer toggle, never ownership, so AND it with isEquipped(). It is also a global: a remote player standing in a no-mount zone flips it false for everyone, so do not trust a false as ‘this player may not mount’.
Returns
Section titled “Returns”boolean | null
dismount()
Section titled “dismount()”dismount(
animated?):boolean
Dismounts the local player. Returns false until the handler owns a live creature — the native reports success even when it changed nothing, so this refuses first. Asked mid-transition it cancels the transition rather than dismounting, so a second call may be needed.
Parameters
Section titled “Parameters”animated?
Section titled “animated?”boolean
Play the dismount transition instead of the instant teardown. Defaults to false.
Returns
Section titled “Returns”boolean
equip()
Section titled “equip()”equip(
itemId?):boolean|null
Moves a stored mount into the active holder using the production holder model — evict then insert, because the active holder has no native replace. False while mounted or summoning.
Parameters
Section titled “Parameters”itemId?
Section titled “itemId?”string
Stored mount to equip, e.g. GraphornMount.
Returns
Section titled “Returns”boolean | null
inventory()
Section titled “inventory()”inventory():
MountInventoryState|null
Returns the equipped mount id and stored rows; null if native inventory is unreadable.
Returns
Section titled “Returns”MountInventoryState | null
isEquipped()
Section titled “isEquipped()”isEquipped():
boolean|null
Whether the active holder contains a mount; null if inventory is unreadable.
Returns
Section titled “Returns”boolean | null
isInStorage()
Section titled “isInStorage()”isInStorage():
boolean|null
Whether the storage holder contains an unequipped mount; null if inventory is unreadable.
Returns
Section titled “Returns”boolean | null
isMounted()
Section titled “isMounted()”isMounted():
boolean
Whether the local player is riding a mount of this family. Settled state only — false through the summon animation, which summoning() covers.
Returns
Section titled “Returns”boolean
mount()
Section titled “mount()”mount(
options?):boolean
Starts the production summon for whatever equip() last put in the active holder. The default goes through the gadget-wheel item-use path; either option routes through the mount tool directly, which is the only way to skip the animation or start airborne. The bool means ‘request admitted’, not ‘mounted’ — observe state() and retry while an async tool class loads.
Parameters
Section titled “Parameters”options?
Section titled “options?”transition defaults true (the bag summon animation); inFlight summons already airborne.
inFlight?
Section titled “inFlight?”boolean
transition?
Section titled “transition?”boolean
Returns
Section titled “Returns”boolean
mounted()
Section titled “mounted()”mounted():
boolean
Old name of isMounted.
Returns
Section titled “Returns”boolean
Deprecated
Section titled “Deprecated”Use isMounted, as the is/has/can convention names a state getter.
state()
Section titled “state()”state():
MountState
Returns structured mount state without parsing diagnostics.
Returns
Section titled “Returns”summoning()
Section titled “summoning()”summoning():
boolean
Whether a summon of this family has been accepted but has not seated the player yet.
Returns
Section titled “Returns”boolean
unequip()
Section titled “unequip()”unequip():
boolean|null
Moves the active mount back to storage. False while mounted or summoning.
Returns
Section titled “Returns”boolean | null