Add 3D signs

This commit is contained in:
Calinou 2014-11-30 09:05:10 +01:00 committed by PilzAdam
parent c332081e81
commit 75dfcdb1e7
2 changed files with 6 additions and 6 deletions

View File

@ -694,8 +694,8 @@ minetest.register_node("default:torch", {
minetest.register_node("default:sign_wall", { minetest.register_node("default:sign_wall", {
description = "Sign", description = "Sign",
drawtype = "signlike", drawtype = "nodebox",
tiles = {"default_sign_wall.png"}, tiles = {"default_sign.png"},
inventory_image = "default_sign_wall.png", inventory_image = "default_sign_wall.png",
wield_image = "default_sign_wall.png", wield_image = "default_sign_wall.png",
paramtype = "light", paramtype = "light",
@ -703,11 +703,11 @@ minetest.register_node("default:sign_wall", {
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false, is_ground_content = false,
walkable = false, walkable = false,
selection_box = { node_box = {
type = "wallmounted", type = "wallmounted",
--wall_top = <default> wall_top = {-0.4375, 0.4375, -0.3125, 0.4375, 0.5, 0.3125},
--wall_bottom = <default> wall_bottom = {-0.4375, -0.5, -0.3125, 0.4375, -0.4375, 0.3125},
--wall_side = <default> wall_side = {-0.5, -0.3125, -0.4375, -0.4375, 0.3125, 0.4375},
}, },
groups = {choppy=2,dig_immediate=2,attached_node=1}, groups = {choppy=2,dig_immediate=2,attached_node=1},
legacy_wallmounted = true, legacy_wallmounted = true,

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B