mirror of
				https://github.com/D00Med/scifi_nodes.git
				synced 2025-10-31 14:15:22 +01:00 
			
		
		
		
	Compare commits
	
		
			24 Commits
		
	
	
		
			truchet-ti
			...
			master
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| fb1fdcf69e | |||
| f79e84b92d | |||
| cc5f1bea5a | |||
| e7864a4a86 | |||
| c649c290ab | |||
| 4f2d2a304f | |||
| 8816db8ecf | |||
| 5b903a6e78 | |||
| eb231d7ca7 | |||
| 2fd4de11c0 | |||
| b88b7349a5 | |||
| c30ae4b3bd | |||
| 6cf45fcd43 | |||
| 1ded358e04 | |||
| ecfaa4714a | |||
| c341cb8a20 | |||
| d66e04f9b1 | |||
| d3d6a7bf79 | |||
| e34fdde795 | |||
| 1993068ed1 | |||
| 436f51ab0d | |||
| 749d59a530 | |||
| bd58dbc48b | |||
| 4eaba4f6e1 | 
							
								
								
									
										3
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								init.lua
									
									
									
									
									
								
							| @@ -35,7 +35,6 @@ dofile(MP.."/octagon_panes.lua") | ||||
| dofile(MP.."/octagon_glass.lua") | ||||
| dofile(MP.."/forcefield.lua") | ||||
| dofile(MP.."/crafts.lua") | ||||
| dofile(MP.."/tiles.lua") | ||||
|  | ||||
| if minetest.get_modpath("letters") then | ||||
| 	-- register letter nodes | ||||
| @@ -50,3 +49,5 @@ end | ||||
| if minetest.get_modpath("mtt") and mtt.enabled then | ||||
| 	dofile(MP .. "/mtt.lua") | ||||
| end | ||||
|  | ||||
| minetest.log("action", "[scifi_nodes] loaded.") | ||||
|   | ||||
| @@ -14,14 +14,12 @@ | ||||
|     }, | ||||
|     "super_white": { | ||||
|         "description": "Super Plastic", | ||||
|         "colorable": true, | ||||
|         "light": 11, | ||||
|         "sounds": "stone", | ||||
|         "texture_name": "white2" | ||||
|     }, | ||||
|     "ultra_white": { | ||||
|         "description": "Ultra Plastic", | ||||
|         "colorable": true, | ||||
|         "light": 14, | ||||
|         "sounds": "stone", | ||||
|         "texture_name": "white2" | ||||
| @@ -124,8 +122,7 @@ | ||||
|         "description": "transparent metal floormesh", | ||||
|         "texture_name": "mesh", | ||||
|         "texture_modifier": "^[contrast:10:-50^[makealpha:0,0,0", | ||||
|         "drawtype": "glasslike", | ||||
|         "sunlight_propagates": true | ||||
|         "drawtype": "glasslike" | ||||
|     }, | ||||
|     "pipe": { | ||||
|         "description": "wall pipe" | ||||
|   | ||||
| @@ -520,7 +520,6 @@ for name, def in pairs(nodes) do | ||||
| 	local node_def = { | ||||
| 		description = def.description, | ||||
| 		drawtype = def.drawtype or "normal", | ||||
| 		sunlight_propagates = def.sunlight_propagates, | ||||
| 		tiles = tiles, | ||||
| 		groups = {cracky=1, dig_generic = 3}, | ||||
| 		is_ground_content = false, | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 4.8 KiB | 
							
								
								
									
										13
									
								
								tiles.lua
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								tiles.lua
									
									
									
									
									
								
							| @@ -1,13 +0,0 @@ | ||||
| for _, color in ipairs({"purple", "greenmetal", "bluemetal", "grey"}) do | ||||
|     minetest.register_node("scifi_nodes:" .. color .. "_tile", { | ||||
|         description = color .. " tile", | ||||
|         groups = { | ||||
|             cracky = 1 | ||||
|         }, | ||||
|         is_ground_content = false, | ||||
|         sounds = scifi_nodes.node_sound_metal_defaults(), | ||||
|         paramtype2 = "facedir", | ||||
|         use_texture_alpha = "blend", | ||||
|         tiles = {"scifi_nodes_" .. color .. ".png^scifi_nodes_truchet_tile.png"} | ||||
|     }) | ||||
| end | ||||
		Reference in New Issue
	
	Block a user