pressure_plate through opaque blocks

This commit is contained in:
Henry Behrendt 2021-09-05 08:42:52 +02:00
parent 0b79820cc0
commit 849fce950a
1 changed files with 14 additions and 2 deletions

View File

@ -133,7 +133,13 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te
groups = groups_off,
tiles = textures_off,
mesecons = {receptor = { state = mesecon.state.off, rules = mesecon.rules.pplate }},
mesecons = {
receptor = {
state = mesecon.state.off,
rules = mesecon.rules.pplate,
opaquespread = true,
}
},
_doc_items_longdesc = longdesc,
_tt_help = tt,
},{
@ -143,7 +149,13 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te
tiles = textures_on,
description = "",
mesecons = {receptor = { state = mesecon.state.on, rules = mesecon.rules.pplate }},
mesecons = {
receptor = {
state = mesecon.state.on,
rules = mesecon.rules.pplate,
opaquespread = true,
}
},
_doc_items_create_entry = false,
})