Add colored inventory/wield image for leaves

This commit is contained in:
cora 2022-10-01 04:13:53 +02:00 committed by Gitea
parent 603e0ba774
commit 5aa97c601f
10 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,7 @@ local function register_leaves(subname, description, longdesc, tiles, sapling, d
paramtype = "light",
paramtype2 = "color",
palette = "mcl_core_palette_grass.png",
wield_image = tiles[1]:gsub(".png","_inv.png"),
groups = {
handy = 1, hoey = 1, shearsy = 1, swordy = 1, dig_by_piston = 1,
leaves = 1, leafdecay = leafdecay_distance, deco_block = 1,

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

View File

@ -97,6 +97,7 @@ minetest.register_node("mcl_mangrove:mangroveleaves", {
paramtype = "light",
paramtype2 = "color",
palette = "mcl_core_palette_grass.png",
wield_image = "mcl_mangrove_leaves_inv.png",
groups = {handy=1,shearsy=1,swordy=1, leafdecay=10, flammable=2, leaves=1, deco_block=1, dig_by_piston=1, fire_encouragement=30, fire_flammability=60},
_mcl_shears_drop = true,
sounds = mcl_sounds.node_sound_leaves_defaults(),

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B