0
0
Fork 0

Tweak wield scales of a few items

This commit is contained in:
Wuzzy 2017-03-02 17:03:14 +01:00
parent 27c75caf25
commit 669c955da6
3 changed files with 5 additions and 1 deletions

View File

@ -64,6 +64,7 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
drawtype = "nodebox", drawtype = "nodebox",
tiles = {texture_off}, tiles = {texture_off},
wield_image = texture_off, wield_image = texture_off,
wield_scale = { x=1, y=1, z=0.5 },
paramtype = "light", paramtype = "light",
selection_box = pp_box_off, selection_box = pp_box_off,
node_box = pp_box_off, node_box = pp_box_off,
@ -89,6 +90,8 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
minetest.register_node(onstate, { minetest.register_node(onstate, {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {texture_on}, tiles = {texture_on},
wield_image = texture_on,
wield_scale = { x=1, y=1, z=0.25 },
paramtype = "light", paramtype = "light",
selection_box = pp_box_on, selection_box = pp_box_on,
node_box = pp_box_on, node_box = pp_box_on,

View File

@ -1663,7 +1663,7 @@ minetest.register_node("mcl_core:snow", {
description = "Top Snow", description = "Top Snow",
tiles = {"default_snow.png"}, tiles = {"default_snow.png"},
wield_image = "default_snow.png", wield_image = "default_snow.png",
wield_scale = { x=1, y=1, z=2 }, wield_scale = { x=1, y=1, z=1 },
is_ground_content = true, is_ground_content = true,
paramtype = "light", paramtype = "light",
buildable_to = true, buildable_to = true,

View File

@ -49,6 +49,7 @@ for _, row in ipairs(wool.dyes) do
is_ground_content = false, is_ground_content = false,
tiles = {"wool_"..texture..".png"}, tiles = {"wool_"..texture..".png"},
wield_image = "wool_"..name..".png", wield_image = "wool_"..name..".png",
wield_scale = { x=1, y=1, z=0.5 },
groups = {handy=1, carpet=1,deco_block=1}, groups = {handy=1, carpet=1,deco_block=1},
sounds = mcl_sounds.node_sound_defaults(), sounds = mcl_sounds.node_sound_defaults(),
paramtype = "light", paramtype = "light",