forked from minetest-mods/mesecons
Wield images for raillike nodes, remove inventory images for nodes that never appear in the inventory.
This commit is contained in:
parent
f54166af45
commit
e94941931d
|
@ -82,6 +82,7 @@ minetest.register_node("jeija:mesecon_off", {
|
|||
drawtype = "raillike",
|
||||
tile_images = {"jeija_mesecon_off.png", "jeija_mesecon_curved_off.png", "jeija_mesecon_t_junction_off.png", "jeija_mesecon_crossing_off.png"},
|
||||
inventory_image = "jeija_mesecon_off.png",
|
||||
wield_image = "jeija_mesecon_off.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
|
@ -95,7 +96,6 @@ minetest.register_node("jeija:mesecon_off", {
|
|||
minetest.register_node("jeija:mesecon_on", {
|
||||
drawtype = "raillike",
|
||||
tile_images = {"jeija_mesecon_on.png", "jeija_mesecon_curved_on.png", "jeija_mesecon_t_junction_on.png", "jeija_mesecon_crossing_on.png"},
|
||||
inventory_image = "jeija_mesecon_on.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
|
@ -105,7 +105,6 @@ minetest.register_node("jeija:mesecon_on", {
|
|||
material = minetest.digprop_constanttime(0.1),
|
||||
drop = '"jeija:mesecon_off" 1',
|
||||
light_source = LIGHT_MAX-11,
|
||||
description="Mesecons",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -666,6 +665,7 @@ minetest.register_node("jeija:solar_panel", {
|
|||
drawtype = "raillike",
|
||||
tile_images = {"jeija_solar_panel.png"},
|
||||
inventory_image = "jeija_solar_panel.png",
|
||||
wield_image = "jeija_solar_panel.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
is_ground_content = true,
|
||||
|
|
|
@ -4,6 +4,7 @@ minetest.register_node("jeija:pressure_plate_wood_off", {
|
|||
drawtype = "raillike",
|
||||
tile_images = {"jeija_pressure_plate_wood_off.png"},
|
||||
inventory_image = "jeija_pressure_plate_wood_off.png",
|
||||
wield_image = "jeija_pressure_plate_wood_off.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
|
@ -17,7 +18,6 @@ minetest.register_node("jeija:pressure_plate_wood_off", {
|
|||
minetest.register_node("jeija:pressure_plate_wood_on", {
|
||||
drawtype = "raillike",
|
||||
tile_images = {"jeija_pressure_plate_wood_on.png"},
|
||||
inventory_image = "jeija_pressure_plate_wood_on.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
|
@ -26,7 +26,6 @@ minetest.register_node("jeija:pressure_plate_wood_on", {
|
|||
},
|
||||
material = minetest.digprop_constanttime(0.3),
|
||||
drop='"jeija:pressure_plate_wood_off" 1',
|
||||
description="Wood Pressure Plate",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -82,6 +81,7 @@ minetest.register_node("jeija:pressure_plate_stone_off", {
|
|||
drawtype = "raillike",
|
||||
tile_images = {"jeija_pressure_plate_stone_off.png"},
|
||||
inventory_image = "jeija_pressure_plate_stone_off.png",
|
||||
wield_image = "jeija_pressure_plate_stone_off.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
|
@ -95,7 +95,6 @@ minetest.register_node("jeija:pressure_plate_stone_off", {
|
|||
minetest.register_node("jeija:pressure_plate_stone_on", {
|
||||
drawtype = "raillike",
|
||||
tile_images = {"jeija_pressure_plate_stone_on.png"},
|
||||
inventory_image = "jeija_pressure_plate_stone_on.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
|
@ -104,7 +103,6 @@ minetest.register_node("jeija:pressure_plate_stone_on", {
|
|||
},
|
||||
material = minetest.digprop_constanttime(0.3),
|
||||
drop='"jeija:pressure_plate_stone_off" 1',
|
||||
description="Stone Pressure Plate",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
--TEMPEREST-PLUG
|
||||
|
||||
minetest.register_node("jeija:mesecon_plug", {
|
||||
description = "Plug",
|
||||
drawtype = "raillike",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
tile_images = {"jeija_mesecon_plug.png"},
|
||||
inventory_image = "jeija_mesecon_plug.png",
|
||||
wield_image = "jeija_mesecon_plug.png",
|
||||
material = minetest.digprop_constanttime(0.1),
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
},
|
||||
description = "Plug",
|
||||
})
|
||||
|
||||
mesecon:register_on_signal_on(function(pos, node)
|
||||
|
@ -120,6 +121,7 @@ minetest.register_node("jeija:mesecon_socket_off", {
|
|||
is_ground_content = true,
|
||||
tile_images = {"jeija_mesecon_socket_off.png"},
|
||||
inventory_image = "jeija_mesecon_socket_off.png",
|
||||
wield_image = "jeija_mesecon_socket_off.png",
|
||||
material = minetest.digprop_constanttime(0.1),
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
|
@ -132,7 +134,6 @@ minetest.register_node("jeija:mesecon_socket_on", {
|
|||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
tile_images = {"jeija_mesecon_socket_on.png"},
|
||||
inventory_image = "jeija_mesecon_socket_on.png",
|
||||
material = minetest.digprop_constanttime(0.1),
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
|
@ -170,6 +171,7 @@ minetest.register_node("jeija:mesecon_inverter_off", {
|
|||
is_ground_content = true,
|
||||
tile_images = {"jeija_mesecon_inverter_off.png"},
|
||||
inventory_image = "jeija_mesecon_inverter_off.png",
|
||||
wield_image = "jeija_mesecon_inverter_off.png",
|
||||
material = minetest.digprop_constanttime(0.1),
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
|
@ -182,7 +184,6 @@ minetest.register_node("jeija:mesecon_inverter_on", {
|
|||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
tile_images = {"jeija_mesecon_inverter_on.png"},
|
||||
inventory_image = "jeija_mesecon_inverter_on.png",
|
||||
material = minetest.digprop_constanttime(0.1),
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user