下面给广大饥荒玩家介绍一个小幅度随机增加采摘物资数量的方法,这样的修改幅度不算太大,不至于太过影响游戏可玩性,同时也降低生存难度,建议新手玩家可以学起来使用。 饥荒随机增加采集数量的方法: 打开文件夹datascriptscomponentspickable.lua 搜索 picker.components.inventory:GiveItem(loot, nil, Vector3(TheSim:GetScreenPos(self.inst.Transform:GetWorldPosition()))) 改为 local pt = Vector3(TheSim:GetScreenPos(self.inst.Transform:GetWorldPosition())) local ptnum = 1 + math.random(9) for y = 1, ptnum do picker.components.inventory:GiveItem(SpawnPrefab(self.product), nil, pt) end 备注:最好备份一下原版文件。{getSoft id=”3384″}