diff options
author | Kotolegokot <gkotolegokot@gmail.com> | 2012-08-01 19:36:32 +0600 |
---|---|---|
committer | Kotolegokot <gkotolegokot@gmail.com> | 2012-08-01 19:36:32 +0600 |
commit | 20d1b9dd524931204e8a69eefaf60a534247acf9 (patch) | |
tree | d673343390b9ce57f333104df69081e343314c5d | |
parent | 35de798dcd78809ae50629e3bcf46e9d93b1729e (diff) | |
download | mesecons-20d1b9dd524931204e8a69eefaf60a534247acf9.tar mesecons-20d1b9dd524931204e8a69eefaf60a534247acf9.tar.gz mesecons-20d1b9dd524931204e8a69eefaf60a534247acf9.tar.bz2 mesecons-20d1b9dd524931204e8a69eefaf60a534247acf9.tar.xz mesecons-20d1b9dd524931204e8a69eefaf60a534247acf9.zip |
Power Plant
-rw-r--r-- | mesecons_blinkyplant/init.lua | 4 | ||||
-rw-r--r-- | mesecons_powerplant/init.lua | 10 | ||||
-rw-r--r-- | mesecons_textures/textures/jeija_power_plant.png | bin | 227 -> 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 Binary files differindex 0c92dd0..6528f57 100644 --- a/mesecons_textures/textures/jeija_power_plant.png +++ b/mesecons_textures/textures/jeija_power_plant.png |