rpg-ts
v1.7.4
Published
rpg utilities in TS
Downloads
19
Readme
RPG-TS
RPG-TS is a TypeScript-based library specifically designed for creating and handling role-playing game (RPG) characters and their statuses. Built with a strong focus on customization and extensibility, RPG-TS provides a solid foundation for building advanced and complex RPG mechanics.
The library is structured around three core classes - Character
, Status
, and StatusManager
which respectively represent a character, a status effect, and a mechanism for managing character statuses in the game context. With these classes, you can easily define characters, assign them various status effects, and control their interactions within the RPG framework.
Key Features
- Character Management: Easily define and handle characters with an extensive set of properties.
- Status Effects: Introduce dynamic gameplay elements with a variety of status effects, ranging from buffs and debuffs to more complex statuses.
- Effortless Integration: The library's modular design allows it to be smoothly integrated into any RPG project.
Installation
To install RPG-TS, use the following command in your project directory:
npm install rpg-ts
You can also use Yarn to add RPG-TS to your project:
yarn add rpg-ts
For detailed usage and further examples, please check the documentation.
How To Patch
As learned in the job, the version will follow the convetion of MAYOR.MINOR.PATCH
Major: non-reversible change between versions
Minor: added features without creating incompatibilities
Patch: bug fixes
Contributing
We welcome contributions of all kinds from the community. If you're interested in contributing, contact me.
License
RPG-TS is MIT licensed.
see you.
Future features:
mapas de tipos. rollo - fuego: a la planta x2, al agua x0.5
generación de Mapas logicos: rollo:
- malaga: {id: 1, conexiones: [2,3]}
- cordoba: {id: 2, conexiones: [1]}
- sevilla: {id: 3, conexiones: [1]}
Comprobar que de un combate a otro todo se resetea correctamente.