饥荒 全人物解锁及主角自动回血等实用修改教程

《饥荒》这款生存游戏,很多玩家都想觉得游戏有些难,就想修改一些内容,比如解锁全人物,主角自动回血,主角不会饿之类的,下面小编为大家奉上最全的修改教程,内容简单易懂,希望各位玩家喜欢。目录

饥荒 全人物解锁及主角自动回血等实用修改教程

游民星空 - 查攻略必备

下载游民App,免费领取游戏大作

饥荒 全人物解锁及主角自动回血等实用修改教程

互联网 易宁 2015-01-21 11:28
0

四十六.树桩继续长成树

  用记事本打开游戏目录\data\DLC0001\scripts\prefabs\evergreens.lua文件,

  1.将下列内容:

  local function chop_down_tree(inst, chopper)

  inst:RemoveComponent("burnable")

  MakeSmallBurnable(inst)

  inst:RemoveComponent("propagator")

  MakeSmallPropagator(inst)

  inst:RemoveComponent("workable")

  替换为:

  MakeLargeBurnable(inst)

  MakeLargePropagator(inst)

  2.将下列内容:

  RemovePhysicsColliders(inst)

  inst.AnimState:PushAnimation(inst.anims.stump)

  inst:AddComponent("workable")

  inst.components.workable:SetWorkAction(ACTIONS.DIG)

  inst.components.workable:SetOnFinishCallback(dig_up_stump)

  inst.components.workable:SetWorkLeft(1)

  inst:AddTag("stump")

  if inst.components.growable then

  inst.components.growable:StopGrowing()

  end

  替换为:

  inst.AnimState:PushAnimation(inst.anims.stump)

  即可让树桩继续长成树,取消用铲子挖树桩,如果不想要树桩了,烧掉即可。注意这种再生树不会烧成枯树,烧完只会剩一团灰。不要与“砍树无树桩”一同修改

相关内容请关注:饥荒专区

责任编辑:Shy夏夏

本文对您是否有帮助

相关推荐

APP精彩推荐打开游民APP查看更多

在线玩推荐更多