View Full Version : Slot Based Encumbrance (solved)
sambarilov
June 30th, 2025, 11:44
Hi! I got the books! Thanks for your hard work! They look great
I'm having a bit of trouble understanding how the slot based encumbrance works. It's not making a difference in the sheet whether the equipment is carried of equipped. Am I missing something?
64691
bayne7400
June 30th, 2025, 12:40
Good question. Technically none of your items are being stored. See this screenshot. PLEASE use the Dolmenwood forums
bayne7400
June 30th, 2025, 14:58
here is what you might look like based on your screenshot.
sambarilov
June 30th, 2025, 16:25
Hahah thanks for the quick response. Got it now. I'll make sure to use the Dolmenwood forum the next time.
bayne7400
June 30th, 2025, 16:43
For sure. It is different. The location actually has a function in the code as opposed to just as something visual.
sirkerry
June 30th, 2025, 17:42
For sure. It is different. The location actually has a function in the code as opposed to just as something visual.
It does? Is that just for slot-based encumbrance or the normal weight-based encumbrance also?
bayne7400
June 30th, 2025, 18:59
So backpacks and sacks have capacity. So you would set it up the same way but toggling it to open. The difference is in Slot the combination of open ( not C or E) tells the code your carrying it. For item encumbrance nothing stops the player from overfilling their container. But the script will calculate it properly.
sirkerry
June 30th, 2025, 22:12
So backpacks and sacks have capacity. So you would set it up the same way but toggling it to open. The difference is in Slot the combination of open ( not C or E) tells the code your carrying it. For item encumbrance nothing stops the player from overfilling their container. But the script will calculate it properly.
Huh, so setting the backpack to E and the items in it to C is not the way to do it?
bayne7400
June 30th, 2025, 22:38
In Dolmenwood ruleset C means carried. What it does depends on the encumbrance system you use. If your item is stowed and not carried (C)or equipped (E) then put it in a container and toggle it to empty. The scripting will do the rest.
I figured this would be intuitive especially with the image I shared.
sambarilov
July 1st, 2025, 00:34
64698
I think items in containers other than backpack are not being counted in stored items
PS: I forgot to toggle off the spellbook. Toggling that off makes it 3 carried, 2 stored items
bayne7400
July 1st, 2025, 01:32
So I think the problem is the sack has a value in slots and a value of a chest has 2 slots as well. I'm not entirely sure why I did that. Neither have a slots assigned to them in the PHB as they are a container. Try setting the slots to 0 and it should work. I'll update the PHB after I research this some more. The whole slot encumbrance system could require some hand waving. The whole carrying an empty chest technically uses no slots is weird.
edit: If your interested here is the piece of code. It checks to see if it has a capacity to carry then just to make sure is it at least 1 and finally is it really a container and has no slots.
if nCapacityItem and nCapacityItem >=1 and nSlotItem == 0 then
bayne7400
July 1st, 2025, 01:48
OK I submitted the fix. For items like barrels that carry liquids I left a slot value for them. The system requires some management. Like a iron cask is a container but that's going to require two people to carry when it is full of stuff. If you choose to use slot based encumbrance just know like at the table it is going to require your judgement call. Here is what Gavin said on page 148.
"Bulky items: Large or heavy objects that require two hands to carry occupy 2 gear slots and cannot be stowed. Very heavy or bulky objects may occupy 3 or more gear slots, as judged by the Referee."
I cant code that :) Like no way I would allow the players to run around adventuring with an iron casket over their shoulder. Looking forward to any feedback.
CrookedKnight
February 26th, 2026, 04:28
The slot-based encumbrance isn't working as expected for me on certain numbers of items. When I have 6 carried(equipped) it shows Light (speed=30), but it should be Medium. And for 8 or 9 carried(equipped) it shows Medium, instead of Heavy.
When carried(equipped) < 10 and stored (stowed) encumbrance = 15 or 16 items, it shows Too Many Slots, instead of Heavy.
I am seeing the correct values for all other numbers of items.
bayne7400
February 26th, 2026, 12:36
Let me see a screen shot of your inventory. Also open the item and see how many slots it is. Some items cost no slots and we could also have some input errors. I found a few handed weapons that were wrong.
bayne7400
February 26th, 2026, 13:34
I looked at the code and there was an issue with the equipped slots at the 20 and 10 speeds but the slot container looks correct. Both can effect the speed rating so could be equipped slots causing it.
CrookedKnight
February 26th, 2026, 18:38
Everything seems fine now. Thanks!
bayne7400
February 26th, 2026, 19:01
Great. Yeah the issue was carried not stored. Thank you for the feedback
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.