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
As you will see i changed the last operation's path. The command needs a <value> tag to work.
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<!-- Create a subfolder labeled 'Patches' Within th 1.2 folder of your mod
Drop this Patch into it and rename it after the Item you're patching
Example: Patch_Unique_CrownStellic
Enter your Items defName into the 3 marked areas and delete everything between each of the two ""
Example: <xpath>/Defs/ThingDef[defName = "Apparel_CrownStellic"]/comps</xpath>-->
<Operation Class="PatchOperationFindMod">
<mods>
<li>Nanotech Overpower</li>
<!-- Enter the Name of the Mod you want to add an item from in the Space between <li> and </li> above this line
Example: <li>[CP] Rimmu-Nation - Clothing</li>
You find the modname in the About.xml of every mod. Be sure to copy the name perfectly!
-->
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[defName = "Nanoblaster"]/comps</xpath>
<success>Always</success>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "Nanoblaster"]</xpath>
<value>
<comps />
</value>
</nomatch>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName = "Nanoblaster"]/comps</xpath>
<value>
<li Class="UniqueItems.CompProperties_UniqueItem">
<maxCount>1</maxCount>
<!-- You can change this number to define the maximal number your item is supposed to exist.
This is also toggable within the Modsettings ingame.
-->
<labelUniquePrefix>Unique </labelUniquePrefix>
<!-- The above line needed to add the Prefix 'Unique' to an Item.
-->
<labelRarePrefix>Rare </labelRarePrefix>
<!-- The above line is needed to add the Prefix 'Rare' to an Item.
-->
<artDescriptionPostfix>DM.UniqueGladiusArtPostfix</artDescriptionPostfix>
<!-- The above line adds the 'unique' line to the description of your Item if it is viable for artdescription.
-->
</li>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>