diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-14 03:35:57 +0200 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-14 03:35:57 +0200 |
commit | 22b833d93d5803b2eedfa1542b79628fa0fe59ae (patch) | |
tree | 4eb478c6b6d42dcedf083614ff2727e397c38817 | |
parent | f9ede8b64d68332826675055c02488d62629c1b2 (diff) |
changed buy-references to protect
-rw-r--r-- | init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |