Sons of the Forest Log Item IDs: Spawning Logs and Planks

Discover the item IDs for various log and plank types in Sons of the Forest to spawn them using the debug console or by editing save files.

Sons of the Forest Log Item IDs: Spawning Logs and Planks — illustration

Understanding Log Item IDs

In Sons of the Forest, every item within the game’s code is assigned a unique Item ID. These identifiers are crucial for advanced gameplay mechanics, particularly for players who wish to spawn items directly into their game. Log Item IDs specifically refer to the numerical codes associated with different types of logs and planks, which are fundamental resources for building and crafting in the game. Knowing these IDs allows players to bypass the natural gathering process, providing a quick way to acquire materials for construction projects or other needs.

The ability to use Item IDs is not a standard in-game feature but rather a function accessible through the debug console or by manually editing save files. This method offers a direct way to populate your inventory with specific quantities of logs, planks, and their quartered variations, which can be particularly useful for testing builds or recovering lost resources.

How to Use Log Item IDs

There are two primary methods for utilizing Item IDs in Sons of the Forest: through the debug console or by directly editing your game’s save file. Both approaches require specific steps to ensure successful item spawning.

Method 1: Using the Debug Console (Requires WeMod)

To use the debug console for spawning items, including logs, you will first need to download and enable WeMod. Once WeMod is set up, follow these steps:

  1. Launch the Game: Start Sons of the Forest and load your desired world save.
  2. Open Debug Console: Press F1 to toggle the debug console window.
  3. Enter Spawn Command: In the text bar that appears, type spawnitem followed by the specific Log Item ID and then the desired number of items.
    • The command format is: spawnitem [Item ID Number] [Number of Items Wanted]
    • For example, to spawn two regular logs, you would type: spawnitem 78 2
  4. Execute Command: Press Enter. The specified items should then appear in your game.

This method is confirmed as of the 1.0 release of Sons of the Forest.

Method 2: Editing Save Files

This method involves directly modifying your game’s save data. This approach does not require third-party software like WeMod but necessitates careful editing of game files.

  1. Save and Exit Game: Open Sons of the Forest, load your save, save the game again, and then completely close the game. This ensures you are working with the most recent save data.
  2. Navigate to Save Folder: Locate your game save folder, typically found at: C:\Users\(Username)\AppData\LocalLow\Endnight\SonsOfTheForest\Saves.
  3. Identify Save File: Within this folder, you’ll find a folder with a seventeen-digit number. Inside, select SinglePlayer or Multiplayer based on your save type. Then, go into the folder with the most recent modification date, which corresponds to your latest save.
  4. Edit PlayerInventorySaveData: Find the PlayerInventorySaveData file and open it using Notepad or another text editor. This file contains a line of text code representing your inventory.
  5. Insert Item Code: Scroll to the end of the text and locate the sequence that ends the file, which usually looks like :[]}]}}. Before this sequence, insert the following code:
    • ,{\"ItemId\":ItemIDHere,\"TotalCount\":NumberOfItemsHere,\"UniqueItems\":[]}
  6. Replace Placeholders: Substitute ItemIDHere with the specific Log Item ID you want, and NumberOfItemsHere with the quantity. Ensure there are no spaces around these numbers.
    • If the item already exists in your inventory, instead of adding new code, find its existing ID and adjust the TotalCount value.
  7. Save and Re-launch: Save the PlayerInventorySaveData file, close it, and then re-launch Sons of the Forest to load your modified save.

List of Log Item IDs

The following is a list of known Log Item IDs as of March 12, 2023, and confirmed as of the 1.0 release of Sons of the Forest. These IDs allow you to spawn various types of logs and planks directly into your game.

Item NameItem ID
Log78
Log Plank395
Log Plank Quarter 1x576
Log Plank Quarter 2x577
Log Plank Quarter 3x578
Log Quarter 1x406
Log Quarter 2x408
Log Quarter 3x409
Quarter Log406
Quarter Log Plank576

Please note that “Log Quarter 1x” and “Quarter Log” share the same Item ID (406), as do “Log Plank Quarter 1x” and “Quarter Log Plank” (576).

FAQ

Can I use these item IDs without any external software? Using the debug console method requires WeMod to enable the console functionality. However, the save file editing method does not require external software, only a text editor like Notepad.

Are these Item IDs case-sensitive when used in the debug console? The spawnitem command itself is typically not case-sensitive, but the Item IDs are numerical and must be entered precisely as listed.

Will using these Item IDs affect my game’s achievements? The sources do not specify whether using debug commands or save file editing impacts in-game achievements.

Are there any risks associated with editing save files? Yes, incorrectly editing save files can corrupt your game data. It is always recommended to back up your save files before making any manual modifications.

Are these log item IDs guaranteed to work in future updates? The information provided is accurate as of the 1.0 release and March 12, 2023. Game updates can sometimes alter Item IDs or command functionality, though core items like logs are less likely to change frequently.