Save file: Difference between revisions

From The Last Starwiki
Jump to navigation Jump to search
(Add inventory items table)
(→‎Items Inventory Codes: Expand items table)
Line 24: Line 24:
== Items Inventory Codes ==
== Items Inventory Codes ==


:::{| class="wikitable"
:''This table is incomplete.''
 
:::{| class="wikitable sortable"
|+ Inventory Item Codes
|+ Inventory Item Codes
|-
|-
Line 33: Line 35:
| Airduct || Life Support || [[Airduct]]
| Airduct || Life Support || [[Airduct]]
|-
|-
| Battery || || [[Battery]]
| Battery || Storage || [[Battery]]
|-
|-
| Cannon || || [[Weapon#Cannon|Cannon]]
| Bullets || Ammunition || [[Ammo|Bullets]]
|-
|-
| DockingPort || || [[Docking Port]]
| Cannon || Weapons || [[Weapon#Cannon|Cannon]]
|-
|-
| Door || || [[Door]]
| CannonShell|| Ammunition || [[Ammo#Cannon Shells|Cannon Shells]]
|-
|-
| DroneBay || || [[Drone Bay]]
| Compost || Resource || [[Compost]]
|-
|-
| Engine || ||  
| CrewMember || Crew || [[Crew Member]]
|-
|-
| Equipment || ||  
| Deuterium || Resource || [[Deuterium]]
|-
|-
| FTLDrive || ||  
| DockingPort || Logistics || [[Docking Port]]
|-
|-
| FuelLoader || ||  
| Door || Other || [[Door]]
|-
|-
| FusionReactor || ||  
| DroneBay || Logistics || [[Drone Bay]]
|-
|-
| GatlingGun || ||  
| EnergyCell || Resource || [[Energy Cell]]
|-
|-
| Generator || ||  
| Engine || Propulsion || [[Engine]]
|-
|-
| HullBreach || Special || A hull breach
| Equipment || Unknown || [[List of undetermined items|Unknown]]
|-
|-
| HyperspaceSensor || ||  
| FTLCharge || FTL || [[FTL Charge]]
|-
|-
| HyperspaceSensorLR || ||  
| FTLDrive || FTL || [[FTL Drive]]
|-
|-
| IceGrinder || ||  
| Food || Resource || [[Food]]
|-
|-
| Loader || ||  
| Fuel || Resource || [[Fuel]]
|-
|-
| MiningLaser || ||  
| FuelLoader || Loader || [[Loader#Variants|Fuel Loader]]
|-
|-
| OxygenLoader || ||  
| FusionReactor || Power Generation || [[Fusion Reactor]]
|-
|-
| OxygenMaker || Life Support ||  
| GatlingGun || Weapons || [[Weapon#Gatling Gun|Gatling Gun]]
|-
|-
| PowerCoil || ||  
| Generator || Power Generation || [[Generator]]
|-
|-
| PowerCoilCharged || ||  
| HullBreach || Special || Hull breach
|-
|-
| PowerInjector || ||  
| HyperspaceSensor || Logitistics || [[Hyperspace Sensor]]
|-
|-
| Railgun || ||  
| HyperspaceSensorLR || Logitistics || Long-range [[Hyperspace Sensor]]
|-
|-
| Reactor || ||  
| IceGrinder || Logitistics || [[Ice Grinder]]
|-
|-
| Scrubber || Life Support ||  
| Loader || Loader || Generic [[Loader]]
|-
|-
| SewageMachine || Logistics ||  
| LogisticsDrone || Logistics || [[Logistics Drone]]
|-
|-
| SewagePipe || ||  
| MiningLaser || Logitistics || [[Mining Laser]]
|-
|-
| SmallTank || ||  
| Oxygen || Resource || [[Water]]
|-
|-
| Smelter || ||  
| OxygenLoader || Loader || [[Loader#Variants|Oxygen Loader]]
|-
|-
| SpaceSuitPod || Life Support ||  
| OxygenMaker || Life Support || [[Oxygen Maker]]
|-
|-
| Stairs || ||  
| PowerCoil || Unknown || [[List of undetermined items|Power Coil]]
|-
|-
| Tank || ||  
| PowerCoilCharged || Unknown || [[List of undetermined items|Charged Power Coil]]
|-
|-
| Thruster || ||  
| PowerInjector || Unknown || [[List of undetermined items|Power Injector]]
|-
|-
| TinyTank || ||  
| Railgun || Weapons || [[Weapon#Railgun|Railgun]]
|-
|-
| WaterPurifier || Logistics ||  
| RailgunShell|| Ammunition || [[Ammo#Railgun Slugs|Railgun Slugs]]
|-
| Reactor || Power Generation || [[Reactor]]
|-
| ScrapMetal || Gatherable || [[Metal#Scrap Metal|Scrap Metal]]
|-
| Scrubber || Life Support || [[CO2 Scrubber]]
|-
| SewageMachine || Logistics || [[Waste Treatment Machine]]
|-
| SewagePipe || Logistics || [[Sewage Pipe]]
|-
| SmallTank || Storage || [[Tank#Medium Tank|Medium Tank]]
|-
| Smelter || Logistics || [[Smelter]]
|-
| SpaceSuit || Life Support || [[Space Suit]]
|-
| SpaceSuitPod || Life Support || [[Spacesuit Pod]]
|-
| Stairs || Other || [[Stair]]s
|-
| Tank || Storage || [[Tank#Huge Tank|Huge Tank]]
|-
| Thruster || Propulsion || [[Thruster]]
|-
| TinyTank || Storage || [[Tank#Small Tank|Small Tank]]
|-
| Water || Resource || [[Water]]
|-
| WaterPurifier || Logistics || [[Water Purifier]]
|}
|}


[[Category:Game files]]
[[Category:Game files]]

Revision as of 10:51, 6 March 2023

Save files for the game are stored in %LOCALAPPDATA%\Introversion\LastStarship\saves on Windows and ~/Library/Application\ Support/LastStarship/saves on Mac. They are stored in a plaintext format and end in a .space extension.

Common modifications

Add items to the Trade screen

If you are stuck in a system with no Trade screen or the Trade screen is missing an item you need:

  1. Save and close the game.
  2. In the directory listed above, find the .space file corresponding to the saved game and open it in a text editor.
  3. Search for a line containing TradePossible. Set that to true.
    Note: There may be multiple Trade sections in the system archive save file. Make sure to use the base section that is not indented.
  4. In the TheirStock area below, update or add the desired line using the item code from the table below. Spacing is important, so make sure to match it. The number can be adjusted to the preferred amount.
  5. Save the changes, run the game, and load the save.

Refill a fuel tank

If your ship runs out of fuel, but you have a fuel tank installed:

  1. Save and close the game.
  2. In the directory listed above, find the .space file corresponding to the saved game and open it in a text editor.
  3. Search for a line containing Resource Fuel. Spacing is important.
  4. Ensure that the line belongs to a tank and that the tank belongs to the correct ship. Player-owned ships are listed as FriendlyShip type.
  5. Update or add the corresponding Quantity line to add fuel to the tank.
  6. Save the changes, run the game, and load the save.

Items Inventory Codes

This table is incomplete.
Inventory Item Codes
ID Code Category Item
AirReprocessor Life Support Air Reprocessor
Airduct Life Support Airduct
Battery Storage Battery
Bullets Ammunition Bullets
Cannon Weapons Cannon
CannonShell Ammunition Cannon Shells
Compost Resource Compost
CrewMember Crew Crew Member
Deuterium Resource Deuterium
DockingPort Logistics Docking Port
Door Other Door
DroneBay Logistics Drone Bay
EnergyCell Resource Energy Cell
Engine Propulsion Engine
Equipment Unknown Unknown
FTLCharge FTL FTL Charge
FTLDrive FTL FTL Drive
Food Resource Food
Fuel Resource Fuel
FuelLoader Loader Fuel Loader
FusionReactor Power Generation Fusion Reactor
GatlingGun Weapons Gatling Gun
Generator Power Generation Generator
HullBreach Special Hull breach
HyperspaceSensor Logitistics Hyperspace Sensor
HyperspaceSensorLR Logitistics Long-range Hyperspace Sensor
IceGrinder Logitistics Ice Grinder
Loader Loader Generic Loader
LogisticsDrone Logistics Logistics Drone
MiningLaser Logitistics Mining Laser
Oxygen Resource Water
OxygenLoader Loader Oxygen Loader
OxygenMaker Life Support Oxygen Maker
PowerCoil Unknown Power Coil
PowerCoilCharged Unknown Charged Power Coil
PowerInjector Unknown Power Injector
Railgun Weapons Railgun
RailgunShell Ammunition Railgun Slugs
Reactor Power Generation Reactor
ScrapMetal Gatherable Scrap Metal
Scrubber Life Support CO2 Scrubber
SewageMachine Logistics Waste Treatment Machine
SewagePipe Logistics Sewage Pipe
SmallTank Storage Medium Tank
Smelter Logistics Smelter
SpaceSuit Life Support Space Suit
SpaceSuitPod Life Support Spacesuit Pod
Stairs Other Stairs
Tank Storage Huge Tank
Thruster Propulsion Thruster
TinyTank Storage Small Tank
Water Resource Water
WaterPurifier Logistics Water Purifier