Commit Graph

5 Commits

Author SHA1 Message Date
Shni
f36fa24e46 Refactor item property parsing and centralize utility functions
- Moved `parseItemProps` function to `core/utils.ts` for reuse across modules.
- Updated various services to import and utilize the centralized `parseItemProps`.
- Introduced new utility functions for handling consumable cooldowns and healing calculations.
- Enhanced mob management with a new repository system, allowing for dynamic loading and validation of mob definitions from the database.
- Added admin functions for creating, updating, listing, and deleting mobs, with validation using Zod.
- Implemented tests for mob management functionalities.
- Improved error handling and logging throughout the mob and consumable services.
2025-10-14 12:57:53 -05:00
02b4eae7be feat(economy): enhance area and mob commands with improved display and error handling 2025-10-05 06:42:10 -05:00
c868e3bf80 refactor(economy): enhance type definitions and improve channel message handling 2025-10-05 05:19:16 -05:00
696e444846 refactor(economy): improve labels for stackable and max inventory fields in item editor 2025-10-05 01:35:55 -05:00
d04f54eb3d feat(economy): add interactive editors for creating and editing EconomyItems and Mobs 2025-10-05 01:20:52 -05:00