Traitor/mods/decals
Nathan Salapat b3a346d549 fix #24 2022-05-05 21:31:58 -05:00
..
models Added decals 2021-01-12 20:24:58 -06:00
textures fix #24 2022-05-05 21:31:58 -05:00
alphanumeric.lua Added brush to change colored nodes. 2021-11-13 09:48:41 -06:00
colored.lua Added decals, artwork, furniture, and tasks. 2022-01-08 18:32:03 -06:00
init.lua Added decals, artwork, furniture, and tasks. 2022-01-08 18:32:03 -06:00
license.txt Add license for my textures 2022-05-05 19:16:59 -05:00
mod.conf Fixed corpse placement in liquids, updated some deprecated code. 2022-03-06 16:44:03 -06:00
readme.txt Documentation and code refactor. 2021-02-09 22:25:19 -06:00
shapes.lua Add new decals for decorative patterns 2022-04-24 08:00:43 -05:00

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