forked from mad-star-studio/Voxelis
Last night's work
This commit is contained in:
parent
a260c4a33a
commit
1708e2d461
45 changed files with 1359 additions and 1347 deletions
29
mods/ITEMS/vox_main/textiles.lua
Normal file
29
mods/ITEMS/vox_main/textiles.lua
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
-- ---------------------------- 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(),
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue