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", {
|
||||
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,
|
||||
|
|
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