rimworld吧 关注:227,607贴子:3,943,135
  • 0回复贴,共1

mod汉化脚本问题

只看楼主收藏回复

想给1.5适配一下远古扩展的汉化,但是现在版本的def结构相较之前的版本有不少变化。有uu知道这段代码怎么写汉化嘛:
<!-- Prosthetic leg -->
<HediffDef ParentName="AddedBodyPartBase">
<defName>AdvancedArchotechLeg</defName>
<label>advanced archotech leg</label>
<labelNoun>an advanced archotech leg</labelNoun>
<description>An installed advanced archotech leg.</description>
<descriptionHyperlinks><ThingDef>AdvancedArchotechLeg</ThingDef></descriptionHyperlinks>
<spawnThingOnRemoved>AdvancedArchotechLeg</spawnThingOnRemoved>
<addedPartProps>
<solid>true</solid>
<partEfficiency>4</partEfficiency>
</addedPartProps>
</HediffDef>
<ThingDef ParentName="ArchoPartAdvanced">
<defName>AdvancedArchotechLeg</defName>
<label>advanced archotech leg</label>
<description>An advanced version of the archotech's artificial leg. It looks the same as a regular leg, but allows you much faster movement. Its internal workings are a mystery to all human minds.</description>
<descriptionHyperlinks><RecipeDef>InstallAdvancedArchotechLeg</RecipeDef></descriptionHyperlinks>
<costList>
<Attomachinery>12</Attomachinery>
<Picomachinery>25</Picomachinery>
<ComponentSpacer>1</ComponentSpacer>
</costList>
<statBases>
<MarketValue>20000</MarketValue>
<Mass>4</Mass>
<ArmorRating_Sharp>1</ArmorRating_Sharp>
<ArmorRating_Blunt>1</ArmorRating_Blunt>
</statBases>
<techHediffsTags>
<li>Archotech</li>
</techHediffsTags>
</ThingDef>
作者直接把Hediffdef和Thingdef写到一个文件里去了,结果现在用原来的办法行不通,求大佬指导。


IP属地:德国来自iPhone客户端1楼2024-05-27 10:39回复