aboutsummaryrefslogtreecommitdiff
path: root/builtin
Commit message (Collapse)AuthorAge
* Fix luacheck errorsrubenwardy2019-12-07
|
* Use a safer implementation of gsub in core.chat_format_message (#9133)ANAND2019-11-25
| | | This search-and-replace implementation does not use Lua pattern-matching
* Randomwalk cave liquids: Remove deprecated 'lava depth' parameter (#9105)Paramat2019-11-18
| | | | | | | | | Low-disruption first step towards removing the hardcoded cave liquid code. Since MT 5.0.0 cave liquids can be defined and located by biome definitions instead. In games that do not yet use biome definitions to define and locate cave liquids (MTGame does), lava will now appear below y = water_level - 256 instead of below 'lava depth' (usually y = -256). Therefore no change in most mapgens if using the default 'lava depth'.
* Tunnels: Completely disable generation when 'cave width' >= 10.0 (#9093)Paramat2019-11-09
| | | | | | | | | Previously, the only way to disable the 3D noise tunnels was to set 'cave width' > 1.0, however doing so did not disable the very intensive noise calculations or the generation loop. All the other types of cave generation (randomwalk caves, caverns) can already be independently and completely disabled. This feature is now needed more because the small randomwalk caves are now available for use as an alternative to the 3D noise tunnels.
* Randomwalk caves: Add parameters for number, proportion flooded. Allow small ↵Paramat2019-11-08
| | | | | | | | | | | | | | caves (#8928) Add mapgen parameters to set the range of the random number of randomwalk caves per mapchunk, and to set the proportion that are flooded with liquids. Default values are, for now, unchanged from the previous hardcoded values. Add parameters to allow small randomwalk caves Disabled by default for now as they have never been present in the non-mgv6 mapgens.
* Improve documentation around banning (#9088)sfan52019-11-05
| | | | | * Fix ban chatcommand description * Correct ban API documentation
* Formspec: add hypertext elementPierre-Yves Rollo2019-11-03
|
* Builtin: Improve /clearobjects message (#9084)Alistair Findlay2019-11-02
|
* Change some usages of "deprecated" to "obsolete" (#9062)random-geek2019-10-29
| | | | "Deprecated" means that something is still in use, but is unsupported and needs to be removed. "Obsolete" means it is already out of use.
* Add help texts for settings that lack one (#9007)Wuzzy2019-10-25
|
* Improve light curve parameter limits and documentation (#9054)Paramat2019-10-24
| | | | | | | | | | | | | Revert gamma upper limit to 3.0 because that was raised based on a misunderstanding and had no benefit. A sane upper limit is needed as players on a competitive server tend to use the maximum. Set gamma lower limit to 0.33 for consistency with 3.0. Set sane limits on alpha, beta, boost and enforce these in code to limit values entered in minetest.conf and to avoid easy cheating by editing settingtypes.txt. Improve documentation and 'readable' setting names. Clarify that gamma does not significantly affect natural night light. light.cpp: Various codestyle and comment improvements.
* Settingtypes.txt: Various improvements (#9047)Paramat2019-10-14
|
* Fix rotate_node to return the correct itemstack.Aaron Suen2019-10-13
| | | | | | | All on_* hooks that return an itemstack are NOT guaranteed to modify and return the original stack. We cannot count on the behavior of the existing builtin definitions not to be overridden by game/mod logic.
* Merge pull request #8166 from Warr1024/fix7020Warr10242019-10-05
| | | Fix (or workaround?) for 'Falling nodes with node inventory cause crash when unloaded'
* All Settings: Set min limit for crtitical settings (#9000)Wuzzy2019-10-01
|
* Allow grep-ing for on_grant and on_revoke (#8958)DS2019-09-29
| | | Just two code comments are added.
* All settings: Fix missing flags checkbox caused by 'possible flags' order ↵Muhammad Rifqi Priyo Susanto2019-09-27
| | | | | | (#8997) Previously, the 'rivers' checkbox was missing for mgcarpathian, caused by the 'possible flags' order: 'caverns,nocaverns,rivers,norivers'. Also reorder mgcarpathian 'possible flags', but only for consistency.
* Automatically enable depends of mods when enabling the mods in the world ↵HybridDog2019-09-26
| | | | | | config menu (#3473)
* Rename "private messages" to "direct messages" (#8971)Hugo Locurcio2019-09-22
| | | | These messages can be read by server administrators, which makes them not actually private.
* Punchwear (improved) (#8959)sfan52019-09-22
|
* Fix AreaStore's IDs persistence (#8888)SmallJoker2019-09-21
| | | | | Improve documentation Read old formats Fix free ID function. Return first gap in map
* Also print help commands to chat for server terminal (#8869)Tim Myers2019-09-19
|
* Improve undersampling settingsHugo Locurcio2019-09-17
| | | | | | | | | The setting now accepts values between 1 and 8 in the Advanced Settings menu. Values 0 and 1 now behave the same way (setting it to 1 won't disable MSAA anymore), so there's no need to expose 0 as a value. This closes #8939.
* Formspecs: Introduce formspec_version to modsSmallJoker2019-09-14
|
* Dungeons: Remove non-functional 'projecting dungeons' setting (#8897)Paramat2019-09-08
|
* Move debug.txt after it grows too big (#8904)HybridDog2019-09-07
| | | Before opening the file for writing, its file size is tested. If it exceeds 50 MB, it is moved to debut.txt.1, otherwise the log is appended to the old messages. An old debut.txt.1 is removed if it already exists.
* Force item entities out of solid nodes (simpler) (#8885)sfan52019-09-04
|
* 'All Settings': Don't use checkboxes for 'no...' mapgen flags (#7847)Muhammad Rifqi Priyo Susanto2019-09-01
|
* Various settingtypes.txt improvements (#8867)Paramat2019-08-28
| | | | | | | | | Improve 'readable' setting names for waving water settings. Change 'near plane' to 'near clipping plane'. Document physics settings. mgv6_spflags: Change 'new biome system' to 'snowbiomes flag' for clarity. Add missing 'noflat' flag to default flags.
* Fix default hand definition not using wieldhand.pngWuzzy2019-08-23
|
* Fix undeclared global warning because of _ (#8798)DS2019-08-14
|
* Add player knockback on punch to builtinsfan52019-08-10
|
* Builtin UI: Move box element to ensure correct draw orderSmallJoker2019-08-08
|
* Allow customizing chat message format (#8529)ANAND2019-08-08
|
* Fix usage of wrong variable in builtin chat command handling (#8762)Beha2019-08-07
| | | | This was introduced in commit 8e75785 and resulted in chat commands not returning their output text.
* Add luacheck to check builtin (#7895)rubenwardy2019-08-06
|
* Add styles to most elementsrubenwardy2019-08-03
|
* Add style[] tag with button supportrubenwardy2019-08-03
|
* Builtin: Forward old return valuesSmallJoker2019-08-02
| | | | Was forgotten in 69bf964.
* Mainmenu: Use textarea in error formspecsSmallJoker2019-08-01
|
* Group "immortal" also protects players from damageWuzzy2019-08-01
| | | | | | | | | | 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>
* Check for 'action' field in ABMs & LBMsSmallJoker2019-07-27
|
* Re-order mapgens in mainmenu and 'all settings' mapgen selection (#8705)Paramat2019-07-25
| | | | | | v6 always last to discourage selection. Special mapgens flat, fractal, singlenode, next to last. Of these, singlenode last to discourage selection. Of the remaining, v5 last due to age, v7 first due to being the default.
* Mgfractal: Make non-fractal terrain optional (#8702)Paramat2019-07-25
| | | | | | Enabled by default. Only allow spawn on fractal, not on seabed terrain. Various codestyle and comment improvements.
* Add /help formspec for commands and privileges (#8385)SmallJoker2019-07-20
| | | | | * Trigger for 'all' as well * Add description textarea, double-click to copy
* Document the deprecation of hardcoded cave liquids (#8692)Paramat2019-07-20
|
* Use vector.dot and vector.cross in vector.angleHybridDog2019-07-16
|
* Add vector.dot and vector.crossHybridDog2019-07-16
| | | | Mostly copied from MarkuBu's code
* Docs: Clarify where to check for 'protection_bypass' (#8675)SmallJoker2019-07-14
|
* Increase upper limit of display_gamma to 10 (#8618)ANAND2019-06-27
|