-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
<Enhancement / Feature>New features, or enhancements on existingNew features, or enhancements on existingMap / MapgenOvermap, Mapgen, Map extras, Map displayOvermap, Mapgen, Map extras, Map display
Description
Currently every mapgen specifies own ground cover terrain. Many entries have differing amounts of grass vs dirt, some swamp mapgens have incorrect furniture placement (cattails on dry ground). This can be pretty jarring due to square nature of mapgen.
I see two options:
A fake terrain type is supplied. During mapgen, it is replaced with biome's default ground cover.
Advantages:
- Groundcover can be specified as fill_ter, mapping or placement, whichever is the most convenient
- Simple
- Probably faster than the alternative below
Each mapgen entry gains an optional (later possibly mandatory) field that describes what is it placed on. For example, most houses would be placed on a field, but swamp shack would be placed on swamp.
During mapgen, the types are processed sequentially: first a field is generated, then a house is generated on the field.
Advantages:
- Support for partially-jsoned mapgen (hardcoded swamp, jsonized shack on it)
- Support for furniture (cattails) due to the above
- Depending on implementation, could allow more "natural" results, like small house bordering a forest having more trees in its square
Zireael07, BevapDin and ashGlaw
Metadata
Metadata
Assignees
Labels
<Enhancement / Feature>New features, or enhancements on existingNew features, or enhancements on existingMap / MapgenOvermap, Mapgen, Map extras, Map displayOvermap, Mapgen, Map extras, Map display