This is a really cool idea! I tried it out and found it to be really fun to customize. I've got a few ideas for future releases...
Feature Suggestions:
1. Have characters have a persistent set of skills
- As it is now, characters have a fixed set of skills that is re-defined every single time a battle starts.
- Trying to add a list of skills to a character definition (instead of using the addSkill() function) results in an error. Conversely, monsters don't have this problem, and you can add any number of skills you want inside the array of skills that it has.
2. Gaining new skills
- Characters should be able to have additional skills given to them upon leveling up or accessing an event (such as story progression).
- Should use the same addSkill() function that's used in skill_def.rpy, then add it to the persistent skill set (see suggestion #1 above)
3. Status effects
- Some of the code references this, but no actual status effects (poison, sleep, confusion, etc.) are defined anywhere.
Mokus wrote: ↑Fri Oct 16, 2020 5:34 pm
This is a really cool idea! I tried it out and found it to be really fun to customize. I've got a few ideas for future releases...
Feature Suggestions:
1. Have characters have a persistent set of skills
- As it is now, characters have a fixed set of skills that is re-defined every single time a battle starts.
- Trying to add a list of skills to a character definition (instead of using the addSkill() function) results in an error. Conversely, monsters don't have this problem, and you can add any number of skills you want inside the array of skills that it has.
2. Gaining new skills
- Characters should be able to have additional skills given to them upon leveling up or accessing an event (such as story progression).
- Should use the same addSkill() function that's used in skill_def.rpy, then add it to the persistent skill set (see suggestion #1 above)
3. Status effects
- Some of the code references this, but no actual status effects (poison, sleep, confusion, etc.) are defined anywhere.
Thanks for the suggestions, I'll add them eventually. Right now you can't add a list of skills directly to the character definitions because the skills aren't defined before the characters. You can fix it by defining the skills like this:
Another workaround would be to leave the skill definitions as they are and replacing all the addSkill() functions for each character with something like:
elshowdedarko wrote: ↑Sat Dec 19, 2020 8:53 pm
Hello! I would like to use this code in a prototype that I am making for a narrative game. I don't know how to code. But I have a problem...
I wish I could make enemies can be preset rather than random. How can I define what enemy will be in a specific battle ... if at all?
Hi, that is not possible yet, but I'll add it when I update it. Thanks for the suggestion.
For now, in setup.rpy all monsters are added to the "wild_monsters" variable as a list. You can edit this list so it will choose randomly between another set of monsters.