add inventory.get_uses, inventory.use, item.uses & update base:bazalt_breaker

This commit is contained in:
MihailRis
2025-02-17 04:40:18 +03:00
parent 231fc7e0d0
commit bbfc0dbf17
5 changed files with 40 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ struct ItemDef {
uint8_t emission[4] {0, 0, 0, 0};
/// @brief Default item uses count
int16_t uses = 100;
int16_t uses = -1;
ItemIconType iconType = ItemIconType::SPRITE;
std::string icon = "blocks:notfound";