460 Commits

Author SHA1 Message Date
tchncs
03cafe9fcf add missing stone definition 2016-10-10 09:56:39 +02:00
tchncs
062642045c default: add mossystone and mossystonebrick 2016-10-10 09:50:35 +02:00
tchncs
9bf9da8072 adjust gui colors 2016-10-10 00:12:24 +02:00
tchncs
f2553fc3cc fence: add missing textures 2016-09-01 14:45:02 +02:00
tchncs
d2dcd64203 merge github.com/minetest/minetest_game 2016-09-01 14:07:55 +02:00
Pinky Snow
5e9e3f7e84 Default: Eliminate redundant 'get modpath' calls 2016-08-29 00:31:18 +01:00
paramat
995256744a Default, stairs, doors: Vary wood flammable and choppy group values
Make the softer woods, pine and aspen, 'flammable = 3'.
Correct inconsistent flammability of wood and stairs in relation
to all other solid wood nodes in MTGame.
Make the the softer woods, pine and aspen, 'choppy = 3'.
2016-08-29 00:24:30 +01:00
pithydon
088385493a Default: Improve fences inventory/wield images 2016-08-20 04:27:48 +01:00
tenplus1
1b745d401d Default/trees: Faster 'is snow nearby' function
Use 'find node near' instead of 'find nodes in area'
2016-08-15 20:43:19 +01:00
paramat
2ecbc43a7a Default: Optimise and simplify leafdecay ABM, remove cache
With thanks to contributor tenplus1
Remove leaf cache and globalstep accumulator limiter
Use 'pos' instead of 'p0'
Remove non-essential 'group:liquid' from 'neighbors'
Increase chance value to 10 to compensate for disabled cache
Disable 'catch-up' to avoid the ABM often becoming 10 times more
intensive
Remove use of 'do preserve' bool, instead simply 'return'
Remove unnecessary checks for 'd' and 'd == 0'
Don't 'get' n0, use already present 'node' instead
Swap order two conditionals so that the one most likely is first
2016-08-15 20:42:50 +01:00
tenplus1
619ac52693 Add labels to ABMs
Useful for searches and the mod profiler.
2016-08-09 03:56:37 +01:00
DonBatman
61a197ffd8 Changed snow nodebox to 'walkable = false'
Allows walking in, and prevents being trapped in, 2 node high spaces.
Simulates player's feet sinking into snow.
Easier jumping up onto nodes with snow.
2016-08-09 03:51:22 +01:00
paramat
0ac096991c Default: Prevent placing sapling if grown tree intersects protection
Add a global 'intersects protection' function to functions.lua for
checking if a specified volume intersects with a protected volume.
A 3D lattice of points are checked with an adjustable interval.
Add a global 'sapling on place' function to avoid duplicated code in
nodes.lua.
2016-07-27 21:39:22 +01:00
paramat
1a2eb89f17 Default/trees: Update to 'get_mapgen_setting()' 2016-07-18 23:47:14 +01:00
rubenwardy
3661cb61e3 Move nyancats into a separate mod
Nyancats are independent in the default mod. Nothing else uses them or
their code. Separating it into a separate mod makes it easier for
subgames to remove them. It also makes it easier for a mod to depend
on nyancats, as lots of subgames don't have them.

