Project

General

Profile

Bug #2066

Citadel Item Hangar is

Added by bobbyjayblack over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
broken feature(s)
vbulletin_issue_id:

Description

When running the below code, I receive the error message, "You don't seem to have the right keys for the ship's ignition switch. Perhaps you left them in your other jacket?"

 

function main()
{
    call MoveShipCargoHoldToItemHangar
}

function MoveShipCargoHoldToItemHangar()
{
    if !${Me.InStation}
    {
        echo Not InStation
        return
    }
    MyShip:Open
    wait 30
    
    variable index:item MyCargo
    variable int i = 1
    MyShip:GetCargo[MyCargo]
    ;do
    ;{
        echo Moving ${MyCargo.Get[${i}].Name} to Hangar
        MyCargo.Get[${i}]:MoveTo[MyStationHangar]
    ;    wait 30
    ;}
    ;while ${i:Inc} <= ${MyCargo.Used}
}

Also available in: Atom PDF