Implement a "world gen plugin" that places assets from another module into an existing world
This is "step 3" in our world generation series (code). Ideally you should have already completed:
- Set up a developer workspace:
- Basic world gen: https://codein.withgoogle.com/dashboard/tasks/5632789944729600/
- Intermediate world gen: https://codein.withgoogle.com/dashboard/tasks/5818905842941952/
Goal:
A new module (or maybe additions to an existing one - this task is multi-instance so we'll get several plugins that might well fit into the same module) containing a world generation plugin definition. This is distinct from the two earlier tasks in that it doesn't define its own world - instead you can enable the module with any other world and its feature will be integrated.
Examples are given below under resources. Ideal things to implement would be plugins that seed useful plants or minerals that could then be used in crafting recipes (like alchemy, cooking, etc). For instance the few minerals in JoshariasSurvival are placed this way.
Resources:
- Tutorial: https://github.com/Terasology/TutorialWorldGeneration/wiki/Plugins
- Plants to seed: https://github.com/Terasology/PlantPack or https://github.com/Terasology/Alchemy/tree/master/assets/blocks/herb or add your own
- Minerals to seed: https://github.com/Terasology/Minerals
- Existing plugins: https://github.com/Terasology/Lakes or https://github.com/Terasology/Caves
Bonus: Add your own plant/herb and put it to use in an alchemy recipe so you can enable your module and harvest the ingredients for the recipe in any world :-)