1342 Commits

Author SHA1 Message Date
paramat
bb18eeccaf Corals: Smaller, less dense reefs 2017-02-25 03:52:31 +00:00
paramat
d5f1f964e3 Lavacooling: Return to chance = 2
Return to previous parameters interval = 1, chance = 2.
Compensates for the increase in default active block radius.
Large amounts of lava cooling at once is known to overload sound
creation, producing error messages.
2017-02-25 03:52:26 +00:00
paramat
1ec31d8472 Torches: Reduce light source level from 13 to 12
As part of the original plan for a new lightcurve.

With the old lightcurve lights were so dim all light sources had light
source level 13 or 14 to compensate, resulting in almost no difference
between torchlight and a maximum brightness light.

The new lightcurve makes all light sources effectively much brighter by
spreading visually-bright light further, torches are now slightly too
bright. So now we can reduce the light source level of torches while
actually making them effectively brighter than with the old lightcurve.
This also creates a desirable difference between torchlight and a
maximum-brightness light source.
2017-02-25 03:52:19 +00:00
MarkuBu
60e5b299af Leafdecay: Node timer based implementation, API
This implements a node-timer based leafdecay mechanism, and exposes
an API to use it in mods.

The API is documented in game_api.txt.

`default.register_leafdecay(leafdecaydef)`

`leafdecaydef` is a table, with following members:
{
	trunks = { "default:tree"}, -- nodes considered trunks
	leaves = { "default:leaves", "default:apple"}, -- nodes considered leaves
	radius = 3, -- activates leafdecay this far from the trunk
}

The algorithm will drop `leaves` items in the area if no `trunks` are found
in the `trunk_radius` sized area around the position of the leaf. If a node
listed in `leaves` has a group `leafdecay_drop > 0`, then the item is dropped,
otherwise the item is removed but not dropped.

The algorithm also implements a value `default.leafdecay_speed` (default
15) which can be modified to increase or decrease of the leaf decay. The
algorithm will vary the actual speed a bit to introduce randomness.

Leaf decay is randomized by 0.1 seconds to reduce the chance that
decay happens many times on the same second interval. This requires
nodetimer_interval to be set to values lower than 1.0 to have an
effect.

The leaves will decay between 2 and 10 seconds after digging the trunk,
and happen at non-integer second intervals.

