mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-08-20 21:16:13 +02:00
Replace old wall button with a fancy new 3d button
This commit is contained in:
parent
1712523772
commit
3a6b099ae1
@ -1,26 +1,36 @@
|
||||
-- WALL BUTTON
|
||||
minetest.register_node("mesecons_button:button_off", {
|
||||
drawtype = "signlike",
|
||||
drawtype = "nodebox",
|
||||
tile_images = {"jeija_wall_button_off.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
paramtype2 = "facedir",
|
||||
legacy_wallmounted = true,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.15, 0.3, 0.2, 0.15, 0.5},
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.15, 0.3, 0.2, 0.15, 0.5},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
description = "Button",
|
||||
})
|
||||
minetest.register_node("mesecons_button:button_on", {
|
||||
drawtype = "signlike",
|
||||
drawtype = "nodebox",
|
||||
tile_images = {"jeija_wall_button_on.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
paramtype2 = "facedir",
|
||||
legacy_wallmounted = true,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.15, 0.4, 0.2, 0.15, 0.5},
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.15, 0.4, 0.2, 0.15, 0.5},
|
||||
},
|
||||
groups = {dig_immediate=2},
|
||||
drop = 'mesecons_button:button_off',
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 349 B |
Binary file not shown.
Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 563 B |
Loading…
Reference in New Issue
Block a user