3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 2274|回复: 6
打印 上一主题 下一主题

[求助] 怎么添加床人参数

[复制链接]

2

主题

33

帖子

31

积分

初级玩家

Rank: 2

贡献度
0
金元
309
积分
31
精华
0
注册时间
2018-3-31
跳转到指定楼层
主题
发表于 2019-6-19 23:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
怎么把这个<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>


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-4-7 02:26 , Processed in 0.027611 second(s), 15 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表