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

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