Nathan Salapat 5359a184c9 small updates. 1 jaar geleden
..
models c5ff874f9f Just pushing code. 3 jaren geleden
textures 5359a184c9 small updates. 1 jaar geleden
init.lua c5ff874f9f Just pushing code. 3 jaren geleden
license.txt 9998f5a580 New tasks and weapons. 2 jaren geleden
mod.conf ac1bc24e75 Removed deprecated code, added artwork mod. 3 jaren geleden
readme.txt ac1bc24e75 Removed deprecated code, added artwork mod. 3 jaren geleden
registrations.lua 5359a184c9 small updates. 1 jaar geleden

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.