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

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