mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-12 19:10:26 +01:00
parent
151f4cbb1e
commit
8d5bad4edf
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
|||||||
*.od?#
|
*.od?#
|
||||||
*.patch
|
*.patch
|
||||||
*.swp
|
*.swp
|
||||||
|
*.diff
|
||||||
|
@ -10,7 +10,7 @@ minetest.register_node("mesecons:mesecon_off", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5},
|
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5},
|
||||||
},
|
},
|
||||||
groups = {dig_immediate=3, mesecon=1, mesecon_conductor_craftable=1},
|
groups = {dig_immediate=2, mesecon=1, mesecon_conductor_craftable=1}, --MFF
|
||||||
description="Mesecons",
|
description="Mesecons",
|
||||||
mesecons = {conductor={
|
mesecons = {conductor={
|
||||||
state = mesecon.state.off,
|
state = mesecon.state.off,
|
||||||
@ -28,7 +28,7 @@ minetest.register_node("mesecons:mesecon_on", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5},
|
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5},
|
||||||
},
|
},
|
||||||
groups = {dig_immediate=3, not_in_creaive_inventory=1, mesecon=1},
|
groups = {dig_immediate=2, not_in_creaive_inventory=1, mesecon=1}, --MFF
|
||||||
drop = "mesecons:mesecon_off 1",
|
drop = "mesecons:mesecon_off 1",
|
||||||
light_source = default.LIGHT_MAX-11,
|
light_source = default.LIGHT_MAX-11,
|
||||||
mesecons = {conductor={
|
mesecons = {conductor={
|
||||||
|
@ -197,9 +197,9 @@ register_wires = function()
|
|||||||
offstate = "mesecons:wire_"..nodeid.."_off"
|
offstate = "mesecons:wire_"..nodeid.."_off"
|
||||||
}}
|
}}
|
||||||
|
|
||||||
local groups_on = {dig_immediate = 3, mesecon_conductor_craftable = 1,
|
local groups_on = {dig_immediate = 2, mesecon_conductor_craftable = 1,
|
||||||
not_in_creative_inventory = 1}
|
not_in_creative_inventory = 1} --MFF
|
||||||
local groups_off = {dig_immediate = 3, mesecon_conductor_craftable = 1}
|
local groups_off = {dig_immediate = 2, mesecon_conductor_craftable = 1} --MFF
|
||||||
if nodeid ~= "00000000" then
|
if nodeid ~= "00000000" then
|
||||||
groups_off["not_in_creative_inventory"] = 1
|
groups_off["not_in_creative_inventory"] = 1
|
||||||
end
|
end
|
||||||
|
@ -37,7 +37,7 @@ minetest.register_node("mesecons_extrawires:corner_on", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
selection_box = corner_selectionbox,
|
selection_box = corner_selectionbox,
|
||||||
node_box = corner_nodebox,
|
node_box = corner_nodebox,
|
||||||
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
|
groups = {dig_immediate = 2, not_in_creative_inventory = 1}, -- MFF
|
||||||
drop = "mesecons_extrawires:corner_off",
|
drop = "mesecons_extrawires:corner_off",
|
||||||
mesecons = {conductor =
|
mesecons = {conductor =
|
||||||
{
|
{
|
||||||
@ -64,7 +64,7 @@ minetest.register_node("mesecons_extrawires:corner_off", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
selection_box = corner_selectionbox,
|
selection_box = corner_selectionbox,
|
||||||
node_box = corner_nodebox,
|
node_box = corner_nodebox,
|
||||||
groups = {dig_immediate = 3},
|
groups = {dig_immediate = 2}, --MFF
|
||||||
mesecons = {conductor =
|
mesecons = {conductor =
|
||||||
{
|
{
|
||||||
state = mesecon.state.off,
|
state = mesecon.state.off,
|
||||||
|
@ -41,7 +41,7 @@ minetest.register_node("mesecons_extrawires:crossover_off", {
|
|||||||
{ -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 },
|
{ -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
groups = {dig_immediate=3, mesecon=3},
|
groups = {dig_immediate=2, mesecon=3}, --MFF
|
||||||
mesecons = {
|
mesecons = {
|
||||||
conductor = {
|
conductor = {
|
||||||
states = crossover_states,
|
states = crossover_states,
|
||||||
@ -77,7 +77,7 @@ minetest.register_node("mesecons_extrawires:crossover_01", {
|
|||||||
{ -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 },
|
{ -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1},
|
groups = {dig_immediate=2, mesecon=3, not_in_creative_inventory=1}, --MFF
|
||||||
mesecons = {
|
mesecons = {
|
||||||
conductor = {
|
conductor = {
|
||||||
states = crossover_states,
|
states = crossover_states,
|
||||||
|
@ -38,7 +38,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
selection_box = tjunction_selectionbox,
|
selection_box = tjunction_selectionbox,
|
||||||
node_box = tjunction_nodebox,
|
node_box = tjunction_nodebox,
|
||||||
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
|
groups = {dig_immediate = 2, not_in_creative_inventory = 1}, --MFF
|
||||||
drop = "mesecons_extrawires:tjunction_off",
|
drop = "mesecons_extrawires:tjunction_off",
|
||||||
mesecons = {conductor =
|
mesecons = {conductor =
|
||||||
{
|
{
|
||||||
@ -65,7 +65,7 @@ minetest.register_node("mesecons_extrawires:tjunction_off", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
selection_box = tjunction_selectionbox,
|
selection_box = tjunction_selectionbox,
|
||||||
node_box = tjunction_nodebox,
|
node_box = tjunction_nodebox,
|
||||||
groups = {dig_immediate = 3},
|
groups = {dig_immediate = 2}, --MFF
|
||||||
mesecons = {conductor =
|
mesecons = {conductor =
|
||||||
{
|
{
|
||||||
state = mesecon.state.off,
|
state = mesecon.state.off,
|
||||||
|
@ -86,7 +86,7 @@ mesecon.register_node("mesecons_extrawires:vertical", {
|
|||||||
after_dig_node = vertical_update
|
after_dig_node = vertical_update
|
||||||
},{
|
},{
|
||||||
tiles = {"mesecons_wire_off.png"},
|
tiles = {"mesecons_wire_off.png"},
|
||||||
groups = {dig_immediate=3},
|
groups = {dig_immediate=2}, --MFF
|
||||||
vertical_conductor_state = "off",
|
vertical_conductor_state = "off",
|
||||||
mesecons = {conductor = {
|
mesecons = {conductor = {
|
||||||
state = mesecon.state.off,
|
state = mesecon.state.off,
|
||||||
@ -95,7 +95,7 @@ mesecon.register_node("mesecons_extrawires:vertical", {
|
|||||||
}}
|
}}
|
||||||
},{
|
},{
|
||||||
tiles = {"mesecons_wire_on.png"},
|
tiles = {"mesecons_wire_on.png"},
|
||||||
groups = {dig_immediate=3, not_in_creative_inventory=1},
|
groups = {dig_immediate=2, not_in_creative_inventory=1}, --MFF
|
||||||
vertical_conductor_state = "on",
|
vertical_conductor_state = "on",
|
||||||
mesecons = {conductor = {
|
mesecons = {conductor = {
|
||||||
state = mesecon.state.on,
|
state = mesecon.state.on,
|
||||||
@ -111,7 +111,7 @@ mesecon.register_node("mesecons_extrawires:vertical_top", {
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {dig_immediate=3, not_in_creative_inventory=1},
|
groups = {dig_immediate=2, not_in_creative_inventory=1}, --MFF
|
||||||
selection_box = top_box,
|
selection_box = top_box,
|
||||||
node_box = top_box,
|
node_box = top_box,
|
||||||
is_vertical_conductor = true,
|
is_vertical_conductor = true,
|
||||||
@ -143,7 +143,7 @@ mesecon.register_node("mesecons_extrawires:vertical_bottom", {
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
|
groups = {dig_immediate = 2, not_in_creative_inventory = 1}, --MFF
|
||||||
selection_box = bottom_box,
|
selection_box = bottom_box,
|
||||||
node_box = bottom_box,
|
node_box = bottom_box,
|
||||||
is_vertical_conductor = true,
|
is_vertical_conductor = true,
|
||||||
|
@ -30,7 +30,7 @@ minetest.register_node("mesecons_insulated:insulated_on", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
|
fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
|
||||||
},
|
},
|
||||||
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
|
groups = {dig_immediate = 2, not_in_creative_inventory = 1}, --MFF
|
||||||
drop = "mesecons_insulated:insulated_off",
|
drop = "mesecons_insulated:insulated_off",
|
||||||
mesecons = {conductor = {
|
mesecons = {conductor = {
|
||||||
state = mesecon.state.on,
|
state = mesecon.state.on,
|
||||||
@ -62,7 +62,7 @@ minetest.register_node("mesecons_insulated:insulated_off", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
|
fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
|
||||||
},
|
},
|
||||||
groups = {dig_immediate = 3},
|
groups = {dig_immediate = 2}, --MFF
|
||||||
mesecons = {conductor = {
|
mesecons = {conductor = {
|
||||||
state = mesecon.state.off,
|
state = mesecon.state.off,
|
||||||
onstate = "mesecons_insulated:insulated_on",
|
onstate = "mesecons_insulated:insulated_on",
|
||||||
|
Loading…
Reference in New Issue
Block a user