diff --git a/init.lua b/init.lua index 175d563..a228bee 100644 --- a/init.lua +++ b/init.lua @@ -331,8 +331,8 @@ markers.get_marker_formspec = function(player, pos, error_msg) "button_exit[2,6.0;2,0.5;abort;OK]"; else formspec = formspec.. - 'label[0.5,2.0;Buying this area will cost you ]'.. - 'label[4.7,2.0;'..markers.calculate_area_price_text( coords[1], coords[2], name )..'.]'.. +-- 'label[0.5,2.0;Buying this area will cost you ]'.. +-- 'label[4.7,2.0;'..markers.calculate_area_price_text( coords[1], coords[2], name )..'.]'.. 'label[0.5,3.0;Your area ought to go..]'.. 'label[0.5,3.5;this many blocks up:]'.. @@ -348,7 +348,7 @@ markers.get_marker_formspec = function(player, pos, error_msg) "button_exit[2,6.0;2,0.5;abort;Abort]".. -- code the position in the "Buy area" field - "button_exit[6,6.0;2,0.5;"..minetest.pos_to_string(pos)..";Buy area]"; + "button_exit[6,6.0;2,0.5;"..minetest.pos_to_string(pos)..";Protect area]"; end return formspec; @@ -469,7 +469,7 @@ markers.form_input_handler = function( player, formname, fields) --- decode the position of the marker (which is hidden in the Buy-buttons name local pos = {}; for k, v in pairs( fields ) do - if( v == 'Buy area' ) then + if( v == 'Protect area' ) then pos = minetest.string_to_pos( k ); end end