Don't Starve

Don't Starve

Dr. Wortey & Egg Chester
N.A Dec 28, 2013 @ 9:30pm
(Read me) Fix for Chester Crashing upon Open
You forgot two lines in your Chester.lua.
C:\Program Files (x86)\Steam\SteamApps\common\dont_starve\mods\wort\scripts\prefabs\chester.lua

I've uploaded a fixed Chester.lua on mediafire here:
http://www.mediafire.com/download/e55zy7zv7kv1bji/chester.lua

File is for people who don't feel like adding the lines themselves, but it's really not even worth a topic :| Thought I'd post it here since I haven't been able to contact you.

CORRECT LINE:

--(" container")
inst:AddComponent("container")
inst.components.container:SetNumSlots(#slotpos)

inst.components.container.onopenfn = OnOpen
inst.components.container.onclosefn = OnClose

inst.components.container.widgetslotpos = slotpos
inst.components.container.widgetanimbank = "ui_chest_3x3"
inst.components.container.widgetanimbuild = "ui_chest_3x3"
inst.components.container.widgetpos = Vector3(0,-180,0)
inst.components.container.widgetpos_controller = Vector3(0,200,0)
inst.components.container.side_align_tip = 160

WHAT YOU HAD (missing last two lines):

--(" container")
inst:AddComponent("container")
inst.components.container:SetNumSlots(#slotpos)

inst.components.container.onopenfn = OnOpen
inst.components.container.onclosefn = OnClose

inst.components.container.widgetslotpos = slotpos
inst.components.container.widgetanimbank = "ui_chest_3x3"
inst.components.container.widgetanimbuild = "ui_chest_3x3"
inst.components.container.widgetpos = Vector3(0,-180,0)

Last edited by N.A; Dec 29, 2013 @ 11:54am
< >
Showing 1-1 of 1 comments
Stechun Jan 5, 2014 @ 1:55pm 
I have had the exact same problem
< >
Showing 1-1 of 1 comments
Per page: 1530 50