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

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

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

二三一.随笔涂鸦(用蓝魔杖为物品涂上色彩)

  用记事本打开游戏目录\data\DLC0001\scripts\prefabs\staff.lua文件,在local inst = commonfn("blue")的下一行插入以下内容:

  local function cancreatecolour(staff, caster, target, pos)

  return true

  end

  local function createcolour(staff, target, pos)

  local caster = staff.components.inventoryitem.owner

  if caster.components.sanity then

  caster.components.sanity:DoDelta(5)

  end

  local colours= { {198/255,43/255,43/255}, {79/255,153/255,68/255}, {35/255,105/255,235/255}, {233/255,208/255,69/255}, {109/255,50/255,163/255}, {222/255,126/255,39/255}, }

  inst.colour_idx = math.random(#colours)

  target.AnimState:SetMultColour(colours[inst.colour_idx][1],colours[inst.colour_idx][2],colours[inst.colour_idx][3],1)

  end

  inst:AddComponent("spellcaster")

  inst.components.spellcaster:SetSpellFn(createcolour)

  inst.components.spellcaster:SetSpellTestFn(cancreatecolour)

  inst.components.spellcaster.canuseontargets = true

  inst.components.spellcaster.canusefrominventory = false

  即可用蓝魔杖右键点任何物品,为其涂上随机色彩,存档退出后消失。每涂鸦一次补脑5点。将你涂好的缤纷世界截下图片,给朋友秀秀吧

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

作者:易宁     责任编辑:Shy夏夏

本文是否解决了您的问题

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

  • 三上悠亚老师再发新图:超短牛仔裙大白腿看流口水
    三上悠亚老师再发新图:超短牛仔裙大白腿看流口水

  • 捞女游戏遭豆瓣下架!开分8.5现在搜不到了
    捞女游戏遭豆瓣下架!开分8.5现在搜不到了

  • 网传霍金和比基尼女子合影 家人回应:护理人员
    网传霍金和比基尼女子合影 家人回应:护理人员

攻略合集
人物图鉴

相关内容

在线玩推荐更多

游民星空

打开App阅读体验更佳,攻略、资讯实时更新

下载APP