Traitor/mods/artwork
Nathan Salapat 9380a5a460 Added some new furniture 2022-08-18 20:12:57 -05:00
..
models Just pushing code. 2021-10-22 20:30:22 -05:00
textures Added some new furniture 2022-08-18 20:12:57 -05:00
init.lua Just pushing code. 2021-10-22 20:30:22 -05:00
license.txt Updated textures, added new signs. 2022-01-20 21:25:59 -06:00
mod.conf Removed deprecated code, added artwork mod. 2021-09-21 07:49:04 -05:00
readme.txt Removed deprecated code, added artwork mod. 2021-09-21 07:49:04 -05:00
registrations.lua Added some new furniture 2022-08-18 20:12:57 -05:00

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.