YN070-农作物1秒长出来

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十.农作物1秒长出来 1.用MT管理器打开游戏目录/assets/scripts/prefabs/seeds.lua文件,将inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME替换为inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME*0 2.用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/veggies.lua文件,将inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME替换为inst.components.plantable.growtime = TUNING.SEEDS_GROW_TIME*0 即可让所有农作物1秒长出

2025/04/23 · Bny

YN071-冬天农作物也生长

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十一.冬天农作物也生长 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将MIN_CROP_GROW_TEMP = 5,替换为MIN_CROP_GROW_TEMP = -100, 即可让农作物在冬天也生长

2025/04/23 · Bny

YN072-农田不用施肥

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十二.农田不用施肥 用MT管理器打开游戏目录/assets/DLC0002/scripts/components/grower.lua文件,将self.cycles_left = self.cycles_left - 1替换为self.cycles_left = self.cycles_left 即可让农田不用施肥

2025/04/23 · Bny

YN073-煮一锅收多个料理

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十三.煮一锅收多个料理 用MT管理器打开游戏目录/assets/DLC0002/scripts/components/stewer.lua文件,将以下内容: harvester.components.inventory:GiveItem(loot, nil, Vector3(TheSim:GetScreenPos(self.inst.Transform:GetWorldPosition()))) 替换为: harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) 即可煮一锅收3个料理,想收多少,就复制多少行harvester.components.inventory:GiveItem(SpawnPrefab(self.product))即可

2025/04/23 · Bny

YN074-缩短煮料理时间

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十四.缩短煮料理时间 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将BASE_COOK_TIME = night_time*.3333,替换为BASE_COOK_TIME = seg_time*.01, 即可使料理瞬间煮熟

2025/04/23 · Bny

YN075-冰箱容量增加3倍(27格)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十五.冰箱容量增加3倍(27格) 用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/icebox.lua文件, 1.将for y = 2, 0, -1 do替换为for y = 8, 0, -1 do 2.将下列内容: inst.components.container.widgetanimbank = "ui_chest_3x3" inst.components.container.widgetanimbuild = "ui_chest_3x3" inst.components.container.widgetpos = Vector3(0,200,0) 替换为: --inst.components.container.widgetanimbank = "ui_chest_3x3" --inst.components.container.widgetanimbuild = "ui_chest_3x3" inst.components.container.widgetpos = Vector3(0,100,0) 即可让冰箱容量增加3倍至27格

2025/04/23 · Bny

YN076-冰箱永久保鲜

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十六.冰箱永久保鲜 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将PERISH_FRIDGE_MULT = .5,替换为PERISH_FRIDGE_MULT = 0, 即可让放入冰箱的食物永久保鲜。如果将0改为负数比如-5,则可使不新鲜的食物回复新鲜度

2025/04/23 · Bny

YN077-背包可冷藏食品

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十七.背包可冷藏食品 1.普通背包可冷藏食品:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/backpack.lua文件,在inst:AddComponent("inspectable")的下一行插入inst:AddTag("fridge") 2.小猪包可冷藏食品:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/piggyback.lua文件,在inst:AddComponent("inspectable")的下一行插入inst:AddTag("fridge") 3.坎普斯背包可冷藏食品:用MT管理器打开游戏目录/assets/DLC0002/scripts/prefabs/krampus_sack.lua文件,在inst:AddComponent("inspectable")的下一行插入inst:AddTag("fridge") 即可让背包具备冰箱功能

2025/04/23 · Bny

YN078-晾肉无需等待(将肉放在晾肉架上即干)

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十八.晾肉无需等待(将肉放在晾肉架上即干) 用MT管理器打开游戏目录/assets/DLC0002/scripts/tuning.lua文件,将下列内容: DRY_FAST = total_day_time, DRY_MED = 2*total_day_time, 替换为: DRY_FAST = total_day_time*0, DRY_MED = 2*total_day_time*0, 即可晾肉无需等待,肉放在晾肉架上即干

2025/04/23 · Bny

YN079-晾肉架一次收多块干肉

代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。 原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html 七十九.晾肉架一次收多块干肉 用MT管理器打开游戏目录/assets/DLC0002/scripts/components/dryer.lua文件,将以下内容: harvester.components.inventory:GiveItem(loot, nil, Vector3(TheSim:GetScreenPos(self.inst.Transform:GetWorldPosition()))) 替换为: harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) harvester.components.inventory:GiveItem(SpawnPrefab(self.product)) 即可晾1块肉收3块干肉,想收多少,就复制多少行harvester.components.inventory:GiveItem(SpawnPrefab(self.product))即可

2025/04/23 · Bny