Skip to content

Commit

Permalink
Add 3D signs
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinou authored and PilzAdam committed Dec 12, 2014
1 parent c332081 commit 75dfcdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mods/default/nodes.lua
Expand Up @@ -694,20 +694,20 @@ 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",
paramtype2 = "wallmounted",
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,
Expand Down
Binary file added mods/default/textures/default_sign.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 75dfcdb

Please sign in to comment.