Nathan Salapat b3a346d549 fix #24 hace 2 años
..
models a65bb67f3a Added decals hace 4 años
textures b3a346d549 fix #24 hace 2 años
alphanumeric.lua 1ac98a2914 Added brush to change colored nodes. hace 3 años
colored.lua a1c79a2531 Added decals, artwork, furniture, and tasks. hace 3 años
init.lua a1c79a2531 Added decals, artwork, furniture, and tasks. hace 3 años
license.txt 0cd48ebc90 Add license for my textures hace 2 años
mod.conf 663ba77fa0 Fixed corpse placement in liquids, updated some deprecated code. hace 2 años
readme.txt a130f93272 Documentation and code refactor. hace 3 años
shapes.lua 34bedf0cfd Add new decals for decorative patterns hace 2 años

readme.txt

The decals mod allows you to easily add decals with a single function.
Decals can be placed in any orientation. Cycle through the different colors by right or left clicking.

decals.register_decal(name, desc)

the name variable is the internal name of the node, also it is the name of the texture.
the desc is the node description.

example:

decals.register_decal('sample', 'This is a sample decal')

The texture in this example should be named decals_sample.png