Commit Graph

1160 Commits (master)

Author SHA1 Message Date
cron be80a15bad Merge Dragonfire
Dragonfire commit: 56d536ea5e
2020-12-09 20:36:09 +00: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
Pierre-Yves Rollo 78273027bf Add sound to press event of some formspecs elements (#10402) 2020-11-23 21:28:25 +01:00
Elias Fleckenstein 82216e1476 LocalPlayer:set_physics_override; minetest.register_on_recieve_physics_override 2020-11-23 19:10:56 +01:00
DS be3fe161fc
Do not set a default for description in itemdef table (#10559)
* Do not set a default for description in itemdef table

* improve documentation
2020-11-10 21:03:10 +01:00
rubenwardy 7589cbe086
Fix object interaction distance not being checked (#10547) 2020-11-09 11:55:15 +01:00
corarona 6efa8a7582 add g/s pitch and make_screenshot in lua api 2020-11-05 12:28:22 +01:00
SmallJoker 3356da0151
Add model[] formspec element (#10320)
Formspec element to display models, written by @kilbith, rebased and tweaked.

Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Co-authored-by: sfan5 <sfan5@live.de>
2020-11-04 21:46:18 +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
Zughy 33b2c5f5b1
Clean up l_object.cpp (#10512)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-22 16:18:01 +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
sfan5 660115c1ab
Decouple entity minimap markers from nametags replacing with show_on_minimap property (#10443) 2020-10-19 20:38:15 +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
Lars ed22260822 Remove all bump mapping and parallax occlusion related code. 2020-10-17 13:09:16 -07:00
Elias Fleckenstein bbcd249544 New Mod System 2020-10-17 11:11:22 +02:00
Zughy 2341a4aff1
Add ObjectRef:get_children() (#10480)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-13 20:27:52 +01:00
DS f3ae45b2b2
Add a short_description to be used by mods (#8980) 2020-10-09 19:11:21 +01:00
HybridDog f0b6f7909a
Mention texture modifier colorspace (#10112) 2020-10-08 19:44:27 +02:00
cron 2530004afb Merge October 5th Dragonfire changes 2020-10-07 22:15:33 +00:00
HybridDog 2f4037752b
Add minetest.get_artificial_light and minetest.get_natural_light (#5680)
Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday).

Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-10-06 20:49:46 +02:00
cron 106fab9762 Merge dragonfire changes 2020-10-05 22:43:01 +00:00
Elias Fleckenstein cb1915efa7 Added minetest.drop_selected_item(), Improved AutoEject 2020-10-05 22:33:32 +02:00
Pierre-Yves Rollo 81c66d6efb Minimap as HUD element with API control
Features:
 * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes()
 * New HUD elements for displaying minimap with custom size and placing
 * New minimap mode for displaying a texture instead of the map
2020-10-04 15:24:34 +02:00
Jordan Snelling 3068853e8a
Add First Person Attachments (#10360)
Fixes some other third person camera specific attachments.
Implements a single new flag for entities to be forced visible in first person mode.
Old mods do not need to be updated to use the new flag and are fully backwards compatible.
2020-10-04 15:10:34 +02:00
Elias Fleckenstein b9f8f0a232 The Robot Update 2020-10-04 10:50:07 +02:00
flyc0r 0e9e1f3528 init 2020-10-04 03:37:08 +02:00
rubenwardy 3250b37e32
Deprecate get_player_velocity and add_player_velocity (#10173) 2020-10-04 00:33:45 +01:00
Wuzzy 41a6136f77
Document builtin entities (#9453)
This PR adds a new text file doc/builtin_entities.txt which explains how the two builtin entities __builtin:item and __builtin:falling_node work.
2020-10-03 19:01:38 +02:00
LoneWolfHT 9624387179
Add note to docs on how to override privileges (#9792) 2020-10-03 19:00:08 +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
HybridDog 4b423ee9b1
Chatcommand: Show help message if func returns false without message
#9440
2020-10-03 17:33:43 +01:00
tenplus1 34e3ede8ee
Ability to remove minetest.after once set (#10103) 2020-09-23 19:11:56 +02:00
Zughy c8303f790c
lua_api.txt: author, release and title fields when downloading from ContentDB (#10129)
Co-authored-by: Marco <4279489-marco_a@users.noreply.gitlab.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-09-16 15:47:20 +02:00
Lars Müller 050964bed6
Fix inventory swapping not calling all callbacks (#9923)
"Predicts" whether something will be swapped for allow callbacks, then calls callbacks a second time with swapped properties.

Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-09-04 20:49:07 +02:00
DS 9ed84cfa85
Mark multiply and divide with two vectors as deprecated (Schur product and quotient) (#10329) 2020-09-01 20:18:10 +02:00
LoneWolfHT c18dbadcb8
Fix dropped craftitems/tools not using light_source values (#9438) 2020-08-30 00:02:21 +01:00
EvidenceB 5c4b560b68
Add compass HUD element (#9312)
Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-08-29 20:13:30 +02:00
HybridDog 386d5f778a
Document normalmap textures (#10096) 2020-08-29 16:43:09 +01:00
DS 28e87ce9d5
Add vector.offset (#10321) 2020-08-29 16:41:29 +01:00
karamel59 1eaff3dfa4
Improve set_texture_mod documentation (#10339)
Properly documents the select_x_by_camera values
2020-08-27 21:48:18 +02: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
DS 98faeac5a7
Load media from subfolders (#9065) 2020-08-20 22:25:29 +02:00
v-rob 83d0c360cc
Add gradients and borders to FormSpec boxes (#8676) 2020-08-19 18:14:47 -07:00