I've been playing around with a bunch of mods, some of my own, and my inventory has somehow become large enough for me to have to scroll through it. (+/-450 slots... don't ask.)
I've got 3 massive monitors, i always play on 80% GUI size, and i have this really long, 10 slots wide, inventory with a scrolling bar...
...
So, i'd like to expand my inventory width to 20 or something along those lines:
A). Is there any way to expand the player's inventory width?
B). If yes, is the value for inventory width located in style.lua? Again, if yes, what line/id?
Cheers! ;3
Re: Player inventory width?...
Posted: Sat Aug 05, 2017 9:01 pm
by Volvith
Ive given up...
Okay, the longer i keep digging in style.lua, the longer i'm starting to think inventory width is not specified in style.lua, which, thinking about it, would have been a bit odd anyways.
I think i've look through all of the core code, and a good amount of the base code, but i can't find anything anywhere...
Taken a look at the style.lua again, and i think it's defined here after all, albeit through player-inventory-window-size.
I think it's defined in a listbox_style (@ +/-line 2070) or a* frame_style (@ +/- line 2640).
*(listboxes are basically buttons, i think. Probably not a listbox in that case.)
At this point, i'm not even sure how to adjust any of these values without editing the game file itself, so i'm not really sure how to continue from here on out...
Welp... I think this is gonna be a bit tougher than i thought. :/
I'm not sure whether the main inventory is hard-coded into the game, or what, but i am completely, utterly 100% UNABLE to find anything on this subject, apart from a suggestion by HurkWurk, on page 16 of the Friday Facts #191.
As far as the frames in style.lua, havent tested anything, but i wouldn't know what defines the player inventory anyways, so i'd just be brute-forcing values and restarting the game just to see what works anyways.
...
*sigh*
Just... gonna put this one under game-suggestions and hope someone finds this needle in the giant pile of other, better needles. -_-
Cheers and whatnot...