mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2024-12-23 00:20:17 +01:00
Added Super and Ultra-Plastic. Fixed Light at slopes and stairs.
This commit is contained in:
parent
b642bc0af4
commit
c0d358e048
21
crafts.lua
21
crafts.lua
@ -10,6 +10,27 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "scifi_nodes:super_white",
|
||||||
|
recipe = {
|
||||||
|
{"scifi_nodes:white2", "default:torch", ""}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "scifi_nodes:ultra_white",
|
||||||
|
recipe = {
|
||||||
|
{"default:torch", "scifi_nodes:white2", "default:torch"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "scifi_nodes:ultra_white",
|
||||||
|
recipe = {
|
||||||
|
{"scifi_nodes:super_white", "default:torch", ""}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
-- 6 plastic wall from 6 plastic
|
-- 6 plastic wall from 6 plastic
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "scifi_nodes:white 6",
|
output = "scifi_nodes:white 6",
|
||||||
|
2
init.lua
2
init.lua
@ -499,6 +499,8 @@ node.types = {
|
|||||||
{"blue", "blue lines", "blue"},
|
{"blue", "blue lines", "blue"},
|
||||||
{"holes", "metal with holes","holes"},
|
{"holes", "metal with holes","holes"},
|
||||||
{"white2", "plastic", "white2"},
|
{"white2", "plastic", "white2"},
|
||||||
|
{"super_white", "Super Plastic", "super_white", 11},
|
||||||
|
{"ultra_white", "Ultra Plastic", "ultra_white", default.LIGHT_MAX},
|
||||||
{"engine", "engine", "engine"},
|
{"engine", "engine", "engine"},
|
||||||
{"wall", "metal wall", "wall"},
|
{"wall", "metal wall", "wall"},
|
||||||
{"white", "plastic wall", "white"},
|
{"white", "plastic wall", "white"},
|
||||||
|
12
models.lua
12
models.lua
@ -39,6 +39,8 @@ end
|
|||||||
|
|
||||||
-- register some blocks in stairsplus if available (part of moreblocks)
|
-- register some blocks in stairsplus if available (part of moreblocks)
|
||||||
scifi_nodes.register_slope("white2", "Plastic", {"scifi_nodes_white2.png",}, 0)
|
scifi_nodes.register_slope("white2", "Plastic", {"scifi_nodes_white2.png",}, 0)
|
||||||
|
scifi_nodes.register_slope("super_white", "Super Plastic", {"scifi_nodes_super_white.png",}, 11)
|
||||||
|
scifi_nodes.register_slope("ultra_white", "Super Plastic", {"scifi_nodes_ultra_white.png",}, default.LIGHT_MAX)
|
||||||
scifi_nodes.register_slope("black", "Black", {"scifi_nodes_black.png",}, 0)
|
scifi_nodes.register_slope("black", "Black", {"scifi_nodes_black.png",}, 0)
|
||||||
scifi_nodes.register_slope("white", "White", {"scifi_nodes_white.png",}, 0)
|
scifi_nodes.register_slope("white", "White", {"scifi_nodes_white.png",}, 0)
|
||||||
scifi_nodes.register_slope("grey", "Grey", {"scifi_nodes_grey.png",}, 0)
|
scifi_nodes.register_slope("grey", "Grey", {"scifi_nodes_grey.png",}, 0)
|
||||||
@ -53,8 +55,8 @@ scifi_nodes.register_slope("holes", "Holes", {"scifi_nodes_holes.png",}, 0)
|
|||||||
scifi_nodes.register_slope("pipe", "Pipe", {"scifi_nodes_pipe.png",}, 0)
|
scifi_nodes.register_slope("pipe", "Pipe", {"scifi_nodes_pipe.png",}, 0)
|
||||||
scifi_nodes.register_slope("stripes", "Stripes", {"scifi_nodes_stripes.png",}, 0)
|
scifi_nodes.register_slope("stripes", "Stripes", {"scifi_nodes_stripes.png",}, 0)
|
||||||
scifi_nodes.register_slope("screen", "Screen", {"scifi_nodes_screen3.png",}, 5)
|
scifi_nodes.register_slope("screen", "Screen", {"scifi_nodes_screen3.png",}, 5)
|
||||||
scifi_nodes.register_slope("lightstripe", "Lightstripe", {"scifi_nodes_lightstripe.png",}, default.LIGH_MAX)
|
scifi_nodes.register_slope("lightstripe", "Lightstripe", {"scifi_nodes_lightstripe.png",}, default.LIGHT_MAX)
|
||||||
scifi_nodes.register_slope("blight2", "Blue Light 2", {"scifi_nodes_capsule3.png",}, default.LIGH_MAX)
|
scifi_nodes.register_slope("blight2", "Blue Light 2", {"scifi_nodes_capsule3.png",}, default.LIGHT_MAX)
|
||||||
scifi_nodes.register_slope("wallpipe", "Alien Pipe", {"scifi_nodes_wallpipe.png",}, 0)
|
scifi_nodes.register_slope("wallpipe", "Alien Pipe", {"scifi_nodes_wallpipe.png",}, 0)
|
||||||
scifi_nodes.register_slope("alien", "Alien Wall", {"scifi_nodes_alnslp.png",}, 0)
|
scifi_nodes.register_slope("alien", "Alien Wall", {"scifi_nodes_alnslp.png",}, 0)
|
||||||
scifi_nodes.register_slope("purple", "Purple", {"scifi_nodes_purple.png",}, 0)
|
scifi_nodes.register_slope("purple", "Purple", {"scifi_nodes_purple.png",}, 0)
|
||||||
@ -72,6 +74,8 @@ node.types = {
|
|||||||
{"blue", "blue lines", "blue"},
|
{"blue", "blue lines", "blue"},
|
||||||
{"holes", "metal with holes","holes"},
|
{"holes", "metal with holes","holes"},
|
||||||
{"white2", "plastic", "white2"},
|
{"white2", "plastic", "white2"},
|
||||||
|
{"super_white", "Super Plastic", "super_white", 11},
|
||||||
|
{"ultra_white", "Ultra Plastic", "ultra_white", default.LIGHT_MAX},
|
||||||
-- {"engine", "engine", "engine"},
|
-- {"engine", "engine", "engine"},
|
||||||
{"wall", "metal wall", "wall"},
|
{"wall", "metal wall", "wall"},
|
||||||
{"white", "plastic wall", "white"},
|
{"white", "plastic wall", "white"},
|
||||||
@ -137,10 +141,10 @@ node.types = {
|
|||||||
-- {"monitorwall", "Wall monitors", "monitorwall"},
|
-- {"monitorwall", "Wall monitors", "monitorwall"},
|
||||||
{"screen3", "Wall monitor", "screen3"},
|
{"screen3", "Wall monitor", "screen3"},
|
||||||
{"doomlight", "Doom light", "doomlight", 12},
|
{"doomlight", "Doom light", "doomlight", 12},
|
||||||
{"bluwllight", "Blue wall light", "capsule3", default.LIGH_MAX},
|
{"bluwllight", "Blue wall light", "capsule3", default.LIGHT_MAX},
|
||||||
{"bluegrid", "Blue Grid", "bluegrid", 5},
|
{"bluegrid", "Blue Grid", "bluegrid", 5},
|
||||||
{"fan", "Fan", "fan"},
|
{"fan", "Fan", "fan"},
|
||||||
{"ppllght", "Purple wall light", "", default.LIGH_MAX},
|
{"ppllght", "Purple wall light", "", default.LIGHT_MAX},
|
||||||
{"pplwll", "Purple wall", "", 0},
|
{"pplwll", "Purple wall", "", 0},
|
||||||
{"pplwll2", "Purple wall2", "", 0},
|
{"pplwll2", "Purple wall2", "", 0},
|
||||||
{"pplwll3", "Purple wall3", "", 0},
|
{"pplwll3", "Purple wall3", "", 0},
|
||||||
|
BIN
textures/scifi_nodes_super_white.png
Normal file
BIN
textures/scifi_nodes_super_white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 87 B |
BIN
textures/scifi_nodes_ultra_white.png
Normal file
BIN
textures/scifi_nodes_ultra_white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 87 B |
Loading…
Reference in New Issue
Block a user