npc-mind
v1.1.0
Published
Library with NPC mind related classes.
Downloads
17
Readme
Description
The library provides a couple of classes that model NPC mind.
Provided classes
Happiness
Models NPC happiness that goes from 0 (lowest) to 100 (maximum). It allows to increase or decrease it with absolute values or by percentage.
Personality
Models NPC personality traits which are opposite, like pesimistic-optimistic. It models each pair as an integer from 0 to 100, being 0 totally one of the traits and 100 totally the opposite.