Starfighter

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

=Obtaining=

Crafting
WIP

Natural generation
Starfighters can naturally generate in military bases.

=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 trying 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 about 7.2 m/s. Using the sprint key increases the speed.

Repair
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 .... In an anvil, each piece of ... repairs a starfighter by 108 durability points, requiring 4 pieces to fully repair it.

Weapon
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 missile tubes, but such weapons can be added if necessary.

=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