Add doc aliases for comparators
This commit is contained in:
parent
1b60f44606
commit
c371406392
@ -161,6 +161,8 @@ for _, mode in pairs{"comp", "sub"} do
|
||||
desc = S("Redstone Comparator (Subtract, Powered)")
|
||||
end
|
||||
nodedef.description = desc
|
||||
|
||||
doc.add_entry_alias("nodes", "mcl_comparators:comparator_"..mode.."_"..state, "nodes", nodename)
|
||||
end
|
||||
|
||||
minetest.register_node(nodename, nodedef)
|
||||
|
@ -1,2 +1,2 @@
|
||||
name = mcl_comparators
|
||||
depends = mcl_redstone, mcl_util, mcl_sounds, screwdriver
|
||||
depends = mcl_redstone, mcl_util, mcl_sounds, screwdriver, doc
|
||||
|
Loading…
x
Reference in New Issue
Block a user