diff options
Diffstat (limited to 'data/builtin.lua')
-rw-r--r-- | data/builtin.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/builtin.lua b/data/builtin.lua index bfdb45d93..a9412a97d 100644 --- a/data/builtin.lua +++ b/data/builtin.lua @@ -328,6 +328,16 @@ minetest.craftitem_eat = function(hp_change) end -- +-- Creative inventory +-- + +minetest.creative_inventory = {} + +minetest.add_to_creative_inventory = function(itemstring) + table.insert(minetest.creative_inventory, itemstring) +end + +-- -- Callback registration -- |