diff options
author | Maciej Kasatkin <mk@realbadangel.pl> | 2012-10-16 00:17:32 +0200 |
---|---|---|
committer | Maciej Kasatkin <mk@realbadangel.pl> | 2012-10-16 00:17:32 +0200 |
commit | 5a9e866d23ade15461cbcf339cfd4a1d58d4bf2d (patch) | |
tree | 51d5f699b19d7a7e18bd4e01f89eba2f374bb014 /solar_panel.lua | |
parent | 77e83840f56e364ef94a072fb161bb67c9ac5323 (diff) |
Update to battery box
Diffstat (limited to 'solar_panel.lua')
-rw-r--r-- | solar_panel.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solar_panel.lua b/solar_panel.lua index eacf987..f2d08f6 100644 --- a/solar_panel.lua +++ b/solar_panel.lua @@ -1,5 +1,5 @@ minetest.register_node("technic:solar_panel", { - tiles = {"technic_solar_panel_top.png", "technic_solar_panel_side.png", "technic_solar_panel_side.png", + tiles = {"technic_solar_panel_top.png", "technic_solar_panel_bottom.png", "technic_solar_panel_side.png", "technic_solar_panel_side.png", "technic_solar_panel_side.png", "technic_solar_panel_side.png"}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, sounds = default.node_sound_wood_defaults(), @@ -54,7 +54,7 @@ minetest.register_abm( local light = minetest.env:get_node_light(pos1, nil) local meta = minetest.env:get_meta(pos) if light == nil then light = 0 end - if light >= 12 then + if light >= 14 then meta:set_string("infotext", "Solar Panel is active ") meta:set_float("active",1) local internal_EU_buffer=meta:get_float("internal_EU_buffer") |