aboutsummaryrefslogtreecommitdiff
path: root/builtin (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Return an ItemStack in minetest.item_place() if nodes' on rightclick doesnt ↵PilzAdam2013-04-021-1/+1
| | | | return it
* Don't grant priveleges to non-existent players.0gb.us2013-03-301-0/+6
| | | | When accidentally misspelling a name, privileges are sometimes granted to non-existent players, leaving them with the extra privileges, but without the default privileges, if they ever join the server. This corrects that by disallowing /grant from working with invalid players. For completeness, it does the same for /revoke.
* Fix node replacement in not-quite-loaded chunks0gb.us2013-03-291-3/+10
| | | | 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.
* Allow falling nodes to pass through solid "buildable_to" nodes.Splizard2013-03-191-1/+7
|
* Prevent passing nil to unpack() in minetest.afterPilzAdam2013-03-191-2/+2
|
* Allow minetest.after to take a variable number of argumentsJeija2013-03-171-3/+3
|
* Allow any character in formspec strings with escape charkwolekr2013-03-051-0/+7
|
* Fix pickup of dropped items when the player only takes a part of themPilzAdam2013-03-031-0/+1
|
* Drop nodes as items when dugged and no room in inventory and dont remove ↵PilzAdam2013-02-212-2/+13
| | | | dropped items when no room in inventory
* Dont drop tools on rightclickPilzAdam2013-02-191-2/+1
|
* Set numeric locale for LuaIlya Zhuravlev2013-02-181-0/+1
|
* Fix minetest.item_place_node() and minetest.item_drop() to always return an ↵PilzAdam2013-02-131-3/+3
| | | | ItemStack
* Fix to on_rightclick not able to change wielded_itemRealBadAngel2013-02-131-2/+1
|
* Dont call on_rightclick() if sneak is pressedPilzAdam2013-01-271-1/+2
|
* Fix spread of items in falling codePilzAdam2013-01-121-3/+3
|
* Add on_rightclick(pos, node, clicker) callback for nodesPilzAdam2013-01-041-2/+13
|
* Add ability to change the itemstack in placenode callbacksPilzAdam2012-12-171-3/+11
|
* Fix item entity's collision with nodeboxesjordan4ibanez2012-12-151-2/+3
|
* Only fly through walls in noclip mode wich requires the noclip privilegePilzAdam2012-12-111-0/+4
|
* Fix minetest.get_node_drops(). It should always return list of item names, ↵Ilya Zhuravlev2012-12-021-2/+2
| | | | not ItemStack(s).
* Only check attachment for nodes with group attached_nodePilzAdam2012-12-011-1/+2
|
* Add the group attached_nodePilzAdam2012-12-012-0/+56
| | | | Nodes in this group will be dropped as items if the node under them or the node in the wallmounted direction is not walkable.
* Log /grant and /revoke command usageDannyDark2012-11-301-0/+2
|
* Add shutdown hook interface to Lua APIMatthew I2012-11-301-0/+1
| | | | | | | | | | Scripts can call minetest.register_on_shutdown() to register a shutdown hook. Document that minetest.register_on_shutdown() callbacks may not be run If the server crashes, it is unlikely that callbacks registered using minetest.register_on_shutdown() will be called.
* Revert "Use wielditem drawtype for all nodes in item_entity"Perttu Ahola2012-11-271-6/+6
| | | | This reverts commit ffad18e42442fed10c312adc989fc62b74e05896.
* Use wielditem drawtype for all nodes in item_entityPilzAdam2012-11-261-6/+6
|
* Fix server crash on /clearpasswordAnthony2012-11-201-2/+2
| | | | According to #253, using `/clearpassword` without an argument causes the server to crash from an assertion failure. I've resubmitted matttpt's patch as a pull request to aid in merging.
* Merge pull request #274 from PilzAdam/fallingPilzAdam2012-11-031-0/+5
|\ | | | | Fix a bug in falling code where entities get stuck
| * Fix a bug in falling code where entities get stuckPilzAdam2012-11-031-0/+5
| |
* | Make air and ignore drop nothingPilzAdam2012-11-031-0/+2
|/
* Remove a useless commentPilzAdam2012-10-311-5/+0
|
* Move falling to builtinPilzAdam2012-10-312-0/+142
|
* Statically store always_collect field of __builtin:itemPerttu Ahola2012-09-091-2/+14
|
* Add overridable function for handling dropped items from nodesPerttu Ahola2012-09-021-8/+13
|
* Fix github issue #213: Dropping unknown items crashes the gamePerttu Ahola2012-08-191-4/+6
| | | | The items will now just disappear when dropped.
* Move chat commands to Lua and remove servercommand.{cpp,h}Matthew I2012-08-121-20/+102
| | | | | | | | | | Commands moved: /me /status /time /shutdown /ban /clearobjects
* Allow digging of unknown nodesMatthew I2012-08-121-1/+2
| | | | | | | | 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).
* Make the rollback system VERY FUCKING GOD DAMN POWERFULPerttu Ahola2012-07-271-4/+11
|
* Don't track liquids for rollback because of too much logPerttu Ahola2012-07-271-1/+1
|
* Experimental-ish rollback functionalityPerttu Ahola2012-07-272-1/+73
|
* Deprecate minetest.add_to_creative_inventory and use group ↵Perttu Ahola2012-07-252-10/+8
| | | | not_in_creative_inventory instead
* Remove special handling of creative modePerttu Ahola2012-07-251-17/+15
|
* Detached inventory callbacks and reworked node metadata callbacksPerttu Ahola2012-07-254-35/+23
|
* builtin/item.lua: callbacks with copies of positions and nodes rather than ↵Perttu Ahola2012-07-241-68/+82
| | | | recycle the same ones, which callbacks can modify
* Add oldnode parameter to minetest.register_on_placenode callbackPerttu Ahola2012-07-231-2/+3
|
* Fix building on top of (pointable && buildable_to) nodesPerttu Ahola2012-07-231-15/+35
|
* Move /give, /giveme, /spawnentity and /pulverize to builtin/chatcommands.luaPerttu Ahola2012-07-231-1/+109
|
* minetest.register_on_player_receive_fields()Perttu Ahola2012-07-221-0/+7
|
* Add "/mods" command to list mods to clientMatthew I2012-07-221-0/+17
|
* Actually fix facedir-rotated nodes placed using minetest.env:place_node()Perttu Ahola2012-07-211-5/+7
|