When it comes to death, it works something like a roguelike. Planetside you'll lose anything you were carrying that you didn't store in your ship, i.e. resources, and you'll spawn near your ship. If your ship is destroyed in space though, that's permanent, you'll lose all upgrades and anything in the cargohold, and…