Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cypress/juniper and baobab trees with GrowingFlora #161

Merged
merged 5 commits into from
Aug 18, 2021

Conversation

naalit
Copy link
Contributor

@naalit naalit commented Aug 11, 2021

Adds juniper trees to steppes and baobabs to scrublands, using GrowingFlora and the assets from PlantPack. It depends on Terasology/GrowingFlora#38. Juniper trees are a type of cypress, so I'm using the cypress assets, and they do naturally appear in the American West; baobab trees actually live in Africa, but it's a similar environment and I think they make scrublands a lot more interesting, and baobab already exists in PlantPack unlike other tree species which would make more sense geographically.

I don't think the trees actually grow currently, although I haven't tested it extensively, and they're a lot more unpredictable than CoreWorlds' tree generation, so they sometimes end up really weird-looking. They're also cut off at chunk boundaries (Terasology/GrowingFlora#39). However, they have the potential to look nicer than CoreWorlds trees, and they're certainly a lot more varied.

Terasology-210809170259-1920x1080
A baobab

Terasology-210810134415-1920x1080
A bent juniper tree

Terasology-210811145859-1920x1080
An example of how the variation can sometimes lead to weird-looking trees

@naalit naalit added Topic: WorldGen Requests, Issues and Changes related to facets, rasterizers, etc. Type: Improvement Request for or addition/enhancement of a feature labels Aug 11, 2021
Copy link
Contributor

@skaldarnar skaldarnar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional to the comments, this also depends on what we want to do about Terasology/CoreWorlds#43

@RegisterPlugin
public class CypressSpawn extends GrowthBasedPlantSpawnDefinition {
public CypressSpawn() {
super(PlantType.TREE, Cypress.ID, "MetalRenegades:steppe", 0.5f, 0.0007f);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a bit of testing I'd increase the probability a bit here...

Suggested change
super(PlantType.TREE, Cypress.ID, "MetalRenegades:steppe", 0.5f, 0.0007f);
super(PlantType.TREE, Cypress.ID, "MetalRenegades:steppe", 0.5f, 0.0014f);

@@ -77,6 +77,10 @@
"id": "Gooey",
"minVersion": "1.0.0"
},
{
"id": "GrowingFlora",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since growing flora has a hard dependency on ClimateConditions this will automatically enable the player effects such as slow down due to heat or cold - do we want that right now in Metal Renegades?

skaldarnar
skaldarnar previously approved these changes Aug 17, 2021
@skaldarnar skaldarnar merged commit 3296c6d into develop Aug 18, 2021
@skaldarnar skaldarnar deleted the feat/trees-growingflora branch August 18, 2021 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: WorldGen Requests, Issues and Changes related to facets, rasterizers, etc. Type: Improvement Request for or addition/enhancement of a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants