Ludeon Forums

RimWorld => Mods => Translations => Topic started by: Phipanjo on May 08, 2021, 06:57:50 PM

Title: Translate ThingDef without defName
Post by: Phipanjo on May 08, 2021, 06:57:50 PM
Hello guys,

in the last few days I translated almost every Vanilla Expanded Mod successfully. But in some cases - when one description is set for more than one item - I fail.
I fail because the xml lacks on the defName variable.

How can I translate the following? (It's the sterile wall in different colors but they all have the same description)

<?xml version="1.0" encoding="utf-8" ?>
<Defs>

  <ThingDef Name="SterileWallBase" ParentName="BuildingBase" Abstract="True">
    <description>An impassable wall. Capable of holding up a roof. Fitted with special cleanliness-enhancing properties to create a sterile environment.</description>
    <thingClass>Building</thingClass>
    <category>Building</category>
....


Thanks for any help!

cheers
Title: Re: Translate ThingDef without defName
Post by: Haplo on May 10, 2021, 06:17:54 AM
Hi Phipanjo,

for your information: You don't need to translate this. This is an abstract class, meaning it will like this never appear. Other full defs will derivate from this. Then you need to translate them, but never abstracts :)
The identifier for these objects is this part: Abstract="True"