forked from VoxeLibre/VoxeLibre
Add Help alias for redstone trails
This commit is contained in:
parent
be48f46837
commit
bcf6a46c6e
|
@ -1,2 +1,3 @@
|
|||
mcl_sounds
|
||||
mcl_core
|
||||
doc?
|
||||
|
|
|
@ -173,6 +173,14 @@ Read the help entries on the other redstone components to learn how redstone com
|
|||
}},
|
||||
sounds = mcl_sounds.node_sound_defaults(),
|
||||
})
|
||||
|
||||
-- Add Help entry aliases for e.g. making it identifiable by the lookup tool [doc_identifier]
|
||||
if minetest.get_modpath("doc") then
|
||||
if nodeid ~= "00000000" then
|
||||
doc.add_entry_alias("nodes", "mesecons:wire_00000000_off", "nodes", "mesecons:wire_"..nodeid.."_off")
|
||||
end
|
||||
doc.add_entry_alias("nodes", "mesecons:wire_00000000_off", "nodes", "mesecons:wire_"..nodeid.."_on")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue