Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add helper functions to make tool usable n times (#12047) | Wuzzy | 2022-06-03 | 1 | -1/+21 |
| | |||||
* | Reject registering node with empty name | sfan5 | 2022-05-29 | 1 | -0/+3 |
| | | | | fixes #10769 | ||||
* | Async environment for mods to do concurrent tasks (#11131) | sfan5 | 2022-05-02 | 1 | -0/+25 |
| | |||||
* | Refactor some Lua API functions in preparation for async env | sfan5 | 2022-05-02 | 1 | -3/+3 |
| | |||||
* | script: Replace calls to depreated luaL_openlib | sfan5 | 2021-05-30 | 1 | -1/+1 |
| | |||||
* | Pass ContentFeatures as reference to read_content_features (#10464) | JosiahWI | 2020-10-13 | 1 | -1/+2 |
| | |||||
* | Add a short_description to be used by mods (#8980) | DS | 2020-10-09 | 1 | -0/+11 |
| | |||||
* | LuaItemStack: Add __tostring metamethod (#8785) | Paul Ouellette | 2020-06-09 | 1 | -7/+18 |
| | | | | | * LuaItemStack: Add __tostring metamethod * Clean up LuaItemStack::checkobject | ||||
* | Fix alias handling of get_content_id (#9712) | sfan5 | 2020-04-19 | 1 | -1/+12 |
| | | | fixes #9632 | ||||
* | Drop content_sao.{cpp,h} | Loic Blot | 2020-04-11 | 1 | -1/+0 |
| | | | | | | | 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 | 1 | -1/+0 |
| | | | | 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 | 1 | -2/+4 |
| | | | 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 | 1 | -1/+3 |
| | |||||
* | Add ItemStack:get_description() to get tooltip (#8847) | Paul Ouellette | 2019-08-24 | 1 | -0/+11 |
| | |||||
* | Modernize lua read (part 2 & 3): C++ templating assurance (#7410) | Loïc Blot | 2018-06-30 | 1 | -1/+1 |
| | | | | | | | | | * 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 | 1 | -2/+7 |
| | |||||
* | Node definition manager refactor (#7016) | Dániel Juhász | 2018-02-10 | 1 | -4/+4 |
| | | | | | | | | | * 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 | 1 | -9/+4 |
| | | | | | | | | | | | | | * 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 | 1 | -1/+1 |
| | | | | * 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 | 1 | -0/+2 |
| | |||||
* | Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat ↵ | Loïc Blot | 2017-04-08 | 1 | -1/+1 |
| | | | | | (#5541) We are bundling Lua5.1 which has same macro | ||||
* | Add `get_wielded_item` | red-001 | 2017-03-13 | 1 | -13/+13 |
| | |||||
* | Fix incompatibility of ItemStack.to_table() introduced by stack meta | rubenwardy | 2017-02-07 | 1 | -15/+13 |
| | |||||
* | Add ItemStack key-value meta storage | rubenwardy | 2017-02-04 | 1 | -4/+34 |
| | |||||
* | Add minetest.unregister_item and minetest.register_alias_force | paly2 | 2016-09-08 | 1 | -0/+22 |
| | |||||
* | Make ItemStack:set_count(0) clear the item stack | sfan5 | 2016-01-15 | 1 | -1/+1 |
| | | | | fixes minetest/minetest_game#786 | ||||
* | LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, ↵ | kwolekr | 2014-12-28 | 1 | -12/+28 |
| | | | | set_metadata | ||||
* | Use "core" namespace internally | ShadowNinja | 2014-05-08 | 1 | -3/+3 |
| | |||||
* | Remove lua_State parameter from LuaError::LuaError | ShadowNinja | 2014-03-15 | 1 | -2/+2 |
| | |||||
* | Handle LuaErrors in Lua -> C++ calls on LuaJIT | ShadowNinja | 2013-12-18 | 1 | -2/+2 |
| | |||||
* | Add set_name(), set_count(), set_wear() and set_metadata() to Lua ItemStack | PilzAdam | 2013-09-28 | 1 | -0/+63 |
| | |||||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 | 1 | -37/+29 |
| | |||||
* | Change ContentFeatures array to a vector | Kahrl | 2013-07-14 | 1 | -3/+8 |
| | |||||
* | Add minetest.get_mapgen_object to API | kwolekr | 2013-06-27 | 1 | -1/+1 |
| | |||||
* | Add LuaVoxelManip | kwolekr | 2013-06-27 | 1 | -0/+28 |
| | |||||
* | Fix itemstack:add item not working correct | sapier | 2013-05-25 | 1 | -1/+1 |
| | |||||
* | Move scriptapi to separate folder (by sapier) | sapier | 2013-05-25 | 1 | -0/+472 |
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) |