summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons_blinkyplant/init.lua4
-rw-r--r--mesecons_powerplant/init.lua10
-rw-r--r--mesecons_textures/textures/jeija_power_plant.pngbin227 -> 229 bytes
3 files changed, 9 insertions, 5 deletions
diff --git a/mesecons_blinkyplant/init.lua b/mesecons_blinkyplant/init.lua
index 9ae84aa..105a4db 100644
--- a/mesecons_blinkyplant/init.lua
+++ b/mesecons_blinkyplant/init.lua
@@ -1,7 +1,7 @@
-- The BLINKY_PLANT
minetest.register_node("mesecons_blinkyplant:blinky_plant_off", {
- drawtype = "torchlike",
+ drawtype = "plantlike",
visual_scale = 1,
tile_images = {"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", {
- drawtype = "torchlike",
+ drawtype = "plantlike",
visual_scale = 1,
tile_images = {"jeija_blinky_plant_on.png"},
inventory_image = "jeija_blinky_plant_off.png",
diff --git a/mesecons_powerplant/init.lua b/mesecons_powerplant/init.lua
index b7e4cde..6e3f263 100644
--- a/mesecons_powerplant/init.lua
+++ b/mesecons_powerplant/init.lua
@@ -1,4 +1,4 @@
--- The POWER_PLANT
+ -- The POWER_PLANT
minetest.register_node("mesecons_powerplant:power_plant", {
drawtype = "plantlike",
@@ -7,7 +7,7 @@ minetest.register_node("mesecons_powerplant:power_plant", {
inventory_image = "jeija_power_plant.png",
paramtype = "light",
walkable = false,
- groups = {snappy=3},
+ groups = {dig_immediate=3},
light_source = LIGHT_MAX-9,
description="Power Plant",
after_place_node = function(pos)
@@ -15,7 +15,11 @@ minetest.register_node("mesecons_powerplant:power_plant", {
end,
after_dig_node = function(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({
diff --git a/mesecons_textures/textures/jeija_power_plant.png b/mesecons_textures/textures/jeija_power_plant.png
index 0c92dd0..6528f57 100644
--- a/mesecons_textures/textures/jeija_power_plant.png
+++ b/mesecons_textures/textures/jeija_power_plant.png
Binary files differ