1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2024-12-22 16:10:18 +01:00

Eyetree and purple nodes

>added eye tree
>added purple nodes
>added octagon glass nodes
This commit is contained in:
D00Med 2016-11-22 06:44:38 +10:00
parent 81c3a86e5e
commit 20e8e9a3c8
15 changed files with 92 additions and 1 deletions

View File

@ -292,6 +292,64 @@ minetest.register_node("scifi_nodes:grnpipe2", {
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>)
@ -369,8 +427,15 @@ node.types = {
{"monitorwall", "Wall monitors", "monitorwall"},
{"screen3", "Wall monitor", "screen3"},
{"doomlight", "Doom light", "doomlight", 12},
{"bluwllight", "Blue wall light", "capsule3", 20},
{"bluwllight", "Blue wall light", "capsule3", 20},
{"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
@ -383,6 +448,7 @@ for _, row in ipairs(node.types) do
tiles = {"scifi_nodes_"..name..".png"},
groups = {cracky=1},
paramtype = "light",
paramtype2 = "facedir",
light_source = light,
})
end
@ -399,6 +465,7 @@ node.plants = {
{"plant5", "Fern Plant", 1.7,0, 0},
{"plant6", "Curly Plant", 1,0, 10},
{"plant7", "Egg weed", 1,0, 0},
{"eyetree", "Eye Tree", 2.5,0, 0},
}
for _, row in ipairs(node.plants) do

View File

@ -3,6 +3,30 @@
-- Node Box Editor, version 0.9.0
-- 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", {
description = "Gloshroom",
tiles = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 B