Save file: Difference between revisions

Jump to navigation Jump to search
33 bytes added ,  07:47, 17 April 2023
→‎Items Inventory Codes: Added MetallicMinerals to the table as a resource
(→‎Items Inventory Codes: Add more items and their id codes)
(→‎Items Inventory Codes: Added MetallicMinerals to the table as a resource)
Line 1: Line 1:
Save files for the game are stored in <code>%LOCALAPPDATA%\Introversion\LastStarship\saves</code> on Windows and <code>~/Library/Application\ Support/LastStarship/saves</code> on Mac. They are stored in a plaintext format and end in a <code>.space</code> extension.
Save files for the game are stored in <code>%LOCALAPPDATA%\Introversion\LastStarship\saves</code> on Windows and <code>~/Library/Application\ Support/LastStarship/saves</code> on Mac. They are stored in a plaintext format and end in a <code>.space</code> extension.
== Common modifications ==
== Common modifications ==
=== Add items to the Trade screen ===
=== 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:
If you are stuck in a system with no Trade screen or the Trade screen is missing an item you need:
# Save and close the game.
# Save and close the game.
# In the directory listed above, find the <code>.space</code> file corresponding to the saved game and open it in a text editor.
# In the directory listed above, find the <code>.space</code> file corresponding to the saved game and open it in a text editor.
Line 11: Line 9:
# In the <code>TheirStock</code> section 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.
# In the <code>TheirStock</code> section 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.
# Save the changes, run the game, and load the save.
# Save the changes, run the game, and load the save.
=== Add items to a shuttle ===
=== Add items to a shuttle ===
Some items, like hull breaches, are technically just like any other items, but they cannot be purchased from the Trade screen, even with the trick above. In this case, it's necessary to modify a shuttle's inventory as it delivers cargo.
Some items, like hull breaches, are technically just like any other items, but they cannot be purchased from the Trade screen, even with the trick above. In this case, it's necessary to modify a shuttle's inventory as it delivers cargo.
# Purchase something or initiate a mission delivery.
# Purchase something or initiate a mission delivery.
# As soon as the shuttle appears, save and close the game.
# As soon as the shuttle appears, save and close the game.
Line 20: Line 16:
# Find the section for your ship. It should be the first section beginning with <code>BEGIN Layer</code>. Find the line <code>BEGIN Deliveries</code> inside that section.
# Find the section for your ship. It should be the first section beginning with <code>BEGIN Layer</code>. Find the line <code>BEGIN Deliveries</code> inside that section.
# In the the <code>Trade</code> section 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.
# In the the <code>Trade</code> section 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.
=== Refill a fuel tank ===
=== Refill a fuel tank ===
If your ship runs out of fuel, but you have a fuel [[tank]] installed:
If your ship runs out of fuel, but you have a fuel [[tank]] installed:
# Save and close the game.
# Save and close the game.
# In the directory listed above, find the <code>.space</code> file corresponding to the saved game and open it in a text editor.
# In the directory listed above, find the <code>.space</code> file corresponding to the saved game and open it in a text editor.
# Search for a line containing <code>Resource             Fuel</code>. Spacing is important.
# Search for a line containing <code>Resource Fuel</code>. Spacing is important.
# Ensure that the line belongs to a tank and that the tank belongs to the correct ship. Player-owned ships are listed as <code>FriendlyShip</code> type.
# Ensure that the line belongs to a tank and that the tank belongs to the correct ship. Player-owned ships are listed as <code>FriendlyShip</code> type.
# Update or add the corresponding <code>Quantity</code> line to add fuel to the tank.
# Update or add the corresponding <code>Quantity</code> line to add fuel to the tank.
# Save the changes, run the game, and load the save.
# Save the changes, run the game, and load the save.
== Items Inventory Codes ==
== Items Inventory Codes ==
:''This table is incomplete.''
:''This table is incomplete.''


Line 111: Line 103:
|-
|-
| Meteor || Environment || [[Meteor]]
| Meteor || Environment || [[Meteor]]
|-
|MetallicMinerals
|Resource
|[[Metallic Minerals]]
|-
|-
| MineralPatch || Environment || Mineral patches on [[Asteroid]]s
| MineralPatch || Environment || Mineral patches on [[Asteroid]]s
Line 180: Line 176:
| WaterPurifier || Logistics || [[Water Purifier]]
| WaterPurifier || Logistics || [[Water Purifier]]
|}
|}
[[Category:Game files]]
[[Category:Game files]]
Anonymous user

Navigation menu