饑荒聯機版

饑荒聯機版

31 次評價
DJPaul's Sort Inventory Modifiable Keys
   
獎勵
加入最愛
已加入最愛
移除最愛
檔案大小
發佈於
更新時間
1.187 MB
2018 年 7 月 19 日 下午 10:28
2024 年 2 月 24 日 下午 3:59
4 項更新註記 (檢視)

訂閱以下載
DJPaul's Sort Inventory Modifiable Keys

描述
Press - or F1 to sort your inventory. Now configurable with up to 4 active keys.

That's it.

Applies to all players on your server.





PSA for owners of dedicated servers:

This is a sample of how your modoverrides.lua section might look like if written correctly.
Use upper case for the values and use the value false to disable a keygroup.
Check modinfo.lua for possible values for each keygroup

--Sort Inventory ["workshop-1445690391"]={ configuration_options={ keybind_function="KEY_F10", keybind_control="KEY_RCTRL", keybind_special="KEY_PERIOD", keybind_letters="KEY_Z", }, enabled=true },
31 則留言
NVZ 5 月 9 日 上午 6:49 
Rabbit King Cudgel can cause the module to crash.
prod-o 2024 年 11 月 30 日 下午 2:23 
In Beta branch atm. Sorting with the new Wortox Soul Jar crashes the game. Mod likely attempts to sort the Soul jar into the backpack, but it can't be moved in.
Vecho 2024 年 9 月 29 日 下午 4:50 
Thanks for the reply. I would be looking forward to update.

I used to play in DS and get used to automatically sorting. It is really convenient this way.
Cooptimus Prime  [作者] 2024 年 9 月 29 日 上午 11:46 
@Vecho I can probably make the server do a periodic call for auto sorting (chosen based on a config option). Will apply to all players though since this mod is server-side.

@Sir_Wun Not entirely sure. My idea is maybe have an editable config file that each player can choose to modify to their preferences, but I can't promise this will work/ I'll be able to figure it out. I think right now it's probably doing it alphabetically in those categories, but I haven't looked at this mod in a very long time and wasn't the original author, just the patcher
Vecho 2024 年 9 月 29 日 上午 5:02 
Is it possible to sort automatically instead of manually? I tired after pressing to sort frequently.
Sir_Wun 2024 年 9 月 1 日 上午 6:42 
Can i modify the order of tools / resources myself?
I see i can modify which resources are in the priority list, but how can i select the order?
(For example twigs at the end does not seem logic, i want them next to cut grass)
Rey 2024 年 5 月 24 日 下午 1:14 
lantern doesnt sort into the light when the torch does
Kain Morgen  [作者] 2024 年 1 月 29 日 上午 8:39 
@Cooptimus Prime
Found multiple copies of folders named 1445690391 and tested the following change to assign the '-' key (for me thats left from right-shift).
GLOBAL.TheInput:AddKeyDownHandler(92, function()
GLOBAL.TheInput:AddKeyDownHandler( 45 , function()

A folder for simple ingame-hosted DST
...\Steam\steamapps\workshop\content\322330\1445690391
Changes here will have effect on servers hosted from within the game client.
My inventory in a ingame-hosted world got sorted after pressing '-'.

Several folders for dedicated server hosting - one folder copy for each master cluster (Cluster_1, Cluster_2, etc)
...\Steam\steamapps\common\Don't Starve Together Dedicated Server\ugc_mods\Cluster_1\Master\content\322330\1445690391
Changes here don't appear to have effect here. My inventory in this dedicated server remained unsorted after pressing '-'.

I either can't override your code for dedicated servers OR the if-condition lines 386-393 might be broken.
Kain Morgen  [作者] 2024 年 1 月 29 日 上午 12:34 
@Cooptimus Prime

Would be great If you can make the keybind configurable again.

If you want to have a look at a german Keyboard while doing so, please google for QWERTZ Keyboard DE Layout.
We switch out Y and Z and do lots of symbols Like parentheses, ., ?,! etc different as Well as having Umlauts (ä, ö, ü) like Wigfrid.
Cooptimus Prime  [作者] 2024 年 1 月 28 日 上午 10:01 
@Kain Morgen

Definitely still sorts stuff. I was using it recently. As for your specific issues, I actually have no idea, but I'm rewriting the system for Throwable Weapons and will be learning about changing and adding keybindings, so I could then potentially make this configurable on the client to address specific keyboard issues.

Seems like every key I choose has issues haha