Make bugs only pointable with Bug Net (#3099)

这个提交包含在:
cx384
2024-03-10 17:57:22 +01:00
提交者 GitHub
父节点 5a80084800
当前提交 ef788d0307
共有 2 个文件被更改,包括 8 次插入0 次删除

查看文件

@@ -3,6 +3,9 @@
-- Load support for MT game translation.
local S = minetest.get_translator("butterflies")
-- Legacy compatibility, when pointabilities don't exist, pointable is set to true.
local pointable_compat = not minetest.features.item_specific_pointabilities
-- register butterflies
local butter_list = {
{"white", S("White Butterfly")},
@@ -33,6 +36,7 @@ for i in ipairs (butter_list) do
sunlight_propagates = true,
buildable_to = true,
walkable = false,
pointable = pointable_compat,
groups = {catchable = 1},
selection_box = {
type = "fixed",