Paintings Library
A simple paintings library for MTG and potentially others in future.
building creative decorative library
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/
Links
- Source: https://gitlab.com/TheOnlyJoeEnderman/Paintings_Lib
- Original ContentDB page: content.luanti.org/packages/JoeEnderman/paintings_lib/
License
MIT
Media license: CC0-1.0
Development state
BETA
| Version | Date | Min engine | Size | Download |
|---|---|---|---|---|
| 1.1.0 | 2024-01-06 02:13:53 | 5.3 | 111.1 KB | Download |