aboutsummaryrefslogtreecommitdiff
path: root/builtin
AgeCommit message (Collapse)Author
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
2012-07-25Deprecate minetest.add_to_creative_inventory and use group ↵Perttu Ahola
not_in_creative_inventory instead
2012-07-25Remove special handling of creative modePerttu Ahola
2012-07-25Detached inventory callbacks and reworked node metadata callbacksPerttu Ahola
2012-07-24builtin/item.lua: callbacks with copies of positions and nodes rather than ↵Perttu Ahola
recycle the same ones, which callbacks can modify
2012-07-23Add oldnode parameter to minetest.register_on_placenode callbackPerttu Ahola
2012-07-23Fix building on top of (pointable && buildable_to) nodesPerttu Ahola
2012-07-23Move /give, /giveme, /spawnentity and /pulverize to builtin/chatcommands.luaPerttu Ahola
2012-07-22minetest.register_on_player_receive_fields()Perttu Ahola
2012-07-22Add "/mods" command to list mods to clientMatthew I
2012-07-21Actually fix facedir-rotated nodes placed using minetest.env:place_node()Perttu Ahola
2012-07-21Check whether node is known before reading definition in ↵Perttu Ahola
__builtin:item:on_step()
2012-07-21Message cleanups (consistency) and prevent /me when not allowed to shoutCalinou
2012-07-21Handle nil placer as it might occur when using minetest.env:place_node. (Uberi)darkrose
2012-06-16Fix /setpassword and /clearpasswordPerttu Ahola
2012-06-16Remove tiles and special_tiles from node definition prototype because ↵Perttu Ahola
otherwise the old names can't be used
2012-06-16Update field names to non-deprecated ones in node definition prototypePerttu Ahola
2012-06-10Node placement client-side predictionPerttu Ahola
2012-06-08Don't deprecate minetest.register_on_placenode and minetest.register_on_dignodePerttu Ahola
2012-06-07Add minetest.serialize() and minetest.deserialize()Perttu Ahola
2012-06-05place_node, dig_node and punch_node; an in-game tester tool; remove old codePerttu Ahola
2012-06-03Add can_dig callbackdarkrose
2012-06-03Add ObjRef:is_player() and modify ObjRef:get_player_name() to always return ↵Perttu Ahola
a string to aid better inter-object compatibility of code that assumes objects to be players
2012-06-03Implement locked chest; add after_place_node and after_dig_node node callbacksPerttu Ahola
2012-06-03on_metadata_inventory_{move,offer,take}Perttu Ahola
2012-06-03Random node metadata thingsPerttu Ahola
2012-06-03Attempt to begin to implement chests and furnace in Lua (with problems)Perttu Ahola
2012-05-19Take out the "Privileges of foo are hidden from you." response of /privsPerttu Ahola
2012-04-13Fix executing register_chatcommand-defined commands even in the middle of a ↵Perttu Ahola
chat line
2012-04-10basic_privs to allow granting/revoking interact_extra tooPerttu Ahola