<- PRPL reference <- Ships

DeleteShipFromSlot

ArgumentsResultNotation
Slot index, delete ship [ int bool - ]

Description

Removes the ship build button from a specified slot. Slots are indexed from 0, from left-top and in a row-major manner. For example, the left-top slot has index 0, top-right slot has index 1, and the last slot with index 23 is at bottom-right.

If delete ship is set, it also deletes the ship.

Examples

Delete the left button in the third row, but don't delete the ship:

6 0 DeleteShipFromSlot