Commit Graph

334 Commits

Author SHA1 Message Date
Auke Kok 2f39cad09b Create API for fence.register, and use it.
This converts the call to minetest.register() for the default
fence node, so it can be called by other mods to quickly
setup other fences.

Since this creates an API, insert it into the game_api.txt.

The api looks like minetest.register(name, {def}), and has two
uncommon fields: "texture" and "material". Any normal nodedef
property can be passed through, except "drawtype". The "fence"
group will always be added.

The default fence recipe is modified to be as follows:
  wood, stick, wood
  wood, stick, wood

This recipe yields 4 fence nodes.

This allows us to create according recipes for acacia, pine,
aspen, and junglewood fences without adding new stick types:

  pine wood, stick, pine wood
  pine wood, stick, pine wood

This is a from-scratch implementation, written by heart but inspired
by (#665 - Add many wooden fences).

Stick and fences nodes are named in a consistent way.
2016-02-03 19:33:19 +00:00
paramat a4e144e4c8 Default/mapgen: Add gravel beach in Tundra 2016-01-29 03:50:32 +00:00
Auke Kok 38a8351327 Register biomes before ores.
We may want to use biomes here at a later stage.
2016-01-26 21:33:27 +00:00
paramat 4b8410a982 Default/mapgen: Remove unused 'mapgen_air' alias 2016-01-22 13:21:26 +00:00
Auke Kok 6267f26027 Aspen trees.
Adds a birch-like tree to the default_game. Aspen was chosen on
purpose instead of birch, as several birch tree mods already exist
and choosing a different name avoids any conflicts.

Schematics were made for both normal and sapling version, assuring
saplings will not be able to grief. The shape of the Aspen is "fanning
out at the top" and provides an easy tree to walk under, but still a
somewhat thick cover. The Aspen trunk is 4 to 6 blocks tall, with up
to three layers of leaves on top, making it slightly taller than an
Apple tree, but shorter than a Pine tree, which provides a good blend.

Textures were painted from scratch, except tree_top and _wood
variants, which are color modified versions of the pine_wood
variants. Appropriate licenses have been chosen for the new textures.

The leaf texture is light enough to contrast other trees, but dark
enough to offset against our light default grass color. The leaves
are drawn in the typical minetest default fashion with plenty of
transparancy, but enough definition to suggest that you're seeing
something that looks like leaves. The placement of leaves in the
schematic also suggests the top of the tree is sparse and you can
see the sky through the leaves.

Sapling texture is both traditional and different, with lush green
leaves and a well-defined stem, but slightly stick-like and skinny,
as these plants tend to grow up first, then out.

Add fallen Aspen logs. We make these logs a minimum of 2 blocks long,
and up to 3. This allows us to make these logs a place where both
red and brown mushrooms can be found, to these may be attractive to
players. However, the spawn rate for these has been reduced a lot
compared to the other logs, to account for the scarcity of Aspen.

Add stairs, slabs for these wood types as well.

Mapgen will place these trees in deciduous forests only, but in
a way that the biome is a range between entirely Apple trees, and
mostly entirely Aspen trees, with a bias to Apple trees. To make
fallen logs somewhat correlated with trees, we modify the planting
of Apple trees and logs to use perlin noise and not fill ratio,
otherwise you'd always end up with Apple logs in Aspen tree areas,
which would be suspicious. There still is a bit of a mix.
2016-01-15 04:56:15 +00:00
Auke Kok 223e924edf Lower mushroom-on-log rate for pine forests.
These were likely too high, so we lower them to the rate
of mushrooms on apple trees.

issue #773
2016-01-08 04:44:29 +00:00
Auke Kok 57939c6c3f Place tree logs as decorations.
We can vary the landscape a bit more by placing "fallen logs"
around the various forests. These decorations are quite fast
and will provide some gameplay value but are still more rare
than the corresponding trees, so they don't provide free
materials.

I've manually put the schematic as lua tables since these log
schematics are only 8 blocks. We vary the log lengths between
1 and 3 blocks by making the end blocks have a lower chance
of appearing.

Amount is varied by fill_ratio, except for acacia trees where
we reduce the scale, so that acacia logs show up near places with
acacia trees consistently.

Mushrooms are placed optionally on each log. We can't place
two different mushrooms on a log, so instead we opt to place
brown mushrooms on oak/appletree logs, brown mushrooms on
jungletree logs, and red mushrooms on pine logs. No mushrooms
are placed on acacia logs, as they occur in a dry biome,
savannah, and this adds a bit of biome diversity.
2016-01-07 05:36:12 +00:00
Auke Kok b0ec8f1b5a Allow books to be copied on the craft grid.
Combine any written book with an empty book to copy it. The
copy is in player hands when using, and the original is put
back on the crafting grid and can be directly copied again.

All ownership and metadata is retained, so the copy of the book
is as writable as the original is, or isn't.
2016-01-05 23:29:08 +00:00
paramat 0472e61a9d Default: Remove normalmap textures 2016-01-03 02:12:22 +00:00
paramat 76471dd137 Default: Add mapgen alias for air 2015-12-31 00:05:34 +00:00
paramat 11115c7d15 Default: New appletree schematics with more variation 2015-12-28 21:41:23 +00:00
paramat eaed418b10 Ores: Allow dirt and sand blob ore in sandstone, desert stone
Re-align parameter format in 'register ore'
2015-12-23 16:55:18 +00:00
paramat c3a1545ca1 Default/mapgen: Correct spelling of 'noise threshhold' in 'register ore' 2015-12-19 15:03:09 +00:00
paramat a1b8b68e92 Default/mapgen: Re-add grassy sand dune biomes 2015-12-19 15:03:09 +00:00
Auke Kok b57ecb94df Add a separate image for a written book.
Since written books are quite different from empty books, the
visual clue that they are different items is really needed in-game.

I've added a "clasp" or "belt-with-buckle" like element to the
png from default_book, keeping them very similar but also
immediately recgnizably different.

I added the new texture to blockmen's license list since it's
obviously derivative of his work.

The PNG was run through a minimizer/optimizer to save space.
2015-12-12 19:56:56 +01:00
paramat c66a98bbed Default: Slightly reduce alpha of water post effect colour
To make water a little clearer and feel purer
Also correct lava alpha values from 192 to 191
2015-12-12 13:42:54 +00:00
paramat 25e1f84733 Default: Remove root from mapgen trees and large cactus 2015-12-06 22:19:23 +00:00
paramat abf0ca9c7e Default/mapgen: Retune cactus density due to low density fix 2015-11-23 03:19:11 +00:00
paramat 135d80eb86 Default/trees: Make 'can grow' public to enable over-riding 2015-11-23 03:19:00 +00:00
paramat 0d49978341 Default/mapgen: Use sidelen 16 for low density decorations
The fixing of low density decorations allows returning to
sidelen 16 for acacia trees and cacti, previously sidelen
80 was required for low density decorations to appear
Also use sidelen 16 instead of 8 for mgv6 papyrus
2015-11-15 09:20:21 +00:00
paramat e41a411f1c Default, fire: Disable catch-up in some ABMs
To avoid processing spikes where catch-up is non-essential
Disable in: Lavacooling, grass growing, grass removal
and all fire mod ABMs
2015-11-14 04:49:03 +00:00
paramat e67e28d226 Default/mapgen: Fix missing taiga pine 2015-11-09 01:10:41 +00:00
paramat 3d6f1685ad Default/mapgen: Tune biome points for improved disribution
Bring humidity points closer to reduce distortion of voronoi cells
Slightly reduce size of hot and frozen biomes
Improve location of glacier biomes
Remove unnecessary snow nodeboxes from tundra to improve FPS
Add missing dirt_with_snow to taiga
2015-11-08 05:04:39 +00:00
paramat 592ca341ea Default/mapgen: Tune biome points and biome depths 2015-11-04 01:13:46 +00:00
Craig Davison 7c0abe9366 Remove unused TNT & torch textures
Closes #544
2015-10-28 03:07:56 +00:00
paramat 321bd66721 Default/trees: Clean-up 'can grow' function 2015-10-27 01:51:54 +00:00
paramat 2729777b94 Default/functions: ABM for mossycobble replacing cobble next to water 2015-10-25 23:11:29 +00:00
Rui 3fb6ee5bdf Default/book: textarea -> table 2015-10-18 18:02:27 +01:00
paramat ef8b7e230d Default/trees: Add requirement of light level 13 for sapling growth 2015-10-17 09:41:17 +01:00
paramat 41c1e99b1f Default/mapgen: Remove dunes biome. Sand for glacier seabed 2015-10-10 16:28:49 +01:00
paramat f4a412d9c1 Papyrus: Grow on dirt and grass only, remove from desert ocean 2015-10-05 01:47:37 +01:00
paramat 2119054a95 Mgv5/7 biomes: Add more shallow dirt waters
Dirt waters are more suitable for waterlilies
Add dedicated dunes biome in coniferous forest
Papyrus: use dirt base again
Force-place roots on mapgen tree schematics
Tune some humidity points to improve voronoi cells
Add random rotation to jungle trees
2015-10-03 01:12:45 +01:00
paramat ac810dbf9d Default: Remove light source from mese ore
New brighter mineral_mese texture
2015-10-03 01:11:10 +01:00
paramat 8e51f318b3 Rename to Minetest Game
Rename in game.conf and documentation
Update game_api.txt documentation for bucket API and tree functions
Fix tab, space and comment formatting in game_api.txt
Rename in mod READMEs
2015-09-30 23:33:12 +01:00
paramat 24578ca968 Default/mapgen blob ores: Tune, make faithful to mgv6 2015-09-20 00:39:05 +01:00
MT-Modder f5c8f881d7 Change obsidian glass drawtype to glasslike_framed_optional 2015-09-14 23:08:37 +01:00
paramat 1cc8300ba9 Default/mapgen: Make river water ice in glacier biome
Add commented-out 'node river water' lines to all biomes
2015-09-10 16:34:34 +01:00
paramat 09d910efcb Default/schematics: Fix root error in jungletree from sapling 2015-09-05 06:09:47 +01:00
paramat c2307b8816 Default/nodes: Fix acacia leaves not waving 2015-09-01 06:18:06 +01:00
paramat 73113f3443 Default/trees: Add not-force-placed tree schematics grown from saplings 2015-09-01 05:57:07 +01:00
paramat 4d9b595a69 Default: Allow papyrus growing on default:sand
Mgv5/mgv7 papyrus schematic now has sand nodes as a base
Add sand beach to mgv5/mgv7 deserts
2015-08-31 22:58:33 +01:00
paramat 908d8e5f90 Default/nodes.lua: Add missing spaces, shorten lines 2015-08-25 06:47:55 +01:00
paramat a0d7644a86 Default: Add snow, snowblock, ice to puts_out_fire group 2015-08-25 03:03:06 +01:00
RealBadAngel 3740efb393 New normalmaps for some nodes 2015-08-19 03:24:45 +01:00
RealBadAngel 835ca02be5 Add tiling info for grass nodes 2015-08-19 00:59:22 +01:00
paramat b24049950e Default: New stone brick and desert stone brick textures 2015-08-17 21:59:43 +01:00
paramat 86dab909ed Default: Change to 'pixelbox2' long grass textures by Gambit 2015-08-17 03:58:34 +01:00
paramat c7b9e734ff Default: New grass textures, new footprint overlay texture 2015-08-15 21:19:39 +01:00
paramat b7a1426b42 Default: New darker jungletree_top and junglewood textures 2015-08-14 19:15:33 +01:00
paramat be4dd6479d Default: Rename pine tree nodes, textures and mapgen aliases 2015-08-10 09:19:02 +01:00