Rimworld的MOD教程Defs例子--龙傲天天赋
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Defs>
<TraitDef>
<defName>Miao_Trait_Leader</defName>
<!--出现概率-->
<commonality>0</commonality>
<degreeDatas>
<li>
<label>天命主角</label>
<description>强大无比。</description>
<!--这个是交易增幅,不要改太多,不然会变成0.5-->
<marketValueFactorOffset>2</marketValueFactorOffset>
<!--与其他人冲突概率-->
<socialFightChanceFactor>-2</socialFightChanceFactor>
<!--小人属性-->
<statOffsets>
<MoveSpeed>100</MoveSpeed>
<MentalBreakThreshold>-2</MentalBreakThreshold>
<GlobalLearningFactor>2</GlobalLearningFactor>
<PsychicSensitivity>2</PsychicSensitivity>
<ToxicSensitivity>-2</ToxicSensitivity>
<ComfyTemperatureMin>-1000</ComfyTemperatureMin>