新手玩家
![Rank: 1](static/image/common/star_level1.gif)
- 贡献度
- 0
- 金元
- 625
- 积分
- 3
- 精华
- 0
- 注册时间
- 2013-10-12
|
用记事本打开游戏目录\data\scripts\components\pickable.lua文件,将self.numtoharvest = number or 1替换为self.numtoharvest = 5
即可让全部采集品一次采集5个,数字可自行调整。也可单独修改某项物品一次采集五个:
1.草:用记事本打开游戏目录\data\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\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\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\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\scripts\prefabs\flower.lua文件,将inst.components.pickable:SetUp("petals", 10)替换为inst.components.pickable:SetUp("petals", 10, 5)
8.恶魔花:用记事本打开游戏目录\data\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\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)
即可单独修改某项物品一次采集五个
|
|