Behavior

Creatures in Rain World vary widely in shape and size, but also have distinct behavior patterns. Creatures have vastly complicated AI, and their behavior can be divided into three different categories: Relationship, Reputation, and Personality.

Relationship
Most creatures in Rain World use what is called a RelationshipTracker, which is triggered upon a creature realizing another is nearby. These Relationships, and their values, are what determine how a creature behaves and interacts with the world. Relationships are mapped with a range of 0-1, with a 0 having no effect on behavior, and a 1 having the highest possible effect.

The following list is all possible Relationships a creature can have with another:


 * Ignores
 * Eats
 * Afraid
 * StayOutofWay
 * AgressiveRival
 * Attacks
 * Uncomfortable
 * Antagonizes
 * PlaysWith
 * SocialDependent
 * Pack

Relationships are not static, and vary depending on Reputation, Personality, and player behavior.

Trackers
Trackers typically correspond to Relationships. Some creatures have unique Trackers, such as a Dropwig's CeilingSitModule. The following are the most commonly used Trackers:
 * ThreatTracker - Afraid Relationship
 * PreyTracker - Eats and Attacks Relationships
 * RainTracker - fear of rain
 * InjuryTracker - how hurt a creature is
 * have a unique LizardInjuryTracker
 * AgressionTracker - AgressiveRival value, as well as how much a creature wants to fight with their rival
 * NoiseTracker - heard sounds and a creature's desire to explore them
 * FriendTracker - creatures' desire to follow a 'friend'
 * This Tracker is used for tamed Lizards instead of a Relationship. In Downpour, it is also used for s.

Reputation
Certain creatures in Rain World have a Reputation system and display different behaviors as a result. This system is entirely invisible to the player outside of the passage and, to a degree, taming Lizards. Different actions cause varying fluctuations in Reputation; helping a or trading items causes Reputation to increase, while theft or violence causes a decrease.

Reputation is broken down into four different variables:
 * Regional Reputation - your Reputation within the current Region
 * Global Reputation - affects the behavior of all creatures in the world
 * Filtered Local - the player's current effective Reputation
 * All Reputation - used for Reputation calculations
 * Low All Reputation increases Reputation loss from violence.
 * Low All Reputation reduces Reputation gain from kindness.
 * High All Reputation reduces Reputation loss from violence.
 * High All Reputation increases Reputation gain from kindness.
 * All Reputation does not affect Scavengers.
 * All Reputation is impacted by killing any kind of creature, even those without Reputation.
 * This does not work vice versa. All Reputation can only be raised through positive interactions with a creature that uses the Reputation system.

At its simplest, low Reputation causes aggression and fear, while high Reputation causes neutrality and friendliness.

The table below lists all creatures with a Reputation system and their resulting relationships:

* 'Starting Relationships' refers to 's starting Reputation, which is around 0.

† While Garbage Worms are included in the Reputation table, there is no way to raise or lower Reputation with them outside of influencing your All Rep. Their aggression is instead caused by a state called angryAt.

‡ Jetfish that have never been in water have an Ignores Relationship with the player. Jetfish become Afraid of the player for a short amount of time after being thrown.

Personality
Certain creatures, Scavengers and Lizards most notably, have Personality modifiers that change the way they interact with Slugcat and other creatures. The following lists all possible Personality traits:


 * Aggression
 * Bravery
 * Dominance
 * Energy
 * Nervous
 * Sympathy

These personality traits can affect each other, appearance, and relationships. The following tables list all effects that Personality has on creature behavior:

Trivia

 * Aggression is misspelled as Agression in the code.
 * In v1.5, Reputation can only be decreased.
 * Killing causes the highest drop in All Reputation, reducing it by -7.5