Commit Graph

1159 Commits

Author SHA1 Message Date
SmallJoker b7d341848b
Add /help formspec for commands and privileges (#8385)
* Trigger for 'all' as well
* Add description textarea, double-click to copy
2022-05-21 16:17:04 +02:00
paramat ba34c40564
Document the deprecation of hardcoded cave liquids (#8692) 2022-05-21 16:17:04 +02:00
HybridDog c8730d2591
Use vector.dot and vector.cross in vector.angle 2022-05-21 16:17:03 +02:00
HybridDog 7f7140bae1
Add vector.dot and vector.cross
Mostly copied from MarkuBu's code
2022-05-21 16:17:03 +02:00
SmallJoker 0c57db4cdc
Docs: Clarify where to check for 'protection_bypass' (#8675) 2022-05-21 16:17:03 +02:00
ANAND 07d849e691
Increase upper limit of display_gamma to 10 (#8618) 2022-05-21 16:17:02 +02:00
paramat f19c465a91
Mapgen Carpathian: Add optional rivers (#7977)
Rivers are disabled by default and will not be added to existing worlds.
Rewrite getSpawnLevelAtPoint() to be simpler and more consistent with
generateTerrain().
2022-05-21 16:17:02 +02:00
Paul Ouellette c44eb57c25
Use CDB author and name in installed package's config (#8550)
They are used for tracking the package, so should match ContentDB.
2022-05-21 16:17:01 +02:00
Thomas Rudin 5a43b3d41e
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
2022-05-21 16:17:01 +02:00
Desour f23995cb92
Remove modstore leftovers. Fix core.show_path_select_dialog documentation (#8572)
This was forgotten in #5852.
2022-05-21 16:17:01 +02:00
SmallJoker f86fe84050
HTTP API: Allow binary downloads and headers (#8573)
Add minetest.features.httpfetch_binary_data
2022-05-21 16:17:00 +02:00
paramat 763d624c22
Dungeons: Settable density noise, move number calculation to mapgens (#8473)
Add user-settable noise parameters for dungeon density to each mapgen,
except V6 which hardcodes this noise parameter.

Move the calculation of number of dungeons generated in a mapchunk out
of dungeongen.cpp and into mapgen code, to allow mapgens to generate
any desired number of dungeons in a mapchunk, instead of being forced
to have number of dungeons determined by a density noise.

This is more flexible and allows mapgens to use dungeon generation to
create custom structures, such as occasional mega-dungeons.
2022-05-21 16:17:00 +02:00
ANAND 0b409ca993
builtin/../register.lua: Abort make_wrap_deregistration if param is invalid 2022-05-21 16:16:59 +02:00
paramat 249d1dd9a9
World start time: Move to first full light (day night ratio = 1000) (#8410)
6125 is the time of first full light according to 'get_node_light()',
and the time of first full light visually when basic shaders are on.
This is the optimum default new world start time, taking all possible
games into account.
The previous time assumed a game similar to Minetest Game. Games
should set this setting themselves according to their needs.
2022-05-21 16:16:59 +02:00
rubenwardy fefe71f8b0
Change pitch fly binding to 'P', add to change keys menu (#8314) 2022-05-21 16:16:58 +02:00
Desour aa0ee4cc03
Optimize core.after in a simple way (#8351) 2022-05-21 16:16:58 +02:00
paramat a623a888a7
Require 'waving = 3' in a nodedef to apply the liquid waving shader (#8418)
Makes the liquid waving shader per-nodedef like waving leaves/plants,
instead of being applied to all liquids.
Like the waving leaves/plants shaders, the liquid waving shader can
also be applied to meshes and nodeboxes.

Derived from a PR by t0ny2.
2022-05-21 16:16:58 +02:00
paramat 3c4a039697
Document 'highly unstable' mapgens instead of 'stable' mapgens (#8404) 2022-05-21 16:16:57 +02:00
paramat 02c763a3a7
num_emerge_threads: Fix documentation of automatic selection 2022-05-21 16:16:57 +02:00
ANAND a07575bd51
core.after: Improve assertion message (#8388) 2022-05-21 16:16:56 +02:00
ANAND 6cf1909254
Builtin: Add vector.angle(). Returns the angle between 2 vectors (#7738) 2022-05-21 16:16:56 +02:00
paramat e639e7a37b
num_emerge_threads: Warn of crashes when > 1 (#8357) 2022-05-21 16:16:56 +02:00
HybridDog 6be225b9fd
World config: Make depends easier to read (#7396)
* Do not always show every depends textfieds

When there are no dependencies, it does not longer show an empty list.

* Adjust the list height to avoid a scrollbar when possible

* change minimum height and no dependencies message

* Do not get depends for modpacks
2022-05-21 16:16:55 +02:00
paramat f50fc6a564
Change 'num_emerge_threads' default to 1 (#8303) 2022-05-21 16:16:55 +02:00
HybridDog 744d7a14b4
Add math.factorial (#8298) 2022-05-21 16:16:54 +02:00
Desour f1a228902a
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
2022-05-21 16:16:54 +02:00
rubenwardy f205d99aa7
Hide uninstall package button on unmodifiable paths (#8255) 2022-05-21 16:16:53 +02:00
paramat 17fcbff308
Update minetest.conf.example and settings_translation_file.cpp (#8278) 2022-05-21 16:16:53 +02:00
paramat 31f311dff5
Settingtypes.txt: Remove 2 lines missed in a recent commit (#8277) 2022-05-21 16:16:53 +02:00
ANAND 7fb99b3005
Remove 's' from 'automatic forwards' (#8272) 2022-05-21 16:16:52 +02:00
rubenwardy bd3ee5bc40
Content store: Ignore '_game' in game names in ID generation (#8270)
Fixes 'install' button continuing to be displayed after installing a game whose
name ends with '_game'.
2022-05-21 16:16:52 +02:00
Paul Ouellette 388cba692a
Update gamebar on tab enter (#8192) 2022-05-21 16:16:51 +02:00
rubenwardy f737772867
Fix games not updating on deletion
As reported by @random-geek
2022-05-21 16:16:51 +02:00
Paul Ouellette 8a47eee442
Fix content store crash (#8244) 2022-05-21 16:16:50 +02:00
paramat b762d5d369
lua_api.txt, settingtypes.txt: Various improvements (#8252) 2022-05-21 16:16:50 +02:00
Paul Ouellette 7aa851f622
Fix profiler crash by builtin since eea1fda (#8239)
Default to '??' (common Minetest notation) for unknown mods.
2022-05-21 16:16:50 +02:00
rubenwardy 73a5a06fae
Update credits (#8162) 2022-05-21 16:16:49 +02:00
SmallJoker 665810b7b1
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.
2022-05-21 16:16:49 +02:00
SmallJoker 6b883e3ddf
Builtin: Fix grayed-out but enabled modpacks 2022-05-21 16:16:48 +02:00
Wuzzy 8cce78a18b
Remove fgettext("") in builtin
This call is useless and wrong, the empty string has a special meaning in Gettext.
2022-05-21 16:16:48 +02:00
rubenwardy 05191fb0aa
Content store: Fix assertion failed on unsuccessful package list fetch
Fixes #8168
2022-05-21 16:16:47 +02:00
rubenwardy 2a14dfb377
Rename 'Content Store' to 'Online Content Repository' in Advanced Settings 2022-05-21 16:16:47 +02:00
rubenwardy 25d2c1cbb6
Add setting to hide mature content from ContentDB 2022-05-21 16:16:46 +02:00
rubenwardy a69666caa9
Fix rename modpack dialog not appearing to take affect 2022-05-21 16:16:46 +02:00
numzero f153266f8c
Fix modpack rename dialog selecting the wrong mod 2022-05-21 16:16:45 +02:00
rubenwardy 52de9fcd47
Content store: Fix overlapping labels 2022-05-21 16:16:45 +02:00
paramat 37619f1b6b
Settings: Slightly increase block generate, block send, object send distances (#8147) 2022-05-21 16:16:45 +02:00
rubenwardy fb70e83b24
Content store: Fix storage leak by storing screenshots in cache (#8137) 2022-05-21 16:16:44 +02:00
rubenwardy f1675a10d3
Content store: Use composite key to track installations (#8054)
Fixes #7967 'Package manager doesn't track content reliably'.
2022-05-21 16:16:44 +02:00
srfqi c9922b15ff
Add setting to disable confirmation on new player registration (#8102) 2022-05-21 16:16:43 +02:00