-
Notifications
You must be signed in to change notification settings - Fork 1
New jungle biomes #57
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
base: main
Are you sure you want to change the base?
Conversation
macmv
left a comment
There was a problem hiding this 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)
| 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, |
There was a problem hiding this comment.
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.
| 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 | ||
| ]; |
There was a problem hiding this comment.
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. | |||
There was a problem hiding this comment.
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. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and delete this
Adds the finished jungle biomes