Skip to content

Conversation

@MatheusPortes
Copy link
Owner

🛠️ Added weapon_type Field to Weapon Entities

Context
Previously, weapon entities relied on the type field, which was language-dependent. This created limitations for translations, as the weapon type had to be specified for each language, reducing maintainability and increasing the chance of inconsistency.

What was done
✅ Added a new weapon_type field to all weapon entities
✅ The field follows the same structure and naming as the type field used in the character entities
✅ This change decouples weapon type from translations, ensuring it’s defined only once and shared across all locales

Why this matters
Prevents the need to define weapon type in every translation language
Aligns weapon structure with the character entity model
Enhances maintainability and consistency across all languages
Prepares the system for better internationalization (i18n) support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants