Starfighter

A starfighter is a small, maneuverable starship designed for combat.

=Obtaining=

Crafting
WIP

Natural generation
Starfighters can naturally generate in outposts.

Trading
Some merchants offer to sell starfighters for galactic credits.

=Usage=

Entering
By default, a player can enter a starfighter by right-clicking on it, if it is not occupied. A message shows up if a player tries to enter a fully occupied a starfighter.

Exiting
A starfighter can be exited by sneaking. When exiting a starfighter, the player is placed in the direction the player is facing, or, if facing directly up or down, the player is placed in front of the starfighter. The exiting player is placed on land if that is possible from the dismounting position.

Motion
Unlike ground vehicles, starfighters do not turn with the direction keys. The players can aim their view around to turn a starfighter.

Speed
A starfighter has a minimum speed of 8 blocks in 1 second. Using the sprint key increases the speed to max 75 blocks in 1 second.

Repair
WIP A starfighter has max ? durability, which decreases when it gets hit. When the durability reaches 1, the starfighter stops working until it is repaired. If the the durability reaches 0, the starfighter explodes. A starfighter can be repaired by either combining two broken pairs in a grindstone, or combining it in an anvil with titanium. In an anvil, each piece of titanium repairs a starfighter by ? durability points, requiring ? pieces to fully repair it.

Combat
By default, a player can use a starfighter to shoot laser beams by right-clicking while driving it. The cannons are relatively powerful, and a well-placed hit on a starfighter or medium transport can damage or destroy it. It does not carry missiles by default, but such weapons can be added.

=Sounds= WIP
 * Enter
 * Description: When entered
 * Volume: ?
 * Pitch: ?
 * Attenuation distance: ?


 * Engine
 * Description: Loops when flying
 * Volume: ?
 * Pitch: ?
 * Attenuation distance: ?

=Advancement= WIP

=Gallery= WIP Different types of starfighters next to each other.

=See also=
 * Starship