oweals/minetest_game.git
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

5 years agoflowers: Light check optimisation in mushroom spread
HybridDog [Sun, 31 Mar 2019 21:20:28 +0000 (23:20 +0200)]
flowers: Light check optimisation in mushroom spread

5 years agoAdd food groups to blueberries (#2335)
tenplus1 [Fri, 22 Mar 2019 19:20:36 +0000 (19:20 +0000)]
Add food groups to blueberries (#2335)

5 years agofire: Document flammable group, a little code cleanup
HybridDog [Sat, 30 Mar 2019 20:33:08 +0000 (21:33 +0100)]
fire: Document flammable group, a little code cleanup

5 years agoRestrict waving liquid shader to normal water
Paramat [Wed, 27 Mar 2019 02:17:32 +0000 (02:17 +0000)]
Restrict waving liquid shader to normal water

5 years agoUse group:stick in recipes (fixes #2306)
SmallJoker [Sun, 24 Mar 2019 09:59:34 +0000 (10:59 +0100)]
Use group:stick in recipes (fixes #2306)

5 years agoDungeon loot: Avoid empty 'if' branch to satisfy lua check
Paramat [Sat, 23 Mar 2019 23:16:41 +0000 (23:16 +0000)]
Dungeon loot: Avoid empty 'if' branch to satisfy lua check

5 years agoFix beds being undiggable after laying down
Paramat [Sat, 23 Mar 2019 23:12:44 +0000 (23:12 +0000)]
Fix beds being undiggable after laying down

5 years agoMapping kit recipe: Use "group:stick" instead of "default:stick"
Niwla23 [Mon, 18 Mar 2019 22:20:24 +0000 (23:20 +0100)]
Mapping kit recipe: Use "group:stick" instead of "default:stick"

5 years agoDungeon loot: Don't crash on unknown items
sfan5 [Sun, 17 Mar 2019 12:56:23 +0000 (13:56 +0100)]
Dungeon loot: Don't crash on unknown items

fixes #2228

5 years agoBeds: Properly count players in beds
sofar [Sun, 10 Mar 2019 01:43:49 +0000 (17:43 -0800)]
Beds: Properly count players in beds

This is a rebased and slightly rewritten version of #2125.

5 years agoFlowers: Remove stack max definition (#2324)
acmgit [Tue, 5 Mar 2019 10:59:23 +0000 (11:59 +0100)]
Flowers: Remove stack max definition (#2324)

5 years agoEnable colored Luacheck output on Travis CI 2322/head
Hugo Locurcio [Sun, 24 Feb 2019 18:46:14 +0000 (19:46 +0100)]
Enable colored Luacheck output on Travis CI

This also removes the deprecated `sudo: false` option, as Travis CI
is phasing out the container-based infrastructure.

5 years agoRemove corals.mts credit 5.0.0
Paramat [Mon, 18 Feb 2019 19:57:30 +0000 (19:57 +0000)]
Remove corals.mts credit

5 years agoKelp, coral sounds: Add missing 'footstep'. Use quiet 'dig', 'dug'
Paramat [Sat, 16 Feb 2019 21:18:01 +0000 (21:18 +0000)]
Kelp, coral sounds: Add missing 'footstep'. Use quiet 'dig', 'dug'

Footstep sounds as sand or cubic coral nodes.
Dig and dug sounds as leaves but much lower gain to be suitable for
underwater.

5 years agoFix sfinv hotbar offset
Nathan Salapat [Sat, 16 Feb 2019 20:51:33 +0000 (14:51 -0600)]
Fix sfinv hotbar offset

5 years agoBeds: Do not require red wool to craft beds
Paramat [Sun, 10 Feb 2019 21:38:58 +0000 (21:38 +0000)]
Beds: Do not require red wool to craft beds

5 years agoLimit sign length to 512 (~6 lines of 80 char or so).
Auke Kok [Tue, 5 Feb 2019 05:28:00 +0000 (21:28 -0800)]
Limit sign length to 512 (~6 lines of 80 char or so).

Players can enter unlimited text into the field, causing lag and
potentially locking up clients. I have not found any negative effects
server side, other than the large storage needed to store the long
text.

5 years agoBeds: Make on_rotate function check new param2 instead of rotation mode
12Me21 [Fri, 8 Feb 2019 01:53:55 +0000 (20:53 -0500)]
Beds: Make on_rotate function check new param2 instead of rotation mode

The on_rotate function now checks the new param2 value to determine if a rotation is valid, rather than checking the rotation mode.
This is so screwdriver-like items with different rotation modes will not be able to rotate the bed into invalid orientations.

5 years agoDye: Remove type="shapeless" from single-item recipes
Paul Ouellette [Wed, 6 Feb 2019 19:07:48 +0000 (14:07 -0500)]
Dye: Remove type="shapeless" from single-item recipes

5 years ago'permafrost_with_stones/moss' drops itself instead of permafrost
Paramat [Tue, 5 Feb 2019 00:24:04 +0000 (00:24 +0000)]
'permafrost_with_stones/moss' drops itself instead of permafrost

Previously they were not collectable or creatable.
A simple temporary solution for MTG 5.0.0.

5 years agoAdd screenshot.png, and more info to game.conf
rubenwardy [Tue, 5 Feb 2019 00:07:06 +0000 (00:07 +0000)]
Add screenshot.png, and more info to game.conf

5 years agoTextures: Update permafrost to new dirt, improve stones, add stones side
random-geek [Sun, 3 Feb 2019 19:14:13 +0000 (11:14 -0800)]
Textures: Update permafrost to new dirt, improve stones, add stones side