Eyetree and purple nodes
>added eye tree >added purple nodes >added octagon glass nodes
69
init.lua
@ -292,6 +292,64 @@ minetest.register_node("scifi_nodes:grnpipe2", {
|
|||||||
on_place = minetest.rotate_node
|
on_place = minetest.rotate_node
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("scifi_nodes:octrng", {
|
||||||
|
description = "Orange Octagon Glass",
|
||||||
|
sunlight_propagates = false,
|
||||||
|
drawtype = "glasslike",
|
||||||
|
tiles = {
|
||||||
|
"scifi_nodes_octrng.png",
|
||||||
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
use_texture_alpha = true,
|
||||||
|
light_source = 10,
|
||||||
|
groups = {cracky=2},
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("scifi_nodes:octgrn", {
|
||||||
|
description = "Green Octagon Glass",
|
||||||
|
sunlight_propagates = false,
|
||||||
|
drawtype = "glasslike",
|
||||||
|
tiles = {
|
||||||
|
"scifi_nodes_octgrn.png",
|
||||||
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
use_texture_alpha = true,
|
||||||
|
groups = {cracky=2},
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("scifi_nodes:octbl", {
|
||||||
|
description = "Blue Octagon Glass",
|
||||||
|
sunlight_propagates = false,
|
||||||
|
drawtype = "glasslike",
|
||||||
|
tiles = {
|
||||||
|
"scifi_nodes_octbl.png",
|
||||||
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
use_texture_alpha = true,
|
||||||
|
light_source = 10,
|
||||||
|
groups = {cracky=2},
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("scifi_nodes:octppl", {
|
||||||
|
description = "Purple Octagon Glass",
|
||||||
|
sunlight_propagates = false,
|
||||||
|
drawtype = "glasslike",
|
||||||
|
tiles = {
|
||||||
|
"scifi_nodes_octppl.png",
|
||||||
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
use_texture_alpha = true,
|
||||||
|
light_source = 10,
|
||||||
|
groups = {cracky=2},
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
--edited wool code (Copyright (C) 2012 celeron55, Perttu Ahola <celeron55@gmail.com>)
|
--edited wool code (Copyright (C) 2012 celeron55, Perttu Ahola <celeron55@gmail.com>)
|
||||||
|
|
||||||
@ -369,8 +427,15 @@ 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", 20},
|
{"bluwllight", "Blue wall light", "capsule3", 20},
|
||||||
{"fan", "Fan", "fan"},
|
{"fan", "Fan", "fan"},
|
||||||
|
{"ppllght", "Purple wall light", "", 50},
|
||||||
|
{"pplwll", "Purple wall", "", 0},
|
||||||
|
{"pplwll2", "Purple wall2", "", 0},
|
||||||
|
{"pplwll3", "Purple wall3", "", 0},
|
||||||
|
{"pplwll4", "Purple wall4", "", 0},
|
||||||
|
{"pplblk", "Purple tile", "", 0},
|
||||||
|
{"purple", "Purple block", "", 0},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, row in ipairs(node.types) do
|
for _, row in ipairs(node.types) do
|
||||||
@ -383,6 +448,7 @@ for _, row in ipairs(node.types) do
|
|||||||
tiles = {"scifi_nodes_"..name..".png"},
|
tiles = {"scifi_nodes_"..name..".png"},
|
||||||
groups = {cracky=1},
|
groups = {cracky=1},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
light_source = light,
|
light_source = light,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -399,6 +465,7 @@ node.plants = {
|
|||||||
{"plant5", "Fern Plant", 1.7,0, 0},
|
{"plant5", "Fern Plant", 1.7,0, 0},
|
||||||
{"plant6", "Curly Plant", 1,0, 10},
|
{"plant6", "Curly Plant", 1,0, 10},
|
||||||
{"plant7", "Egg weed", 1,0, 0},
|
{"plant7", "Egg weed", 1,0, 0},
|
||||||
|
{"eyetree", "Eye Tree", 2.5,0, 0},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, row in ipairs(node.plants) do
|
for _, row in ipairs(node.plants) do
|
||||||
|
@ -3,6 +3,30 @@
|
|||||||
-- Node Box Editor, version 0.9.0
|
-- Node Box Editor, version 0.9.0
|
||||||
-- Namespace: scifi_nodes
|
-- Namespace: scifi_nodes
|
||||||
|
|
||||||
|
minetest.register_node("scifi_nodes:pplwndw", {
|
||||||
|
description = "Purple Window",
|
||||||
|
tiles = {
|
||||||
|
"scifi_nodes_purple.png",
|
||||||
|
"scifi_nodes_purple.png",
|
||||||
|
"scifi_nodes_purple.png",
|
||||||
|
"scifi_nodes_purple.png",
|
||||||
|
"scifi_nodes_pplwndw.png",
|
||||||
|
"scifi_nodes_pplwndw.png"
|
||||||
|
},
|
||||||
|
drawtype = "nodebox",
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
use_texture_alpha = true,
|
||||||
|
groups = {cracky=3},
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{-0.5, -0.5, -0.0625, 0.5, 0.5, 0.0625}, -- NodeBox1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node("scifi_nodes:gloshroom", {
|
minetest.register_node("scifi_nodes:gloshroom", {
|
||||||
description = "Gloshroom",
|
description = "Gloshroom",
|
||||||
tiles = {
|
tiles = {
|
||||||
|
BIN
textures/scifi_nodes_eyetree.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
textures/scifi_nodes_octbl.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
textures/scifi_nodes_octgrn.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
textures/scifi_nodes_octppl.png
Normal file
After Width: | Height: | Size: 147 B |
BIN
textures/scifi_nodes_octrng.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
textures/scifi_nodes_pplblk.png
Normal file
After Width: | Height: | Size: 198 B |
BIN
textures/scifi_nodes_ppllght.png
Normal file
After Width: | Height: | Size: 297 B |
BIN
textures/scifi_nodes_pplwll.png
Normal file
After Width: | Height: | Size: 176 B |
BIN
textures/scifi_nodes_pplwll2.png
Normal file
After Width: | Height: | Size: 122 B |
BIN
textures/scifi_nodes_pplwll3.png
Normal file
After Width: | Height: | Size: 153 B |
BIN
textures/scifi_nodes_pplwll4.png
Normal file
After Width: | Height: | Size: 161 B |
BIN
textures/scifi_nodes_pplwndw.png
Normal file
After Width: | Height: | Size: 402 B |
BIN
textures/scifi_nodes_purple.png
Normal file
After Width: | Height: | Size: 107 B |