1
0
Fork 0

Add Help aliases for redstone components

This commit is contained in:
Wuzzy 2017-03-21 04:27:50 +01:00
parent 453a59d19e
commit be48f46837
22 changed files with 90 additions and 9 deletions

View File

@ -4,3 +4,4 @@ mcl_sounds
mcl_tnt mcl_tnt
3d_armor_stand 3d_armor_stand
3d_armor 3d_armor
doc?

View File

@ -438,3 +438,9 @@ end
minetest.register_on_craft(check_craft) minetest.register_on_craft(check_craft)
minetest.register_craft_predict(check_craft) minetest.register_craft_predict(check_craft)
-- Add entry aliases for the Help
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", "mcl_dispensers:dispenser", "nodes", "mcl_dispensers:dispenser_down")
doc.add_entry_alias("nodes", "mcl_dispensers:dispenser", "nodes", "mcl_dispensers:dispenser_up")
end

View File

@ -1,3 +1,4 @@
mcl_init mcl_init
mesecons mesecons
mcl_util mcl_util
doc?

View File

@ -156,3 +156,9 @@ minetest.register_craft({
{"mcl_core:cobble", "mesecons:redstone", "mcl_core:cobble",}, {"mcl_core:cobble", "mesecons:redstone", "mcl_core:cobble",},
} }
}) })
-- Add entry aliases for the Help
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", "mcl_droppers:dropper", "nodes", "mcl_droppers:dropper_down")
doc.add_entry_alias("nodes", "mcl_droppers:dropper", "nodes", "mcl_droppers:dropper_up")
end

View File

@ -1 +1,2 @@
mesecons mesecons
doc?

View File

@ -177,3 +177,8 @@ minetest.register_craft({
burntime = 5, burntime = 5,
}) })
-- Add entry aliases for the Help
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", "mesecons_button:button_wood_off", "nodes", "mesecons_button:button_wood_on")
doc.add_entry_alias("nodes", "mesecons_button:button_stone_off", "nodes", "mesecons_button:button_stone_on")
end

View File

@ -221,3 +221,8 @@ minetest.register_node("mesecons_commandblock:commandblock_on", {
}}, }},
mcl_blast_resistance = 18000000, mcl_blast_resistance = 18000000,
}) })
-- Add entry alias for the Help
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", "mesecons_commandblock:commandblock_off", "nodes", "mesecons_commandblock:commandblock_on")
end

View File

@ -1 +1,2 @@
mesecons mesecons
doc?

View File

@ -226,3 +226,14 @@ minetest.register_craft({
{"mcl_core:stone","mcl_core:stone", "mcl_core:stone"}, {"mcl_core:stone","mcl_core:stone", "mcl_core:stone"},
} }
}) })
-- Add entry aliases for the Help
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", "mesecons_delayer:delayer_off_1", "nodes", "mesecons_delayer:delayer_off_2")
doc.add_entry_alias("nodes", "mesecons_delayer:delayer_off_1", "nodes", "mesecons_delayer:delayer_off_3")
doc.add_entry_alias("nodes", "mesecons_delayer:delayer_off_1", "nodes", "mesecons_delayer:delayer_off_4")
doc.add_entry_alias("nodes", "mesecons_delayer:delayer_off_1", "nodes", "mesecons_delayer:delayer_on_1")
doc.add_entry_alias("nodes", "mesecons_delayer:delayer_off_1", "nodes", "mesecons_delayer:delayer_on_2")
doc.add_entry_alias("nodes", "mesecons_delayer:delayer_off_1", "nodes", "mesecons_delayer:delayer_on_3")
doc.add_entry_alias("nodes", "mesecons_delayer:delayer_off_1", "nodes", "mesecons_delayer:delayer_on_4")
end

View File

@ -1 +1,2 @@
mesecons mesecons
doc?

View File

@ -34,10 +34,16 @@ minetest.register_node("mesecons_lightstone:lightstone_on", {
}) })
minetest.register_craft({ minetest.register_craft({
output = "node mesecons_lightstone:lightstone_off", output = "mesecons_lightstone:lightstone_off",
recipe = { recipe = {
{'',"mesecons:redstone",''}, {'',"mesecons:redstone",''},
{"mesecons:redstone",'mcl_nether:glowstone',"mesecons:redstone"}, {"mesecons:redstone",'mcl_nether:glowstone',"mesecons:redstone"},
{'','mesecons:redstone',''}, {'','mesecons:redstone',''},
} }
}) })
-- Add entry alias for the Help
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", "mesecons_lightstone:lightstone_off", "nodes", "mesecons_lightstone:lightstone_on")
end

