diff options
author | tenplus1 <kinsellaja@yahoo.com> | 2014-11-23 16:43:06 +0000 |
---|---|---|
committer | tenplus1 <kinsellaja@yahoo.com> | 2014-11-23 16:43:06 +0000 |
commit | 31472450411a74c900a69477c13c9efd73e93e77 (patch) | |
tree | 05d7be6183f2ad84c0cbfd4e51feccf27e2d2e65 | |
parent | 60e46fa0060f2b642f44032797cc1fd20e75dc6f (diff) |
Changed: protection field texture change
-rw-r--r-- | init.lua | 10 | ||||
-rw-r--r-- | textures/protector_display.png | bin | 144 -> 96 bytes |
2 files changed, 0 insertions, 10 deletions
@@ -215,7 +215,6 @@ minetest.register_node("protector:protect", { return end - local objs = minetest.env:get_objects_inside_radius(pos,.5) minetest.env:add_entity(pos, "protector:display") minetest.env:get_node_timer(pos):start(10) end, @@ -291,7 +290,6 @@ minetest.register_node("protector:protect2", { return end - local objs = minetest.env:get_objects_inside_radius(pos,.5) minetest.env:add_entity(pos, "protector:display") minetest.env:get_node_timer(pos):start(10) end, @@ -341,14 +339,6 @@ minetest.register_on_player_receive_fields(function(player,formname,fields) end end - if fields.protector_page_prev then - meta:set_int("page",meta:get_int("page")-1) - end - - if fields.protector_page_next then - meta:set_int("page",meta:get_int("page")+1) - end - if fields.close_me then meta:set_int("page",meta:get_int("page")) else minetest.show_formspec(player:get_player_name(), formname, protector.generate_formspec(meta)) diff --git a/textures/protector_display.png b/textures/protector_display.png Binary files differindex 7a43ac0..6d7ec7d 100644 --- a/textures/protector_display.png +++ b/textures/protector_display.png |