Don't Starve Together
Оценок: 231
Extra Equip Slots Clean [Doom] 3.1.0
2
3
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
3.016 MB
26 авг. 2023 г. в 11:34
14 сен в 8:33
Обновлений: 48 (просмотреть)

Подпишитесь, чтобы загрузить
Extra Equip Slots Clean [Doom] 3.1.0

Описание
Dedicated additional Equip Slots for an Amulet, an Armor and a Backpack.
Also allows you to add or remove up to 5 inventory slots.
Rendering can be turned off, Rendering Priority is Body>Armor>Amulet>Backpack.
Should be compatible with most mods and updates.
You can get or remove up to 5 Inventory slots, and toggle each equipment slot individually (Amulet, Armor, Backpack).
The Icon is from the original mod.

3.1.0 - Added a setting to resize the background of the item bar
       to fit more equip slots added by other mods.
3.0.3 - Updated inventory_classified to the version from 09.08.2024,
       fixed the Charged Elding Spear disappering, if it was equipped
       in the hand slot and you switched worlds.
       This was fixed by overriding the Equip function of
       the inventory component directly, this might also fix other things.
3.0.2 - Fixed crash when equipping both Slurtle Armors
       at the same time.
       Fixed an issue with Merms not accepting and wearing hats.
       Changed evaluation order, to make armored items, which
       also have an inventory, an armor instead of a backpack.
3.0.1 - Fixed a bug which caused armor to reset to their old slot when repaired.
3.0.0 - New code for hats, which should offer better compatibility.
2.2.7 - Fixed a problem which caused other mods to make amulets go into the backpack slot.
2.2.6 - Fixed a bug not allowing to equip certain items to the Mannequin and the Punching Bags
2.2.5 - Fixed a crash when equipping the Snurtle Shell.
2.2.4 - Made sure orangeamulet (The Lazy Forager) is not put into the backpack slot.
2.2.3 - Updated hats to version from 03.03.2024
2.2.2 - Updated inventory_classified to version from 28.03.2024
2.2.1 - Fixed a bug with bunnymen not accepting hats under certain conditions.
2.2.0 - Updated hat code to 23.12.2023
       Added option to choose a slot for the feather frock from uncompromising mode (MOD).
2.1.0 - Hats now work differently internally, should fix all vanilla hats. Hopefully.
       W.A.R.B.I.S. gear fixed.
2.0.1 - Backpack inventory should not open and close anymore
       when it is the equipment being rendered.
2.0.0 - Major refactor, hopefully nothing broke.
       Also some fixes and performance improvements.
1.9.0 - Added a setting to choose where the Beekeeper Hat goes.
1.8.5 - Fixed dreadstone armor and hat not working properly.
1.8.4 - Fixed a bug with onequipfn being run more often than unequipfn.
1.8.3 - Fixed brightshade armor, hat and snurtle shell not working properly.
1.8.2 - Fixed the Sunken Chest going into the wrong slot.
1.8.1 - Fixed a bug assembling the altar (and possibly other things) with the backpack slot enabled.
1.8.0 - Choose if the red amulet should disapper on haunt (requires amulet slot).
1.7.0 - Fixed a bug with interacting with containers because Klei is weird, the fix is horrible.
1.6.4 - Fixed a compass crash.
1.6.3 - Body slot icon is only changed if the armor slot is enabled.
1.6.2 - Only changes items which used to go into the Body or Hat slot in most cases.
1.6.1 - Fixed crash if the Bone Armor doesn't have the equippable component.
1.6.0 - Added a setting to choose where the Bone Armor is supposed to go.
1.5.0 - Added a slot for headarmor, which is disabled by default.
       (Might break the compass hud postion slightly)
1.4.5 - Fixed a bug, which caused a crash
       if the red amulet doesn't have a hauntable component for some reason.
1.4.4 - Fixed a bug, which prevented the backpackslot from working properly
       if you joined a server (or host a server with caves enabled).
1.4.0 - Added a hat check option, which makes sure, that hats go into the hat slot,
       may result in broken visuals if disabled.
       Items which are weapons (compass is an exception) won't have their slot changed
       from now on. (Fixes fishing rod for example)
       Added a compass slot option, which adds a dedicated slot for the compass.
