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

Plant seeding with vehicle #27491

Merged
merged 2 commits into from
Jan 9, 2019
Merged

Conversation

peperov
Copy link
Contributor

@peperov peperov commented Jan 8, 2019

Summary

SUMMARY: Bugfixes "Allows vehicles with a seed-drill to plant seeds"

Purpose of change

Fixes #27472

Describe the solution

Dirtmound recieves the NOCOLLIDE flag, so vehicles can drive over it.
The seed-drill vehicle part changes the ground to flat dirt when placing a seed (consistent with iexamine).

Additional context

Still WIP because one problem is not adressed: The seed-drill is supposed to be reloaded by examining it. Currently the context menu for reloading the seed-drill with seeds is missing.
I will open a new Issue for that problem.

@ZhilkinSerg ZhilkinSerg added [JSON] Changes (can be) made in JSON [C++] Changes (can be) made in C++. Previously named `Code` <Bugfix> This is a fix for a bug (or closes open issue) labels Jan 8, 2019
@peperov peperov changed the title [WIP] Plant seeding with vehicle Plant seeding with vehicle Jan 8, 2019
Copy link
Member

@kevingranade kevingranade left a comment

Choose a reason for hiding this comment

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

LGTM, just needs testing.

@peperov
Copy link
Contributor Author

peperov commented Jan 8, 2019

I manually tested the change with success: using the tractor I was able to drive over the dirtmounds and seeds got placed in each tile.
seed_test

Or do you mean test coverage?

@kevingranade
Copy link
Member

I meant manual testing like that, thanks!

@kevingranade kevingranade merged commit 56ede57 into CleverRaven:master Jan 9, 2019
@peperov peperov deleted the seeding_vehicle branch January 12, 2019 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` [JSON] Changes (can be) made in JSON
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inconsistent plant seeding with vehicle and player
4 participants