怎么添加床人参数
怎么把这个<hungerRateFactor>0.8</hungerRateFactor>加到床上面去。。<ThingDef ParentName="ArtableBedBase"> <defName>DoubleBed</defName><label>double bed</label>
<description>A simple double-wide bed that fits two people.</description>
<graphicData>
<texPath>Things/Building/Furniture/Bed/DoubleBed</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>CutoutComplex</shaderType>
<drawSize>(2.05,2.05)</drawSize>
<damageData>
<rect>(0,0.05,2,1.95)</rect>
</damageData>
</graphicData>
<comps>
<li Class="CompProperties_AffectedByFacilities">
<linkableFacilities>
<li>EndTable</li>
<li>Dresser</li>
</linkableFacilities>
</li>
</comps>
<statBases>
<MaxHitPoints>200</MaxHitPoints>
<Flammability>1.0</Flammability>
<WorkToBuild>1500</WorkToBuild>
<Mass>85</Mass>
<Comfort>0.75</Comfort>
<Beauty>2</Beauty>
<BedRestEffectiveness>1</BedRestEffectiveness>
<ImmunityGainSpeedFactor>1.07</ImmunityGainSpeedFactor>
<SurgerySuccessChanceFactor>1</SurgerySuccessChanceFactor>
</statBases>
<size>(2,2)</size>
<stuffCategories>
<li>Metallic</li>
<li>Woody</li>
<li>Stony</li>
</stuffCategories>
<costStuffCount>85</costStuffCount>
<costList>
<Cloth>20</Cloth>
</costList>
<building>
<bed_showSleeperBody>False</bed_showSleeperBody>
<bed_healPerDay>4</bed_healPerDay>
</building>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<fillPercent>0.4</fillPercent>
<pathCost>60</pathCost>
<leaveResourcesWhenKilled>True</leaveResourcesWhenKilled>
<staticSunShadowHeight>0.17</staticSunShadowHeight>
<castEdgeShadows>True</castEdgeShadows>
<designationHotKey>Misc3</designationHotKey>
<techLevel>Medieval</techLevel>
<researchPrerequisites>
<li>ComplexFurniture</li>
</researchPrerequisites>
<uiIconScale>0.90</uiIconScale>
</ThingDef>
有大神知道吗?:) 新建一项<stages><hungerRateFactor>0.8</hungerRateFactor></stages>,不要包含在任何已存在的项中,但是现在基本用的都是<hungerRateFactorOffset>
而且大概率根本不能用,我没见过将这串定义用在ThingDef中的,一般都是用在HediffDef中 红字。。用不上这个了吧 这种必需添加到人物特性或者武器、防具里面,加到其它地方都是没有用的 人睡在床上加个心情可以吧?再里面加<stages>
<stages>
<li>
<label>睡在大床上</label>
<description>我有大床睡了,好舒服,开心</description>
<baseMoodEffect>+3</baseMoodEffect>
</li>
</stages>
上面要加什么? twtyygyrgw 发表于 2019-6-20 23:53
人睡在床上加个心情可以吧?再里面加
加心情也不是加到床的参数上,而是要加到 x:\*****\****\Mods\Core\Defs\ThoughtDefs 里面
页:
[1]