SimpleLootBox/Example/PawnKindsExample.xml

48 lines
2.4 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<PawnKindDef ParentName="HAR_Nearmaere_KindBase"><!-- 人物的基本数据继承自HAR_Nearmaere_KindBase下面的数据中如果有和parent相同的条目会覆盖parent的数值 -->
<defName>HAR_Nearmaere_Example</defName><!-- 人物的定义名 -->
<label>HAR nearmaere example</label><!-- 人物的名字,可以进行本地化翻译 -->
<race>HAR_Nearmaere</race><!-- 人物的种族的定义名 -->
<combatPower>100</combatPower><!-- 袭击占用分数 -->
<initialWillRange>1~10</initialWillRange><!-- 奴役难度 -->
<initialResistanceRange>10~20</initialResistanceRange><!-- 招募难度 -->
<minGenerationAge>10</minGenerationAge><!-- 生成人物的最小生物年龄 -->
<maxGenerationAge>20</maxGenerationAge><!-- 生成人物的最大生物年龄 -->
<techHediffsMoney>0</techHediffsMoney><!-- 仿生体价值 -->
<apparelMoney>0</apparelMoney><!-- 服装价值 -->
<weaponMoney>0</weaponMoney><!-- 武器价值 -->
<techHediffsTags Inherit="False"><!-- 用来去除可能从parentName里继承的仿生体tag -->
</techHediffsTags>
<weaponTags Inherit="False"><!-- 用来去除可能从parentName里继承的武器tag -->
</weaponTags>
<apparelTags Inherit="False"><!-- 用来去除可能从parentName里继承的服装tag -->
</apparelTags>
<inventoryOptions Inherit="False"><!-- 用来去除可能从parentName里继承的随身携带物品 -->
</inventoryOptions><!-- 生成人物的某项技能的范围,比如 Shooting Melee Construction Mining Cooking Plants Animals Crafting Artistic Medicine Social Intellectual -->
<skills>
<li>
<skill>Shooting</skill>
<range>15~20</range>
</li>
</skills>
<disallowedTraits><!-- 不被允许使用的特性 -->
<li>Brawler</li>
</disallowedTraits>
<disallowedTraitsWithDegree><!-- 不被允许使用的特性以及对应的程度 -->
<PsychicSensitivity>-2</PsychicSensitivity>
</disallowedTraitsWithDegree>
<forcedTraits><!-- 强制生成的特性以及程度通常来讲大部分mod特性不会设置程度 -->
<Recluse>0</Recluse>
</forcedTraits>
<useFactionXenotypes>false</useFactionXenotypes><!-- 去除派系设置的异种生成概率 -->
<xenotypeSet>
<xenotypeChances>
<Aya_Race_Xenotype MayRequire="Ludeon.RimWorld.Biotech">100</Aya_Race_Xenotype><!-- 某个特定异种的生成概率 -->
</xenotypeChances>
</xenotypeSet>
</PawnKindDef>
</Defs>