游民星空 > 攻略秘籍 > 攻略 > 正文

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

2015-01-21 11:28:46 来源:互联网 作者:易宁 我要投稿

第88页:蜂箱快速产蜂蜜

展开

八十八.蜂箱快速产蜂蜜

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

  1.将下列内容:

  inst.components.harvestable:SetGrowTime(TUNING.BEEBOX_HONEY_TIME)

  inst.components.harvestable:StartGrowing()

  end

  end

  end

  local function stopsleep(inst)

  if not inst:HasTag("burnt") then

  if inst.components.harvestable then

  inst.components.harvestable:SetGrowTime(nil)

  inst.components.harvestable:StopGrowing()

  替换为:

  inst.components.harvestable:SetGrowTime(TUNING.BEEBOX_HONEY_TIME*.01)

  inst.components.harvestable:StartGrowing()

  end

  end

  end

  local function stopsleep(inst)

  if not inst:HasTag("burnt") then

  if inst.components.harvestable then

  inst.components.harvestable:SetGrowTime(TUNING.BEEBOX_HONEY_TIME*.01)

  inst.components.harvestable:StartGrowing()

  2.将inst:ListenForEvent( "dusktime", StopSpawningFn(inst), GetWorld())替换为inst:ListenForEvent( "dusktime", StartSpawningFn(inst), GetWorld())

  即可让蜂箱快速产蜂蜜,几秒钟一箱就满了

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

责任编辑:Shy夏夏

上一页 81 82 83 84 85 86 87 88 89 90 91 下一页
友情提示:支持键盘左右键“← →”翻页

本文是否解决了您的问题

文章内容导航
游民星空APP
随手浏览游戏攻略
code
攻略合集
单机游戏下载
休闲娱乐
综合热点资讯
游民星空联运游戏