pressure_plate through opaque blocks
This commit is contained in:
parent
0b79820cc0
commit
849fce950a
|
@ -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,
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue