ADDPILOT

Keywords: ADDPILOT, ADDP

Category: Space

=== USER MANUAL === Usage: addpilot <character> Description: Grant a character permission to pilot your ship. Named pilots unlock every control that check_pilot gates -- land, launch, accelerate, course, calculate, shipfire, weapons, the lot. Use this to share a ship with a trusted co-pilot without handing over ownership. Two Slots: Every ship has exactly two pilot slots: Pilot ............... Primary pilot. Filled by the first addpilot call. Copilot ............. Secondary pilot. Filled by the second addpilot call. A third addpilot call fails with "You already have a pilot and copilot." You must rempilot one before adding another. The ship's owner always has pilot access regardless of these slots -- the slots are for additional crew only. Requirements: Cockpit ............ Must be at the ship's pilot seat. "You must be in the cockpit of a ship to do that!" Spacecraft ......... Stations cannot assign pilots: "You can't do that here." Owner .............. The caller's character name must match ship->owner exactly. "That isn't your ship!" -- clan membership and pilot-access do not qualify. Argument ........... "Add which pilot?" if omitted. The argument is stored verbatim as a character name -- no fuzzy matching, no validation that the character exists. Echo: Pilot Added. (first slot) Copilot Added. (second slot) The change is persisted to disk immediately via addsave. Name Matching: Pilot slots store character names as plain strings. When the game checks check_pilot against a character, it does a case-insensitive name compare. Make sure you spell the name correctly -- a typo silently makes the slot useless. Staff bypass all pilot checks via NO_STAFF_HASSLE regardless of what's in the slots. Notes: - The pilot/copilot entries are visible on scanship and shipstat -- anyone can see who you've authorized. - Adding a pilot does not give them ownership. They cannot sellship, scrapship, or use addpilot themselves. - The slot is character-specific, not account-wide. If the named pilot has multiple characters, only the exact name you entered gets access. - To transfer ownership outright, use the staff-only tranship command. Strategic Notes: - Designate a clanmate as copilot on a capital ship so they can move it in your absence. - For combat ops where you need multiple crew, the ship owner flies as the pilot slot's owner and the copilot covers gunner duty (though gunner doesn't technically need pilot access -- only weapon lock does). - When decommissioning a shared ship, rempilot both slots before sellship to avoid surprise access. Related Helpfiles: REMPILOT, SHIPSTAT, SCANSHIP, SHIPLIST, BUYSHIP, SELLSHIP, TRANSHIP === END MANUAL ===