forked from mtcontrib/scifi_nodes
Compare commits
5 Commits
c649c290ab
...
opt-defaul
Author | SHA1 | Date | |
---|---|---|---|
b9a8209b0d | |||
544997535e | |||
e3d87eefc6 | |||
06aa9e0cf1 | |||
112543ca93 |
@ -55,4 +55,3 @@ CC0
|
||||
* OgelGames https://github.com/OgelGames
|
||||
* leftshift https://github.com/leftshift
|
||||
* fluxionary https://github.com/fluxionary
|
||||
* Niles Corder https://github.com/ncorder
|
||||
|
29
crafts.lua
29
crafts.lua
@ -10,22 +10,8 @@ if minetest.get_modpath("basic_materials") then
|
||||
{"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}
|
||||
}
|
||||
})
|
||||
|
||||
if minetest.settings:get_bool("scifi_nodes.teleporter_enable_crafting", false) then
|
||||
-- enable the teleporter pad crafting recipe only if the setting is enabled
|
||||
minetest.register_craft({
|
||||
output = "scifi_nodes:pad",
|
||||
recipe = {
|
||||
{"homedecor:plastic_sheeting", "quartz:block", "homedecor:plastic_sheeting"},
|
||||
{"default:mese_crystal", "quartz:block", "default:mese_crystal"},
|
||||
{"homedecor:plastic_sheeting", "quartz:block", "homedecor:plastic_sheeting"}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
if not minetest.get_modpath("default") or not minetest.get_modpath("dye") then
|
||||
-- the default and dye mod are required for most of the recipes
|
||||
-- if either of them is missing (because we are not in the default game)
|
||||
@ -1486,9 +1472,9 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = "scifi_nodes:plant8",
|
||||
recipe = {
|
||||
{"flowers:viola","default:junglegrass", "default:grass_1"},
|
||||
{"default:dirt","",""},
|
||||
{"scifi_nodes:greybolts","",""}
|
||||
{"flowers:viola","default:junglegrass"},
|
||||
{"default:dirt",""},
|
||||
{"scifi_nodes:greybolts",""}
|
||||
}
|
||||
})
|
||||
|
||||
@ -1635,6 +1621,15 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'scifi_nodes:doomwall43 6',
|
||||
recipe = {
|
||||
{"scifi_nodes:white","dye:black","scifi_nodes:white"},
|
||||
{"scifi_nodes:black","dye:dark_green","scifi_nodes:black"},
|
||||
{"scifi_nodes:white","dye:yellow","scifi_nodes:white"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'scifi_nodes:doomwall43 6',
|
||||
recipe = {
|
||||
|
10
depends.txt
Normal file
10
depends.txt
Normal file
@ -0,0 +1,10 @@
|
||||
default
|
||||
basic_materials
|
||||
mesecons
|
||||
xpanes?
|
||||
moreblocks?
|
||||
mesecons_microcontroller?
|
||||
mesecons_button?
|
||||
mesecons_torch?
|
||||
mesecons_receiver?
|
||||
dye?
|
@ -271,7 +271,7 @@ for _, current_door in ipairs(doors) do
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 1, dig_generic = 3},
|
||||
groups = {cracky = 1},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@ -300,7 +300,7 @@ for _, current_door in ipairs(doors) do
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = closed,
|
||||
groups = {cracky = 1, dig_generic = 3},
|
||||
groups = {cracky = 1},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@ -330,7 +330,7 @@ for _, current_door in ipairs(doors) do
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 1, dig_generic = 3},
|
||||
groups = {cracky = 1},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
1
init.lua
1
init.lua
@ -31,4 +31,3 @@ dofile(MP.."/digicode.lua")
|
||||
dofile(MP.."/models.lua")
|
||||
dofile(MP.."/octagon_panes.lua")
|
||||
dofile(MP.."/crafts.lua")
|
||||
minetest.log("action", "[scifi_nodes] loaded.")
|
||||
|
2
mod.conf
2
mod.conf
@ -10,6 +10,6 @@ mesecons_button,
|
||||
mesecons_torch,
|
||||
mesecons_receiver,
|
||||
basic_materials,
|
||||
dye,
|
||||
dye
|
||||
unifieddyes
|
||||
"""
|
||||
|
@ -31,7 +31,7 @@ minetest.register_node("scifi_nodes:slope_"..name, {
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = "clip",
|
||||
light_source = light,
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
on_place = minetest.rotate_node
|
||||
})
|
||||
end
|
||||
@ -164,7 +164,7 @@ if minetest.global_exists("stairsplus") then
|
||||
description = row[2],
|
||||
tiles = {"scifi_nodes_"..name..".png"},
|
||||
use_texture_alpha = "clip",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
light_source = row[3],
|
||||
|
@ -18,7 +18,7 @@ minetest.register_node("scifi_nodes:alienslope", {
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@ -49,7 +49,7 @@ minetest.register_node("scifi_nodes:wallpipe", {
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
@ -107,7 +107,7 @@ minetest.register_node("scifi_nodes:egg", {
|
||||
sunlight_propagates = false,
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, oddly_breakable_by_hand=1, dig_immediate=2, falling_node=1, dig_generic = 3},
|
||||
groups = {cracky=1, oddly_breakable_by_hand=1, dig_immediate=2, falling_node=1},
|
||||
light_source = 5,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
@ -282,7 +282,7 @@ minetest.register_node("scifi_nodes:pplwndw", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = "blend",
|
||||
groups = {cracky=3, dig_generic = 4},
|
||||
groups = {cracky=3},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
@ -378,13 +378,10 @@ local function remove_lid(pos)
|
||||
end
|
||||
end
|
||||
|
||||
local dirt_tex = "default_dirt.png"
|
||||
if not minetest.get_modpath("default") then dirt_tex = "[combine:16x16^[noalpha^[colorize:#654321" end
|
||||
|
||||
minetest.register_node("scifi_nodes:pot", {
|
||||
description = "Metal Plant Pot (right-click for lid, sneak + right-click to plant)",
|
||||
tiles = {
|
||||
dirt_tex .. "^scifi_nodes_pot.png",
|
||||
"default_dirt.png^scifi_nodes_pot.png",
|
||||
"scifi_nodes_greybolts.png",
|
||||
"scifi_nodes_greybolts.png",
|
||||
"scifi_nodes_greybolts.png",
|
||||
@ -393,7 +390,7 @@ minetest.register_node("scifi_nodes:pot", {
|
||||
},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
groups = {cracky = 1, soil = 1, sand = 1, dig_generic = 3},
|
||||
groups = {cracky = 1, soil = 1, sand = 1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}
|
||||
@ -416,7 +413,7 @@ minetest.register_node("scifi_nodes:pot", {
|
||||
minetest.register_node("scifi_nodes:pot2", {
|
||||
description = "Metal Plant Pot Wet (right-click for lid, sneak + right-click to plant)",
|
||||
tiles = {
|
||||
dirt_tex .. "^scifi_nodes_pot2.png",
|
||||
"default_dirt.png^scifi_nodes_pot2.png",
|
||||
"scifi_nodes_greybolts.png",
|
||||
"scifi_nodes_greybolts.png",
|
||||
"scifi_nodes_greybolts.png",
|
||||
@ -425,7 +422,7 @@ minetest.register_node("scifi_nodes:pot2", {
|
||||
},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
groups = {cracky = 1, soil = 3, wet = 1, dig_generic = 3},
|
||||
groups = {cracky = 1, soil = 3, wet = 1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}
|
||||
@ -467,7 +464,7 @@ minetest.register_node("scifi_nodes:lightbar", {
|
||||
{-0.125, -0.5, -0.5, 0.125, -0.375, 0.5}, -- NodeBox1
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -549,7 +546,7 @@ minetest.register_node("scifi_nodes:lightbars", {
|
||||
{0.125, -0.5, -0.375, 0.375, 0.5, -0.125}, -- NodeBox4
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -570,7 +567,7 @@ tiles = {{
|
||||
{-0.375, -0.5, -0.375, 0.375, 0.5, 0.375}, -- NodeBox1
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, oddly_breakable_by_hand=1, dig_generic = 3},
|
||||
groups = {cracky=1, oddly_breakable_by_hand=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -764,7 +761,7 @@ minetest.register_node("scifi_nodes:table", {
|
||||
}
|
||||
},
|
||||
sounds = scifi_nodes.node_sound_metal_defaults(),
|
||||
groups = {cracky=1, dig_generic = 3}
|
||||
groups = {cracky=1}
|
||||
})
|
||||
|
||||
minetest.register_node("scifi_nodes:laptop_open", {
|
||||
@ -847,7 +844,7 @@ minetest.register_node("scifi_nodes:pipen", {
|
||||
{-0.5, -0.4375, -0.5, 0.5, -0.375, 0.5}, -- NodeBox9
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
on_place = minetest.rotate_node
|
||||
})
|
||||
|
||||
@ -877,7 +874,7 @@ minetest.register_node("scifi_nodes:windowcorner", {
|
||||
{-0.0625, -0.5, -0.5, 0.0625, 0.5, 0.5}, -- NodeBox11
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
on_place = minetest.rotate_node,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
@ -904,7 +901,7 @@ minetest.register_node("scifi_nodes:windowstraight", {
|
||||
{-0.0625, -0.5, -0.5, 0.0625, 0.5, 0.5}, -- NodeBox11
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
on_place = minetest.rotate_node,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
@ -935,7 +932,7 @@ minetest.register_node("scifi_nodes:windowcorner2", {
|
||||
{-0.0625, -0.5, -0.5, 0.0625, 0.5, 0.5}, -- NodeBox11
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
on_place = minetest.rotate_node,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
@ -962,7 +959,7 @@ minetest.register_node("scifi_nodes:windowstraight2", {
|
||||
{-0.0625, -0.5, -0.5, 0.0625, 0.5, 0.5}, -- NodeBox11
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
on_place = minetest.rotate_node,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
@ -992,7 +989,7 @@ minetest.register_node("scifi_nodes:capsule", {
|
||||
{-0.3125, -0.4375, -0.1875, 0.3125, -0.0625, 0.1875}, -- NodeBox3
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, oddly_breakable_by_hand=1, dig_generic = 3},
|
||||
groups = {cracky=1, oddly_breakable_by_hand=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
on_rightclick = function(pos, node, clicker, item, _)
|
||||
minetest.set_node(pos, {name="scifi_nodes:capsule2", param2=node.param2})
|
||||
@ -1082,7 +1079,7 @@ minetest.register_node("scifi_nodes:itemholder", {
|
||||
{-0.25, -0.5, -0.0625, -0.1875, -0.0625, 0.0625}, -- NodeBox5
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.disallow,
|
||||
after_place_node = function(pos, placer, itemstack)
|
||||
local meta = minetest.get_meta(pos)
|
||||
@ -1222,7 +1219,7 @@ minetest.register_node("scifi_nodes:windowpanel", {
|
||||
{-0.0625, -0.5, -0.5, 0.0625, 0.5, 0.5}, -- NodeBox11
|
||||
}
|
||||
},
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
on_place = minetest.rotate_node,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
84
nodes.lua
84
nodes.lua
@ -1,16 +1,14 @@
|
||||
|
||||
--nodes
|
||||
|
||||
if minetest.get_modpath("default") then
|
||||
minetest.register_node("scifi_nodes:grassblk", {
|
||||
description = "Dirt With Alien Grass",
|
||||
tiles = {"default_grass.png^[colorize:cyan:80", "default_dirt.png",
|
||||
{name = "default_dirt.png^(default_grass_side.png^[colorize:cyan:80)",
|
||||
tileable_vertical = false}},
|
||||
light_source = 2,
|
||||
groups = {crumbly=1, oddly_breakable_by_hand=1, soil=1}
|
||||
})
|
||||
end
|
||||
minetest.register_node("scifi_nodes:grassblk", {
|
||||
description = "Dirt With Alien Grass",
|
||||
tiles = {"default_grass.png^[colorize:cyan:80", "default_dirt.png",
|
||||
{name = "default_dirt.png^(default_grass_side.png^[colorize:cyan:80)",
|
||||
tileable_vertical = false}},
|
||||
light_source = 2,
|
||||
groups = {crumbly=1, oddly_breakable_by_hand=1, soil=1}
|
||||
})
|
||||
|
||||
minetest.register_node("scifi_nodes:light", {
|
||||
description = "blue lightbox",
|
||||
@ -25,7 +23,7 @@ minetest.register_node("scifi_nodes:light", {
|
||||
},
|
||||
light_source = 10,
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3}
|
||||
groups = {cracky=1}
|
||||
})
|
||||
|
||||
minetest.register_node("scifi_nodes:rfloor", {
|
||||
@ -36,7 +34,7 @@ minetest.register_node("scifi_nodes:rfloor", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
light_source = 10,
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_metal_defaults()
|
||||
})
|
||||
|
||||
@ -48,7 +46,7 @@ minetest.register_node("scifi_nodes:bfloor", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
light_source = 10,
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_metal_defaults()
|
||||
})
|
||||
|
||||
@ -65,7 +63,7 @@ minetest.register_node("scifi_nodes:stripes2", {
|
||||
"scifi_nodes_stripes2.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_metal_defaults()
|
||||
})
|
||||
|
||||
@ -81,7 +79,7 @@ minetest.register_node("scifi_nodes:gblock", {
|
||||
"scifi_nodes_gblock.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3};
|
||||
groups = {cracky=1};
|
||||
sounds = scifi_nodes.node_sound_metal_defaults()
|
||||
})
|
||||
|
||||
@ -98,7 +96,7 @@ minetest.register_node("scifi_nodes:gblock2", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_metal_defaults()
|
||||
})
|
||||
|
||||
@ -115,7 +113,7 @@ minetest.register_node("scifi_nodes:gblock3", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_metal_defaults()
|
||||
})
|
||||
|
||||
@ -134,7 +132,7 @@ minetest.register_node("scifi_nodes:green_light", {
|
||||
},
|
||||
light_source = 10,
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -151,7 +149,7 @@ minetest.register_node("scifi_nodes:red_light", {
|
||||
},
|
||||
light_source = 10,
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -167,7 +165,7 @@ minetest.register_node("scifi_nodes:discs", {
|
||||
"scifi_nodes_discs.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -181,7 +179,7 @@ minetest.register_node("scifi_nodes:disc", {
|
||||
inventory_image = "scifi_nodes_disc.png",
|
||||
wield_image = "scifi_nodes_disc.png",
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3}
|
||||
groups = {cracky=1}
|
||||
})
|
||||
|
||||
minetest.register_node("scifi_nodes:greenbar_animated", {
|
||||
@ -196,7 +194,7 @@ minetest.register_node("scifi_nodes:greenbar_animated", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
light_source = 10,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
on_place = minetest.rotate_node
|
||||
@ -210,7 +208,7 @@ minetest.register_node("scifi_nodes:blink", {
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.00},
|
||||
}},
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
light_source = 5,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
@ -223,7 +221,7 @@ minetest.register_node("scifi_nodes:black_lights", {
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.50},
|
||||
}},
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -235,7 +233,7 @@ minetest.register_node("scifi_nodes:black_screen", {
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.00},
|
||||
}},
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
light_source = 1,
|
||||
sounds = scifi_nodes.node_sound_stone_defaults()
|
||||
})
|
||||
@ -248,7 +246,7 @@ minetest.register_node("scifi_nodes:screen", {
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.50},
|
||||
}},
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
light_source = 5,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
@ -261,7 +259,7 @@ minetest.register_node("scifi_nodes:screen2", {
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.50},
|
||||
}},
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
light_source = 5,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
@ -281,7 +279,7 @@ minetest.register_node("scifi_nodes:white_pad", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -298,7 +296,7 @@ minetest.register_node("scifi_nodes:white_base", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -315,7 +313,7 @@ minetest.register_node("scifi_nodes:grnpipe", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_metal_defaults(),
|
||||
on_place = minetest.rotate_node
|
||||
})
|
||||
@ -334,7 +332,7 @@ minetest.register_node("scifi_nodes:grnpipe2", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_metal_defaults(),
|
||||
on_place = minetest.rotate_node
|
||||
})
|
||||
@ -350,7 +348,7 @@ minetest.register_node("scifi_nodes:octrng", {
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2, dig_generic = 3},
|
||||
groups = {cracky=2},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
@ -365,7 +363,7 @@ minetest.register_node("scifi_nodes:octgrn", {
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2, dig_generic = 3},
|
||||
groups = {cracky=2},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
@ -380,7 +378,7 @@ minetest.register_node("scifi_nodes:octbl", {
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2, dig_generic = 3},
|
||||
groups = {cracky=2},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
@ -395,7 +393,7 @@ minetest.register_node("scifi_nodes:octppl", {
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2, dig_generic = 3},
|
||||
groups = {cracky=2},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
@ -410,7 +408,7 @@ minetest.register_node("scifi_nodes:tower", {
|
||||
visual_scale = 2,
|
||||
inventory_image = "scifi_nodes_tower.png",
|
||||
paramtype = "light",
|
||||
groups = {cracky=2, dig_generic = 3},
|
||||
groups = {cracky=2},
|
||||
sounds = scifi_nodes.node_sound_metal_defaults()
|
||||
})
|
||||
|
||||
@ -445,7 +443,7 @@ minetest.register_node("scifi_nodes:blumetlight", {
|
||||
},
|
||||
light_source = 10,
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -458,7 +456,7 @@ minetest.register_node("scifi_nodes:lightstp", {
|
||||
},
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -470,7 +468,7 @@ minetest.register_node("scifi_nodes:blklt2", {
|
||||
},
|
||||
light_source = 10,
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -482,7 +480,7 @@ minetest.register_node("scifi_nodes:blumetstr", {
|
||||
},
|
||||
light_source = 10,
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -495,7 +493,7 @@ minetest.register_node("scifi_nodes:glass", {
|
||||
},
|
||||
use_texture_alpha = "blend",
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -507,7 +505,7 @@ minetest.register_node("scifi_nodes:whtlightbnd", {
|
||||
},
|
||||
light_source = 10,
|
||||
paramtype = "light",
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
sounds = scifi_nodes.node_sound_glass_defaults()
|
||||
})
|
||||
|
||||
@ -617,7 +615,7 @@ for _, row in ipairs(nodetypes) do
|
||||
local node_def = {
|
||||
description = desc,
|
||||
tiles = {"scifi_nodes_"..name..".png"},
|
||||
groups = {cracky=1, dig_generic = 3},
|
||||
groups = {cracky=1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
light_source = light,
|
||||
|
@ -33,6 +33,7 @@ for _, row in ipairs(plants) do
|
||||
groups = {snappy=1, oddly_breakable_by_hand=1, dig_immediate=3, flora=1},
|
||||
paramtype = "light",
|
||||
visual_scale = size,
|
||||
buildable_to = true,
|
||||
walkable = false,
|
||||
damage_per_second = dmg,
|
||||
selection_box = {
|
||||
|
@ -1,5 +1,2 @@
|
||||
# Doors can only be opened by mesecon signal
|
||||
scifi_nodes.doors_open_with_mesecon_only (disables right click on doors) bool false
|
||||
|
||||
# Teleporter recipe flag
|
||||
scifi_nodes.teleporter_enable_crafting (enables the teleporter recipe) bool false
|
||||
# Doors can only be opened by mesecon signal
|
||||
scifi_nodes.doors_open_with_mesecon_only (disables right click on doors) bool true
|
||||
|
Reference in New Issue
Block a user