17 lines
296 B
Lua
17 lines
296 B
Lua
|
function CreateEntity (type, prototype)
|
||
|
if CreateUniquePrototype(
|
||
|
type,
|
||
|
MergeTables(
|
||
|
prototype,
|
||
|
Baseless.IconSpecification,
|
||
|
{
|
||
|
subgroup = "dummy-item-subgroup",
|
||
|
}
|
||
|
)
|
||
|
) then
|
||
|
Baseless.Needs.ItemGroup = true
|
||
|
return true
|
||
|
end
|
||
|
return false
|
||
|
end
|