-- The API was added by sofar.
2017-02-25 03:50:15 +00:00
Thomas--S
37dd910747 Globalize, rename and change the behaviour of has_locked_chest_privilege
* rename to default.can_interact_with_node()
* pass pos instead of meta
* change order of arguments
2017-02-21 10:17:12 -08:00
SmallJoker
89c45993ac Carts: Fix the rail table overwrite behaviour 2017-02-12 11:39:52 -08:00
paramat
0819d4bade Visual scale: Update plantlike nodes to post-bugfix values
Plantlike drawtype no longer applies 'visual scale' twice, so now we
use the actual scale factor desired.
Remove unnecessary 'visual_scale = 1.0' lines.
2017-02-12 01:27:34 +00:00
octacian
f6dfa4a1cb Waterlily: Avoid z-fighting of base texture with water surface
Avoid z-fighting visible from below.
Raise the nodebox base 1/64th of a node.
2017-02-12 01:23:53 +00:00
rubenwardy
e3dd3d19cd Add sfinv.set_page, plus other helper functions 2017-02-10 23:54:57 +00:00
Paramat
86849d9eec Default: Add nodebox mese post light usable as a growlamp (#1480)
Light level 14 to be able to grow plants.
3 returned from crafting with 1 glass node, 3 mese crystals and 1
wood plank.
Seamlessly placable on appletree wood fence posts.
2017-02-08 16:01:30 -08:00
Thomas--S
c88c0a98fd Make drop logic work better for non-8-step-plants. (#1544)
Using @paramat's formula.
2017-02-08 15:59:25 -08:00
Milan*
581b6cfd3c update submodule ethereal, illuna_ethereal 2017-02-03 22:26:52 +01:00
paramat
2e950ac61c Mapgen: Dedicated registrations for mgv6 blob ores
Now that biomes are being specified for blob ores we need a separate
set of blob ore registrations for mgv6 which has no Biome API biomes
defined.
Various minor improvements to mapgen.lua.
2017-02-02 17:20:53 +00:00
paramat
2b215848d8 Trees: Add 'snowy' group for pine sapling snow detection
Use the 'snowy' group in the 'is snow nearby' function instead of
default nodes. Often snow nodes are not from the default mod.
2017-02-01 17:51:44 +00:00
paramat
e86955afae Creative: Cache creative mode setting 2017-02-01 17:51:35 +00:00
paramat
d560f59a74 Ores: Add silver sand blob ore, relocate other blob ores 2017-02-01 17:51:22 +00:00
Milan*
84b009652b update submodule ethereal, illuna_ethereal 2017-01-31 20:15:25 +01:00
tchncs
77a9507b55 cleanup 🐱 2017-01-31 12:46:29 +01:00
tchncs
aa5ef38e13 update submodule illuna, xdecor 2017-01-31 12:31:18 +01:00
tchncs
03a3b98300 update submodule illuna 2017-01-31 11:13:52 +01:00
rubenwardy
b06368adf2 Fix node drops not being added to inventory when not in creative mode 2017-01-27 19:48:59 +00:00
paramat
1dd9fdb530 Dungeons: Add mapgen alias for desert stone stairs 2017-01-26 17:56:16 +00:00
number Zero
38500da655 Stairs: Fix smooth lighting of stair mesh 2017-01-26 17:55:16 +00:00
rubenwardy
bee5b316a8 Creative: Add creative.is_enabled_for 2017-01-26 17:54:45 +00:00
paramat
ae426878d4 Sounds: Remove 'default_dig_crumbly' from leaves defaults table
Now that the missing 'default_dig_snappy' sound has been added we can
remove the dirt dig sound from the table. All nodes that use the
leaves defaults table have group 'snappy' so 'default_dig_snappy' now
becomes their default dig sound.
2017-01-22 07:47:04 +00:00
Martin Doege
eb1805ea0a Textures: Strip color profiles from some textures
Removes the "iCCP: known incorrect sRGB profile" error messages on the
console when starting minetest_game by stripping offending color profiles.
2017-01-22 07:43:12 +00:00
tchncs
e42de05b85 merge upstream 🐱 2017-01-20 22:37:14 +01:00
Auke Kok
1104d571b0 TNT: Log explosions and player igniting tnt or gunpowder 2017-01-19 21:57:34 -08:00
Milan*
0063569541 update submodule ethereal 2017-01-19 21:34:36 +01:00
Auke Kok
6dcf541f6e Revert "Doors: Remove ..." and "Doors: Allow the screwdriver to ..."
This reverts commit 5e4a6e8ac68b92c7394b80bb67839b71b4a4a00b, and
             commit 60cf3f85b6e661482ec2705cadbdc1b04e388d19.

The original door API rewrite I posted had all rotation disabled using
the correct on_rotate() handler returning `false`. Two subsequent
changes attempting first to enable simple rotation and second disabling
that again changed the callback handler to a boolean `false`, which
is incorrect use in the screwdriver API, and actually allows rotation.

The proper way to disable rotation for facedir nodes it to use a full
callback handler that does `return false`.
2017-01-15 17:43:17 -08:00
paramat
1470b9df79 Tree log decorations: Replace lua tables with .mts files 2017-01-15 04:29:56 +00:00
Lars Hofhansl
8715b83ff0 Fire: Make explosions remove flames
TNT removes flammable nodes from the destruction radius and should
remove flames within it too because they lose their fuel and would
be removed by ABM later anyway.
2017-01-15 04:24:01 +00:00
Baptiste Pouget
57eb906047 Add support for custom bed sounds 2017-01-12 12:42:38 -08:00
Auke Kok
df19b4eab0 Dye: Simplify recipes.
Create a simple triplet table (src1, src2, dst) for all the dye
recipes and group them logically, with a bit of explanation where
they actually come from.

This prunes a lot of recipes from the list, but the old list had a
ton of combinations that did not make any sense, as well as recipes
that were just gross approximations and duplicates, mixing the same
color with itself just to get the same color back, which just wastes
packets at logon.

The list has been checked to allow all colors created from the basic
dyes (flowers+coal) so that all colors can be crafted.
2017-01-11 23:53:44 -08:00
paramat
c8b1671ef0 Default: Alter sand to sandstone recipe
Craft 4 default:sand to default:sandstone.

Previously, 4 group:sand was craftable to sandstone and sandstone was
craftable back into default:sand, allowing silver and desert sands to
be converted into incorrect colour sandstone and yellow sand.
2017-01-07 22:01:36 +00:00
paramat
96aac5ff5b Fire: Reduce flame light level to 13 2017-01-07 22:01:30 +00:00
rubenwardy
cadc8b34d7 Add /killme chat command
Added as a new mod as it doesn't fit anywhere else.

This is a game play change, so it better suited to
Minetest Game rather than builtin

Fixes #857
2017-01-07 22:01:19 +00:00
tchncs
f9026ab405 drop submodule moresnow 2017-01-07 20:56:57 +01:00
rubenwardy
48ab62db88 Make doors place when shift is held instead of calling on_rightclick
Fixes #1364
2017-01-03 16:54:01 +00:00
paramat
42700a4b4b Default: More generous meselamp recipe
Require only 1 mese crystal instead of 3.
To make farming in dark locations easier.
To reduce and balance recipe ore cost.
2017-01-02 18:31:01 +00:00
SmallJoker
8bc93598c6 Papyrus, cactus: Require light level 13 for growth 2017-01-02 18:30:05 +00:00
DS-Minetest
f07c4dcd83 Decrease the cost of gunpowder for trails
The cost of TNT remains the same
2017-01-01 23:41:04 +00:00
paramat
3c9d0893ee Boats: Avoid crash if boat pos over limit
If the boat pos is over limit, 'add entity' will not add an entity,
causing 'boat' to be nil.
2016-12-21 13:42:23 +00:00
Milan*
82fd20c6a9 update submodule craftguide
add submodule moreblocks
add submodule craftguide
2016-12-19 20:18:13 +01:00
paramat
12b1541971 Sounds: Edit some sound gains, mostly footsteps
I recently made glass footstep and dig gains too low, raise slightly.
Change dirt dug gain from above-maximum 1.5 to maximum 1.0.
Reduce gain of footsteps: stone, dirt, gravel, wood, metal
Raise gain of leaves footstep.
2016-12-17 20:02:40 +00:00
Auke Kok
e5c5c2637e Furnace: Attempt to fix exploits
The fuel would remain active even if source went empty, giving
free cook time to newly inserted items. This patch is supposed
to stop this.
2016-12-17 20:01:46 +00:00
Milan*
991d7213af update submodule illuna_ethereal 2016-12-17 15:54:42 +01:00
Milan*
359996b6df update submodule illuna_ethereal 2016-12-17 15:32:12 +01:00
Milan*
01798a3834 update submodule illuna_ethereal 2016-12-17 11:58:13 +01:00
Milan*
1c0f439dd5 update submodule illuna_ethereal 2016-12-16 20:09:04 +00:00
Milan*
7cf70e4f83 update submodule illuna_ethereal 2016-12-16 19:31:01 +00:00
Milan*
c74b9c968d fix mergeconflicts
readd submodule boats+farming
2016-12-15 18:51:42 +00:00
Milan*
90ad2b6689 tnt: remove settingscheck 2016-12-15 18:11:57 +00:00
Milan*
50206b842d readd submodule boats, farming 2016-12-15 18:04:19 +00:00
Milan*
960a9de9d8 fix mergeconflicts 2016-12-15 18:03:31 +00:00
Milan*
1cb367a2ac update submodule illuna_ethereal 2016-12-15 14:23:37 +00:00
tchncs
50aa4c610b update submodule illuna_ethereal 2016-12-13 19:19:18 +01:00
tchncs
54704d6d69 flowers: disable spawns 2016-12-13 15:41:46 +01:00
paramat
55a16cd2c6 Default: Add missing 'default_dig_snappy' sound
Some nodes with the snappy group (wool, glass pane, seeds) were missing
sound when dug with a sword.
Adding the sound causes it to be used for glass pane, so define a 'dig'
sound in the 'node sound glass defaults' table, use the footstep sound.
Adding the sound also causes it to be used for seeds which deliberately
have no dig sound, so add an empty sound override for seed dig.

Reduce the gain of the glass footstep sound which was excessively loud.

Add some freesound members to license.txt.
2016-12-13 03:15:30 +00:00
tchncs
2eaf3347e4 update submodule illuna_ethereal 2016-12-12 23:42:58 +01:00
tchncs
de66907554 update submodule illuna_ethereal 2016-12-12 22:46:57 +01:00
tchncs
5f753fc5a5 update submodule illuna_ethereal 2016-12-12 22:42:04 +01:00
tchncs
4548b11520 update submodule illuna_ethereal 2016-12-12 22:36:34 +01:00
tchncs
2f8751ebf8 update submodule illuna_ethereal 2016-12-12 22:15:07 +01:00
tchncs
d5f88bbadb update submodule ethereal 2016-12-12 20:40:15 +01:00
tchncs
e7e7dcd3ef update submodule illuna_ethereal 2016-12-12 19:44:05 +01:00
tchncs
2aa01904c8 update submodule illuna_ethereal 2016-12-12 19:39:19 +01:00
tchncs
48bffe4c49 update submodule illuna_ethereal 2016-12-12 18:50:34 +01:00
tchncs
517096503e update submodule illuna_ethereal 2016-12-12 18:03:28 +01:00
tchncs
07bef394ff update submodule illuna_ethereal 2016-12-12 17:17:52 +01:00
tchncs
d0bf20f152 update submodule illuna_ethereal 2016-12-12 17:11:21 +01:00
tchncs
fed23af4a3 update submodule ethereal 2016-12-12 16:48:50 +01:00
tchncs
cbd422dbf5 update submodule illuna_ethereal 2016-12-12 16:40:11 +01:00
tchncs
0bae25e4dd update submodule illuna_ethereal 2016-12-12 13:04:35 +01:00
tchncs
be36b88042 update submodule illuna_ethereal 2016-12-11 22:45:59 +01:00
tchncs
00e28068c9 update submodule illuna_ethereal 2016-12-11 22:39:57 +01:00
tchncs
d0990d6caf update submodule illuna_ethereal 2016-12-11 22:34:43 +01:00
tchncs
7d10d53a23 update submodule illuna_ethereal 2016-12-11 22:23:07 +01:00
tchncs
23789c7342 update submodule illuna_ethereal 2016-12-11 21:56:18 +01:00
tchncs
cc38ea7a54 update submodule illuna_ethereal 2016-12-11 18:01:51 +01:00
tchncs
2d53a7786d update submodule illuna_ethereal 2016-12-11 17:41:32 +01:00
tchncs
15d457bed8 update submodule illuna_ethereal 2016-12-11 14:37:24 +01:00
tchncs
c1626d32d6 update submodule illuna_ethereal 2016-12-11 00:18:48 +01:00
tchncs
f8a1ce06fc update submodule illuna_ethereal 2016-12-11 00:11:59 +01:00
tchncs
cb2a11125d update submodule illuna_ethereal 2016-12-10 23:58:53 +01:00
tchncs
4f94b2a737 update submodule illuna_ethereal 2016-12-09 15:52:26 +01:00
tchncs
810fdad210 update submodule illuna_ethereal 2016-12-09 15:46:25 +01:00
tchncs
dd17238984 update submodule illuna_ethereal 2016-12-08 21:42:58 +01:00
tchncs
19c02ea652 update submodule ethereal 2016-12-08 11:27:22 +01:00
tchncs
627ebd80cd update submodule ethereal 2016-12-07 22:04:23 +01:00
tchncs
764467c3c3 merge upstream 2016-12-07 16:04:19 +01:00
tchncs
aaa1ef47f4 update submodule ethereal 2016-12-07 16:04:16 +01:00
tchncs
e574d62946 add submodule moresnow 2016-12-07 12:57:38 +01:00
tchncs
28c3f9cc60 merge upstream 🐈 2016-12-07 11:27:08 +01:00
tchncs
afd4f6b0a2 update submodule ethereal 2016-12-07 11:26:51 +01:00
paramat
3e5852993d Carts: Stronger handbrake
Handbrake was barely noticeable and fairly useless.
Equalisng with brake rail deceleration makes it more intuitive to use
and easier to judge stopping distance.
2016-12-07 08:29:41 +00:00
HybridDog
4a5206e3a7 Furnace: Make furnaces work when unloaded
This is slightly modified after #1279 - the setting for furnace
timer was removed and hardcoded to 1.0s, which is the old furnace
timer interval.
2016-12-07 08:28:53 +00:00
paramat
fed2151d70 Fire: Rewrite fire sound code
Previous code:
Used looped sounds without attaching them to objects or playing direct
to players.
The looped sounds are not 'stopped' when players leave the area.
These may be causing the bug where sounds are heard at extreme
distances.
Entering a world with already present flames results in silent flames.
Sounds are often played at a large number of points in a 6 node lattice.
A large fire is reported to cause a high load, disabling the sound code
is reported to help this.

New code:
Optional flame sound to not interfere with ambience mods.
Permanent flame now has sound.
For multiple flames, sound is positioned at the centre of all flames, and
has volume determined by flame number.
The original freesound 'large fire' recording was used to create 3 sounds
that play at random for a non-repetitive effect. At low volume it is
suitable for small fires.

Original sound files and sound function (as an empty function) kept
temporarily to reduce disruption.

Reduce gain of flame extinguish sound.
2016-12-07 08:28:08 +00:00
tchncs
ba4767729f update submodule illuna_ethereal 2016-12-06 23:44:12 +01:00
tchncs
819394bc23 update submodule illuna_ethereal 2016-12-06 22:32:30 +01:00