Resource Types

Learn what resource types are support and how to create custom UI icons for resource types

Supported Resource Types

You can use any ResourceTypeId for repair costs.

The following types currently include built-in icons:

  • Bone

  • Books

  • Meats

  • Mushrooms

  • Rock

  • Rubble

  • Fuel

  • Wood_Trunk

  • Wood_Planks

All other resource types work as repair costs but do not have default icons yet.

Adding Custom Resource Type Icons

Quick Start

1. Download the template modpack:

file-archive
1KB

2. Extract and add your icons:

  • Extract the zip file

  • Navigate to resources/Common/UI/Custom/Icons/ResourceTypes/

  • Add your icon files (must be named exactly like your resource type ID)

  • Example: Metal_Ore.png for "ResourceTypeId": "Metal_Ore"

3. Install:

  • Zip the folder back up

  • Place in your world's modpack folder

  • Enable the modpack

  • Restart the server

Icon Requirements

  • Format: PNG with transparency

  • Size: 48x48 or 64x64 pixels recommended

  • Naming: Must match your ResourceTypeId exactly (case-sensitive)

Example

If your config uses:

Add a file named Rare_Gems.png to the ResourceTypes/ folder.

Troubleshooting

Icon not showing:

  • Check filename matches your ResourceTypeId exactly

  • Verify modpack is enabled

  • Restart the server

Fallback icon displays:

  • Icon file not found

  • Check file path and naming

Last updated