13 lines
213 B
Lua
13 lines
213 B
Lua
|
function CreateContainer (type, prototype)
|
||
|
return CreateEntityWithHealth(
|
||
|
type,
|
||
|
MergeTables(
|
||
|
prototype,
|
||
|
{
|
||
|
inventory_size = 1,
|
||
|
picture = Baseless.Sprite,
|
||
|
}
|
||
|
)
|
||
|
)
|
||
|
end
|