1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-15 14:30:18 +01:00
Commit Graph

1316 Commits

Author SHA1 Message Date
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