Skip to content
Snippets Groups Projects
Commit 75dfcdb1 authored by Calinou's avatar Calinou Committed by PilzAdam
Browse files

Add 3D signs

parent c332081e
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
mods/default/textures/default_sign.png

699 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment