Add doc aliases for comparators

This commit is contained in:
Elias Åström 2024-09-08 15:19:43 +02:00 committed by cora
parent 1b60f44606
commit c371406392
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -1,2 +1,2 @@
name = mcl_comparators
depends = mcl_redstone, mcl_util, mcl_sounds, screwdriver
depends = mcl_redstone, mcl_util, mcl_sounds, screwdriver, doc