|  |  | @ -43,6 +43,11 @@ local function reg(name, basename, basedef) | 
			
		
	
		
		
			
				
					
					|  |  |  |     end |  |  |  |     end | 
			
		
	
		
		
			
				
					
					|  |  |  |     nodeDesc = nodeDesc .. " Stone" |  |  |  |     nodeDesc = nodeDesc .. " Stone" | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     local stone_selection_box = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         type = "fixed", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         fixed = {-7/16, -8/16, -7/16, 7/16, 0/16, 7/16} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     minetest.register_node(":" .. piecename, { |  |  |  |     minetest.register_node(":" .. piecename, { | 
			
		
	
		
		
			
				
					
					|  |  |  |         description = nodeDesc, |  |  |  |         description = nodeDesc, | 
			
		
	
		
		
			
				
					
					|  |  |  |         drawtype = "nodebox", |  |  |  |         drawtype = "nodebox", | 
			
		
	
	
		
		
			
				
					|  |  | @ -85,10 +90,8 @@ local function reg(name, basename, basedef) | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         selection_box = { |  |  |  |         selection_box = stone_selection_box, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             type = "fixed", |  |  |  |         collision_box = stone_selection_box, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             fixed = {-7/16, -8/16, -7/16, 7/16, 2/16, 7/16} |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         tiles = { |  |  |  |         tiles = { | 
			
		
	
		
		
			
				
					
					|  |  |  |             basedef.tiles[1] |  |  |  |             basedef.tiles[1] | 
			
		
	
	
		
		
			
				
					|  |  | @ -115,6 +118,11 @@ local function reg(name, basename, basedef) | 
			
		
	
		
		
			
				
					
					|  |  |  |         on_dig = lc_liberties.handle_dig, |  |  |  |         on_dig = lc_liberties.handle_dig, | 
			
		
	
		
		
			
				
					
					|  |  |  |     }) |  |  |  |     }) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     local territory_selection_box = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         type = "fixed", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         fixed = {-5/16, -8/16, -5/16, 5/16, -2/16, 5/16} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     local territory_name = modname .. ":territory_" .. string_lower(name) |  |  |  |     local territory_name = modname .. ":territory_" .. string_lower(name) | 
			
		
	
		
		
			
				
					
					|  |  |  |     minetest.register_node(":" .. territory_name, { |  |  |  |     minetest.register_node(":" .. territory_name, { | 
			
		
	
		
		
			
				
					
					|  |  |  |         description = "Territory Marker", |  |  |  |         description = "Territory Marker", | 
			
		
	
	
		
		
			
				
					|  |  | @ -128,10 +136,8 @@ local function reg(name, basename, basedef) | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         selection_box = { |  |  |  |         selection_box = territory_selection_box, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             type = "fixed", |  |  |  |         collision_box = territory_selection_box, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             fixed = {-6/16, -8/16, -6/16, 6/16, 0/16, 6/16} |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         node_placement_prediction = "", |  |  |  |         node_placement_prediction = "", | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |