1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-19 00:00:23 +01:00
Commit Graph

1515 Commits

Author SHA1 Message Date
Paramat
7caa5d36f2
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.
2019-10-18 02:43:06 +01:00
Paramat
7c1fd9c24e
Add initial 'weather' mod to vary cloud density, thickness, velocity 2019-10-15 00:38:41 +01:00
luk3yx
ef7df329d2 Fix duplicate background in formspec prepend (#2524) 2019-10-14 22:53:57 +02:00
Lars Hofhansl
6042e963f7 Increase (ocean) water opacity to 191 2019-10-12 18:35:56 +02:00
Hamlet
93a49f082c Italian translation (#2491) 2019-10-12 14:30:37 +02:00
JDiaz
a00ff24df9 Spanish Translation (#2505) 2019-10-10 21:19:20 +02:00
DrHackberry
0f369b43fe French translation (#2514) 2019-10-10 21:18:25 +02:00
sfan5
f87c3d05ae player_api: Set correct visual size for legacy player model 2019-10-06 14:06:02 +02:00
SmallJoker
1c413ede9a Use background9 for backwards compatibility 2019-10-05 17:55:42 +02:00
Wuzzy
8c9821b227 Update translation templates and German (#2512) 2019-10-03 18:44:34 +02:00
SnicklePickles
ce1eaeebbe Grammar updates README.txt 2019-10-01 21:47:58 +02:00
TumeniNodes
f2a07b0a51 Xpanes: Add new steel bar door/trapdoor sounds
No longer use the unsuitable steel door/trapdoor sound.
2019-09-28 21:53:50 +01:00
Alex Yst
c800398593 Always disable leafdecay for player-placed leaves, even when 'sneaking'
Avoids player-placed leaves decaying when building while sneaking, which is common.
2019-09-28 21:10:26 +01:00
An0n3m0us
05375c0fd4 Fix glass panes sides (#2500) 2019-09-27 00:35:06 +02:00
TumeniNodes
23ceb30e88 Xpanes: Register steel bar door and steel bar trapdoor
Register using the 'doors' mod API.
2019-09-22 23:05:38 +01:00
Wuzzy
106c36da33 Add translation templates and German translation 2019-09-22 13:42:40 +02:00
Paramat
86a55d3584
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.
2019-09-21 21:28:09 +01:00
An0n3m0us
b31795dd04 Vessels: Fix vessels shelf infotext 2019-09-21 11:45:03 +02:00
sfan5
3f7cd062c3
Fix trapdoor infotext to correctly describe the type of trapdoor 2019-09-20 20:56:20 +02:00
sfan5
09bed49b5a
Fix door infotext to correctly describe the type of door 2019-09-20 20:10:58 +02:00
leucome
00f9287075 Leafdecay: Use param2 ~= 1 instead of param2 == 0 2019-09-19 02:13:18 +01:00
An0n3m0us
cbb0529ace Set fuel percentage to decrease (#2481) 2019-09-19 00:36:50 +02:00
sfan5
b4c7522248
Fix more translation strings (#2487) 2019-09-18 20:38:27 +02:00
mbartlett21
c42a525ce8 Add option for non-jumpable fences and walls
Add an option, default disabled, to extend the collision boxes upwards.
2019-09-16 21:38:02 +01:00
An0n3m0us
1f7ea89cb6 Add missing infotext to nodes (#2477) 2019-09-14 20:30:26 +02:00
sfan5
888383a812 Fix water no longer waving
broken by bb9279ccb8
2019-09-14 14:30:44 +02:00
An0n3m0us
88114a74e9 Add vessels group to firefly vessel 2019-09-13 20:47:09 +02:00
sfan5
e4adb01fbf
Fix and improve translation strings (#2471) 2019-09-12 19:03:10 +02:00
Paramat
ea992bdace
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.
2019-09-12 00:46:40 +01:00
Yves Quemener
bb9279ccb8 Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
mbartlett21
d99a176b69 Xpanes: Use 'swap node' instead of 'set node' 2019-09-06 21:39:23 +01:00
Paramat
e8097c9e87
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.
2019-08-31 19:44:17 +01:00
Paramat
5c3e4b1d20
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.
2019-08-28 03:19:34 +01:00
TumeniNodes
553b0f9d72 Add new TNT sounds 2019-08-28 03:06:23 +01:00
Paul Ouellette
7269711911 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.
2019-08-20 21:15:28 +02:00
coil
3a3f71aa50 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.
2019-08-19 19:24:19 +02:00
Paramat
fac8f390b1
TNT: Remove unusable sounds, use temporary placeholders 2019-08-18 19:47:06 +01:00
Paramat
4eadf80634
Sfinv: Add and use a crafting arrow texture instead of using furnace arrow 2019-08-13 21:57:32 +01:00
Paul Ouellette
e5ebb36cd5 Furnace: Fix "output full" infotext 2019-08-11 16:28:02 +02:00
Paramat
2063fcd075
Make the creative mod hand dig 'dig_immediate' nodes fast
Engine change now makes this possible.
2019-08-03 20:51:58 +01:00
HybridDog
a2254bd0af Warn when a mod registers a stairs node with an existing name 2019-08-01 21:55:26 +02:00
TumeniNodes
7f830124f7 Various mods: Use " " instead of ' ' for item names 2019-08-01 02:40:39 +01:00
TumeniNodes
a5bde8e9ba Default: Use " " instead of ' ' for item names 2019-07-31 00:16:44 +01:00
Paramat
6716fc74ec
Add patches of bare 'dry dirt' to savanna
Tune noise to appear roughly where long dry grass is least dense and shortest.
2019-07-30 03:55:17 +01:00
TumeniNodes
c32b8adaa3 Add 'dry dirt' and 'dry dirt with dry grass' nodes for savanna biome 2019-07-26 17:50:44 +01:00
TumeniNodes
4282a93a02 Creative: Add 'default' as optional dependency
Fixes bugs caused by removing 'default' as a hard dependency.
2019-07-22 02:26:52 +01:00
Paramat
d16612c1cb
Add new, longer 'default_grass_side' texture
Update side texture to match the new top texture.
3/4 side coverage instead of 1/2,
2019-07-22 02:18:20 +01:00
Paramat
9fe877ef99
Creative: Remove unnecessary dependency on 'default' 2019-07-21 03:24:47 +01:00
sfan5
9b226c7045 Switch to mod.conf, delete deprecated depends.txt 2019-07-17 00:38:23 +02:00
sfan5
773011fd85 Fix potential crash when few loot items are registered 2019-07-16 23:29:29 +02:00
sfan5
c3403936d3 Fix luacheck warning 2019-07-16 23:17:14 +02:00
sfan5
b701e500aa Support for icesheet dungeons in dungeon_loot 2019-07-16 22:26:35 +02:00
sfan5
37710866f0 Switch dungeon type detection to biome name
see #2400, also removed a now unused alias
2019-07-16 22:26:35 +02:00
TumeniNodes
bfb84da39c Add new 'default_grass' texture 2019-07-15 17:43:05 +01:00
Paramat
3bca295da8
New lighter, greyer permafrost texture 2019-07-13 23:35:25 +01:00
acmgit
83fb6fe872 Remove stack_max from bucket:bucket_empty 2019-07-13 17:47:45 +01:00
SmallJoker
95aaec6670 Allow opening chests when wielding corals
Code simplification by combining the on_place functions.
2019-07-12 20:01:27 +01:00
bell07
5b1d5819e5 Unify hotbar formspec for sfinv and creative
sfinv: Add lists above the content to support listrings in content.
Reuse sfinv inventory lists for creative.
2019-07-10 21:55:35 +01:00
luk3yx
3d530e0c25 intersects_protection(): Fix compatibility code 2019-07-03 19:10:39 +02:00
Paramat
e7be81242b
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.
2019-07-01 21:58:47 +01:00
rubenwardy
a6a719967a Use 9-slice background in formspec theme 2019-06-24 00:10:13 +01:00
t0ny2
54bb0afe7f Make waterlily wave when placed on waving water 2019-06-16 22:09:36 +01:00
SmallJoker
0f771a27c3 Allow overriding default.after_place_leaves and default.grow_sapling 2019-06-07 20:35:24 +01:00
Paramat
ca7c131133
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.
2019-06-07 20:34:13 +01:00
acmgit
61bfac0fa2 Prevent potential crash caused by moss growth ABM 2019-06-02 18:50:20 +01:00
An0n3m0us
e19f42d648 Add groups for tools and mushrooms (#2378) 2019-06-01 21:10:30 +02:00
Zweihorn
76a08a7058 wool: use global 'dye.dyes' table 2019-05-26 20:21:31 +01:00
Paramat
aee5ba64f9
Make cave liquids biome-determined
No longer use the hardcoded engine cave liquids.
Water only in '_ocean' biomes, water and lava in '_under' biomes.
2019-05-18 21:22:19 +01:00
Paramat
5c48c76aa2
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.
2019-05-03 23:49:07 +01:00
Paramat
f21bab2ff9
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.
2019-04-19 21:23:26 +01:00
HybridDog
0291c6b210 Moss growth ABM: Add inner and outer cobble stairs, simplify code 2019-04-06 21:35:48 +01:00
HybridDog
b20725026e flowers: Light check optimisation in mushroom spread 2019-03-31 22:20:28 +01:00
tenplus1
88d79881b8 Add food groups to blueberries (#2335) 2019-03-31 22:20:47 +02:00
HybridDog
efd090228d fire: Document flammable group, a little code cleanup 2019-03-30 20:33:08 +00:00
Paramat
dfe6fd6560
Restrict waving liquid shader to normal water 2019-03-27 02:17:32 +00:00
SmallJoker
dd3f3b2032 Use group:stick in recipes (fixes #2306) 2019-03-24 10:59:34 +01:00
Paramat
8b5e0a914b
Dungeon loot: Avoid empty 'if' branch to satisfy lua check 2019-03-23 23:16:41 +00:00
Paramat
e3cd961a15
Fix beds being undiggable after laying down 2019-03-23 23:12:44 +00:00
Niwla23
eaf6eac723 Mapping kit recipe: Use "group:stick" instead of "default:stick" 2019-03-18 22:20:24 +00:00
sfan5
02e2cab375 Dungeon loot: Don't crash on unknown items
fixes #2228
2019-03-17 13:59:10 +01:00
sofar
b853c8a509 Beds: Properly count players in beds
This is a rebased and slightly rewritten version of #2125.
2019-03-10 01:43:49 +00:00
acmgit
891f00e9db Flowers: Remove stack max definition (#2324) 2019-03-05 11:59:23 +01:00
Paramat
196f206d3e
Remove corals.mts credit 2019-02-18 19:57:30 +00:00
Paramat
1ca25eec9d
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.
2019-02-16 21:18:01 +00:00
Nathan Salapat
b92f7431ef Fix sfinv hotbar offset 2019-02-16 20:51:33 +00:00
Paramat
7f687777a6
Beds: Do not require red wool to craft beds 2019-02-10 21:38:58 +00:00
Auke Kok
6b2887e3bf 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.
2019-02-07 23:57:42 -08:00
12Me21
14cc07bfd3 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.
2019-02-08 01:53:55 +00:00
Paul Ouellette
ad6c2cf035 Dye: Remove type="shapeless" from single-item recipes 2019-02-06 19:07:48 +00:00
Paramat
2033b2cc65
'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.
2019-02-05 00:24:04 +00:00
random-geek
6e0e2b8be9 Textures: Update permafrost to new dirt, improve stones, add stones side 2019-02-03 19:14:13 +00:00
rubenwardy
64a923f7fb Fix sfinv not updating on creative grant/revoke 2019-02-03 11:45:45 +00:00
SmallJoker
2ff9058a62 Beds: Fix formspec size, no prepend 2019-01-26 14:00:01 +01:00
Paramat
7fa03c7a9b
Fix small pine leafdecay: New schematics, new leafdecay radius
Fix small pine leafdecay: New schematics, new leafdecay radius
2019-01-04 04:12:07 +00:00
Paramat
8af8dc49a0
Remove uses of default.gui_bg/bg_img/slots
Keep their definitions, to not break mods, but move them to legacy.lua.
2019-01-03 01:57:13 +00:00
Paul Ouellette
ccf03ea404 Remove extra empty strings in craft recipes (#2281) 2019-01-02 12:40:32 +01:00
Paramat
6688ddf6d4
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.
2019-01-02 02:18:50 +00:00
Paramat
da10af919e
Doors: New handle and hinges for glass door 2018-12-22 00:33:37 +00:00
Ryan Nolan
bae58b3806 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.
2018-12-20 22:45:24 +00:00
Paramat
ec248d3cb0
Remove now-unused 'puts out fire' group 2018-12-08 04:00:38 +00:00
sofar
667e130c52 Prevent crash if some mod inadvertently allowed doors to rotate 2018-12-06 23:29:43 +00:00
rubenwardy
1fa8180e7f
Add sfinv.get_page() 2018-11-28 14:14:33 +00:00
Paul Ouellette
068e0b167f Remove double inner/outer in stairs descriptions 2018-11-16 19:50:53 +01:00
Ezhh
21f5eaade0
Add plantlike_rooted coral 2018-11-15 00:49:16 +00:00
TumeniNodes
5f61379757 Fix sRGB profiles for obsidian glass stair textures 2018-11-09 18:53:23 +00:00
SmallJoker
ad486bc863 New glass, glass stair/slab, and glass door textures 2018-11-02 17:22:54 +00:00
TumeniNodes
5ccf965825 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.
2018-10-29 22:08:25 +00:00
Paramat
58f6994e08
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.
2018-10-27 13:57:16 +01:00
SmallJoker
cf0e49fb4a Chests: Fix crash on empty key metadata 2018-10-18 05:45:35 +01:00
Paramat
382e2acd9b
Spawn mod: Avoid respawn conflict with beds mod (#2240) 2018-10-14 02:36:40 +01:00
TumeniNodes
b042106fdc Stairs: Remove combine slabs code 2018-10-11 19:33:33 +01:00
TumeniNodes
f583d90c94 Fence rails: Allow connections to walls 2018-10-11 19:31:35 +01:00
random-geek
ab1a79b13c Add blueberry bushes 2018-10-09 20:54:22 +01:00
TumeniNodes
2696b0cd91 Stairs: Add glass and obsidian glass. Fix slab combine bug
Fix slabs combining into a cube: Facedir is only set for the cube if it has
paramtype2 = "facedir". This avoids liquid appearing in connected
framed glasslike.
2018-10-09 20:44:15 +01:00
Paramat
5b3b609270
Stairs: Add field to determine world-aligned textures (#2219)
All stair/slab nodes with parent nodes that are rotatable (wood and bricks)
are reverted to not having world-aligned textures, to fix the breakage of
rotated stair/slab appearence in worlds.

Update, and add missing documentation to, game_api.txt.
2018-10-04 00:33:11 +01:00
Paramat
24900f7da5
Fence rail: Only connect to fences. Update map mod README recipe
Fence rail: Only connect to 'group:fence'.
Update map mod README crafting recipe documentation.
2018-09-25 19:42:19 +01:00
SmallJoker
f42deb4026
map: Use wood group crafting recipe 2018-09-24 21:13:01 +02:00
Ezhh
e10e0f94d6
Remove cave ice from creative inventory 2018-09-21 18:52:55 +01:00
Paramat
be6fe9f592
Fire: Remove the ABM active when fire mod is disabled (#2209) 2018-09-14 18:33:46 +01:00
Paramat
7fedf0b5d9
Player_api: New hotbar textures (#2207) 2018-09-14 17:59:49 +01:00
12Me21
aafe31c14e Stairs: Safer slab name check
Before, it checked if the node name *contained* "stairs:slab_", which could detect
things like "xxxxxstairs:slab_xxxx". Changed the pattern to "^stairs:slab_".
2018-09-03 03:34:56 +01:00
Paramat
ef20f9e12b
Fire: Make flames floodable, remove extinguish ABM 2018-09-02 02:43:59 +01:00
Paramat
02c4a05e60
Rename 'killme' mod to 'game_commands', add README and license files 2018-08-24 19:08:06 +01:00
tenplus1
6f80fd3737 Wool mod: Remove 'basecolor', 'excolor', 'unicolor' groups 2018-08-23 20:42:36 +01:00
tenplus1
3484ff23ad Dye mod: Remove 'basecolor', 'excolor', 'unicolor' groups 2018-08-23 20:39:16 +01:00
Paramat
689f0c5478
README.txt files: Change 'LGPL 2.1' to 'LGPLv2.1+'. Remove 'WTFPL' 2018-08-22 01:23:00 +01:00
Paramat
f4f90520ec
Add new dirt texture by random-geek 2018-08-21 20:41:26 +01:00
Paramat
20b433881b
New wider apple tree schematic
Precisely reduce trees and logs per mapchunk division to compensate.
2018-08-20 23:56:00 +01:00
Paramat
70c0181b59
Pine bush: Do not force-place needles nodes 2018-08-04 20:26:30 +01:00
Paramat
ab3b1a35f5
sfinv, player_api mods: Fix and cleanup README and license files
sfinv:
Move license information to create the missing license.txt file.
Make README consistent with other Minetest Game mods.

player_api:
Add missing texture and sound credits to README.
Update and add extra license information.

default:
Remove credit for 'player_damage.ogg' sound.
2018-07-31 10:55:28 +01:00
Paramat
c284e52963
Boats, carts mods: Use 'initial_properties' table 2018-07-30 00:32:18 +01:00
kakalak-lumberJack
ab4940505e wall.register: Allow table as texture value 2018-07-26 21:51:25 +02:00
Paramat
506eca22bc
Make apple log shorter, to be no longer than appletree trunk 2018-07-24 16:14:52 +01:00
Paramat
bf3efa0bb7
Flora spread: Reduce maximum density
Previously, maximum flora density was chosen based on the extremely rare
occurrence of all 8 flowers being at high density at one location. This
caused flora everywhere to spread to an unacceptably high density.

Revert the threshold to 3, which in testing results in a more acceptable
maximum density of 7 flora per 9x9 area.
2018-07-17 05:04:46 +01:00
Paramat
ee72bc722c
Boats: Use driver name string instead of objectref 2018-07-15 21:50:07 +01:00
Paramat
57db3f748c
Default: Credit schematics and licence as media 2018-07-14 22:52:12 +01:00
TumeniNodes
9318c71659 Biomes: Add pine bush to taiga and snowy grassland
Replaces 'bush' in snowy grassland.
2018-07-13 01:17:07 +01:00
Paramat
d4b0b73ae0
Move chests to a new file. Update credits for chests and torches
Move chests code out of nodes.lua and into a new file.
Credit torch code, and chest and torch models in README.txt.
Remove 'torches' mod text from torch.lua.
Minor cleanups in README.txt.
2018-07-10 23:02:22 +01:00
Paramat
ef7bd43829
Remove coral air-death ABM 2018-07-10 03:51:41 +01:00
Paramat
513609dcfd
Fence rails: Add fence rail textures
Minor clean up of README.txt, including deletion of credits for removed
torch textures.
2018-07-08 22:22:07 +01:00
Paramat
5c8bd34957
Boats: Properly use 'dtime' for consistent responsiveness
Previously, boat responsiveness varied greatly depending on server
lag and singleplayer / multiplayer.
'dtime' is the time from the last execution of the boat entity
'on step' function, so must multiply acceleration and yaw change.

Retune acceleration, turn rate and drift deceleration.

Make reversed turn only happen with significant backwards speed.
2018-07-07 21:00:31 +01:00
TumeniNodes
7e1b07fddd Add fence rails
Dedicated fence rail textures coming in a follow-up PR.
2018-07-07 19:03:33 +01:00
SmallJoker
ecea5364f1 Update carts from boost_cart
Better pathfinder algorithm, allows tuning the lag spike compensation.
Smoother movement (when it's laggy).
Set the player animation to stand on attach.
Remove driver when they leave.
Only update velocity when it's necessary.
2018-07-07 02:08:36 +01:00
Paramat
59dbeebc2f
Boats: Add cruise mode (boat autoforward)
Document controls in README.txt.

Optimise 'get yaw' and 'set yaw' code.
2018-07-03 19:52:28 +01:00
beyondlimits
876a9ca5d2 Beds: Fix input checking for "Force night skip" 2018-07-03 19:50:16 +01:00
SmallJoker
255031fc91 Replace deprecated function calls 2018-07-01 20:44:03 +01:00
Ezhh
0df2753a68
Make hidden fireflies floodable 2018-06-25 21:29:24 +01:00
Ezhh
0ea6065a09
Add butterflies mod 2018-06-25 21:28:39 +01:00
bell07
5692c15b4d Disallow digging a bed if in use
Use a new table beds.bed_position to check if a bed is in use.
2018-06-19 22:07:01 +01:00
Ezhh
e9fbd3d75d Add longer log schematics
These use 'spawn_by' to avoid steep slopes.
2018-06-15 07:25:43 +01:00
Paramat
abe1b9f559
Spawn mod: Also reposition players on respawn
To avoid respawn position being possibly very distant from new player
spawn position.
2018-06-07 04:14:56 +01:00
Jacob Gustafson
e376d57bd2 Add optional bones messages for player and log 2018-06-02 09:54:45 +02:00
Paramat
37b206e49f
TNT: Raise cost of TNT by adding a TNT stick crafting stage
6 gunpowder and 1 paper crafts to 2 TNT stick craftitems.
9 TNT sticks craft to 1 TNT.
TNT stick is not yet usable as an explosive, possibly later.
2018-06-01 23:41:45 +01:00
Paramat
e74e091e78
Biomes: Make beaches snowy in snowy biomes 2018-06-01 22:39:50 +01:00
Paramat
ed1d64d8aa
Snow: Make players sink into 'default:snow' by 3/16 node 2018-05-31 03:14:46 +01:00
Ezhh
145b7bfef3
Place hidden instead of visible fireflies on mapgen 2018-05-25 22:33:03 +01:00
Paramat
b389f38120
Kelp: Add 'paramtype = light' to avoid black plantlike extension 2018-05-19 18:57:01 +01:00
Paramat
64470dc786
Biomes: Add vertical biome blends (#2120)
Alter a few biome y-limits for consistency.
2018-05-15 22:27:39 +01:00
Ezhh
3d709dfa1d Enable regrowth of apples
Apples only regrow where they first appear on trees, either on mapgen or when grown from saplings (meaning apples that were placed by players won't regrow).
Once the tree is cut down in full (leaves removed), regrowth will stop.
New apples only grow in daylight, and take the same time as a sapling to grow.
2018-05-11 16:42:28 +01:00
Paramat
ace7ec953e
Biomes: Add tundra lowland with permafrost, stones, moss and snow
Move previous tundra to highland and remove the snowblocks that are
unsuitable for a fairly dry biome, use snow slabs instead.
2018-05-04 23:05:47 +01:00
Ezhh
b52ea3de15
Remove commented lines from biome definitions 2018-04-30 22:14:23 +01:00
Paramat
aedd209440
Use stratum ore to add the missing sandstone types
Add silver sandstone strata to 'cold desert' biome.
Add sandstone and desert_sandstone strata to 'desert' biome.
2018-04-29 07:15:11 +01:00
Paramat
bbb88e6387
Rebalance bronze and steel tools, swap ore depths
Reduce bronze tool capabilities to be between stone and steel.
Swap depths of iron ore and tin / copper ores for corresponding
progression.
2018-04-20 20:13:16 +01:00
Paramat
0b025e6392
Add 'spawn' mod to spawn new players in suitable starting biomes (#2091)
Disabled in mgv6 and singlenode mapgens, by setting, or if
'static_spawnpoint' is set.

Cleanup format of minetest.conf.example.
2018-04-13 02:21:43 +01:00
Paramat
8d8f2f79d0
Ore distribution: Deeper iron, diamond and mese block, tune gold (#2107)
Iron at y = 0 was far too easy to find.
Adjust gold lower region to be twice the depth of highest level, like
all other ores.
Diamond at y = -500 was too easy to progress to.
Make diamond and mese block deeper to create a depth progression from
mese crystal to diamond, to reflect tool progression.
This all creates a satisfying 2^n depth progression, with lower regions
being at twice the depth of highest levels.
2018-04-12 00:51:56 +01:00
sofar
8c71f3d826 Prevent divide by zero (#2106)
This forces all explosions to damage entities within the 1 node
range. If that needs to be disabled, the damage_radius needs to
be set to 0.
2018-04-08 17:57:00 +01:00
Paramat
9c459e77ac
Farming: Deprecate bronze, mese and diamond hoes. Tune steel uses (#2103)
Remove unnecessary "air" fallback recipe for hoes to avoid this showing
in crafting guides.
2018-04-08 17:55:19 +01:00
tenplus1
11b3407671 Add food_* groups to default edibles (#2089) 2018-04-04 10:59:15 +02:00
Andrew Ward
b0e55c52c8
Add formspec theming, remove sfinv's dependency on default 2018-03-28 18:28:26 +01:00
Paramat
f3ce25fc72
Xpanes: Description 'Iron Bar' -> 'Steel Bars' 2018-03-28 12:09:44 +01:00
sfan5
7e9000b502
Fix creative mode check again 2018-03-25 14:05:25 +02:00
sfan5
fb0217042b Fix creative mode check in fireflies mod 2018-03-25 13:47:20 +02:00
Ezhh
465d8cae3e
Hide fireflies during day time 2018-03-22 20:33:54 +00:00
Ezhh
c0557b2c23
Add names for register_decoration 2018-03-18 00:25:16 +00:00
Paramat
c2209c120e Add new pine needles texture by Splizard 2018-03-13 20:02:18 +00:00
paramat
160dc21bc1 Pine trees: Add small pine tree and mix into coniferous forests
Use noises to create a varying mix in coniferous forest biomes:
Areas of large pines only, areas of small pines only, mixed areas.
While also having areas of high and low tree densities.
Saplings grow into large or small pines with equal chance.
2018-03-11 00:18:13 +00:00
paramat
ac50b3e3ce Icesheet biome: Add 'default:cave_ice' node to enable caves in land ice
Has 'is_ground_content = true'.
Drops 'default:ice'.
2018-03-11 00:18:07 +00:00
ezhh
d4a007c051 Fireflies: Reduce density in non-mgv6 mapgens 2018-03-05 23:08:29 +00:00
paramat
1afb8f249e Creative: Fix width of arrow textures 2018-03-05 23:06:15 +00:00
paramat
3afcd68e9b Ores: Remove region overlaps. Make some regions deeper 2018-03-05 23:05:59 +00:00
ezhh
c2001b3b52 Fireflies: Add dedicated mgv6 register_decoration 2018-02-27 01:17:43 +00:00
paramat
63ebdfd139 Waterlily: Place as Y-offset simple decoration 2018-02-27 01:16:48 +00:00
paramat
702070accb Floatland biomes: Add forest, tune beach height 2018-02-27 01:16:43 +00:00
SmallJoker
04a46d0671 Rename intersects_protection to is_area_protected 2018-02-27 01:16:37 +00:00
paramat
70d91bc64d Revert "Boats: Prevent entering 'ignore' nodes"
This reverts commit 7754555707.
Due to recent engine commit boats now collide with 'ignore' nodes.
2018-02-26 18:47:18 +00:00
Ezhh
280f1b1c39 Put y_max above y_min in mapgen registrations (#2051)
Switch y_max and y_min for flowers, fireflies and default
2018-02-25 12:25:34 +01:00
Tim
283636bfdb Bones: Iterate player inventory lists dynamically (#1229)
Avoid hard-coded player inventory lists.
Expose `bones.player_inventory_lists` for mods to look up or change,
which player inventory lists are being dropped or placed into bones.
2018-02-20 19:15:03 +01:00
paramat
094ad004a4 Schematics: Various improvements
Acacia bush: Create a unique form different to normal bush, with more
leaf nodes at top than at base.
Acacia tree: Maximum height increased by 1 node. 2 extra nodes of
height variation.
Jungle tree: Add an extra node of height variation. Y-slices moved
downwards to be more balanced between trunk and branches, makes
branches more common.
Pine tree: Increase maximum height by 1 node. Add an extra node of
height variation.

Update sapling 'on place' protection checks for acacia and pine trees.
2018-02-19 07:16:24 +00:00
paramat
b90aabec80 Rainforest: Add emergent jungle tree and sapling
Height 20 to 32 nodes.
Dependent on chunksize >= 5.
Base limited to maximum altitude y = 32.
Craft sapling from 9 jungle saplings.
2018-02-19 07:16:16 +00:00
paramat
495fa32873 Flower spread: Only spread to the same surface node 2018-02-17 09:37:27 +00:00
paramat
7754555707 Boats: Prevent entering 'ignore' nodes
At world edge make boat bounce back into world by inverting speed.
At world base avoid falling into ignore by setting y velocity to 0.
2018-02-17 09:37:22 +00:00
ezhh
1e9c61f241 Kelp: Improve placement/removal and extend selection box 2018-02-07 22:53:35 +00:00
paramat
7f3e9e65b3 Add marram grass for coastal sand dunes
Use noise with 1 octave and flag 'absvalue' to create sand paths
in dunes.
2018-02-07 22:52:26 +00:00
paramat
ca81e9b8c6 Coniferous litter: Improve textures
Greyer, lighter, reduce lines, remove dark patches.
Shorter and more consistent side texture.
2018-02-04 02:34:42 +00:00
paramat
a587972010 Flower spread ABM: Optimise
Match maximum spread density to maximum mapgen density for flowers.
Place 3 flora nodes at once instead of 1.
Change ABM chance value to 300 to match previous spread rate.
ABM becomes 3 times less intensive.
2018-02-04 02:34:36 +00:00
paramat
d5907d5f1e Doors: Avoid crash on nil player in 'can dig door' 2018-02-03 03:54:03 +00:00
ezhh
12f1703537 Add fireflies mod 2018-02-03 03:53:03 +00:00
paramat
8f85ca57f3 Intersects_protection(): Remove from Minetest Game
Add compatibility code with deprecation warning.
2018-02-03 03:46:13 +00:00
TumeniNodes
496a1a24d2 Add obsidian_pane (#2035) 2018-01-31 20:53:49 +01:00
Jat15
5f121b586d Stairs: unbind table groups (#2036)
Unbind table groups for base block, stairs, slabs.
2018-01-31 20:49:27 +01:00
paramat
ee6d2f2468 Dungeon loot: Reduce maximum processed rooms to 8 2018-01-23 06:43:49 +00:00
paramat
41a4073d4c Creative: New textures for less distortion
Use 128px textures with a slight blur to reduce distortion caused
by formspec texture scaling.
Cross is shifted slightly up and left to compensate for formspec
button image shift.
2018-01-23 06:43:46 +00:00
paramat
a6aa68d5b4 default:dirt_with_snow: Re-add to soil group
Previously, saplings were not growing if the dirt they are on turned to
'dirt with snow' before growth.
Also for consistency with other dirt nodes.
2018-01-23 06:43:40 +00:00
paramat
223562d687 Dry shrub: Use plantlike meshoption for bushy appearence
Adjust selectionbox width for a better fit and consistency with other
grasses.
2018-01-02 22:45:47 +00:00
paramat
f52085a40f Biomes: Make coastal grassy dune biomes larger 2018-01-02 22:45:39 +00:00
MarkuBu
faa088e2c5 Xpanes: Add optional 'use_texture_alpha' parameter to registration 2018-01-02 22:43:42 +00:00
Ekdohibs
bd0c627a20 Furnace: Fix being able to cook items without enough fuel
This was triggered when too much time had elapsed when timer was called.
Also, fix timer resolution giving free fuel time.
2018-01-02 22:41:50 +00:00
ezhh
d1ece74652 Resize junglegrass selection box 2017-12-24 20:50:51 +00:00
paramat
d1db66bf4f Ferns: Add 3 sizes for coniferous forest biome
Remove flowers from coniferous forest.
Add 'dirt with coniferous litter' to farming mod overrides.
2017-12-24 20:50:44 +00:00
paramat
8ab7c54d76 Biomes: Add 'dirt with coniferous litter' node for coniferous forest 2017-12-24 00:33:21 +00:00
Diego Martínez
5b57815af1 creative: Add missing tooltips. 2017-12-22 22:57:24 +01:00
Diego Martínez
dfe74948e2 creative: Use icons for buttons. 2017-12-22 22:57:24 +01:00
paramat
62d5d5954e Book textures: Reset colour profiles to remove warnings 2017-12-20 20:46:41 +00:00
paramat
d603707e1a Dirt sounds: Remove extreme sub frequencies, trim for zero amplitude starts 2017-12-20 20:46:33 +00:00
Reedych
5134510356 Replace setpos with set_pos in sethome 2017-12-16 05:10:35 +00:00
paramat
21b3c841bd Default texture licenses: Move some to CC BY-SA 3.0. Remove WTFPL 2017-12-11 15:58:32 +00:00
paramat
0c841771a7 Book textures: Replace with more original textures 2017-12-11 15:58:32 +00:00
paramat
0132bfe41e Stairs: Improve inner/outer stair descriptions. Code cleanup 2017-12-11 15:58:25 +00:00
paramat
2824e4bb7c Binoculars: Update to use 'zoom_fov' player property
In survival mode, zoom is disabled, the binoculars item is needed to
allow a zoom with a 10 degree FOV, realistic for compact binoculars.

Creative mode or per-player creative privilege allows a zoom with a
15 degree field of view (the default MT engine zoom FOV).
2017-12-04 02:54:20 +00:00
ezhh
ed83e30d68 Default: Make burntimes more rational and consistent 2017-11-27 01:52:02 +00:00
paramat
2c5670563a Flowers: Add black tulip, green chrysanthemum
Adds a direct resource of green dye, and a flower resource of black dye.
Completes the colour sequence: red, orange, yellow, green, blue, violet.
Makes all base dyes cultivatable and sustainable, without the presence
of coal.

Add the new flowers to the world with the same density variation as the
others, but obviously with different noise seeds. Results in more flowers
in a world and more variety of flower combinations.
2017-11-27 01:51:33 +00:00
ForbiddenJ
b75a17984a Default: Expose open_chests and chest_lid_obstructed 2017-11-27 01:50:37 +00:00
DTA7
a2d7678ffd Add nil checks for placer 2017-11-15 23:16:28 +00:00
paramat
3ae382c913 River water renewability: Add comments to nodes.lua and bucket mod 2017-11-11 21:37:27 +00:00
raymoo
8b5ad0f028 Creative: Make the placenode registration check for non-player placers 2017-11-11 21:34:30 +00:00
raymoo
319b9eeeaf Creative: Make handle_node_drops override work for non-player diggers 2017-11-11 21:34:05 +00:00
paramat
d4e1bd053e Player API: Set eye height property for new player model
Correct the collisionbox height.
2017-11-06 15:40:14 +00:00
paramat
9d9e9b6709 Stairs: Set world-aligned textures for all stairs and slabs
Fix 'stair_images' code to avoid 'stair_images' being empty in some
situations.
Change stairs back to nodeboxes to make world-aligned textures work.
2017-11-04 23:43:30 +00:00
SmallJoker
dbfe435abf Bookshelf: Count written and empty books 2017-11-04 23:43:02 +00:00
paramat
08c60cfc30 Binoculars: Only set property if necessary to reduce mesh reloading 2017-11-03 16:26:00 +00:00
paramat
9596d00a18 Player model: Remove vertical stretch of body and limbs, remove cape
Previously, body and limbs were stretched vertically by 1.125, creating
rectangular pixels on side faces. Head was unstretched.
Remove stretch of body and limbs, leaving the head unchanged.
No other change would excessively shorten the model, so also scale up
the model slightly, by * 1.05, such that the reduction factor for height is
equal to the increasing factor for width. This minimises the changes to
height and width.

Remove cape support.

Update the collisionbox to match.

Add missing license.txt.
2017-11-03 16:25:54 +00:00
sfan5
49cc4c7c63 Add loot to dungeons (#1921) 2017-10-27 13:34:41 +02:00
paramat
36df80fc45 Binoculars / Map mods: Clarify key-activation of items in descriptions
Map mod:
Tune cyclic update interval.
Re-add HUD flags update on item 'use'.
2017-10-24 07:34:15 +01:00
paramat
3f14d1012d Footstep sounds: 5 new sounds
Original recording by Ryding.
http://freesound.org/people/Ryding/
Found by Anth0rx, edited by paramat.

Add and use 'default.node_sound_snow_defaults()' function.
2017-10-24 04:21:34 +01:00
Coder12a
045abbd6d7 Books: Convert \r to \n
Some files or editors may use \r instand of \n like notepad++. If you copy
text written in notepad++ and pasted into the book. The book will only have
one page.
2017-10-23 04:39:44 +01:00
SmallJoker
454e0da531 Carts: Better wiggle prevention 2017-10-23 04:38:43 +01:00
SmallJoker
5870fd48f6 Carts: Replace old, deprecated function names 2017-10-23 04:38:28 +01:00
SmallJoker
47d6fbf884 Creative: Cache inventory items on load 2017-10-23 04:37:10 +01:00
James Stevenson
7c3854de27 Chest sounds: Shorten open/close sounds 2017-10-23 04:35:37 +01:00
paramat
cc371ac726 Add binoculars mod with binoculars item to allow zoom
Uses the new player object property 'can zoom'.
In survival mode, use of zoom requires the binoculars item in
inventory.
Zoom is automatically allowed in creative mode and for players with
the 'creative' privilege.
The binoculars.update_player_property() function is global so can be
redefined by a mod for alternative behaviour.
2017-10-13 05:32:18 +01:00
paramat
eb5a5b56e1 Decorations: Add kelp to cool and temperate shallow ocean
Original texture by tobyplowy, colourised by paramat.
2017-10-10 22:57:10 +01:00
tenplus1
3ff296961e TNT: Add tnt.boom defaults
This adds def, def.radius and def.damage_radius defaults to the
tnt.boom() function if they aren't specified on call.
2017-10-10 22:55:49 +01:00
Lars Hofhansl
12a971660d Creative: Do not give creative priv to admin 2017-10-07 18:48:18 +02:00
paramat
b6626f76b5 Map mod: Remove confusing 'use', reduce update interval
Clarify README.txt.
2017-10-03 02:59:55 +01:00
paramat
e40f25f1fb Minimap: Add 'map' mod with mapping kit item to enable minimap
In survival mode, use of the minimap requires the mapping kit item.
Minimap radar mode is always disabled in survival mode.

Minimap and minimap radar mode will be automatically enabled in creative mode
and for any player with the 'creative' privilege.

The 'map.update_hud_flags()' function is global so can be redefined by a mod for
alternative behaviour.
2017-10-02 21:23:55 +01:00
SmallJoker
3611af1dda Bones: Return bones when taking the last ItemStack 2017-10-02 11:01:01 +02:00
paramat
809e5933c4 Beds: Strip colour bits from param2 in 'get look yaw'
Based on code by github user 'hdak1945git'.
Fixes a crash when 'colorfacedir' param2 is used for beds.
2017-09-28 20:49:34 +01:00
tenplus1
2d8207a924 Flowers: Add waterlily right-click checks
Check for on_rightclick functions of nodes when holding a waterlily.
2017-09-25 15:58:59 +01:00
rubenwardy
a4b94a3347 Sfinv: Remove possibility of infinite loop when homepage doesn't exist 2017-09-25 15:57:55 +01:00
rubenwardy
db08c0d721 Sfinv: Rename navigation tabs to reduce chance of a conflict 2017-09-25 15:57:11 +01:00