summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
Commit message (Collapse)AuthorAge
* Rewrite generate notification mechanismkwolekr2014-12-06
| | | | | | | Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files
* Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker2014-12-06
|
* Improve Lua API documentationCiaran Gultnieks2014-11-28
| | | | | | | | | | | | | | | | | | | | | Changes: * Add extra documentation for remove_item. This isn't as silly as it sounds: iterate a list containing items with unique metadata each, and remove_item the first one you find, placing into a different - fine, except the remove will invariably remove the wrong one, leading to items being duplicated and others destroyed. Arguably it's a bug, and Inventory::removeItem should actually remove the item you tell it to. (i.e. if the passed ItemStack has metadata, match it). But it seems reasonable to just document the behaviour more clearly. * Improve string_to_pos documentation. * Clarify dig_node documentation (return value). * Better on_step documentation. * get_nodemeta -> get_meta. * Other minor fixes.
* Add minetest.copy_table(table) To get rid off the "table references"SmallJoker2014-11-27
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Add option 'eased' to NoiseParamsSmallJoker2014-11-13
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Added names colours and refactored parseColorString()Craig Robbins2014-10-29
|
* Custom collision boxes node property.RealBadAngel2014-10-19
|
* Add meshnode drawtype.RealBadAngel2014-10-18
|
* Add [colorize modifierBlockMen2014-10-05
|
* Add better documentation for alternate drop definition to lua_api.txt.Diego Martínez2014-10-02
|
* Add optional framed glasslike drawtypeBlockMen2014-10-02
|
* Add firelike drawtypeTriBlade92014-09-21
|
* Add compression APIShadowNinja2014-09-20
|
* Simplify and optimize schematic replacementsShadowNinja2014-09-11
|
* Add LuaVoxelManip methods: get_node_at() and set_node_at()kwolekr2014-09-01
|
* Update Mapgen VoxelManipulator on buffer invalidationkwolekr2014-09-01
|
* Remove invalid doc about minetest.get_time_us()sapier2014-08-25
|
* Add missing doc for minetest.get_us_time()sapier2014-08-25
|
* Fix seg fault if popping from empty stack (L-system trees)Craig Robbins2014-08-23
| | | | | | | | | | | | | | | | | | See: https://github.com/minetest/minetest/issues/1525 Background Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack. ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error Commit Description This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace. L-Systems fix randomness Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree Resolves: https://github.com/minetest/minetest/issues/1469 Fix l-system crash when treedef random_level not set by Lua
* Add ^[mask texture modifiersfan52014-08-22
|
* Correct spelling mistakes in documentationrubenwardy2014-08-22
|
* Mod profiling supportsapier2014-08-19
| | | | | | | | | Config settings: profiling = true/false (gather statistics) detailed_profiling = true/false (break mod times to callbacks) Chat commands: save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
* Rework texture generating code, add texture grouping via ( ... )sfan52014-07-29
|
* Add srollbar formspec elementsapier2014-07-16
|
* Update version numbers for 0.4.10sapier2014-07-06
|
* Fix typos in doc/lua-api.txtsfan52014-07-05
|
* Fix typo in doc/lua_api.txtKahrl2014-07-05
|
* Tooltips rework.RealBadAngel2014-06-24
| | | | | Separate element for tooltips. Delayed showing, use global color or given ones.
* Add tooltips for button, imagebutton and checkbox.RealBadAngel2014-06-19
|
* Add success and output return values to chat commandsShadowNinja2014-05-28
|
* Add item eat callbackrubenwardy2014-05-26
|
* Fix heart + bubble bar size on different texture packssapier2014-05-07
| | | | | | | Add DPI support for statbar Move heart+bubble bar to Lua HUD Add statbar size (based upon an idea by blue42u) Add support for customizing breath and statbar
* Update documentation on is_ground_contentShadowNinja2014-04-24
|
* Remove liquid_finite and weatherproller2014-04-18
|
* Add player:set_eye_offset() by @MirceaKitsune and clean upBlockMen2014-04-12
|
* Add third person viewBlockMen2014-04-12
|
* Cleanup client init states by bumping protocol versionsapier2014-04-08
| | | | | | | | | | Don't use TOSERVER_RECEIVED_MEDIA but TOSERVER_CLIENT_READY as indicatio for client ready Handle clients with protocol version < 23 (almost) same way as before Make client tell server about it's version Add client state to not send bogus player position updates prior init complete Add access to statistics information (peer connction time,rtt,version) Fix clients standing stalled in world while preloading item visuals (new clients only) Add get_player_information to read client specific information from lua
* Replace pause and message menu by formspec onessapier2014-03-05
|
* Remove "Server -!- " prefix from player messagesShadowNinja2014-02-27
|
* Schematic: Add force_placement parameter to minetest.place_structure APIkwolekr2014-02-15
|
* Add minetest.set_noiseparam_defaults() Lua APIkwolekr2014-02-15
|
* Add capability to read table flag fields from Lua APIkwolekr2014-02-09
|
* Make flag strings clear specified flag with 'no' prefixkwolekr2014-02-08
| | | | | Remove flagmask field from set_mapgen_params table Add small bits of needed documentation
* Add minetest.kick_player(name, reason)sapier2014-02-03
|
* Add player:override_day_night_ratio() for arbitrarily controlling sunlight ↵Perttu Ahola2014-02-01
| | | | brightness
* Add player:set_sky() with simple skybox supportPerttu Ahola2014-02-01
|
* New HUD element - waypoint.RealBadAngel2014-01-26
|
* Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacksShadowNinja2014-01-23
|
* Add pointed_thing to minetest.register_on_placenodeShadowNinja2014-01-21
| | | | As suggested by qwrwed.
* Update lua_api.txt documentationkwolekr2014-01-19
|