oweals/minetest_game.git
4 years agoConvert minetest.sound_play uses to ephemeral
sfan5 [Sat, 25 Jan 2020 22:45:09 +0000 (23:45 +0100)]
Convert minetest.sound_play uses to ephemeral

4 years agoReset spawn position on bed destruction
DS [Sun, 26 Jan 2020 17:59:44 +0000 (18:59 +0100)]
Reset spawn position on bed destruction

4 years agoUpdate Chinese translation (#2563)
IFRFSX [Sat, 25 Jan 2020 15:55:14 +0000 (23:55 +0800)]
Update Chinese translation (#2563)

rail = 轨道 / 栏杆
grass = 草

and, mese color is yellow, so i translate it to "黄石"。(Chinese words without MESE)

4 years agoAdd zh_CN translation
Zaoqi [Wed, 22 Jan 2020 18:09:38 +0000 (02:09 +0800)]
Add zh_CN translation

4 years agoReplace Russian translation of Pickaxe (#2556)
Konstantin Ilyashenko [Thu, 9 Jan 2020 18:09:06 +0000 (22:09 +0400)]
Replace Russian translation of Pickaxe (#2556)

4 years agoMake can_interact_with_node() check for key group instead of default:key
Lejo [Mon, 6 Jan 2020 21:16:33 +0000 (22:16 +0100)]
Make can_interact_with_node() check for key group instead of default:key

4 years agoMove duplicate recipe from books to default.register_craft_metadata_copy()
Thomas--S [Sat, 4 Jan 2020 00:09:58 +0000 (01:09 +0100)]
Move duplicate recipe from books to default.register_craft_metadata_copy()

This allows mods to easily implement the same behaviour, e.g. for letters.

4 years agoMove crafting, cooking and fuel recipes into corresponding files
An0n3m0us [Wed, 1 Jan 2020 01:38:06 +0000 (01:38 +0000)]
Move crafting, cooking and fuel recipes into corresponding files

4 years agoRename `core` to `minetest` (#2552)
Zaoqi [Sun, 29 Dec 2019 11:28:30 +0000 (19:28 +0800)]
Rename `core` to `minetest` (#2552)

4 years agoPlayer model: Add bobbing to walk animation, more subtle standing animation
An0n3m0us [Mon, 23 Dec 2019 02:14:25 +0000 (02:14 +0000)]
Player model: Add bobbing to walk animation, more subtle standing animation

4 years agoRemove Mapgen V7 floatland biome code
Paramat [Wed, 18 Dec 2019 23:59:45 +0000 (23:59 +0000)]
Remove Mapgen V7 floatland biome code

In preparation for a new Mapgen V7 floatland implementation.

4 years agoAdd missing 'weather' mod documentation to minetest.conf.example
Paramat [Wed, 18 Dec 2019 22:32:09 +0000 (22:32 +0000)]
Add missing 'weather' mod documentation to minetest.conf.example

4 years agoConvert grass footstep sounds from stereo to mono
Paramat [Wed, 18 Dec 2019 22:31:29 +0000 (22:31 +0000)]
Convert grass footstep sounds from stereo to mono

4 years agoMake tool crafting recipes more compact, move to tools.lua
Maksim [Mon, 16 Dec 2019 00:29:33 +0000 (01:29 +0100)]
Make tool crafting recipes more compact, move to tools.lua

4 years agoREADME: Use correct link, make link clickable
Paramat [Wed, 4 Dec 2019 20:38:01 +0000 (20:38 +0000)]
README: Use correct link, make link clickable

4 years agoAdd Malay translation
Muhammad Nur Hidayat Yasuyoshi (MNH48) [Sat, 30 Nov 2019 16:31:40 +0000 (00:31 +0800)]
Add Malay translation

4 years agoAdd Swedish translation
Aresiel [Sat, 30 Nov 2019 16:31:29 +0000 (17:31 +0100)]
Add Swedish translation

4 years agoCoral 'on place': Pass node to 'on rightclick', not node name
OgelGames [Thu, 28 Nov 2019 02:01:19 +0000 (13:01 +1100)]
Coral 'on place': Pass node to 'on rightclick', not node name

5 years agoFix popping sound in default_grass_footstep (#2538)
Kevin Nel [Mon, 25 Nov 2019 09:50:20 +0000 (11:50 +0200)]
Fix popping sound in default_grass_footstep (#2538)

5 years agoAdd 4th item row to creative inventory. Align search, trash, page navigation
Andrey2470T [Sat, 23 Nov 2019 21:35:02 +0000 (00:35 +0300)]
Add 4th item row to creative inventory. Align search, trash, page navigation

5 years agoEscape translated text in 'beds' mod formspec
An0n3m0us [Fri, 22 Nov 2019 21:47:47 +0000 (21:47 +0000)]
Escape translated text in 'beds' mod formspec

5 years agoPapyrus: Add to the rainforest swamp biome
Paramat [Fri, 15 Nov 2019 19:47:14 +0000 (19:47 +0000)]
Papyrus: Add to the rainforest swamp biome

Previously, papyrus was limited to the savanna biome.
Rainforest is a suitable habitat for papyrus.
Makes papyrus a little less difficult to find.
Move swamp jungletrees into a separate registration, to allow
applying distribution by perlin noise to keep these away from
papyrus areas.

Fix error: Remove non-functional 'rainforest swamp' from the
biome list for the jungle log decoration. It is not placed in
swamps due to the 'y max/min' and 'place on' parameters.

5 years agoWeather: Replace deprecated get2d with get_2d
SmallJoker [Wed, 13 Nov 2019 18:59:58 +0000 (19:59 +0100)]
Weather: Replace deprecated get2d with get_2d

5 years agoAdd Russian translation (#2525)
Andrey2470T [Thu, 24 Oct 2019 19:54:20 +0000 (22:54 +0300)]
Add Russian translation (#2525)

5 years agoboats: Improve physics by implementing drag and friction forces
Bartosz [Thu, 24 Oct 2019 02:47:28 +0000 (04:47 +0200)]
boats: Improve physics by implementing drag and friction forces

Implement drag force according to the equation:
drag_force = drag_coefficient * speed ^2
Also add a small constant force to implement friction force.

5 years agoImprove creative inventory search (#2523)
sfan5 [Tue, 22 Oct 2019 20:46:19 +0000 (22:46 +0200)]
Improve creative inventory search (#2523)

5 years agoMove hotbar code/textures, and damage sound, from player_api to default
Paramat [Fri, 18 Oct 2019 01:43:06 +0000 (02:43 +0100)]
Move hotbar code/textures, and damage sound, from player_api to default

These are unrelated to the Player API and player object.
All other GUI/HUD code and textures are in default.
All other engine hardcoded sounds are in default.
The player_api mod is highly likely to be used unchanged in new games,
so logical grouping of content will help the creation of new games.

5 years agoAdd initial 'weather' mod to vary cloud density, thickness, velocity
Paramat [Mon, 14 Oct 2019 23:38:41 +0000 (00:38 +0100)]
Add initial 'weather' mod to vary cloud density, thickness, velocity

5 years agoFix duplicate background in formspec prepend (#2524)
luk3yx [Mon, 14 Oct 2019 20:53:57 +0000 (09:53 +1300)]
Fix duplicate background in formspec prepend (#2524)

5 years agoIncrease (ocean) water opacity to 191
Lars Hofhansl [Sat, 5 Oct 2019 20:25:38 +0000 (13:25 -0700)]
Increase (ocean) water opacity to 191

5 years agoItalian translation (#2491) 5.1.0 5.1.1
Hamlet [Sat, 12 Oct 2019 12:30:37 +0000 (14:30 +0200)]
Italian translation (#2491)

5 years agoSpanish Translation (#2505)
JDiaz [Thu, 10 Oct 2019 19:19:20 +0000 (21:19 +0200)]
Spanish Translation (#2505)

5 years agoFrench translation (#2514)
DrHackberry [Thu, 10 Oct 2019 19:18:25 +0000 (21:18 +0200)]
French translation (#2514)

5 years agoplayer_api: Set correct visual size for legacy player model
sfan5 [Sun, 6 Oct 2019 12:06:02 +0000 (14:06 +0200)]
player_api: Set correct visual size for legacy player model

5 years agoUse background9 for backwards compatibility
SmallJoker [Sat, 5 Oct 2019 15:55:42 +0000 (17:55 +0200)]
Use background9 for backwards compatibility

5 years agoUpdate translation templates and German (#2512)
Wuzzy [Thu, 3 Oct 2019 16:44:34 +0000 (18:44 +0200)]
Update translation templates and German (#2512)

5 years agoGrammar updates README.txt
SnicklePickles [Tue, 1 Oct 2019 10:21:39 +0000 (20:21 +1000)]
Grammar updates README.txt

5 years agoXpanes: Add new steel bar door/trapdoor sounds
TumeniNodes [Sat, 28 Sep 2019 20:53:51 +0000 (16:53 -0400)]
Xpanes: Add new steel bar door/trapdoor sounds

No longer use the unsuitable steel door/trapdoor sound.

5 years agoAlways disable leafdecay for player-placed leaves, even when 'sneaking'
Alex Yst [Sat, 28 Sep 2019 20:10:26 +0000 (13:10 -0700)]
Always disable leafdecay for player-placed leaves, even when 'sneaking'

Avoids player-placed leaves decaying when building while sneaking, which is common.

5 years agoFix glass panes sides (#2500)
An0n3m0us [Thu, 26 Sep 2019 22:35:06 +0000 (23:35 +0100)]
Fix glass panes sides (#2500)

5 years agoXpanes: Register steel bar door and steel bar trapdoor
TumeniNodes [Sun, 22 Sep 2019 22:05:38 +0000 (18:05 -0400)]
Xpanes: Register steel bar door and steel bar trapdoor

Register using the 'doors' mod API.

5 years agoAdd translation templates and German translation
Wuzzy [Tue, 17 Sep 2019 15:51:24 +0000 (17:51 +0200)]
Add translation templates and German translation

5 years agoMarram grass: Fix noise flags to make 2D noise 'eased' (#2493)
Paramat [Sat, 21 Sep 2019 20:28:09 +0000 (21:28 +0100)]
Marram grass: Fix noise flags to make 2D noise 'eased' (#2493)

Increase noise resolution from 4 to 2 nodes for a higher quality
distribution.
Retune noise parameters to compensate for using eased noise.

5 years agoVessels: Fix vessels shelf infotext
An0n3m0us [Sat, 21 Sep 2019 09:45:03 +0000 (10:45 +0100)]
Vessels: Fix vessels shelf infotext

5 years agoFix trapdoor infotext to correctly describe the type of trapdoor
sfan5 [Fri, 20 Sep 2019 18:56:20 +0000 (20:56 +0200)]
Fix trapdoor infotext to correctly describe the type of trapdoor

5 years agoFix door infotext to correctly describe the type of door
sfan5 [Fri, 20 Sep 2019 18:10:58 +0000 (20:10 +0200)]
Fix door infotext to correctly describe the type of door

5 years agoLeafdecay: Use param2 ~= 1 instead of param2 == 0
leucome [Thu, 19 Sep 2019 01:13:18 +0000 (21:13 -0400)]
Leafdecay: Use param2 ~= 1 instead of param2 == 0

5 years agoSet fuel percentage to decrease (#2481)
An0n3m0us [Wed, 18 Sep 2019 22:36:50 +0000 (23:36 +0100)]
Set fuel percentage to decrease (#2481)

5 years agoFix more translation strings (#2487)
sfan5 [Wed, 18 Sep 2019 18:38:27 +0000 (20:38 +0200)]
Fix more translation strings (#2487)

5 years agoAdd option for non-jumpable fences and walls
mbartlett21 [Mon, 16 Sep 2019 20:38:02 +0000 (06:38 +1000)]
Add option for non-jumpable fences and walls

Add an option, default disabled, to extend the collision boxes upwards.

5 years agoAdd missing infotext to nodes (#2477)
An0n3m0us [Sat, 14 Sep 2019 18:30:26 +0000 (19:30 +0100)]
Add missing infotext to nodes (#2477)

5 years agoFix water no longer waving
sfan5 [Sat, 14 Sep 2019 12:30:44 +0000 (14:30 +0200)]
Fix water no longer waving

broken by bb9279ccb843937bc8001ce333e3ccb71b0dba2d

5 years agoAdd vessels group to firefly vessel
An0n3m0us [Fri, 13 Sep 2019 18:47:09 +0000 (19:47 +0100)]
Add vessels group to firefly vessel

5 years agoFix and improve translation strings (#2471)
sfan5 [Thu, 12 Sep 2019 17:03:10 +0000 (19:03 +0200)]
Fix and improve translation strings (#2471)

5 years agoAdd initial environmental sounds mod with flowing water sounds
Paramat [Wed, 11 Sep 2019 23:46:40 +0000 (00:46 +0100)]
Add initial environmental sounds mod with flowing water sounds

default:river_water_source can also create sound if desired as
rivers are considered to be flowing water.
A simple mod for now, with the intention to later use new engine
environmental sound features if/when they appear.

5 years agoAdd support for MT 5 game translation (rebasing ) (#2466)
Yves Quemener [Tue, 10 Sep 2019 17:09:51 +0000 (02:09 +0900)]
Add support for MT 5 game translation (rebasing ) (#2466)

rebased #2368

5 years agoXpanes: Use 'swap node' instead of 'set node'
mbartlett21 [Fri, 6 Sep 2019 20:39:23 +0000 (06:39 +1000)]
Xpanes: Use 'swap node' instead of 'set node'

5 years agoConvert README.txt to Markdown format
Panquesito7 [Thu, 5 Sep 2019 21:39:24 +0000 (16:39 -0500)]
Convert README.txt to Markdown format

5 years agoCreative: Override the hand instead of re-registering
Paramat [Sat, 31 Aug 2019 18:44:17 +0000 (19:44 +0100)]
Creative: Override the hand instead of re-registering

Allows the initial hand registration to alter the 'wield_scale' without
needing to also alter it in creative mod.
Also make default mod a dependency again, as the initial hand
registration is required.

5 years agoSpawn: Avoid spawning outside small worlds
Paramat [Wed, 28 Aug 2019 02:19:34 +0000 (03:19 +0100)]
Spawn: Avoid spawning outside small worlds

Previously, the value of 'mapgen_limit' was not used to limit the
spawn position.
If a friendly-biome spawn point is not found within a small world,
spawn point falls back to the engine spawn point, which has a larger
chance of success.

5 years agoAdd new TNT sounds
TumeniNodes [Wed, 28 Aug 2019 02:06:23 +0000 (22:06 -0400)]
Add new TNT sounds

5 years agoFurnace: Improve fuel item replacement support
Paul Ouellette [Tue, 20 Aug 2019 19:15:28 +0000 (15:15 -0400)]
Furnace: Improve fuel item replacement support

The output returned by `get_craft_result` has a replacements table that
contains any replacement items that could not be placed in the input
(due to the input stack having a count > 1). Put these replacements in
the dst list or drop them on the furnace.

5 years agoVerify object is player before checking privs (#2448)
coil [Mon, 19 Aug 2019 17:24:19 +0000 (13:24 -0400)]
Verify object is player before checking privs (#2448)

This prevents a crash when a 'nil' digger is passed by the engine to
minetest.node_dig.

5 years agoTNT: Remove unusable sounds, use temporary placeholders
Paramat [Sun, 18 Aug 2019 18:47:06 +0000 (19:47 +0100)]
TNT: Remove unusable sounds, use temporary placeholders

5 years agoSfinv: Add and use a crafting arrow texture instead of using furnace arrow
Paramat [Tue, 13 Aug 2019 20:57:32 +0000 (21:57 +0100)]
Sfinv: Add and use a crafting arrow texture instead of using furnace arrow

5 years agoFurnace: Fix "output full" infotext
Paul Ouellette [Sun, 11 Aug 2019 14:28:02 +0000 (10:28 -0400)]
Furnace: Fix "output full" infotext

5 years agoMake the creative mod hand dig 'dig_immediate' nodes fast
Paramat [Sat, 3 Aug 2019 19:51:58 +0000 (20:51 +0100)]
Make the creative mod hand dig 'dig_immediate' nodes fast

Engine change now makes this possible.

5 years agoWarn when a mod registers a stairs node with an existing name
HybridDog [Tue, 30 Jul 2019 09:19:22 +0000 (11:19 +0200)]
Warn when a mod registers a stairs node with an existing name

5 years agoVarious mods: Use " " instead of ' ' for item names
TumeniNodes [Thu, 1 Aug 2019 01:40:39 +0000 (21:40 -0400)]
Various mods: Use " " instead of ' ' for item names

5 years agoDefault: Use " " instead of ' ' for item names
TumeniNodes [Tue, 30 Jul 2019 23:16:44 +0000 (19:16 -0400)]
Default: Use " " instead of ' ' for item names

5 years agoAdd patches of bare 'dry dirt' to savanna
Paramat [Tue, 30 Jul 2019 02:55:17 +0000 (03:55 +0100)]
Add patches of bare 'dry dirt' to savanna

Tune noise to appear roughly where long dry grass is least dense and shortest.

5 years agoAdd 'dry dirt' and 'dry dirt with dry grass' nodes for savanna biome
TumeniNodes [Fri, 26 Jul 2019 16:50:44 +0000 (12:50 -0400)]
Add 'dry dirt' and 'dry dirt with dry grass' nodes for savanna biome

5 years agoCreative: Add 'default' as optional dependency
TumeniNodes [Mon, 22 Jul 2019 01:26:52 +0000 (21:26 -0400)]
Creative: Add 'default' as optional dependency

Fixes bugs caused by removing 'default' as a hard dependency.

5 years agoAdd new, longer 'default_grass_side' texture
Paramat [Mon, 22 Jul 2019 01:18:20 +0000 (02:18 +0100)]
Add new, longer 'default_grass_side' texture

Update side texture to match the new top texture.
3/4 side coverage instead of 1/2,

5 years agoCreative: Remove unnecessary dependency on 'default'
Paramat [Sun, 21 Jul 2019 02:24:47 +0000 (03:24 +0100)]
Creative: Remove unnecessary dependency on 'default'

5 years agoMerge pull request #2322 from Calinou/travis-luacheck-color
sfan5 [Tue, 16 Jul 2019 22:38:30 +0000 (00:38 +0200)]
Merge pull request #2322 from Calinou/travis-luacheck-color

Enable colored Luacheck output on Travis CI

5 years agoSwitch to mod.conf, delete deprecated depends.txt
sfan5 [Tue, 16 Jul 2019 20:40:21 +0000 (22:40 +0200)]
Switch to mod.conf, delete deprecated depends.txt

5 years agoFix potential crash when few loot items are registered
sfan5 [Tue, 16 Jul 2019 21:18:27 +0000 (23:18 +0200)]
Fix potential crash when few loot items are registered

5 years agoFix luacheck warning
sfan5 [Tue, 16 Jul 2019 21:17:14 +0000 (23:17 +0200)]
Fix luacheck warning

5 years agoSupport for icesheet dungeons in dungeon_loot
sfan5 [Tue, 16 Jul 2019 18:28:40 +0000 (20:28 +0200)]
Support for icesheet dungeons in dungeon_loot

5 years agoSwitch dungeon type detection to biome name
sfan5 [Tue, 16 Jul 2019 18:11:17 +0000 (20:11 +0200)]
Switch dungeon type detection to biome name

see #2400, also removed a now unused alias

5 years agoAdd new 'default_grass' texture
TumeniNodes [Mon, 15 Jul 2019 16:43:05 +0000 (12:43 -0400)]
Add new 'default_grass' texture

5 years agoNew lighter, greyer permafrost texture
Paramat [Sat, 13 Jul 2019 22:35:25 +0000 (23:35 +0100)]
New lighter, greyer permafrost texture

5 years agoRemove stack_max from bucket:bucket_empty
acmgit [Sat, 13 Jul 2019 16:47:45 +0000 (18:47 +0200)]
Remove stack_max from bucket:bucket_empty

5 years agoAllow opening chests when wielding corals
SmallJoker [Fri, 12 Jul 2019 19:01:27 +0000 (21:01 +0200)]
Allow opening chests when wielding corals

Code simplification by combining the on_place functions.

5 years agoUnify hotbar formspec for sfinv and creative
bell07 [Wed, 10 Jul 2019 20:55:35 +0000 (22:55 +0200)]
Unify hotbar formspec for sfinv and creative

sfinv: Add lists above the content to support listrings in content.
Reuse sfinv inventory lists for creative.

5 years agointersects_protection(): Fix compatibility code
luk3yx [Wed, 3 Jul 2019 17:10:39 +0000 (05:10 +1200)]
intersects_protection(): Fix compatibility code

5 years agoDefine dungeon nodes in biome definitions (#2400)
Paramat [Mon, 1 Jul 2019 20:58:47 +0000 (21:58 +0100)]
Define dungeon nodes in biome definitions (#2400)

Icesheet ice dungeons now have ice stairs.
Remove some now-unnecessary sandstone mapgen aliases, one
remains as it is required by the dungeon loot mod.
Re-arrange mapgen aliases to separate those needed for mgv6.

5 years agoUse 9-slice background in formspec theme
rubenwardy [Sun, 23 Jun 2019 23:10:13 +0000 (00:10 +0100)]
Use 9-slice background in formspec theme

5 years agoMake waterlily wave when placed on waving water
t0ny2 [Sun, 16 Jun 2019 21:09:36 +0000 (22:09 +0100)]
Make waterlily wave when placed on waving water

5 years agoAllow overriding default.after_place_leaves and default.grow_sapling
SmallJoker [Fri, 7 Jun 2019 19:35:24 +0000 (21:35 +0200)]
Allow overriding default.after_place_leaves and default.grow_sapling

5 years agoLarge cactus schematic: Don't force-place root node
Paramat [Fri, 7 Jun 2019 19:34:13 +0000 (20:34 +0100)]
Large cactus schematic: Don't force-place root node

This schematic is used for sapling-grown large cacti, so should not
destroy the sand node below, as sand nodes are in short supply in
some situations.
Like trees, only force-place the node that replaces the sapling.

5 years agoPrevent potential crash caused by moss growth ABM
acmgit [Sun, 2 Jun 2019 17:50:20 +0000 (19:50 +0200)]
Prevent potential crash caused by moss growth ABM

5 years agoAdd groups for tools and mushrooms (#2378)
An0n3m0us [Sat, 1 Jun 2019 19:10:30 +0000 (20:10 +0100)]
Add groups for tools and mushrooms (#2378)

5 years agowool: use global 'dye.dyes' table 2370/head
Zweihorn [Sun, 26 May 2019 19:21:31 +0000 (21:21 +0200)]
wool: use global 'dye.dyes' table

5 years agoCapitalize author in game.conf to match ContentDB
Paul Ouellette [Sun, 26 May 2019 19:16:53 +0000 (15:16 -0400)]
Capitalize author in game.conf to match ContentDB

The author is used to track packages for updating, so it should match.

5 years agoMake cave liquids biome-determined
Paramat [Sat, 18 May 2019 20:22:19 +0000 (21:22 +0100)]
Make cave liquids biome-determined

No longer use the hardcoded engine cave liquids.
Water only in '_ocean' biomes, water and lava in '_under' biomes.

5 years agoFix trapdoor side textures and orientations
Paramat [Fri, 3 May 2019 22:49:07 +0000 (23:49 +0100)]
Fix trapdoor side textures and orientations

Previously, opening a trapdoor caused the side textures to flip.

Fix the incorrect textures.
Also add a texture transform to a tile of the open trapdoor, such
that the closed trapdoor sides use the lower part of the texture
and the open trapdoor sides use the higher part.

Clean up some codestyle issues.

5 years agoSplit underground biome to correspond to surface biomes
Paramat [Fri, 19 Apr 2019 20:23:26 +0000 (21:23 +0100)]
Split underground biome to correspond to surface biomes

In preparation for biome-defined: dungeon materials, cave liquids,
stone type, ores, decorations.
'_ocean' biomes now extend to y = -255 to be deeper than default
mgv5 oceans, and to create 'shallow underground biomes'.
Remove unnecessary biome lists for gravel and silver sand blob ores,
as those are already defined to only appear in default:stone.

5 years agoMoss growth ABM: Add inner and outer cobble stairs, simplify code
HybridDog [Sat, 6 Apr 2019 20:35:48 +0000 (22:35 +0200)]
Moss growth ABM: Add inner and outer cobble stairs, simplify code