62 Commits

Author SHA1 Message Date
Elias Fleckenstein
19e0528e33 Add minetest.get_nearby_objects 2021-01-07 16:04:06 +01:00
Elias Fleckenstein
4fedc3a31e Add minetest.interact 2021-01-07 12:09:09 +01:00
Elias Fleckenstein
7250cf2c1c Merge branch 'master' of https://github.com/minetest/minetest 2020-12-12 14:00:10 +01:00
SmallJoker
af073438fd
Various documentation fixes (#10692)
set_sky: New feature, keep note about the old syntax
get_us_time: Document overflow
localplayer: Document "nil" behaviour before initialization
collision_box: Safe limit of "1.45"
2020-12-10 20:59:24 +01:00
Elias Fleckenstein
8b3eaf5b05 Lua API: Particle callbacks; Add NoWeather 2020-11-30 11:20:07 +01:00
Elias Fleckenstein
5bead7daaf Added minetest.close_formspec 2020-11-28 20:13:20 +01:00
Elias Fleckenstein
eb6aca8b4a Merged Minetest 2020-11-28 13:48:33 +01:00
Elias Fleckenstein
fb4d54ee30 Added minetest.register_on_play_sound 2020-11-24 15:01:52 +01:00
Elias Fleckenstein
82216e1476 LocalPlayer:set_physics_override; minetest.register_on_recieve_physics_override 2020-11-23 19:10:56 +01:00
corarona
6efa8a7582 add g/s pitch and make_screenshot in lua api 2020-11-05 12:28:22 +01:00
Elias Fleckenstein
f1d9ac014e Moved Killaura to Lua; Added ForceField; Added Friendlist; Added ClientObjectRef:is_local_player(); Documented LocalPlayer:get_object() 2020-11-04 12:28:00 +01:00
Elias Fleckenstein
ea88dde4be Added Strip, AutoRefill, indexing for InventoryActions and Wield Index starts at 1 now 2020-10-21 18:51:57 +02:00
Elias Fleckenstein
f1ff05bf59 Added ThroughWalls, InventoryActions API and AutoTotem 2020-10-19 13:09:38 +02:00
Elias Fleckenstein
1a7d3d8188 Extended ClientObjectRef; Improved CrystalPvP 2020-10-18 16:18:07 +02:00
Elias Fleckenstein
c1aea404b8 Lint is bitch 2020-10-18 13:16:09 +02:00
Elias Fleckenstein
bbcd249544 New Mod System 2020-10-17 11:11:22 +02:00
Elias Fleckenstein
cb1915efa7 Added minetest.drop_selected_item(), Improved AutoEject 2020-10-05 22:33:32 +02:00
Elias Fleckenstein
b9f8f0a232 The Robot Update 2020-10-04 10:50:07 +02:00
Elijah Duffy
7d3641021b
Lua API: Add register_on_chatcommand to SSM and CSM (#7862)
Allows catching a chatcommand call just after the command and the
parameters are parsed but before its existence is checked and before the
corresponding function is run. Returning `true` from a callback function
will prevent default handling of the command leaving mods to handle the
command manually.
2020-10-03 17:38:08 +01:00
Elias Fleckenstein
772c9629eb Unrestricted HTTP API for Client, Server and Main Menu 2020-08-22 19:38:36 +02:00
Elias Fleckenstein
9b1030cac4 Added minetest.get_inventory(location) 2020-08-22 15:45:06 +02:00
Elias Fleckenstein
d8b8c1d313 Added Documentation for Additional API 2020-08-22 14:24:58 +02:00
ANAND
291a6b70d6 Allow binding dig, place actions to keys; remove LMB/RMB hardcoding
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2020-08-15 12:19:20 +03:00
sfan5
4b4513a67d
Implement grouped mode for find_nodes_in_area (#9888)
plus general improvements to find_node_* functions
2020-07-14 22:36:53 +02:00
sfan5
2384c10e10 Continue with 5.4.0-dev 2020-07-09 22:04:22 +02:00
sfan5
36d35f2fe3
CSM: Bugfixes to camera:get_pos() and camera:get_fov()
closes #9857
2020-05-14 21:16:45 +02:00
oilboi
3ed5619d9a
Fix small typo (#9813) 2020-05-05 08:35:55 +02:00
Lars Müller
af2e6a6a10
Improve waypoints and add image variant (#9480) 2020-04-11 22:09:46 +01:00
sfan5
1292bdbbce Various features and fixes 2020-04-11 13:12:51 +02:00
sfan5
5f3a17eb65 Implement minetest.sound_fade() 2020-04-11 13:12:51 +02:00
sfan5
528b162d9f Continue with 5.3.0-dev 2020-04-05 18:31:52 +02:00
sfan5
c44318a253 [CSM] Fix and improve minetest.get_language()
Previously this method would accidentally reset the locale
and break everything.
2019-11-11 14:06:48 +01:00
sfan5
2c4cf508a9 [CSM] Implement minetest.get_csm_restrictions()
fixes #8068
2019-11-11 14:06:48 +01:00
sfan5
b57dc70769 [CSM] Expose more env functions 2019-11-11 14:06:48 +01:00
sfan5
485b669840 [CSM] Remove non-functional minetest.get_day_count() 2019-11-09 16:08:38 +01:00
sfan5
7e649f985c Corrections to client_lua_api.txt 2019-11-09 16:08:38 +01:00
sfan5
b1f2a69382 Introduce get_modpath() for CSM 2019-11-09 16:08:38 +01:00
sfan5
894008ce6f Continue with 5.2.0-dev 2019-10-12 15:49:06 +02:00
SmallJoker
e97cbcf34d
Lua API documentation: Various fixes (#8914)
Remove unusable 'minetest.setting_*' from client_lua_api.txt
lua_api.txt:
- Define the 'mod.conf' format
- More precise 'settingtypes.txt' format reference
- Document special sound files 'player_*damage'
- Group, sort and add 'not_in_creative_inventory' special group
- Define the 'Settings' format
- Warning about incorrect byte saving in 'StorageRef'
- Note about non-persistent player definitions fields
- Better 'leveldiff' and 'level' group description
2019-09-08 18:43:49 +02:00
Paul m. p. P
5c97eeabac doc/client_lua_api: Clarify how client side api and mods start (#8822) 2019-09-05 13:06:22 +02:00
sfan5
51662dabb4 Continue with 5.1.0-dev 2019-03-04 23:43:18 +01:00
Loïc Blot
111f1dc9c5 Revert "Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)"
This reverts commit 01cd63bd3bca0192dab2834faf414b022706a77e.
2019-02-26 08:53:53 +01:00
Paramat
01cd63bd3b
Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)
Reverts 5dab7426451842793b183fbd961ad2ae83c8acbd
"[CSM] Add functions to create particles and particlespawners."
2019-02-26 04:26:25 +00:00
rubenwardy
70bf3439ab Deprecate modpack.txt and use modpack.conf instead (#7892)
* Deprecate modpack.txt and use modpack.conf instead
2019-01-06 10:23:35 +01:00
Loïc Blot
a5197eaebc
CSM: add requested CSM_RF_READ_PLAYERINFO (#8007)
* CSM: add requested CSM_RF_READ_PLAYERINFO

This new CSM limit permit to limit PLAYERINFO read from server.

It affects get_player_names call
2018-12-24 10:51:10 +01:00
ClobberXD
08610aad7e (client_)lua_api.txt: Rename func -> function (#7960) 2018-12-12 08:50:40 +00:00
Loïc Blot
ac6e8e2914
Version scheme change: 0.5.0 -> 5.0.0 (#7449)
* Version scheme change: 0.5.0 -> 5.0.0
2018-06-15 09:16:48 +02:00
Loïc Blot
ccc3af128c
CSM/SSM: Add on_mods_loaded callback (#7411)
* CSM/SSM: Add on_mods_loaded callback
2018-06-06 12:53:59 +02:00
Loïc Blot
162ffd7fba
Fix isNan on setYaw Lua call (#7380)
* Fix isNan on setYaw Lua call
2018-05-31 22:52:08 +02:00
red-001
0425c6b8c8 CSM: Remove screenshot API
Reverted from commit 19960e26c672c6337f8c6ffbe27f2c6bca49750c
(* [CSM] add screenshot api lua)
2018-01-23 05:27:38 +00:00