Add colored inventory/wield image for leaves
|
@ -152,6 +152,7 @@ local function register_leaves(subname, description, longdesc, tiles, sapling, d
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
palette = "mcl_core_palette_grass.png",
|
palette = "mcl_core_palette_grass.png",
|
||||||
|
wield_image = tiles[1]:gsub(".png","_inv.png"),
|
||||||
groups = {
|
groups = {
|
||||||
handy = 1, hoey = 1, shearsy = 1, swordy = 1, dig_by_piston = 1,
|
handy = 1, hoey = 1, shearsy = 1, swordy = 1, dig_by_piston = 1,
|
||||||
leaves = 1, leafdecay = leafdecay_distance, deco_block = 1,
|
leaves = 1, leafdecay = leafdecay_distance, deco_block = 1,
|
||||||
|
|
After Width: | Height: | Size: 203 B |
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 228 B |
After Width: | Height: | Size: 208 B |
After Width: | Height: | Size: 216 B |
After Width: | Height: | Size: 214 B |
|
@ -97,6 +97,7 @@ minetest.register_node("mcl_mangrove:mangroveleaves", {
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
palette = "mcl_core_palette_grass.png",
|
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},
|
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,
|
_mcl_shears_drop = true,
|
||||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||||
|
|
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 276 B |
After Width: | Height: | Size: 395 B |