First of all, thank you very much for sharing this wonderful project. It is certainly one of the best projects to create a game platform.
Well, I have some questions and I would like some help. Initially, I am thinking about some systems for my game that may be more complex and I would like to get the community's input on the best way to implement them.
Here we go:
1º I intend to have 3 types of coins, bronze, silver, and gold, where 100 bronze is equal to 1 silver and 100 silver is equal to 1 gold. How can I implement this in RPGJS today?
2º I want to create several classes beyond the traditional ones, such as blacksmith, cook, and so on. What is the best place to create these structures and classes, and what is the best way to create them (I apologize if there is already a topic on this, I searched and didn't find one)?
3º The items in my game will be made by the players, however, there will obviously be a database with all possible items. But I have 2 questions:
3.1 How can I add custom attributes for a specific item that a player made? For example, I will have a "standard" weapon in the WEAPON table, a "sword", but how can I make the weapon the player created have a special attribute?
3.2 Where or how can I save the item that the player crafted? Because I want this item to be sold.
4º NPCs, where and what structure would be interesting to have for the NPCs of the game? Should each NPC have a TypeScript class? What is the best organizational structure for this type of situation? Do you have any examples?
These are the initial questions that I have because I am gathering information for my GDD that I have been writing.