Asenna Steam
kirjaudu sisään
|
kieli
简体中文 (yksinkertaistettu kiina)
繁體中文 (perinteinen kiina)
日本語 (japani)
한국어 (korea)
ไทย (thai)
български (bulgaria)
Čeština (tšekki)
Dansk (tanska)
Deutsch (saksa)
English (englanti)
Español – España (espanja – Espanja)
Español – Latinoamérica (espanja – Lat. Am.)
Ελληνικά (kreikka)
Français (ranska)
Italiano (italia)
Bahasa Indonesia (indonesia)
Magyar (unkari)
Nederlands (hollanti)
Norsk (norja)
Polski (puola)
Português (portugali – Portugali)
Português – Brasil (portugali – Brasilia)
Română (romania)
Русский (venäjä)
Svenska (ruotsi)
Türkçe (turkki)
Tiếng Việt (vietnam)
Українська (ukraina)
Ilmoita käännösongelmasta
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>