You can only pet the cute end of a longcat
This commit is contained in:
parent
857afcc296
commit
e9007c7a38
11
node.lua
11
node.lua
@ -1,6 +1,6 @@
|
||||
-- LUALOCALS < ---------------------------------------------------------
|
||||
local math, minetest, nodecore, vector
|
||||
= math, minetest, nodecore, vector
|
||||
local ipairs, math, minetest, nodecore, vector
|
||||
= ipairs, math, minetest, nodecore, vector
|
||||
local math_random
|
||||
= math.random
|
||||
-- LUALOCALS > ---------------------------------------------------------
|
||||
@ -124,7 +124,11 @@ local function reg(id, base, spot)
|
||||
end
|
||||
end
|
||||
}
|
||||
minetest.register_node(modname .. ":cat_" .. id, nodecore.underride({}, basedef))
|
||||
minetest.register_node(modname .. ":cat_" .. id, nodecore.underride({
|
||||
groups = {
|
||||
[modname .. "_pettable"] = 1
|
||||
}
|
||||
}, basedef))
|
||||
minetest.register_node(modname .. ":longcat_front_" .. id,
|
||||
nodecore.underride({
|
||||
description = "LongCat",
|
||||
@ -138,6 +142,7 @@ local function reg(id, base, spot)
|
||||
},
|
||||
groups = {
|
||||
falling_node = 0,
|
||||
[modname .. "_pettable"] = 1,
|
||||
[modname .. "_longcat"] = 1
|
||||
},
|
||||
drop = modname .. ":cat_" .. id
|
||||
|
Loading…
x
Reference in New Issue
Block a user