Toolbelt/Toolbelt/Bandolier are small items, creates a lot of Containable "excludeditems"
Disclaimers
- [X] I have searched the issue tracker to check if the issue has already been reported.
- [ ] My issue happened while using mods.
What happened?
Toolbelt/Toolbelt/Bandolier are defined as "smallitems" by default
This means a lot of containers that accept "smallitems" have to resort to exceptions as to avoid recursive inventory problems (containers inside containers)
As a result, you end up with lines like this:
Bandolier <Containable items="smallitem" excludeditems="toolbelt,toolbox,bandolier,cargoscooter" />
The cargo scooter is already a medium item too so it doesnt need to be there
As far as I've seen, the only containers that exclude mediumitems are: -Explosive crate -Medical crate -Chemical crate -Toolbelt -Storage containers (toolbox) -Bandolier -Cargo scooter
All of these have excludeditems for either toolbelts or toolboxes or bandoliers.
If Toolbelt/Toolbelt/Bandolier were mediumitems instead of smallitems, you could get rid of many excluded item lines (including the ones preventing to put Toolbelts inside Toolbelts) and make it easier for modded containers to avoid these recursive inventory scenarios and have to rely less on excludeditems.
From
<Containable items="smallitem" excludeditems="toolbelt,toolbox,bandolier,cargoscooter" />
To
<Containable items="smallitem" />
Side note: metal crates can currently hold toolbelts which feels like an oversight
Version
0.18.15.0