Default/mapgen.lua: Register biomes, ores and decorations in
singlenode mapgen. These were never disabled anyway because
singlenode was removed from the world creation menu.
2016-07-18 04:15:44 +01:00
Tim
0c3d4135e1 merge upstream commit: Remove unused and clean up missused variable-value assignments. 2016-07-16 14:17:55 +02:00
tenplus1
1f17a8b1b2 merge upstream commit: Default/trees: Faster way to detect snow around pine saplings 2016-07-16 14:15:13 +02:00
Tim
2052664a30 merge upstream commit: Always return the leftover ItemStack for on_place and on_rightclick 2016-07-16 14:11:20 +02:00
paramat
6336ffb476 merge upstream commit: Doors / default: Remove 'hot', 'bendy' and 'melty' groups from nodes 2016-07-16 14:08:23 +02:00
paramat
7a1505b32d merge upstream commit: Default, flowers: Use 'get_mapgen_setting()' 2016-07-16 14:00:32 +02:00
paramat
814f356208 merge upstream commit: Default/mapgen: Simplify iron ore registrations 2016-07-16 13:56:29 +02:00
paramat
cb5727b50c merge upstream commit: Default/mapgen: Add ores above y = 1024 2016-07-16 13:55:32 +02:00
paramat
8b03f29585 merge upstream commit: Default/mapgen: Clean up ore registrations 2016-07-16 13:55:03 +02:00
paramat
5452e8f05e merge upstream commit: Default: New aspen tree schematics 2016-07-16 13:50:06 +02:00
tenplus1
22224c265d merge upstream commit: Default: Enable crafting of mese crystal fragments into mese crystal 2016-07-16 13:49:23 +02:00
tenplus1
d239deccff merge upstream commit: Default: Craft locked chest from chest plus steel ingot 2016-07-16 13:48:39 +02:00
paramat
0533203710 merge upstream commit: Default: Add stone / desert stone / sandstone / obsidian blocks 2016-07-16 13:45:32 +02:00
Tim
4473627de0 Remove unused and clean up missused variable-value assignments.
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01:00
tchncs
892ab3faaa default: get darkage modpath to ensure basalt is available 2016-07-15 22:33:11 +02:00
tchncs
1e7ea09713 default: flowing lava can cool down to basalt 2016-07-15 19:06:35 +02:00
tenplus1
f1f96dbe6b Default/trees: Faster way to detect snow around pine saplings
Instead of using voxelmanip use 'find nodes in area' instead
2016-07-10 20:50:40 +01:00
Tim
71c7e21669 Always return the leftover ItemStack for on_place and on_rightclick 2016-07-09 16:32:41 +01:00
paramat
60f6564c75 Doors / default: Remove 'hot', 'bendy' and 'melty' groups from nodes 2016-07-07 18:14:36 +01:00
paramat
f17d791173 Default, flowers: Use 'get_mapgen_setting()' 2016-07-07 18:14:36 +01:00
paramat
d42f77cc5f Default/mapgen: Simplify iron ore registrations
Preserve overlapping registrations of large and small clusters
below y = -64 but now extend the small clusters up to y = 0 (the
previous highest iron ore level) in a similar to way to coal
2016-07-05 18:16:52 +01:00
paramat
d476d017a4 Default/mapgen: Add ores above y = 1024
Each ore's rarity is equal to that occuring below y= -1024
2016-07-05 18:16:52 +01:00
paramat
1886d293d7 Default/mapgen: Clean up ore registrations
Re-order registrations
Add and improve comments
Change sand blob ymax to 0 as sand does not always rise above 0
Remove dirt blobs from sandstone as it is unsuitable for
many sandstone biomes and ugly in stony sandstone desert
Change ymax of first iron region to 0
2016-07-05 18:16:52 +01:00
paramat
84e4ae1881 Default: New aspen tree schematics 2016-06-27 05:32:36 +01:00
tenplus1
f15f35c604 Default: Enable crafting of mese crystal fragments into mese crystal 2016-06-27 05:31:04 +01:00
tenplus1
be918d2d98 Default: Craft locked chest from chest plus steel ingot 2016-06-27 05:30:20 +01:00
paramat
9d6df824d6 Default: Add stone / desert stone / sandstone / obsidian blocks 2016-06-25 06:58:18 +01:00
Xunto
b64202fbe9 cherry-pick from github.com/minetest/minetest_game> Default: Fix character model uv-mapping 2016-06-22 15:44:37 +02:00
Auke Kok
77cdaacaac cherry-pick from github.com/minetest/minetest_game> Default: Make brick and plank nodes rotatable 2016-06-22 15:41:25 +02:00
Auke Kok
4c3b8376ab cherry-pick from github.com/minetest/minetest_game> Stairs: Add mossy cobble slab and stair 2016-06-22 15:39:40 +02:00
paramat
eff782c61f cherry-pick from github.com/minetest/minetest_game> Mapgen: Add biome fields for riverbed node and depth 2016-06-22 15:38:31 +02:00
paramat
37d3fe0cb1 cherry-pick from github.com/minetest/minetest_game> Default: Bookshelf has 2 openings instead of 4 2016-06-22 15:31:23 +02:00
Xunto
e77ef553ff Default: Fix character model uv-mapping
Arm and leg textures are now edge-consistent
2016-06-22 02:12:11 +01:00
paramat
1fafed3387 Default: Remove mortar from stone brick, desert stone brick 2016-06-22 02:10:52 +01:00
Auke Kok
ba1ae07b4a Default: Make brick and plank nodes rotatable
Allow many crafted nodes to be rotated in any way possible.

These blocks all have slab and stair versions, which can create awkward
patterns if placed together. By allowing these to be rotated players
can create new patterns and appearances that were not before possible.

Since this wasn't possible before, there won't be any effect
to existing builds, as param2 should always be '0'. The current
screwdriver mod also refuses to rotate and alter param2, so this is
safe to enable from now on.

Personally, since these are all *crafted* nodes to begin with, it
should be apparent that they can be rotated to begin with, but I can
see people may disagree from a simplicity perspective. It also may
affect param2 usage that other mods rely on, although I'm not aware
of any mods that do this.
2016-06-17 23:41:42 +01:00
Auke Kok
2199be5108 Stairs: Add mossy cobble slab and stair
Allow water to turn cobble slab and stairs to turn into mossy versions.

There is no crafting recipe for mossy stairs and mossy slabs, the
stair/slab API has been modified to allow for a recipeitem that
is `nil`, which will omit adding a crafting recipe for these two
items. The API documentation is updated.

The slabs and stairs will turn mossy when water is adjacent, just like
cobblestone. You can either farm mossy versions by placing them in
water for a while, then collecting them, or run water over your craft.
2016-06-14 23:28:17 +01:00