DigimonVPet icon indicating copy to clipboard operation
DigimonVPet copied to clipboard

Implement basic mechanics

Open VirtualDino opened this issue 3 months ago • 1 comments

  • 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.

VirtualDino avatar Nov 01 '24 17:11 VirtualDino