Paintings Library

Download (111 KB)
For Luanti 5.3 and above

How do I install this?

Description

Now it Registers Properly 🔗

I thought I had properly vetted the code and it was doing what I wanted. But, nope, the API was never using the ID field, and used the Name field as the ID. I don't know why Minetest allowed Capitalized node IDs. This has been fixed, and should work excellently now. Unfortunately, all previously registed paintings will be lost. My apologies for this. I have added around 20ish paintings to the Gallery below to help lessen the blow.

A simple paintings library that lets you easily add 1x1, 1x2, 2x1, 2x2, 3x2, 3x3, 4x2, 4x3, and 4x4 paintings. The API has a seperate registration for each painting size to keep things simple. All your mod has to have is a painting texture of the right size and shape and paintings_lib.register1x1("painting_name", "Painting Description", "painting_texture.png^painting_frame_texture.png") for specific examples, just look at the paintings.lua of this or paintings_gallery. Want to actually get some paintings without having to register them yourself? the Version II is better in my opinion, but both are here.

Newer version: 🔗

Temp link until it gets approved.

🔗

https://content.luanti.org/packages/JoeEnderman/paintings_galleryii/

First version: 🔗

https://content.luanti.org/packages/JoeEnderman/paintings_gallery/

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

1.1.0

Download

Luanti 5.3+

2024-01-06 02:13 UTC

1.1.0 🔗

No release notes

1.0.0

Download

Luanti 5.3+

2023-06-03 00:02 UTC

1.0.0 🔗

No release notes

0.0.3

Download

Luanti 5.3+

2023-04-06 23:29 UTC

0.0.3 🔗

No release notes

0.0.2

Download

Luanti 5.3+

2023-04-03 01:37 UTC

0.0.2 🔗

No release notes

All releases