aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/bucket/init.lua
Commit message (Collapse)AuthorAge
* Move scriptapi to separate folder (by sapier)sapier2013-05-25
| | | | | | | | | | | On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
* Make lava buckets work as fuel in minimal gamedarkrose2012-07-21
|
* Move games/minetest to games/minimal and update README.txtPerttu Ahola2012-03-26
lass="hl opt">= digprop_err core.digprop_glasslike = digprop_err function core.node_metadata_inventory_move_allow_all() core.log("deprecated", "core.node_metadata_inventory_move_allow_all is obsolete and does nothing.") end function core.add_to_creative_inventory(itemstring) core.log("deprecated", "core.add_to_creative_inventory: This function is deprecated and does nothing.") end -- -- EnvRef -- core.env = {} local envref_deprecation_message_printed = false setmetatable(core.env, { __index = function(table, key) if not envref_deprecation_message_printed then core.log("deprecated", "core.env:[...] is deprecated and should be replaced with core.[...]") envref_deprecation_message_printed = true end local func = core[key] if type(func) == "function" then rawset(table, key, function(self, ...) return func(...) end) else rawset(table, key, nil) end return rawget(table, key) end }) function core.rollback_get_last_node_actor(pos, range, seconds) return core.rollback_get_node_actions(pos, range, seconds, 1)[1] end