mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-07-07 01:50:24 +02:00
first some changes for help modpack
This commit is contained in:
@ -36,7 +36,9 @@ minetest.register_node("mesecons_insulated:insulated_on", {
|
||||
state = mesecon.state.on,
|
||||
offstate = "mesecons_insulated:insulated_off",
|
||||
rules = insulated_wire_get_rules
|
||||
}}
|
||||
}},
|
||||
-- doc support:
|
||||
_doc_items_create_entry = false
|
||||
})
|
||||
|
||||
minetest.register_node("mesecons_insulated:insulated_off", {
|
||||
@ -67,9 +69,16 @@ minetest.register_node("mesecons_insulated:insulated_off", {
|
||||
state = mesecon.state.off,
|
||||
onstate = "mesecons_insulated:insulated_on",
|
||||
rules = insulated_wire_get_rules
|
||||
}}
|
||||
}},
|
||||
-- doc support:
|
||||
_doc_items_longdesc = " Insulated mesecons are conductors that only conduct in one direction (and also not up or down)."
|
||||
})
|
||||
|
||||
-- doc support:
|
||||
if minetest.get_modpath("doc") and minetest.get_modpath("doc_items") then
|
||||
doc.add_entry_alias("nodes", "mesecons_insulated:insulated_off", "nodes", "mesecons_insulated:insulated_on")
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_insulated:insulated_off 3",
|
||||
recipe = {
|
||||
|
Reference in New Issue
Block a user