feat: loot tables (#43)

self-explanatory

Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/43
This commit is contained in:
Fireblade committed 2026-07-12 02:05:06 +01:00
1 parent 0449af2be6
commit 54528fac16
146 files changed
+6397 -1277

No files matched your search

+1 -1
View File
@@ -1001,7 +1001,7 @@ void ServerLevel::generateBonusItemsNearSpawn()
}
}
BonusChestFeature *feature = new BonusChestFeature(RANDOM_BONUS_ITEMS, 16);
BonusChestFeature *feature = new BonusChestFeature("chests/spawn_bonus_chest");
for (int attempt = 0; attempt < 16; attempt++)
{
int x = levelData->getXSpawn() + random->nextInt(6) - random->nextInt(6);