fix: achievements

Added "unimplemented" achievements
Fix image renaming breaking icons
Fix "Diamonds to you" strings
Readd broken assertion - I'm not entirely sure if its fixed, and you may need to delete profile0.dat to make it not assert on older saves.
This commit is contained in:
SevenToaster509
2026-04-26 17:27:31 +01:00
parent 51dd08363f
commit ae5a86d082
14 changed files with 52 additions and 58 deletions
+2 -2
View File
@@ -2628,10 +2628,10 @@ void Player::startUsingItem(shared_ptr<ItemInstance> instance, int duration)
awardStat(GenericStats::itemsUsed(instance->getItem()->id),
GenericStats::param_itemsUsed(dynamic_pointer_cast<Player>(shared_from_this()),instance));
#if (!defined _DURANGO) && (defined _EXTENDED_ACHIEVEMENTS)
if ( (instance->getItem()->id == Item::rotten_flesh_Id) && (getFoodData()->getFoodLevel() == 0) )
awardStat(GenericStats::ironBelly(), GenericStats::param_ironBelly());
#endif
}
bool Player::mayDestroyBlockAt(int x, int y, int z)