第369页:猪人永久跟随
展开三一九.猪人永久跟随
用记事本打开游戏目录\data\DLC0001\scripts\prefabs\pigman.lua文件,
1.将inst.components.follower:AddLoyaltyTime(item.components.edible:GetHunger() * TUNING.PIG_LOYALTY_PER_HUNGER)替换为--inst.components.follower:AddLoyaltyTime(item.components.edible:GetHunger() * TUNING.PIG_LOYALTY_PER_HUNGER)
2.将inst.components.follower.maxfollowtime = TUNING.PIG_LOYALTY_MAXTIME替换为--inst.components.follower.maxfollowtime = TUNING.PIG_LOYALTY_MAXTIME
即可让猪人永久跟随,饿了也不会离开。但晚上一样需要给它点火,它会呆在火旁,到白天继续跟随
更多相关内容请关注:饥荒专区
责任编辑:Shy夏夏