Files
simple-makes-complex/mods/CORE/Plant/src/Plant.lua
2026-04-23 22:30:17 +03:00

23 lines
458 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,
waving = 1,
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