Open metehus opened 5 years ago
I don't like the idea of having items as JSON. Would love to be able to add them to the database instead. Types could be on a JSON file tho.
SKRRR SKRR SKRRRRRRRRRRRRR
I don't like the idea of having items as JSON. Would love to be able to add them to the database instead. Types could be on a JSON file tho.
@pedrofracassi hum like the idea
nvm, i think will be more hard and cant translate displayName and description
Oh, that's true. I didn't think about translations.
How itens will be classified?
They will be classified mainly with
rarity
,category
, andtype
. Therarity
prop. will classify the item as common, rare 'n stuff. Thecategory
prop. will classify the item just for view/filter and etc like themes, badges and others. Thetype
prop. will define the item in a more exclusive group, inside the category, and some types will be have a choosen item, like atictactoeTheme
type that every user will have to have onetictactoeTheme
item selectedHow they gonna be saved
The itens will be saved on the database at the repository
items
and user inventory will be saved on the db too that will have an array ofInventoryItemType