Don't Starve

Don't Starve

Customize your wilderness adventure!
Create and upload new mods to add new characters, items, and game mechanics to Don't Starve. Explore new ways to survive in the wilderness, or create new challenges for yourself and others. Click here to learn more and get started!
Oliarco 4 May, 2020 @ 8:01am
[Request Mod] Insulated Pack 8 Slots
It would be cool to craft this item without thinking that it cost a lot and that for most of the time probably is just worse than the backpack.
Add to this that for be acquired at least 1 year need to pass, and you can easily understand why i would like it to be just a direct upgrade of the backpack.
< >
Showing 1-4 of 4 comments
Oliarco 7 May, 2020 @ 10:36am 
I edited this file:
C:\Program Files (x86)\Steam\steamapps\common\dont_starve\data\DLC0002\scripts\prefabs\icepack.lua

Here the code before and after:

Before:
inst.components.container.widgetanimbank = "ui_icepack_2x3"
inst.components.container.widgetanimbuild = "ui_icepack_2x3"

After:
inst.components.container.widgetanimbank = "ui_backpack_2x4"
inst.components.container.widgetanimbuild = "ui_backpack_2x4"

Will this makes the Insulated Pack have 8 slots?
I ask it because unfortunately i have no clue what i'm doing :(
Oliarco 23 May, 2020 @ 9:00pm 
i found out myself my change doesn't works alone and that it works only in combination with another change.



On the same directory;
C:\Program Files (x86)\Steam\steamapps\common\dont_starve\data\DLC0002\scripts\prefabs\icepack.lua



Before
for y = 0, 2 do
table.insert(slotpos, Vector3(-162, -y*75 + 75 ,0))
table.insert(slotpos, Vector3(-162 +75, -y*75 + 75 ,0))
end


After
for y = 0, 3 do
table.insert(slotpos, Vector3(-162, -y*75 + 114 ,0))
table.insert(slotpos, Vector3(-162 +75, -y*75 + 114 ,0))
end



You'll need to change too the other code or else the insulated pack slots will looks glitchy.



same directory;
C:\Program Files (x86)\Steam\steamapps\common\dont_starve\data\DLC0002\scripts\prefabs\icepack.lua



Before:
inst.components.container.widgetanimbank = "ui_icepack_2x3"
inst.components.container.widgetanimbuild = "ui_icepack_2x3"


After:
inst.components.container.widgetanimbank = "ui_backpack_2x4"
inst.components.container.widgetanimbuild = "ui_backpack_2x4"



I leave here my discoveries so that if someonelse want to do the same changes and see this post he'll know how.
Last edited by Oliarco; 5 Jul, 2020 @ 11:20am
Astroneer 30 Jul, 2021 @ 8:15pm 
yes
Oliarco 31 Jul, 2021 @ 12:59am 
Yes what?

THIS?
Last edited by Oliarco; 31 Jul, 2021 @ 1:02am
< >
Showing 1-4 of 4 comments
Per page: 1530 50