Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
TerrainDef/[defName="FlagstoneGranite"]/costList/*
The last code you posted is correct.
Because this code has many entries, as long as one of them is wrong, all of them will report the same error.
<Operation Class="XmlExtensions.DefDatabaseOperationReplace">
<objPath>HediffDef/[defName = "ControlSublinkImplant"]/stages/[1]/statOffsets/[stat/defName="WorkSpeedGlobalOffsetMech"]/value</objPath>
<value>
<val>52</val><!--The name of the node doesn't matter, only the inner text will be parsed-->
</value>
</Operation>
ok
DefDatabaseLog
ok
DefDatabaseOperationReplace
Failed to find a node referenced by <objPath>
<Operation Class="XmlExtensions.DefDatabaseOperationReplace">
<objPath>HediffDef/[defName = "ControlSublinkImplant"]/stages/[1]/statOffsets/[stat/defName="WorkSpeedGlobalOffsetMech"]/value</objPath>
<value>52</value>
</Operation>
Let him edit the wiki again,
Thank you so much!
Well, it's actually two together
Second:
“ControlSublinkImplant”]/stages/[2]/statOffsets/[stat/defName=“WorkSpeedGlobalOffsetMech”]/value?
I know this way, but this status is assigned by level, and each level has a different status, so it shouldn't be right to use this way
https://github.com/15adhami/XmlExtensions/wiki/Using-DefDatabase-Operations
This link has the list method inside, but I don't understand it very well, I tested many methods and finally gave up.
Your mod is good, I can try again
You are awesome!
<objPath>HediffDef/[defName = "ControlSublinkImplant"]/stages/li/[1]/statOffsets/WorkSpeedGlobalOffsetMech<objPath>
Failed to find a node referenced by <objPath>