Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Races and Max Health (suggestions) #9

Open
KaiIsCool opened this issue Mar 4, 2018 · 0 comments
Open

Races and Max Health (suggestions) #9

KaiIsCool opened this issue Mar 4, 2018 · 0 comments

Comments

@KaiIsCool
Copy link

Hello! Before i begin, i just want to say that i love the adventures format and the tools it provides, but there are 2 suggestions that i think would make it even better:

suggestion 1: Races
you should add races to the format, maybe starting off with, for example, elf, dwarf, and human, but like with items give the player the ability to add their own by specifying a name and position of the race's portrait on a spreadsheet. Your race could be shown by displaying the portrait in between the name and the inventory. This would be useful to programmers because you could have several different races, and then generate stats based on those races using the already in place but hidden stats system, i.e. orcs have naturally higher strength or elves have naturally bad health.

some example codes:
character.setRace("orc"); //sets race to orc
(character.race); //outputs the character's race

P.S: this system could also work as a class system, where you could be an archer, a warrior, a healer, etc

suggestion 2: Max health modification
Right now in adventures, the max health of the player is locked at 20. I think it would be really useful to be able to change that, for example if your game has a level system and you want to be able to increase the player's max health every time they level up, or if you want to tie the player's max health to a stat.

here are some example codes, plus rewrites of old health code so it works better with the new ones:
character.health.damage("5") //does 5 damage to the player
character.health.heal("12") // heals the player by 12 hp
character.health.set("4") //sets the player's current health to 4
(character.health) // outputs the player's current health
character.health.maxIncrease("5") //increases the player's max health by 5
character.health.maxDecrease("10") //decreases the player's max health by 10
character.health.maxSet("100") //set's the player's max health to 100
(character.health.max) //outputs the player's max health

thanks for reading my suggestion, feel free to implement or ignore it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant