//! Copyright (C) Call of Nil contributors //! SPDX-License-Identifier: AGPL-3.0-only /** * Influence is a special resource which represents the political power of a ruler * and is used to determine how many cities they can simultaneously control. * * The amount of influence needed to control a number `n` of cities is given by * the formula `n * (n + 1) / 2`, meaning it increases as a triangular number. */ export type Influence = number;