forked from Mirrorlandia_minetest/mesecons
Power Plant
This commit is contained in:
parent
35de798dcd
commit
20d1b9dd52
@ -1,7 +1,7 @@
|
|||||||
-- The BLINKY_PLANT
|
-- The BLINKY_PLANT
|
||||||
|
|
||||||
minetest.register_node("mesecons_blinkyplant:blinky_plant_off", {
|
minetest.register_node("mesecons_blinkyplant:blinky_plant_off", {
|
||||||
drawtype = "torchlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = 1,
|
visual_scale = 1,
|
||||||
tile_images = {"jeija_blinky_plant_off.png"},
|
tile_images = {"jeija_blinky_plant_off.png"},
|
||||||
inventory_image = "jeija_blinky_plant_off.png",
|
inventory_image = "jeija_blinky_plant_off.png",
|
||||||
@ -16,7 +16,7 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_off", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("mesecons_blinkyplant:blinky_plant_on", {
|
minetest.register_node("mesecons_blinkyplant:blinky_plant_on", {
|
||||||
drawtype = "torchlike",
|
drawtype = "plantlike",
|
||||||
visual_scale = 1,
|
visual_scale = 1,
|
||||||
tile_images = {"jeija_blinky_plant_on.png"},
|
tile_images = {"jeija_blinky_plant_on.png"},
|
||||||
inventory_image = "jeija_blinky_plant_off.png",
|
inventory_image = "jeija_blinky_plant_off.png",
|
||||||
|
@ -7,7 +7,7 @@ minetest.register_node("mesecons_powerplant:power_plant", {
|
|||||||
inventory_image = "jeija_power_plant.png",
|
inventory_image = "jeija_power_plant.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {snappy=3},
|
groups = {dig_immediate=3},
|
||||||
light_source = LIGHT_MAX-9,
|
light_source = LIGHT_MAX-9,
|
||||||
description="Power Plant",
|
description="Power Plant",
|
||||||
after_place_node = function(pos)
|
after_place_node = function(pos)
|
||||||
@ -15,7 +15,11 @@ minetest.register_node("mesecons_powerplant:power_plant", {
|
|||||||
end,
|
end,
|
||||||
after_dig_node = function(pos)
|
after_dig_node = function(pos)
|
||||||
mesecon:receptor_off(pos)
|
mesecon:receptor_off(pos)
|
||||||
end
|
end,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 229 B |
Loading…
Reference in New Issue
Block a user