Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[creature] Define dominance pattern for traits in multi-racial creatures #30

Open
joelalejandro opened this issue Aug 24, 2019 · 0 comments
Labels
module: creature question Further information is requested
Milestone

Comments

@joelalejandro
Copy link
Member

Suppose we have a creature that is half-human, half-cat.

We want to create it using multiple races, as described in #28. So we define Human and Feline as races:

const HumanRace = new Race({ 
  age: 90, 
  alignment: CreatureAlignment.Neutral, 
  size: CreatureSize.Medium 
});
const CatRace = new Race({ 
  age: 15, 
  alignment: CreatureAlignment.NeutralEvil, 
  size: CreatureSize.Small 
});

Such hybrid creature could be expressed as:

const FelineHumanoid = new Creature({
  races: [HumanRace, CatRace],
  name: "Feline Humanoid"
});

How would the traits be defined for this instance?

  • A possible way would randomize between the ranges of possibilities defined by each race. So, for the age, any feline humanoid creature would have a maximum age between 15 and 90, they could be either Small or Medium in size and be aligned as Neutral or NeutralEvil.

  • We could cascade the values from race A to race B (which would make the races list order-sensitive).

  • We could drop "multi-racial" support in terms of defining hybrid races as specific races, such as:

    const FelineHumanoid = new Race({ /* ... */ });
@joelalejandro joelalejandro added question Further information is requested module: creature labels Aug 24, 2019
@joelalejandro joelalejandro added this to the Genesis (1.0) milestone Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: creature question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant