Skip to content

Conversation

@VirtualDino
Copy link

  • Implement basic game logic for handling hunger / strength. Hunger / strength increase when food / pills are eaten, and decrease automatically at set intervals which vary per Digimon. Hunger and Strength stats are reflected on hearts screen.
  • Implement logic for overdose on proteins, set overdose limit (This stat affects injury ratio from battles).
  • Care mistakes occur when Digimon is neglected after hunger or strength values drop to zero. A timer begins to track time passed and apply care mistake if no action is taken, feeding will disable the check until hunger/strength runs out again.
  • Added variable to Digimon properties for the time that the Digimon goes to sleep.
  • Added variable to Digimon properties for the required number of doses to heal the Digimon after it has been injured.
  • Adjusted the value of strength added upon eating protein from 2 to 1.
  • Add logic for overfeed,
  • Properly handle weight.
  • Handle DP count when eating protein.
  • Handle max number of poops, apply injury when poop count accumulates to 4.
  • Adjust poop frequency to be the same as the Digital Monster Ver 20th devices.
  • Add basic sleep logic (WIP, partial implementation).
  • Add new Digimon: Betamon WIP (Adding the sprites caused a build error, so everything related to betamon is commented out until I figure out a solution.

>hunger/strength increases when eating food or pills.
>hunger/strength decreases automatically at set intervals which vary per Digimon.
>the number of hearts on the status screen changes to reflect the current state of hunger/strength.

TODO:
>Add logic for overfeeding and care mistakes for underfeeding.
>improve logic for hearts count based on logic for overfeeding and how the count is handled
>confirm and correct the rate at which pills restore strength.
>confirm if the rate of appetite/strength restore per eating session varies per Digimon, and reflect this in the code.
>remove commented out code (I'm leaving it for reference as I changed some of the logic implemented by the original developer).
Feature(GameLogic): Implement basic hunger/strength logic
Feature(GameLogic): Overdose, Care Mistakes, minor updates
Game Logic: Overfeed logic, weight handling, DP count, injury, max poops
Fix poop timer
@VirtualDino
Copy link
Author

@BeRational @Berational91

I'm not sure if you will see this, but I have forked your project and have been implementing the basic mechanics. If you would like to collaborate together I am more than willing to do so and we can merge my work into your repository with this PR, otherwise I will continue working on this via my fork.

@Berational91
Copy link
Owner

Hello @VirtualDino,
Thank you for your Contribution! I'm glad someone finds the interest and time to develop this project further. At the Moment, i am to busy to work on this project - but this will change in a couple of month.

I will go through your commits and check for violations of the established modeling. I already skimmed through some parts of your code and what i've seen looked good so far. So after checking the rest, i will approve the pull request.

Hopefully we can work together on this project in future!

Best regards Berat.

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