饑荒modmainlua冰箱增加格子怎么寫?
用記事本打開游戲目錄\data\DLC0001\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格