View File

@ -1,3 +1,4 @@
mesecons mesecons
mesecons_mvps mesecons_mvps
mcl_mobitems mcl_mobitems
doc?

View File

@ -816,3 +816,25 @@ minetest.register_craft({
{"mesecons_pistons:piston_normal_off"}, {"mesecons_pistons:piston_normal_off"},
} }
}) })
-- Add entry aliases for the Help
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", "mesecons_pistons:piston_normal_off", "nodes", "mesecons_pistons:piston_normal_on")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_normal_off", "nodes", "mesecons_pistons:piston_up_normal_off")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_normal_off", "nodes", "mesecons_pistons:piston_up_normal_on")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_normal_off", "nodes", "mesecons_pistons:piston_down_normal_off")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_normal_off", "nodes", "mesecons_pistons:piston_down_normal_on")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_normal_off", "nodes", "mesecons_pistons:piston_pusher_normal")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_normal_off", "nodes", "mesecons_pistons:piston_up_pusher_normal")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_normal_off", "nodes", "mesecons_pistons:piston_down_pusher_normal")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_sticky_off", "nodes", "mesecons_pistons:piston_sticky_on")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_sticky_off", "nodes", "mesecons_pistons:piston_up_sticky_off")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_sticky_off", "nodes", "mesecons_pistons:piston_up_sticky_on")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_sticky_off", "nodes", "mesecons_pistons:piston_down_sticky_off")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_sticky_off", "nodes", "mesecons_pistons:piston_down_sticky_on")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_sticky_off", "nodes", "mesecons_pistons:piston_pusher_sticky")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_sticky_off", "nodes", "mesecons_pistons:piston_up_pusher_sticky")
doc.add_entry_alias("nodes", "mesecons_pistons:piston_sticky_off", "nodes", "mesecons_pistons:piston_down_pusher_sticky")
end

View File

@ -1 +1,2 @@
mesecons mesecons
doc?

View File

@ -122,6 +122,10 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
output = offstate, output = offstate,
recipe = recipe, recipe = recipe,
}) })
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", offstate, "nodes", onstate)
end
end end
mesecon:register_pressure_plate( mesecon:register_pressure_plate(
@ -149,3 +153,4 @@ minetest.register_craft({
recipe = "mesecons_pressureplates:pressure_plate_wood_off", recipe = "mesecons_pressureplates:pressure_plate_wood_off",
burntime = 15 burntime = 15
}) })

View File

@ -1 +1,2 @@
mesecons mesecons
doc?

View File

@ -206,3 +206,7 @@ minetest.register_craft({
burntime = 15 burntime = 15
}) })
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", "mesecons_solarpanel:solar_panel_off", "nodes", "mesecons_solarpanel:solar_panel_on")
doc.add_entry_alias("nodes", "mesecons_solarpanel:solar_panel_inverted_off", "nodes", "mesecons_solarpanel:solar_panel_inverted_on")
end

View File

@ -1,2 +1,3 @@
mesecons mesecons
mcl_torches mcl_torches
doc?

View File

@ -150,10 +150,7 @@ minetest.register_abm({
end end
}) })
-- Param2 Table (Block Attached To) if minetest.get_modpath("doc") then
-- 5 = z-1 doc.add_entry_alias("nodes", "mesecons_torch:mesecon_torch_on", "nodes", "mesecons_torch:mesecon_torch_off")
-- 3 = x-1 doc.add_entry_alias("nodes", "mesecons_torch:mesecon_torch_on", "nodes", "mesecons_torch:mesecon_torch_off_wall")
-- 4 = z+1 end
-- 2 = x+1
-- 0 = y+1
-- 1 = y-1

View File

@ -1 +1,2 @@
mesecons mesecons
doc?

View File

@ -96,3 +96,7 @@ minetest.register_craft({
{'mcl_core:cobble'}, {'mcl_core:cobble'},
} }
}) })
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", "mesecons_walllever:wall_lever_off", "nodes", "mesecons_walllever:wall_lever_on")
end