summaryrefslogtreecommitdiff
path: root/builtin
AgeCommit message (Collapse)Author
2013-05-25Move scriptapi to separate folder (by sapier)sapier
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)
2013-05-01Fix minetest.featuresPilzAdam
2013-05-01Add a Way of checking for specific Feature with Lua Adds ↵Sfan5
minetest.get_feature() and minetest.has_feature()
2013-04-23Add option to not prepend "Server -!- " to messages sent with ↵ShadowNinja
minetest.chat_send_player()
2013-04-08Use system wide LuaJIT if aviable.RealBadAngel
2013-04-05Only enqueue falling nodes if they really want to fallPilzAdam
2013-04-05unkn own block -> unkn own nodekhonkhortisan
2013-04-05Add private messaging with /msgShadowNinja
2013-04-05Use the nodebox as selection box if it's not set manuallyDiego Martínez
2013-04-05Add a delay to nodeupdate()PilzAdam
2013-04-02Return an ItemStack in minetest.item_place() if nodes' on rightclick doesnt ↵PilzAdam
return it
2013-03-30Don't grant priveleges to non-existent players.0gb.us
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.
2013-03-29Fix node replacement in not-quite-loaded chunks0gb.us
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.
2013-03-19Allow falling nodes to pass through solid "buildable_to" nodes.Splizard
2013-03-19Prevent passing nil to unpack() in minetest.afterPilzAdam
2013-03-17Allow minetest.after to take a variable number of argumentsJeija
2013-03-05Allow any character in formspec strings with escape charkwolekr
2013-03-03Fix pickup of dropped items when the player only takes a part of themPilzAdam
2013-02-21Drop nodes as items when dugged and no room in inventory and dont remove ↵PilzAdam
dropped items when no room in inventory
2013-02-19Dont drop tools on rightclickPilzAdam
2013-02-18Set numeric locale for LuaIlya Zhuravlev
2013-02-13Fix minetest.item_place_node() and minetest.item_drop() to always return an ↵PilzAdam
ItemStack
2013-02-13Fix to on_rightclick not able to change wielded_itemRealBadAngel
2013-01-27Dont call on_rightclick() if sneak is pressedPilzAdam
2013-01-12Fix spread of items in falling codePilzAdam
2013-01-04Add on_rightclick(pos, node, clicker) callback for nodesPilzAdam
2012-12-17Add ability to change the itemstack in placenode callbacksPilzAdam
2012-12-15Fix item entity's collision with nodeboxesjordan4ibanez
2012-12-11Only fly through walls in noclip mode wich requires the noclip privilegePilzAdam
2012-12-02Fix minetest.get_node_drops(). It should always return list of item names, ↵Ilya Zhuravlev
not ItemStack(s).
2012-12-01Only check attachment for nodes with group attached_nodePilzAdam
2012-12-01Add the group attached_nodePilzAdam
Nodes in this group will be dropped as items if the node under them or the node in the wallmounted direction is not walkable.
2012-11-30Log /grant and /revoke command usageDannyDark
2012-11-30Add shutdown hook interface to Lua APIMatthew I
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.
2012-11-27Revert "Use wielditem drawtype for all nodes in item_entity"Perttu Ahola
This reverts commit ffad18e42442fed10c312adc989fc62b74e05896.
2012-11-26Use wielditem drawtype for all nodes in item_entityPilzAdam
2012-11-20Fix server crash on /clearpasswordAnthony
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.
2012-11-03Merge pull request #274 from PilzAdam/fallingPilzAdam
Fix a bug in falling code where entities get stuck
2012-11-03Make air and ignore drop nothingPilzAdam
2012-11-03Fix a bug in falling code where entities get stuckPilzAdam
2012-10-31Remove a useless commentPilzAdam
2012-10-31Move falling to builtinPilzAdam
2012-09-09Statically store always_collect field of __builtin:itemPerttu Ahola
2012-09-02Add overridable function for handling dropped items from nodesPerttu Ahola
2012-08-19Fix github issue #213: Dropping unknown items crashes the gamePerttu Ahola
The items will now just disappear when dropped.
2012-08-12Move chat commands to Lua and remove servercommand.{cpp,h}Matthew I
Commands moved: /me /status /time /shutdown /ban /clearobjects
2012-08-12Allow digging of unknown nodesMatthew I
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).
2012-07-27Make the rollback system VERY FUCKING GOD DAMN POWERFULPerttu Ahola
2012-07-27Don't track liquids for rollback because of too much logPerttu Ahola
2012-07-27Experimental-ish rollback functionalityPerttu Ahola