移除狼人时间(适用于物品等级标准化)(v1.32版)

移除狼人时间(适用于物品等级标准化)(v1.32版)

移除玩家物品栏中的"狼之时刻"药水。该药水在使用将物品按玩家等级缩放的模组时毫无用处,因此我选择将其从游戏中移除。

物品栏

适用于游戏版本 1.32

这是一个对 2 个 XML 文件的简单修改。我只是更改了“狼之时刻”药水的内部物品名称,这样每当游戏试图引用它时都无法找到。我不是专业模组制作者,因此这可能被视为不好的做法,但根据我有限的测试,发现它对我来说运行良好。

我制作这个是为了与“物品等级标准化”一起使用。 该模组会将护甲下调至玩家等级,因此让狼人时间药水变得毫无用处。

安装

请通过手动将文件夹 modRemoveWolvenHour 放入《巫师 3》目录下的 mods 文件夹中,或使用《巫师 3》模组管理器来安装此模组。

然后你必须运行脚本合并器,将该模组与其他修改相同文件的模组进行合并。 如果你告诉程序脚本合并器的安装位置,可以通过《巫师 3》模组管理器来运行它。

文件已更改

gameplay\items\def_item_alchemy_potion.xml

<?xml version="1.0" encoding="utf-8"?>
<Defs>

<ItemDef>
  <defName>AlchemyPotion</defName>
  <label>炼金药水</label>
  <description>蕴含着神秘炼金术能量的魔法药剂。</description>
  <graphicData>
    <texPath>Items/Potions/AlchemyPotion</texPath>
    <graphicClass>Graphic_Single</graphicClass>
  </graphicData>
  <thingCategories>
    <li>Drugs</li>
  </thingCategories>
  <statBases>
    <MarketValue>75</MarketValue>
    <Flammability>0.5</Flammability>
    <DeteriorationRate>0.5</DeteriorationRate>
  </statBases>
  <ingestible>
    <drugCategory>Medical</drugCategory>
    <joyEffect>DrugHigh</joyEffect>
    <joyGain>0.3</joyGain>
    <ingestSound>Ingest_Drug</ingestSound>
    <ingestHoldUses>false</ingestHoldUses>
    <ingestibleProps>
      <chance>0.2</chance>
      <effect>AlchemyEffect</effect>
      <severity>0.5</severity>
    </ingestibleProps>
  </ingestible>
  <comps>
    <li Class="CompProperties_Drug">
      <chemical>Alchemy</chemical>
      <addictionHediff>AlchemyAddiction</addictionHediff>
      <needLevelOffset>-0.3</needLevelOffset>
      <minToleranceToAddict>0.1</minToleranceToAddict>
      <existingAddictionSeverityOffset>0.1</existingAddictionSeverityOffset>
      <toleranceGain>0.15</toleranceGain>
    </li>
  </comps>
  <recipeMaker>
    <recipeUsers>
      <li>DrugLab</li>
    </recipeUsers>
    <researchPrerequisite>Alchemy</researchPrerequisite>
    <workAmount>2000</workAmount>
    <ingredients>
      <li>
        <filter>
          <thingDefs>
            <li>HerbalMedicine</li>
          </thingDefs>
          <categories>
            <li>PlantMatter</li>
          </categories>
        </filter>
        <count>3</count>
      </li>
      <li>
        <filter>
          <thingDefs>
            <li>Gold</li>
          </thingDefs>
        </filter>
        <count>1</count>
      </li>
    </ingredients>
  </recipeMaker>
</ItemDef>

</Defs>

控制台中“狼时药水”的 ID 从“Wolf Hour”更改为“Wolf Hour modREMOVED”。