Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | added (optional) support for 6d facedir in dir_to_facedir and added ↵ | hdastwb | 2013-07-24 |
| | | | | facedir_to_dir | ||
* | Remove unnecessary debug output in node_dig() | PilzAdam | 2013-07-02 |
| | |||
* | Infinite tools in creative mode | Lord89James | 2013-07-02 |
| | |||
* | 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) | ||
* | Return an ItemStack in minetest.item_place() if nodes' on rightclick doesnt ↵ | PilzAdam | 2013-04-02 |
| | | | | return it | ||
* | Fix node replacement in not-quite-loaded chunks | 0gb.us | 2013-03-29 |
| | | | | When first entering an area, sometimes placing nodes replaces other nodes that are not buildable_to. This seems to be caused by the fact that nodes in unloaded map blocks are treated as ignore, a node that is buildable_to. This fixes that, by using get_node_or_nil() instead of the previously-used get_node(), then checking to see if the nodes were actually loaded before replacing. | ||
* | Drop nodes as items when dugged and no room in inventory and dont remove ↵ | PilzAdam | 2013-02-21 |
| | | | | dropped items when no room in inventory | ||
* | Dont drop tools on rightclick | PilzAdam | 2013-02-19 |
| | |||
* | Fix minetest.item_place_node() and minetest.item_drop() to always return an ↵ | PilzAdam | 2013-02-13 |
| | | | | ItemStack | ||
* | Fix to on_rightclick not able to change wielded_item | RealBadAngel | 2013-02-13 |
| | |||
* | Dont call on_rightclick() if sneak is pressed | PilzAdam | 2013-01-27 |
| | |||
* | Add on_rightclick(pos, node, clicker) callback for nodes | PilzAdam | 2013-01-04 |
| | |||
* | Add ability to change the itemstack in placenode callbacks | PilzAdam | 2012-12-17 |
| | |||
* | Fix minetest.get_node_drops(). It should always return list of item names, ↵ | Ilya Zhuravlev | 2012-12-02 |
| | | | | not ItemStack(s). | ||
* | Only check attachment for nodes with group attached_node | PilzAdam | 2012-12-01 |
| | |||
* | Add the group attached_node | PilzAdam | 2012-12-01 |
| | | | | Nodes in this group will be dropped as items if the node under them or the node in the wallmounted direction is not walkable. | ||
* | Add overridable function for handling dropped items from nodes | Perttu Ahola | 2012-09-02 |
| | |||
* | Fix github issue #213: Dropping unknown items crashes the game | Perttu Ahola | 2012-08-19 |
| | | | | The items will now just disappear when dropped. | ||
* | Allow digging of unknown nodes | Matthew I | 2012-08-12 |
| | | | | | | | | This allows the removal of nodes with unknown types. get_item_callback() (C++) would fail if a node has an unknown type. Now it will try using the callback from minetest.nodedef_default in this case. Also, minetest.node_dig() (Lua) was altered to always allow digging when the node definition is empty (i.e. unknown node). | ||
* | Remove special handling of creative mode | Perttu Ahola | 2012-07-25 |
| | |||
* | Detached inventory callbacks and reworked node metadata callbacks | Perttu Ahola | 2012-07-25 |
| | |||
* | builtin/item.lua: callbacks with copies of positions and nodes rather than ↵ | Perttu Ahola | 2012-07-24 |
| | | | | recycle the same ones, which callbacks can modify | ||
* | Add oldnode parameter to minetest.register_on_placenode callback | Perttu Ahola | 2012-07-23 |
| | |||
* | Fix building on top of (pointable && buildable_to) nodes | Perttu Ahola | 2012-07-23 |
| | |||
* | Actually fix facedir-rotated nodes placed using minetest.env:place_node() | Perttu Ahola | 2012-07-21 |
| | |||
* | Handle nil placer as it might occur when using minetest.env:place_node. (Uberi) | darkrose | 2012-07-21 |
| | |||
* | Remove tiles and special_tiles from node definition prototype because ↵ | Perttu Ahola | 2012-06-16 |
| | | | | otherwise the old names can't be used | ||
* | Update field names to non-deprecated ones in node definition prototype | Perttu Ahola | 2012-06-16 |
| | |||
* | Node placement client-side prediction | Perttu Ahola | 2012-06-10 |
| | |||
* | place_node, dig_node and punch_node; an in-game tester tool; remove old code | Perttu Ahola | 2012-06-05 |
| | |||
* | Add can_dig callback | darkrose | 2012-06-03 |
| | |||
* | Implement locked chest; add after_place_node and after_dig_node node callbacks | Perttu Ahola | 2012-06-03 |
| | |||
* | on_metadata_inventory_{move,offer,take} | Perttu Ahola | 2012-06-03 |
| | |||
* | Random node metadata things | Perttu Ahola | 2012-06-03 |
| | |||
* | Attempt to begin to implement chests and furnace in Lua (with problems) | Perttu Ahola | 2012-06-03 |
| | |||
* | Allow redefining minetest.item_place and the like | Perttu Ahola | 2012-04-09 |
| | |||
* | Implement dropped items as LuaEntities; leave the old ones as is for ↵ | Perttu Ahola | 2012-04-01 |
| | | | | compatibility | ||
* | Split builtin.lua to multiple files | Perttu Ahola | 2012-04-01 |