forked from nalc/nalc_game
Add 3D signs
This commit is contained in:
parent
c332081e81
commit
75dfcdb1e7
|
@ -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,
|
||||||
|
|
BIN
mods/default/textures/default_sign.png
Normal file
BIN
mods/default/textures/default_sign.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 699 B |
Loading…
Reference in New Issue
Block a user