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

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

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

第37页:一次采集五个

展开

三十七.一次采集五个

  用记事本打开游戏目录\data\DLC0001\scripts\components\pickable.lua文件,将self.numtoharvest = number or 1替换为self.numtoharvest = 5

  即可让全部采集品一次采集5个,数字可自行调整。也可单独修改某项物品一次采集五个:

  1.草:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\grass.lua文件,将inst.components.pickable:SetUp("cutgrass", TUNING.GRASS_REGROW_TIME)替换为inst.components.pickable:SetUp("cutgrass", TUNING.GRASS_REGROW_TIME, 5)

  2.树枝:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\sapling.lua文件,将inst.components.pickable:SetUp("twigs", TUNING.SAPLING_REGROW_TIME)替换为inst.components.pickable:SetUp("twigs", TUNING.SAPLING_REGROW_TIME, 5)

  3.蘑菇:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\mushrooms.lua文件,将inst.components.pickable:SetUp(data.pickloot, nil)替换为inst.components.pickable:SetUp(data.pickloot, nil, 5)

  4.胡萝卜:用记事本打开游戏目录\data\scripts\prefabs\carrot.lua文件,将inst.components.pickable:SetUp("carrot", 10)替换为inst.components.pickable:SetUp("carrot", 10, 5)

  5.芦苇:用记事本打开游戏目录\data\scripts\prefabs\reeds.lua文件,将inst.components.pickable:SetUp("cutreeds", TUNING.REEDS_REGROW_TIME)替换为inst.components.pickable:SetUp("cutreeds", TUNING.REEDS_REGROW_TIME, 5)

  6.浆果:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\berrybush.lua文件,将inst.components.pickable:SetUp("berries", TUNING.BERRY_REGROW_TIME)替换为inst.components.pickable:SetUp("berries", TUNING.BERRY_REGROW_TIME, 5)

  7.花:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\flower.lua文件,将inst.components.pickable:SetUp("petals", 10)替换为inst.components.pickable:SetUp("petals", 10, 5)

  8.恶魔花:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\flower_evil.lua文件,将inst.components.pickable:SetUp("petals_evil", 10)替换为inst.components.pickable:SetUp("petals_evil", 10, 5)

  9.洞穴花:用记事本打开游戏目录\data\scripts\prefabs\flower_cave.lua文件,将inst.components.pickable:SetUp("lightbulb", TUNING.FLOWER_CAVE_REGROW_TIME)替换为inst.components.pickable:SetUp("lightbulb", TUNING.FLOWER_CAVE_REGROW_TIME, 5)

  10.香蕉:用记事本打开游戏目录\data\scripts\prefabs\cave_banana_tree.lua文件,将inst.components.pickable:SetUp("cave_banana", TUNING.CAVE_BANANA_GROW_TIME)替换为inst.components.pickable:SetUp("cave_banana", TUNING.CAVE_BANANA_GROW_TIME, 5)

  11.蕨类:用记事本打开游戏目录\data\scripts\prefabs\cave_fern.lua文件,将inst.components.pickable:SetUp("foliage", 10)替换为inst.components.pickable:SetUp("foliage", 10, 5)

  12.木炭:用记事本打开游戏目录\data\DLC0001\scripts\prefabs\evergreens.lua文件,将inst.components.lootdropper:SpawnLootPrefab("charcoal")替换为下列内容:

  inst.components.lootdropper:SpawnLootPrefab("charcoal")

  inst.components.lootdropper:SpawnLootPrefab("charcoal")

  inst.components.lootdropper:SpawnLootPrefab("charcoal")

  inst.components.lootdropper:SpawnLootPrefab("charcoal")

  inst.components.lootdropper:SpawnLootPrefab("charcoal")

  13.曼德拉草:用记事本打开游戏目录\data\scripts\prefabs\mandrake.lua文件,在inst:AddComponent("pickable")的下一行插入inst.components.pickable:SetUp("mandrake", 10, 4)

  即可单独修改某项物品一次采集五个

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

责任编辑:Shy夏夏

上一页 31 32 33 34 35 36 37 38 39 40 41 下一页
友情提示:支持键盘左右键“← →”翻页

本文是否解决了您的问题

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