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