Skip to content

Commit 75dfcdb

Browse files
CalinouPilzAdam
authored andcommittedDec 12, 2014
Add 3D signs
1 parent c332081 commit 75dfcdb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
 

Diff for: ‎mods/default/nodes.lua

+6-6
Original file line numberDiff line numberDiff line change
@@ -694,20 +694,20 @@ minetest.register_node("default:torch", {
694694

695695
minetest.register_node("default:sign_wall", {
696696
description = "Sign",
697-
drawtype = "signlike",
698-
tiles = {"default_sign_wall.png"},
697+
drawtype = "nodebox",
698+
tiles = {"default_sign.png"},
699699
inventory_image = "default_sign_wall.png",
700700
wield_image = "default_sign_wall.png",
701701
paramtype = "light",
702702
paramtype2 = "wallmounted",
703703
sunlight_propagates = true,
704704
is_ground_content = false,
705705
walkable = false,
706-
selection_box = {
706+
node_box = {
707707
type = "wallmounted",
708-
--wall_top = <default>
709-
--wall_bottom = <default>
710-
--wall_side = <default>
708+
wall_top = {-0.4375, 0.4375, -0.3125, 0.4375, 0.5, 0.3125},
709+
wall_bottom = {-0.4375, -0.5, -0.3125, 0.4375, -0.4375, 0.3125},
710+
wall_side = {-0.5, -0.3125, -0.4375, -0.4375, 0.3125, 0.4375},
711711
},
712712
groups = {choppy=2,dig_immediate=2,attached_node=1},
713713
legacy_wallmounted = true,

Diff for: ‎mods/default/textures/default_sign.png

699 Bytes
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.