Skip to content

Conversation

@JaimieGR
Copy link
Collaborator

Adds the finished jungle biomes

@JaimieGR JaimieGR requested a review from macmv July 21, 2025 06:26
Copy link
Owner

@macmv macmv left a comment

Choose a reason for hiding this comment

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

concepts look good. needs a couple changes, and formatting (run cargo fmt)

Comment on lines +28 to +38
pub pink_orchid: BlockState,
pub passion_flower: BlockState,
pub heliconia: BlockState,
pub pink_heart: BlockState,
pub torch_ginger: BlockState,
pub orchidaceae: BlockState,
pub ipomoea: BlockState,
pub bromeliads: BlockState,
pub ficus_elastica: BlockState,
pub yellow_jungle_rose: BlockState,
pub bird_of_paradise: BlockState,
Copy link
Owner

Choose a reason for hiding this comment

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

you don't need these. just use the block![] macro when creating the flower_array directly.

Comment on lines +61 to +75
let bottoms = vec![
vec!["-ll--", "-lll-", "-lcll", "-lll-", "-----"], // uses top 1
vec!["--ll-", "-llll", "-lcll", "-lll-", "-----"], // uses top 2
vec!["--l--", "-llll", "-lcll", "-lll-", "-----"], // uses top 1
vec!["-----", "-lll-", "-lcl-", "-lll-", "-----"], // uses top 3
vec!["-ll--", "-ll--", "-lcl-", "--ll-", "-----"], // uses top 1
vec!["--l--", "-lll-", "-lcl-", "-ll--", "-----"], // uses top 4
];

let tops = vec![
vec!["-l-", "lcl", "-l-"], // top 1
vec!["-ll", "lcl", "-l-"], // top 2
vec!["-l-", "lcl", "ll-"], // top 3
vec!["-l-", "lc-", "-l-"], // top 4
];
Copy link
Owner

Choose a reason for hiding this comment

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

use arrays, not vec!. no need to make a vector for these, as they're constant.

@@ -0,0 +1,486 @@
# This file is automatically @generated by Cargo.
Copy link
Owner

Choose a reason for hiding this comment

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

please delete this

@@ -0,0 +1,4382 @@
# This file is automatically @generated by Cargo.
Copy link
Owner

Choose a reason for hiding this comment

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

and delete this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants