mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-28 05:53:01 +00:00
Protect doors from screwdriver rotation
This commit is contained in:
parent
76c1c10a9b
commit
222f6880cb
1 changed files with 8 additions and 0 deletions
|
@ -274,6 +274,8 @@ function mcl_doors:register_door(name, def)
|
||||||
action_on = on_mesecons_signal_open,
|
action_on = on_mesecons_signal_open,
|
||||||
}},
|
}},
|
||||||
|
|
||||||
|
on_rotate = false,
|
||||||
|
|
||||||
can_dig = check_player_priv,
|
can_dig = check_player_priv,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -321,6 +323,8 @@ function mcl_doors:register_door(name, def)
|
||||||
action_on = on_mesecons_signal_open_top,
|
action_on = on_mesecons_signal_open_top,
|
||||||
}},
|
}},
|
||||||
|
|
||||||
|
on_rotate = false,
|
||||||
|
|
||||||
can_dig = check_player_priv,
|
can_dig = check_player_priv,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -368,6 +372,8 @@ function mcl_doors:register_door(name, def)
|
||||||
action_off = on_mesecons_signal_close,
|
action_off = on_mesecons_signal_close,
|
||||||
}},
|
}},
|
||||||
|
|
||||||
|
on_rotate = false,
|
||||||
|
|
||||||
can_dig = check_player_priv,
|
can_dig = check_player_priv,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -415,6 +421,8 @@ function mcl_doors:register_door(name, def)
|
||||||
action_off = on_mesecons_signal_close_top,
|
action_off = on_mesecons_signal_close_top,
|
||||||
}},
|
}},
|
||||||
|
|
||||||
|
on_rotate = false,
|
||||||
|
|
||||||
can_dig = check_player_priv,
|
can_dig = check_player_priv,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue