Nathan Salapat 5359a184c9 small updates. hai 1 ano
..
models c5ff874f9f Just pushing code. %!s(int64=3) %!d(string=hai) anos
textures 5359a184c9 small updates. hai 1 ano
init.lua c5ff874f9f Just pushing code. %!s(int64=3) %!d(string=hai) anos
license.txt 9998f5a580 New tasks and weapons. %!s(int64=2) %!d(string=hai) anos
mod.conf ac1bc24e75 Removed deprecated code, added artwork mod. %!s(int64=3) %!d(string=hai) anos
readme.txt ac1bc24e75 Removed deprecated code, added artwork mod. %!s(int64=3) %!d(string=hai) anos
registrations.lua 5359a184c9 small updates. hai 1 ano

readme.txt

This mod allows for easily registering paintings and other decorative nodes.
Use one of the three functions to register your artwork.

artwork.register_full(name, desc)
artwork.register_landscape(name, desc)
artwork.register_portrait(name, desc)

where name is the node and texture name and desc is the node description.

Texture should be provided as a 64x64 px image with details no smaller than 50px in either direction.

_full will register a node that is 2x2, centered to a single node, so it overlaps the surrounding nodes.
_landscape registers a node that is 1.5x2 also centered to a single node.
_portrait registers a node that is 2x1.5, also centered to a single node.