mirror of
https://github.com/minetest-mods/carpets.git
synced 2024-12-21 04:45:42 +01:00
7a7b915c66
Update api obsolete documentation in README.md.
16 lines
512 B
Markdown
16 lines
512 B
Markdown
# Carpets mod for minetest
|
|
|
|
This mod adds 15 colorized wool carpets to the minetest.
|
|
|
|
![](https://github.com/bell07/minetest-carpets/blob/master/screenshot.png)
|
|
|
|
Maintained version, based on https://forum.minetest.net/viewtopic.php?t=15459 and https://forum.minetest.net/viewtopic.php?f=11&t=11637
|
|
|
|
License: LGPL-2.1+.
|
|
|
|
The mod provides an api to register more carpets using template nodes
|
|
Example:
|
|
```lua
|
|
carpets.register('default:dirt', {description=S('Carpet dirt')}) -- registers carpet looks like dirt
|
|
```
|