aboutsummaryrefslogtreecommitdiff
path: root/src/scriptapi.cpp
Commit message (Collapse)AuthorAge
* Allow the LUA API to set animations to meshes as well as the animation ↵MirceaKitsune2012-11-25
| | | | | | | | | | | | speed. Also update animations only when needed. Support for animation blending, though for some reason it doesn't work. Don't enable animation transitions by default for many reaosons Object property to store individual bone positions. LUA can specify a bone name followed by a bone position. No functionality yet. Bone rotation to be added in the following commit Same system for bone rotation, plus a few other things I missed
* Add a subfolder for models and transfer models from server to clientMirceaKitsune2012-11-25
| | | | | | | | (obj, md2 and md3 are currently allowed) Get rid of the texture string and use the existing textures array. Segmented meshes have multiple materials, and this will allow us to texture each. Do not switch to this commit yet! If a texture string is left empty in LUA, don't modify that material. Useful so a script can change specific textures without affecting others
* Properly read the mesh from LUA.MirceaKitsune2012-11-25
| | | | | | | | | | | | | | | | | Players can now be set to meshes using the following test script: function switch_player_visual() prop = { mesh="player.obj", texture="player.png", visual="mesh", } for _, obj in pairs(minetest.get_connected_players()) do obj:set_properties(prop) end minetest.after(1.0, switch_player_visual) end minetest.after(1.0, switch_player_visual)
* Merge pull request #243 from xyzz/liquid_renewablePilzAdam2012-11-03
|\ | | | | Add liquid_renewable property, allow non-renewable liquids.
| * Add liquid_renewable property.Ilya Zhuravlev2012-09-07
| |
* | Add dtime_s to entity activationPerttu Ahola2012-09-09
| |
* | Fix ObjectRef:punch()Perttu Ahola2012-09-09
|/
* Add InventoryList width property & allow custom crafting grids.Ilya Zhuravlev2012-09-01
|
* Add ban management routines to Lua APIMatthew I2012-08-12
| | | | | | | | Those functions are: * minetest.get_ban_list() * minetest.get_ban_description(ip_or_name) * minetest.ban_player(name) * minetest.unban_player_or_ip(ip_or_name)
* Extend Lua API in order to implement chat commandsMatthew I2012-08-12
| | | | | | minetest.get_server_status() minetest.request_shutdown() EnvRef:clear_objects()
* Allow digging of unknown nodesMatthew I2012-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).
* Handle max<min in LuaPseudoRandom::l_next()Perttu Ahola2012-07-27
|
* Experimental-ish rollback functionalityPerttu Ahola2012-07-27
|
* Improve inventory callbacks a bitPerttu Ahola2012-07-25
|
* Remove special handling of creative modePerttu Ahola2012-07-25
|
* Detached inventory callbacks and reworked node metadata callbacksPerttu Ahola2012-07-25
|
* Detached inventoriesPerttu Ahola2012-07-24
|
* Implement node timersdarkrose2012-07-23
|
* minetest.register_on_player_receive_fields()Perttu Ahola2012-07-22
|
* Add minetest.get_modnames() to Lua APIMatthew I2012-07-22
|
* Fix typo in scriptapi.cpp in minetest.get_craft_recipe()Perttu Ahola2012-07-21
|
* Check for table type when reading groups from Luadarkrose2012-07-21
|
* Add minetest.get_craft_recipe()darkrose2012-07-21
|
* Allow defining player's inventory form in LuaPerttu Ahola2012-07-19
|
* Fix /builtin/misc.lua:47: attempt to call method 'is_player' (a nil value)Perttu Ahola2012-06-19
|
* Custom boxy nodes (stairs, slabs) and collision changesKahrl2012-06-17
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
|
* Fix "Node placement prediction failed for (places __default) - Name not known"Perttu Ahola2012-06-16
|
* Node texture animationPerttu Ahola2012-06-16
|
* Node placement client-side predictionPerttu Ahola2012-06-10
|
* Allow replacements in cooking and fuel recipesKahrl2012-06-06
|
* Add after_destruct and cache the existence of on_construct, on_destruct and ↵Perttu Ahola2012-06-05
| | | | after_destruct for quick skipping when a node does not have them
* place_node, dig_node and punch_node; an in-game tester tool; remove old codePerttu Ahola2012-06-05
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-05
| | | | GPLv2/later, by agreement of major contributors
* Add InvRef:is_empty(listname) and make chests/furnaces not diggable if not ↵darkrose2012-06-03
| | | | empty in minimal game
* Add ObjRef:is_player() and modify ObjRef:get_player_name() to always return ↵Perttu Ahola2012-06-03
| | | | a string to aid better inter-object compatibility of code that assumes objects to be players
* minetest.get_craft_resultPerttu Ahola2012-06-03
|
* NodeMetaRef:{to,from}_table and lua_api.txt additionsPerttu Ahola2012-06-03
|
* on_metadata_inventory_{move,offer,take}Perttu Ahola2012-06-03
|
* Implement sign using form field protocolPerttu Ahola2012-06-03
|
* Add node on_construct, on_destruct callbacks and update lua_api.txtPerttu Ahola2012-06-03
|
* Strip unneeded variables from NodeMetadatadarkrose2012-06-03
|
* WIP node metadata, node timersKahrl2012-06-03
|
* EnvRef:find_nodes_in_area(minp, maxp, nodenames)Perttu Ahola2012-04-08
|
* PerlinNoise for Lua.Sergey Gilfanov2012-04-07
|
* Add EnvRef:find_node_near(pos, radius, nodenames)Perttu Ahola2012-04-06
|
* Remove debug outputPerttu Ahola2012-04-04
|
* Fix dropped nodeitem visualsPerttu Ahola2012-04-04
|
* Implement dropped items as LuaEntities; leave the old ones as is for ↵Perttu Ahola2012-04-01
| | | | compatibility
* Remplement and improve /setting in Lua, now called /setPerttu Ahola2012-04-01
|