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

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B