Voxelis/mods/ITEMS/vox_main/textiles.lua
2024-12-12 12:35:15 -08:00

29 lines
No EOL
892 B
Lua

-- ---------------------------- Dyeable Nodes -------------------------- --
-- List of dyeable things
local dyeable_craftitem = {"wool, carpet"}
-- ---------------------------- Basics -------------------------- --
-- "We've got wool and wool accessories.
-- String
minetest.register_craftitem("vox_main:string", {
description = "String",
inventory_image = "vox_main_string.png"
})
-- Wool
minetest.register_node("vox_main:wool", {
description = "Wool",
tiles = {"vox_textiles_wool.png"},
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=3},
sounds = default.node_sound_defaults(),
})
-- Carpet
-- These are made from wool and can be dyed
minetest.register_node("vox_main:carpet", {
description = "Carpet",
tiles = {"vox_textiles_carpet.png"},
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=3},
sounds = default.node_sound_defaults(),
})