Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

luanti inventory pouches update from upstream

I have some small fixes for Luanti mod inventory_pouches (ContentDB). I have sent them to upstream when I wrote them, but they have not been absorbed yet.

Upstream had a new commit that fixes color dyeing! It's pretty great. So I didn't need my color fixes anymore, and my remaining patches applied cleanly.

  • persist inventory across server restarts
  • load pouches when player logs in (affects inventory_icon mod)
  • fix pouch inventory alignment (graphical only, MCL)

I wrote a new patch also, to convert the old color system to the new color system, when the player opens the pouch. So as long as the player has used the pouch once, then he can re-dye the pouch in the expected fashion if desired.

I also needed to patch inventory_icon to read the new meta attribute that stores the color.

Screenshot showing dyeing a pouch in Mineclonia

Comments