Remplissage du dépôt.
							
								
								
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						@@ -0,0 +1,4 @@
 | 
			
		||||
*~
 | 
			
		||||
.DS_Store
 | 
			
		||||
Thumbs.db
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								depends.txt
									
									
									
									
									
										Executable file
									
								
							
							
						
						@@ -0,0 +1,2 @@
 | 
			
		||||
default
 | 
			
		||||
dye?
 | 
			
		||||
							
								
								
									
										118
									
								
								init.lua
									
									
									
									
									
										Executable file
									
								
							
							
						
						@@ -0,0 +1,118 @@
 | 
			
		||||
-- Minetest 0.4.7 mod: framedglass
 | 
			
		||||
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
	output = 'framedglass:wooden_framed_glass 4',
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{'default:glass', 'default:glass', 'default:stick'},
 | 
			
		||||
		{'default:glass', 'default:glass', 'default:stick'},
 | 
			
		||||
		{'default:stick', 'default:stick', ''},
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
	output = 'framedglass:steel_framed_glass 4',
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{'default:glass', 'default:glass', 'default:steel_ingot'},
 | 
			
		||||
		{'default:glass', 'default:glass', 'default:steel_ingot'},
 | 
			
		||||
		{'default:steel_ingot', 'default:steel_ingot', ''},
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
	output = 'framedglass:wooden_framed_obsidian_glass 4',
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{'default:obsidian_glass', 'default:obsidian_glass', 'default:stick'},
 | 
			
		||||
		{'default:obsidian_glass', 'default:obsidian_glass', 'default:stick'},
 | 
			
		||||
		{'default:stick', 'default:stick', ''},
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
	output = 'framedglass:steel_framed_obsidian_glass 4',
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{'default:obsidian_glass', 'default:obsidian_glass', 'default:steel_ingot'},
 | 
			
		||||
		{'default:obsidian_glass', 'default:obsidian_glass', 'default:steel_ingot'},
 | 
			
		||||
		{'default:steel_ingot', 'default:steel_ingot', ''},
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_node("framedglass:wooden_framed_glass", {
 | 
			
		||||
	description = "Wooden-framed Glass",
 | 
			
		||||
	drawtype = "glasslike_framed_optional",
 | 
			
		||||
	tiles = {"framedglass_woodenglass_face_streaks_frame.png","framedglass_glass_face_streaks.png"},
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	groups = {cracky=3,oddly_breakable_by_hand=3},
 | 
			
		||||
	sounds = default.node_sound_glass_defaults(),
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_node("framedglass:steel_framed_glass", {
 | 
			
		||||
	description = "Steel-framed Glass",
 | 
			
		||||
	drawtype = "glasslike_framed_optional",
 | 
			
		||||
	tiles = {"framedglass_steelglass_face_streaks_frame.png","framedglass_glass_face_streaks.png"},
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	groups = {cracky=3,oddly_breakable_by_hand=3},
 | 
			
		||||
	sounds = default.node_sound_glass_defaults(),
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_node("framedglass:wooden_framed_obsidian_glass", {
 | 
			
		||||
	description = "Wooden-framed Obsidian Glass",
 | 
			
		||||
	drawtype = "glasslike_framed_optional",
 | 
			
		||||
	tiles = {"framedglass_woodenglass_face_clean_frame.png","framedglass_glass_face_clean.png"},
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	groups = {cracky=3,oddly_breakable_by_hand=3},
 | 
			
		||||
	sounds = default.node_sound_glass_defaults(),
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_node("framedglass:steel_framed_obsidian_glass", {
 | 
			
		||||
	description = "Steel-framed Obsidian Glass",
 | 
			
		||||
	drawtype = "glasslike_framed_optional",
 | 
			
		||||
	tiles = {"framedglass_steelglass_face_clean_frame.png","framedglass_glass_face_clean.png"},
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	groups = {cracky=3,oddly_breakable_by_hand=3},
 | 
			
		||||
	sounds = default.node_sound_glass_defaults(),
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
function add_coloured_framedglass(name, desc, dye)
 | 
			
		||||
	minetest.register_node( "framedglass:steel_framed_obsidian_glass"..name, {
 | 
			
		||||
		description = "Steel-framed "..desc.." Obsidian Glass",
 | 
			
		||||
		tiles = {"framedglass_".. name.. "glass_frame.png", "framedglass_".. name.. "glass.png"},
 | 
			
		||||
		drawtype = "glasslike_framed_optional",
 | 
			
		||||
		paramtype = "light",
 | 
			
		||||
		sunlight_propagates = true,
 | 
			
		||||
		is_ground_content = true,
 | 
			
		||||
		use_texture_alpha = true,
 | 
			
		||||
		groups = {cracky=3},
 | 
			
		||||
		sounds = default.node_sound_glass_defaults(),
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	minetest.register_craft({
 | 
			
		||||
		type = "shapeless",
 | 
			
		||||
		output = "framedglass:steel_framed_obsidian_glass"..name,
 | 
			
		||||
		recipe = {
 | 
			
		||||
			"framedglass:steel_framed_glass",
 | 
			
		||||
			"group:basecolor_white",
 | 
			
		||||
			dye
 | 
			
		||||
		}
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
add_coloured_framedglass ("red","Red","group:basecolor_red")
 | 
			
		||||
add_coloured_framedglass ("green","Green","group:basecolor_green")
 | 
			
		||||
add_coloured_framedglass ("blue","Blue","group:basecolor_blue")
 | 
			
		||||
add_coloured_framedglass ("cyan","Cyan","group:basecolor_cyan")
 | 
			
		||||
add_coloured_framedglass ("darkgreen","Dark Green","group:unicolor_dark_green")
 | 
			
		||||
add_coloured_framedglass ("violet","Violet","group:excolor_violet")
 | 
			
		||||
add_coloured_framedglass ("pink","Pink","group:unicolor_light_red")
 | 
			
		||||
add_coloured_framedglass ("yellow","Yellow","group:basecolor_yellow")
 | 
			
		||||
add_coloured_framedglass ("orange","Orange","group:basecolor_orange")
 | 
			
		||||
add_coloured_framedglass ("brown","Brown","group:unicolor_dark_orange")
 | 
			
		||||
add_coloured_framedglass ("white","White","group:basecolor_white")
 | 
			
		||||
add_coloured_framedglass ("grey","Grey","group:basecolor_grey")
 | 
			
		||||
add_coloured_framedglass ("darkgrey","Dark Grey","group:excolor_darkgrey")
 | 
			
		||||
add_coloured_framedglass ("black","Black","group:basecolor_black")
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_blackglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 346 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_blackglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 556 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_blueglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 432 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_blueglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 660 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_brownglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 403 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_brownglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 632 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_cyanglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 442 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_cyanglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 637 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_darkgreenglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 414 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_darkgreenglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 644 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_darkgreyglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 336 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_darkgreyglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 665 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_glass_face_clean.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 96 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_glass_face_streaks.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 140 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_greenglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 445 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_greenglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 679 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_greyglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 349 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_greyglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 564 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_orangeglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 410 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_orangeglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 634 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_pinkglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 412 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_pinkglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 629 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_redglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 444 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_redglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 675 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_steel_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 740 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_steelglass_face_clean_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 307 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_steelglass_face_streaks_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 343 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_violetglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 418 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_violetglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 634 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_whiteglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 348 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_whiteglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 558 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_wooden_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 170 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_woodenglass_face_clean_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 161 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_woodenglass_face_streaks_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 199 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_yellowglass.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 400 B  | 
							
								
								
									
										
											BIN
										
									
								
								textures/framedglass_yellowglass_frame.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 615 B  |