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
@@ -264,7 +264,7 @@ void ItemEntity::playerTouch(shared_ptr<Player> player)
{
player->awardStat(GenericStats::diamonds(), GenericStats::param_diamonds());
#ifdef _EXTENDED_ACHIEVEMENTS
if ( getItem()->getItem()->id )
{
shared_ptr<Player> pThrower = level->getPlayerByName(getThrower());
@@ -273,7 +273,7 @@ void ItemEntity::playerTouch(shared_ptr<Player> player)
pThrower->awardStat(GenericStats::diamondsToYou(), GenericStats::param_diamondsToYou());
}
}
#endif
}
if (item->id == Item::blazeRod_Id)
player->awardStat(GenericStats::blazeRod(), GenericStats::param_blazeRod());