Charakterbewegungen hinzugefügt, Deko hinzugefügt, Kochrezepte angepasst
This commit is contained in:
parent
95945c0306
commit
a0c893ca0b
1124 changed files with 64294 additions and 763 deletions
11
mods/futil/data_structures/default_table.lua
Normal file
11
mods/futil/data_structures/default_table.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
-- https://www.lua.org/pil/13.4.3.html
|
||||
|
||||
function futil.DefaultTable(initializer)
|
||||
return setmetatable({}, {
|
||||
__index = function(t, k)
|
||||
local v = initializer(k)
|
||||
t[k] = v
|
||||
return v
|
||||
end,
|
||||
})
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue