End Automata¶

Picture

End automata is a turtle with an End Mechanic Soul upgrade. This upgrade has all of the abilities of a Weak Automata plus its own additional abilites:
• Teleport between saved locations
• Save a location as a warp point

Peripheral Name Interfaces with Has events Introduced in
endAutomata World No 0.7r

Functions¶

points¶

points() -> table | nil, string

Returns a list of all saved points and their names

savePoint¶

savePoint(name: string) -> true | nil, string

This saves the turtle's current location as a warp point with the given name which can be teleported to at a future point in time.
Returns true if the location is successfully saved, or nil and an error message.

distanceToPoint¶

distanceToPoint(name: string) -> number | nil, string

Returns the distance from the turtle's current location to the location of the point using the Manhattan distance formula. If the operation fails or the point does not exist then nil and an error message will be returned.

getWarpCooldown¶

getWarpCooldown() -> number

Returns the current cooldown for warp operations.

estimateWarpCost¶

estimateWarpCost(name: string) -> number | nil, string

Returns the fuel point cost to warp from the current location to the point with the given name. Or nil and an error message.

warpToPoint¶

warpToPoint(name: string) -> true | nil, string

Teleports the turtle from the current location to the location of the point with the given name.
Returns true if the turtle is successfully teleported or nil and an error message.

Changelog/Trivia¶

0.7r
Added the End Automata