1.3.0 - Added a debug option to the mod configuration, and changed the body icon.
1.2.0 - Changed the slot order and icons.
1.1.2 - Now compatible with the Integrated Backpack setting and Shift+Click should work
       as intended. (Arrow doesn't start at the correct slot tho)
1.1.0 - Added the options to prioritise the rendering of certain slots
       and to disable the rendering code.
1.0.1 - Initial Release


I also changed the order of patchnotes, so you can see the most recent changes ingame.


Known issues, getting fixed in that rough order:
- Positioning of the compass overlay is incorrect, if some slots are disabled
  or inventory slots are added. (Maybe fixed?)
- The integrated backpack arrow doesn't start at the correct slot.

Possible features which might get added in the future:
  @Karo
    I wish this mod existed for regular dont starve
  @QOMRADEQUEER
    Option to make armour and backpacks share one slot.
  @Cheryl
    Always show backpack setting for showing backpack in addition to other stuff.
  @DoomOfMax
    An icon for the compass slot if one is provided with permission to use.
    An icon for the body slot if one is provided with permission to use.
Комментариев: 314
DoomOfMax  [создатель] 25 сен в 7:16 
@Soggy_Doggy thank you, other than a full reinstall of dst I can't think of another easy way to fix it, sounds like a Klei issue, sorry
Soggy_Doggy 24 сен в 22:33 
For some reason after the latest update, the server I host for a friend and me won't let them join when I enable this mod, giving them a 'Server using outdated mods message'.
I've tried everything I can to get it to work, like rehosting a new world, deleting all the mod folders. For now we're using an alternative, but your's worked better ;)
DoomOfMax  [создатель] 22 сен в 7:22 
@ilgasrimas alright glad to hear everything seems to work now, thank you for your log, please let me know should it crash again, keep in mind: it could also be caused by a different mod not working with mine

Yes those lines are normal, they are there so I can trace back which parts of the code ran at which time and in what order, so I can see what caused a bug or crash to happen
ilgasrimas 21 сен в 10:52 
I'm confused. Exact steps was simply press equip and as soon amulet reaches slot, game crashed. Other time i was playing with my friend and he was crafting amulet in caves. Same thing: slotted and crashed.
Now i'm trying to reproduce it and everythin is working. Two worlds, two characters and nothing, everything works.
Another thing. Log is filling with [Doom-Debug] Entering inventory classified Backpack code
[Doom-Debug] Inventory classified detected a backpack
while backpack is equiped and only [Doom-Debug] Entering inventory classified Backpack code
without backpack. Is this normal? Anyway,here is the paste to client log https://pastebin.com/JG6eEZ80
If the problem shows up again, i will let you know. Thank you.
DoomOfMax  [создатель] 17 сен в 9:40 
@895575406 sorry, but I do not understand what you mean, can you list some items which don't work and in which way?
DoomOfMax  [создатель] 17 сен в 9:36 
@ilgasrimas Can't reproduce, are you using any other mods?
What are the exact steps to cause this crash?

Please turn on the "Debug" setting of my mod and post your logs (Master, Client and Caves) using https://pastebin.com
They are at "C:\Users\{YOUR_USERNAME}\Documents\Klei\DoNotStarveTogether"
ilgasrimas 17 сен в 9:22 
Hi. Very nice mod. Unfortunately it crashes game when trying to equip constuction amulet ("greenamulet"). Here is part of the crash message:
[string "scripts/components/builder.lua"]:4: Ingredient mods restricted to certain values, see constants.lua INGREDIENT_MOD
LUA ERROR stack traceback:
=[C]:-1 in (global) assert (C) <-1--1>
scripts/components/builder.lua:4 in (field) ? (Lua) <3-6>
scripts/class.lua:43 in () ? (Lua) <36-45>
scripts/prefabs/amulet.lua:128 in (field) onequipfn (Lua) <125-139>
scripts/components/equippable.lua:99 in (method) Equip (Lua) <91-106>
../mods/workshop-3026138806/scripts/code/backpackoverflow.lua:122 in () ? (Lua) <23-143>
=(tail call):-1 in () (tail) <-1--1>
scripts/bufferedaction.lua:26 in (method) Do (Lua) <22-36>

If you can look into this and repair the problem i would be eternaly grateful:steamhappy:
895575406 16 сен в 19:02 
This mod seems to refuse a variety of equipments to show their chartlets together?
DoomOfMax  [создатель] 15 сен в 7:48 
Glad to hear that :steamthumbsup:
Eddie the Mammoth 14 сен в 18:55 
Ty for the update! Works well.