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

Created FillingModifierSystem #6

Merged
merged 2 commits into from
Aug 16, 2020

Conversation

vedant-shroff
Copy link
Contributor

@vedant-shroff vedant-shroff commented Jul 30, 2020

Contains

The Filling Modifier System is a system that deals with the modifications in filling of the seeds by handling the OnFillingModifiedEvent handler. This is used currently in synergy with Terasology/SimpleFarming#94 to modify the filling trait of the seeds via its Genes.

Also includes remaining recipes for the SeedWorkstation to allow breeding of like seeds

How to test :

  • Use the console command to get a seed, for example : give apple
  • Plant the seed on the ground to get a bush
  • Once the bush is fully grown, harvest it. This will attach genes to the seed and modify its filling value.
  • Use the setHunger <value> command to set your hunger to a measurable value, say 50
  • Eat the seed by right clicking while holding it and not looking at a block
  • Use the showHunger command to see your hunger value. The value can be tallied with the difference between the setHunger and current hunger and the Genes observed via the heldGenomeCheck command.

Note : Make sure Terasology/SimpleFarming#94 is a part of your workspace to test this properly.

To-do

  • Javadoc
  • Add remaining recipes

@e-aakash e-aakash merged commit 265244d into Terasology:develop Aug 16, 2020
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.

2 participants