1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00
minetest_game/mods
Auke Kok 7d93272caa Change how dirt turns to dirt_with_(something)
This changes how dirt blocks turn to dirt_with -grass, -dry_grass
or -snow.

Previously, dirt that was sunlit would turn to dirt_with_grass no
matter what, but this happened without any context, so you could
get green patches of dirt_with_grass in the middle of a savannah or
even desert.

Dirt no longer turns to covered dirt unless it's within 1 node from
another dirt_with_grass or dirt_with_dry_grass or dirt_with_snow.
This makes dirt_with_grass "growback" a lot slower, since it now only
happens on the edges, but it retains the context nicely now.

If there is any dirt with a grass or dry grass plant, or snow on top,
and enough light, we'll convert it sporadically to dirt_with_grass
or dirt_with_dry_grass or dirt_with_snow.

This allows us to plant grass of our choice in a large dirt patch,
or in a region where otherwise that type of grass is not present.

This used to be done by 2 abms, but I've combined them in to a single
ABM that is ordered to run with maximum efficiency, solving for the
most common outcome first before attempting more complex checks.
2016-04-16 19:27:34 +01:00
..
beds Beds: Check for buildable_to for bottom half 2016-04-04 05:39:06 +01:00
boats Boats: Optimize, re-UV unwrap. 2016-03-30 23:11:12 +01:00
bones Allow for shift+clicking inventory from bones 2016-03-21 06:17:33 +00:00
bucket Rename to Minetest Game 2015-09-30 23:33:12 +01:00
creative Creative: Add myself in credits 2016-04-04 05:39:29 +01:00
default Change how dirt turns to dirt_with_(something) 2016-04-16 19:27:34 +01:00
doors Fix doors disappearing while underwater 2016-04-04 05:39:16 +01:00
dye Dye: Add global table of dye names and descriptions 2016-03-13 04:49:03 +00:00
farming Farming: Override dirt_with_dry_grass to enable cultivation 2016-04-08 01:13:05 +01:00
fire Fire: Use get_item_group instead of get_node_group 2016-03-30 23:11:04 +01:00
flowers Flowers: Fix itemstack when waterlily is placed 2016-04-12 01:28:16 +01:00
give_initial_stuff Remove / replace all print() calls 2013-11-17 11:55:46 +01:00
screwdriver Changes to Screwdriver to add new drivers. 2016-03-22 15:45:39 +00:00
sethome Fix some undeclared global variables 2014-11-30 18:02:33 +01:00
stairs Consolidate ABMs 2016-02-14 05:22:20 +00:00
tnt Call nodeupdate on the entire blast zone 2016-04-16 19:27:16 +01:00
vessels Remove composed shelf side. 2016-04-14 02:46:03 +01:00
walls Walls: Don't connect to group:cracky 2016-03-18 02:35:28 +00:00
wool ability to dye coloured wool white 2016-01-29 03:50:07 +00:00
xpanes Add steel ladder 2016-03-06 01:31:36 +00:00