DevTool — Show DefName on Selection
A lightweight developer utility designed to make modding easier.
This tool displays the [b]DefName[/b] of any selected [i]Thing[/i] in RimWorld — perfect for debugging, patching, and quick prototyping. ⚙️✨
📌 Features
🔍 Shows the [b]DefName[/b] of any selected Thing
⚡ Instant feedback — no menus, no extra clicks
🛠️ Ideal for Harmony patches, XML modding and debug workflows
💡 Small, clean and performance-friendly
🎯 How It Works
Simply select any object in the game world.
A message will appear showing its DefName, like:
[i]Selected: GraniteWall — DefName: WallGranite[/i]
🧩 Usage Scenarios
Creating XML patches (PatchOperationAdd, Replace, Remove…)
Debugging Harmony patches
Checking item, pawn, building and apparel identifiers
Reverse engineering modded content
Rapid mod development
⚙️ Technical Notes
This mod uses a simple static method to read the selected Thing and output its DefName through the in-game Message system.
No overwrites. No patches. Zero conflicts.
💬 Feedback
If you have suggestions, ideas or want extra dev features (IDs, stats, classes, defs…), feel free to comment!
More tools may be added in the future depending on demand.