Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Refactor some Lua API functions in preparation for async env | sfan5 | 2022-05-02 |
| | |||
* | script: Replace calls to depreated luaL_openlib | sfan5 | 2021-05-30 |
| | |||
* | Pass ContentFeatures as reference to read_content_features (#10464) | JosiahWI | 2020-10-13 |
| | |||
* | Add a short_description to be used by mods (#8980) | DS | 2020-10-09 |
| | |||
* | LuaItemStack: Add __tostring metamethod (#8785) | Paul Ouellette | 2020-06-09 |
| | | | | | * LuaItemStack: Add __tostring metamethod * Clean up LuaItemStack::checkobject | ||
* | Fix alias handling of get_content_id (#9712) | sfan5 | 2020-04-19 |
| | | | fixes #9632 | ||
* | Drop content_sao.{cpp,h} | Loic Blot | 2020-04-11 |
| | | | | | | | Move LuaEntitySAO to a new dedicated file Drop TestSAO (useless object) Drop the old static startup initialized SAO factory, which was pretty useless. This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation | ||
* | Overall improvements to log messages (#9598) | sfan5 | 2020-04-08 |
| | | | | Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places. | ||
* | minetest.get_content_id: error if the node does not exist (#9458) | HybridDog | 2020-03-11 |
| | | | If a mod creator makes a typing mistake, this function now causes an error instead of returning the id of "ignore". | ||
* | Allow calling ItemStack with no arguments (#8783) | Paul Ouellette | 2019-10-23 |
| | |||
* | Add ItemStack:get_description() to get tooltip (#8847) | Paul Ouellette | 2019-08-24 |
| | |||
* | Modernize lua read (part 2 & 3): C++ templating assurance (#7410) | Loïc Blot | 2018-06-30 |
| | | | | | | | | | * Modernize lua read (part 2 & 3): C++ templating assurance Implement the boolean reader Implement the string reader Also remove unused & unimplemented script_error_handler Add a reader with default value | ||
* | Fix missing ignore textures (#7326) | you | 2018-05-20 |
| | |||
* | Node definition manager refactor (#7016) | Dániel Juhász | 2018-02-10 |
| | | | | | | | | | * Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager | ||
* | Code modernization: subfolders (#6283) | Loïc Blot | 2017-08-19 |
| | | | | | | | | | | | | | * Code modernization: subfolders Modernize various code on subfolders client, network, script, threading, unittests, util * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Make connection.cpp readable in a pointed place + typo | ||
* | Fix various copy instead of const ref reported by cppcheck (#5615) | Loïc Blot | 2017-04-19 |
| | | | | * Also remove InventoryList::peekItem unused function * Fix some post increment to preincrement reported by cppcheck | ||
* | Fix inability to change metadata using stack:to_table() (#5547) | numberZero | 2017-04-12 |
| | |||
* | Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat ↵ | Loïc Blot | 2017-04-08 |
| | | | | | (#5541) We are bundling Lua5.1 which has same macro | ||
* | Add `get_wielded_item` | red-001 | 2017-03-13 |
| | |||
* | Fix incompatibility of ItemStack.to_table() introduced by stack meta | rubenwardy | 2017-02-07 |
| | |||
* | Add ItemStack key-value meta storage | rubenwardy | 2017-02-04 |
| | |||
* | Add minetest.unregister_item and minetest.register_alias_force | paly2 | 2016-09-08 |
| | |||
* | Make ItemStack:set_count(0) clear the item stack | sfan5 | 2016-01-15 |
| | | | | fixes minetest/minetest_game#786 | ||
* | LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, ↵ | kwolekr | 2014-12-28 |
| | | | | set_metadata | ||
* | Use "core" namespace internally | ShadowNinja | 2014-05-08 |
| | |||
* | Remove lua_State parameter from LuaError::LuaError | ShadowNinja | 2014-03-15 |
| | |||
* | Handle LuaErrors in Lua -> C++ calls on LuaJIT | ShadowNinja | 2013-12-18 |
| | |||
* | Add set_name(), set_count(), set_wear() and set_metadata() to Lua ItemStack | PilzAdam | 2013-09-28 |
| | |||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 |
| | |||
* | Change ContentFeatures array to a vector | Kahrl | 2013-07-14 |
| | |||
* | Add minetest.get_mapgen_object to API | kwolekr | 2013-06-27 |
| | |||
* | Add LuaVoxelManip | kwolekr | 2013-06-27 |
| | |||
* | Fix itemstack:add item not working correct | sapier | 2013-05-25 |
| | |||
* | Move scriptapi to separate folder (by sapier) | sapier | 2013-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) |