初音平泽唯 发表于 2013-11-6 01:43

想要个 采集一次采3个 背包不占装备栏的MOD 求大神帮助 给个地址 我是21版的

谢谢~~求助

孤雾 发表于 2013-11-6 12:38

http://bbs.blacksheepgame.com/thread-3859071-1-1.html
这是修改内容,你可以找一个简单的mod制作教程,自己做mod

孤雾 发表于 2013-11-6 12:39

用记事本打开游戏目录\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)

    即可单独修改某项物品一次采集五个
页: [1]
查看完整版本: 想要个 采集一次采3个 背包不占装备栏的MOD 求大神帮助 给个地址 我是21版的