Files
simple-makes-complex/mods/CORE/Plant/src/Plant.lua
2026-02-27 20:34:37 +03:00

22 lines
444 B
Lua

local Node = Smc.requireNode()
---@class Plant : Node
local Plant = Node:getExtended({
settings = {
name = 'smc__core__plant:abstract_plant',
drawtype = "plantlike",
sunlight_propagates = true,
paramtype = "light",
paramtype2 = "meshoptions",
walkable = false,
buildable_to = true,
groups = {dig_immediate = 3},
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.5, 0.25},
},
}
})
return Plant