sfan5
723926a995
Rewrite falling entity to make use of collision info
...
fixes #4781 , fixes #9293
2020-05-06 14:03:52 +02:00
ANAND
a36c9c3e93
Fix breath_bar scaling; delay breath_bar hiding by one second ( #8271 )
...
PLAYER_MAX_BREATH_DEFAULT was earlier set to 11, so that 10 bubbles are shown before the breath bar disappears.
Now, PLAYER_MAX_BREATH_DEFAULT is set to 10, and the breath_bar scaling code in builtin has been tweaked to show all 10 bubbles before hiding the breath_bar
2020-04-28 19:30:57 +02:00
sfan5
b9377f26a1
Rewrite builtin item entity to use collision info
...
fixes #8967
2020-04-27 20:45:46 +02:00
sfan5
3475759d1a
Expose collision information to LuaEntity on_step
2020-04-27 20:45:46 +02:00
sfan5
d3f50f216f
builtin: Correctly indicate failure in /spawnentity
2020-04-27 06:58:34 +02:00
David Leal
2fe4641c1e
Add new command /revokeme <priv> ( #9584 )
2020-04-26 21:15:05 +02:00
SmallJoker
27d611fe55
Add default stack size setting ( #8873 )
...
New setting "default_stack_max" to alter the default stack sizes of all items when desired.
Co-authored-by: Pascal Abresch <nep@packageloss.eu>
2020-04-13 10:53:10 +02:00
sfan5
ea30b89d3f
Builtin: Make item entities glow less ( #9594 )
...
minor adjustment to #9200
2020-04-04 21:27:30 +02:00
Wuzzy
1441281809
Fix some chatcommands not returning a value ( #9503 )
2020-03-14 15:01:22 +01:00
Wuzzy
580e7e8eb9
Fix pathfinder bugs: returning nil frequently, broken A*, jump through solid nodes ( #9339 )
...
* Fix pathfinder fail when startpos is over air
* Note down pathfinder restrictions
* Implement real A* search
* Pathfinder: Implement buildPath non-recursively
* Update find_path documentation
* Pathfinder: Check if jump path is unobstructed
* Pathfinder: Fix drop check first checking upwards
* Pathfinder: Return nil if source or dest are solid
* Pathfinder: Use priority queue for open list
2020-03-05 12:09:44 +01:00
sfan5
0b8d3f99a5
Move core.get_connected_players() implementation to C++
...
Keeping the ObjectRefs around in a table isn't ideal and this allows
removing the somewhat nonsensical is_player_connected() added in 86ef7147.
2020-02-23 22:24:12 +01:00
Wuzzy
d507047443
Falling nodes: Add support for facedir, colorfacedir, wallmounted, colorwallmounted, color, airlike, signlike, torchlike and glow ( #9205 )
2020-02-22 01:10:17 +00:00
SmallJoker
3f675490df
Builtin: Fix error by digging unknown nodes
2020-02-16 14:13:52 +01:00
sfan5
7d29611c1b
Convert sound_play uses in builtin to ephemeral
2020-02-01 20:31:41 +01:00
sfan5
c10e188594
Let node 'place' and 'dug' sounds be heard by other players
2020-02-01 20:31:41 +01:00
Wuzzy
876a15bd75
Fix item eat sound not played if last item ( #9239 )
2019-12-24 19:12:46 +01:00
ANAND
ec3224dce2
/privs: Delimit output list of privs with commas ( #9224 )
2019-12-20 19:15:40 +01:00
Wuzzy
4b9fabf172
Builtin: Make dropped light_source nodes glow ( #9200 )
2019-12-19 19:41:44 +01:00
Bluebird
80af58c8c5
Make core.item_place_node return position of placed node. ( #7713 )
2019-12-18 19:21:24 +01:00
sfan5
db7e59f472
Correct documentation around minetest.item_place
...
The code that calls minetest.item_place_object was removed
in 2013 in commit fc61c8809b9a1d47d9f117446764107a56cec956.
2019-12-16 21:24:34 +01:00
ANAND
4b6bff46e1
Use a safer implementation of gsub in core.chat_format_message ( #9133 )
...
This search-and-replace implementation does not use Lua pattern-matching
2019-11-25 20:03:34 +01:00
sfan5
15a030ec9f
Improve documentation around banning ( #9088 )
...
* Fix ban chatcommand description
* Correct ban API documentation
2019-11-05 19:24:51 +01:00
Alistair Findlay
5f835a72b2
Builtin: Improve /clearobjects message ( #9084 )
2019-11-02 19:28:55 +01:00
random-geek
f2e62298a5
Change some usages of "deprecated" to "obsolete" ( #9062 )
...
"Deprecated" means that something is still in use, but is unsupported and needs to be removed.
"Obsolete" means it is already out of use.
2019-10-29 19:23:12 +01:00
Warr1024
ad96df191b
Merge pull request #8166 from Warr1024/fix7020
...
Fix (or workaround?) for 'Falling nodes with node inventory cause crash when unloaded'
2019-10-05 15:46:57 +02:00
DS
16865a5bf6
Allow grep-ing for on_grant and on_revoke ( #8958 )
...
Just two code comments are added.
2019-09-29 13:40:15 +02:00
Hugo Locurcio
d364b6d0a6
Rename "private messages" to "direct messages" ( #8971 )
...
These messages can be read by server administrators, which makes them
not actually private.
2019-09-22 21:48:36 +01:00
sfan5
70f9e1aafa
Punchwear (improved) ( #8959 )
2019-09-22 22:12:21 +02:00
SmallJoker
fec30e37ac
Fix AreaStore's IDs persistence ( #8888 )
...
Improve documentation
Read old formats
Fix free ID function. Return first gap in map
2019-09-21 17:54:52 +02:00
SmallJoker
9acd36bf99
Formspecs: Introduce formspec_version to mods
2019-09-14 19:43:08 +02:00
sfan5
c9ec1a8580
Force item entities out of solid nodes (simpler) ( #8885 )
2019-09-04 22:21:40 +02:00
Wuzzy
9c725609c3
Fix default hand definition not using wieldhand.png
2019-08-23 19:17:50 +02:00
sfan5
291e7730cf
Add player knockback on punch to builtin
2019-08-10 19:44:27 +02:00
ANAND
d1c27c7e80
Allow customizing chat message format ( #8529 )
2019-08-08 17:04:46 +01:00
Beha
8ffe95913b
Fix usage of wrong variable in builtin chat command handling ( #8762 )
...
This was introduced in commit 8e75785 and resulted in chat commands not
returning their output text.
2019-08-07 19:32:40 +01:00
rubenwardy
8e757859d6
Add luacheck to check builtin ( #7895 )
2019-08-06 19:30:18 +01:00
Wuzzy
ec3142af99
Group "immortal" also protects players from damage
...
Document new meaning of immortal=1 for players
Disable breathing if player is immortal
Hide builtin statbars if player immortal (delayed)
Co-authored-by: ClobberXD <ClobberXD@gmail.com>
2019-08-01 14:45:23 +02:00
SmallJoker
8efa1de835
Check for 'action' field in ABMs & LBMs
2019-07-27 21:13:47 +02:00
SmallJoker
69bf964241
Add /help formspec for commands and privileges ( #8385 )
...
* Trigger for 'all' as well
* Add description textarea, double-click to copy
2019-07-20 18:22:32 +02:00
SmallJoker
47492386ec
Docs: Clarify where to check for 'protection_bypass' ( #8675 )
2019-07-14 13:23:38 +02:00
Thomas Rudin
9a07792f4d
Save forceloaded blocks file periodically ( #8535 )
...
saves the forceloaded blocks periodically.
checks every 10 seconds if the forceloaded blocks got changed in-game
and persists them on-disk if that's the case
2019-06-10 01:07:33 +01:00
SmallJoker
cb00632e23
HTTP API: Allow binary downloads and headers ( #8573 )
...
Add minetest.features.httpfetch_binary_data
2019-06-06 19:13:29 +02:00
ANAND
72feab081c
builtin/../register.lua: Abort make_wrap_deregistration if param is invalid
2019-05-04 12:56:19 +02:00
DS
60ab2d94f0
Add sounds for falling and attached nodes ( #7719 )
...
* Add sounds for falling and attached nodes
The sound specified in `node_definition.sounds.fall` is used.
When a falling node is spawned at a position or an attached node drops, the sound is played at this position.
* allow all sorts of soundspecs
2019-03-05 08:17:48 +01:00
SmallJoker
eea1fdaf25
Statbars: Reduce initial update interval
...
Centralize HUD updating in update_builtin_statbars.
Fixes race condition in 'on joinplayer' that causes stat bar bugs.
Correctly scales stat bars to custom max values set by mods.
2019-02-12 20:45:38 +00:00
Paul Ouellette
11b550e024
Remove incorrect feature flag ( #8086 )
...
And document the versions that introduced the features.
2019-01-19 15:17:05 +01:00
Wuzzy
5560ec8178
Add eat sound ( #7956 )
2018-12-10 09:25:47 +01:00
Ezhh
6b102ce51f
Rename hasprivs command to haspriv ( #7860 )
2018-11-13 20:24:20 +01:00
SmallJoker
0a5e77132a
Add core.remove_detached_inventory ( #7684 )
...
Breaks backwards compatibility for good
Bump protocol version
2018-10-10 20:48:58 +02:00
tenplus1
a4f41e7bfc
get_node_drops: Make empty drop return empty table ( #7592 )
...
This stops get_node_drops from returning an empty string when using drop = "" and instead returns the supposed empty table instead {}
2018-08-30 20:32:33 +02:00