mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Merge pull request 'Bell can be activated by redstone' (#2282) from redstone_bell into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2282 Reviewed-by: PrairieWind <prairie.astronomer1@gmail.com>
This commit is contained in:
commit
22d3b4a5d4
2 changed files with 6 additions and 1 deletions
|
@ -39,6 +39,10 @@ minetest.register_node("mcl_bells:bell", {
|
||||||
_mcl_hardness = 5,
|
_mcl_hardness = 5,
|
||||||
on_rightclick = mcl_bells.ring_once,
|
on_rightclick = mcl_bells.ring_once,
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha = "clip",
|
||||||
|
mesecons = {effector = {
|
||||||
|
action_on = mcl_bells.ring_once,
|
||||||
|
rules = mesecon.rules.flat,
|
||||||
|
}},
|
||||||
})
|
})
|
||||||
|
|
||||||
if has_mcl_wip then
|
if has_mcl_wip then
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
name = mcl_bells
|
name = mcl_bells
|
||||||
optional_depends = mcl_wip
|
depends = mesecons
|
||||||
|
optional_depends = mcl_wip
|
Loading…
Reference in a new issue