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