Skip to content

get_same_age_bias

Syntax

get_same_age_bias

Returns

Returns the same_age_bias value.

Description

This factor represents the tendency for agents of similar age to interact with one another in a given group.

Examples

A same_age_bias value is specified like so:

place Hogwarts {
    same_age_bias = 42
}

When an agent is in Hogwarts, get_same_age_bias will return 42.

See Also