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

4 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

4 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

4 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)

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

4 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.

4 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)

4 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

4 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

4 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)

4 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.

4 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

4 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'

4 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

4 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.

4 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.

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

4 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.

4 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.

4 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

4 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

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

4 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.

4 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

4 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

4 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

4 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.

4 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

4 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.

4 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,

4 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'

4 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

4 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

4 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

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

4 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

4 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

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

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

4 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

4 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.

4 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.

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

4 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.

4 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

4 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

4 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

4 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.

4 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

4 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)

4 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

4 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.

4 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.

4 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

5 years agoFix sfinv not updating on creative grant/revoke
rubenwardy [Sun, 3 Feb 2019 11:45:45 +0000 (11:45 +0000)]
Fix sfinv not updating on creative grant/revoke

5 years agoBeds: Fix formspec size, no prepend
SmallJoker [Sat, 26 Jan 2019 12:55:39 +0000 (13:55 +0100)]
Beds: Fix formspec size, no prepend

5 years agoUpdate small pines in schematic_tables.txt
Paramat [Sun, 6 Jan 2019 23:48:57 +0000 (23:48 +0000)]
Update small pines in schematic_tables.txt

Update was missing from 7fa03c7a9bf57288375b6f11fba31f2273eb0c7a

5 years agoFix small pine leafdecay: New schematics, new leafdecay radius
Paramat [Fri, 4 Jan 2019 04:12:07 +0000 (04:12 +0000)]
Fix small pine leafdecay: New schematics, new leafdecay radius

Fix small pine leafdecay: New schematics, new leafdecay radius

5 years agoRemove uses of default.gui_bg/bg_img/slots
Paramat [Thu, 3 Jan 2019 01:57:13 +0000 (01:57 +0000)]
Remove uses of default.gui_bg/bg_img/slots

Keep their definitions, to not break mods, but move them to legacy.lua.

5 years agoRemove extra empty strings in craft recipes (#2281)
Paul Ouellette [Wed, 2 Jan 2019 11:40:32 +0000 (06:40 -0500)]
Remove extra empty strings in craft recipes (#2281)

5 years agoAdd large cactus seedling
Paramat [Wed, 2 Jan 2019 02:18:50 +0000 (02:18 +0000)]
Add large cactus seedling

Alter 'large cactus' schematic to place another force-placed cactus node,
to replace the cactus seedling on growth.
Make schematic 5x7x5 to solve rotation, placement and protection check
issues.
Add a y-slice probability for height variation.

Growth time is tuned to not make this a faster way to obtain cactus nodes
compared to normal cactus farming.
Seedling texture by Extex101.

Use sapling/seedling description in protection intersection message in
'sapling_on_place' function.

5 years agoDoors: New handle and hinges for glass door
Paramat [Sat, 22 Dec 2018 00:33:37 +0000 (00:33 +0000)]
Doors: New handle and hinges for glass door

5 years agoDoors: Allow on_rightclick to be overidden
Ryan Nolan [Thu, 20 Dec 2018 22:45:24 +0000 (22:45 +0000)]
Doors: Allow on_rightclick to be overidden

Allow mods such as protection mods to over ride on_rightclick.
Usecase is creating shared doors without the need for keys.

5 years agoRemove now-unused 'puts out fire' group
Paramat [Sat, 8 Dec 2018 04:00:38 +0000 (04:00 +0000)]
Remove now-unused 'puts out fire' group

5 years agoPrevent crash if some mod inadvertently allowed doors to rotate
sofar [Thu, 6 Dec 2018 23:29:43 +0000 (15:29 -0800)]
Prevent crash if some mod inadvertently allowed doors to rotate

5 years agoAdd sfinv.get_page()
rubenwardy [Wed, 28 Nov 2018 14:14:33 +0000 (14:14 +0000)]
Add sfinv.get_page()

5 years agoRemove double inner/outer in stairs descriptions
Paul Ouellette [Fri, 16 Nov 2018 18:50:10 +0000 (13:50 -0500)]
Remove double inner/outer in stairs descriptions

5 years agoAdd plantlike_rooted coral
Ezhh [Thu, 15 Nov 2018 00:49:16 +0000 (00:49 +0000)]
Add plantlike_rooted coral

5 years agoFix sRGB profiles for obsidian glass stair textures
TumeniNodes [Fri, 9 Nov 2018 18:53:23 +0000 (13:53 -0500)]
Fix sRGB profiles for obsidian glass stair textures

5 years agoNew glass, glass stair/slab, and glass door textures
SmallJoker [Fri, 2 Nov 2018 17:22:54 +0000 (18:22 +0100)]
New glass, glass stair/slab, and glass door textures

5 years agoBeds: Use mod textures instead of default_wood.png
TumeniNodes [Mon, 29 Oct 2018 22:08:25 +0000 (18:08 -0400)]
Beds: Use mod textures instead of default_wood.png

No longer use default_wood.png for one side of the bed head and
one side of the bed bottom node.
Add a new texture for the underside of both beds.

5 years agoLiquid sources: Backface-cull sides and base. Remove unused special tiles
Paramat [Sat, 27 Oct 2018 12:57:16 +0000 (13:57 +0100)]
Liquid sources: Backface-cull sides and base. Remove unused special tiles

Fixes most z-fighting caused by underwater nodeboxes.
Special tiles were for 'new style water' (lowered water level) which was
removed a few years ago.

5 years agoChests: Fix crash on empty key metadata
SmallJoker [Thu, 18 Oct 2018 04:45:35 +0000 (06:45 +0200)]
Chests: Fix crash on empty key metadata

5 years agoSpawn mod: Avoid respawn conflict with beds mod (#2240)
Paramat [Sun, 14 Oct 2018 01:36:40 +0000 (02:36 +0100)]
Spawn mod: Avoid respawn conflict with beds mod (#2240)

5 years agoStairs: Remove combine slabs code
TumeniNodes [Thu, 11 Oct 2018 18:33:33 +0000 (14:33 -0400)]
Stairs: Remove combine slabs code

5 years agoFence rails: Allow connections to walls
TumeniNodes [Thu, 11 Oct 2018 18:31:35 +0000 (14:31 -0400)]
Fence rails: Allow connections to walls