Search results
313 packages found
TypeScript declaration files for modding Civ VI using TypeScriptToLua transpiler
The core models relating to building and launching a `Spaceship`, including `Part`s (of which the `Spaceship` is constructed) and the associated `Rule`s.
Contains the core models relating to `Unit`s.
Includes the core functionality to have `Unit`s that can carry other units (`Trireme`, `Sail`, etc. in Civilization).
The core elements of what a `Player` is, including the `CurrentPlayerRegistry` and `PlayerAction`s.
The core building-blocks for the concepts of a `World` and `Tile` based environment, as well as a bucket for `Tile`s (`Tileset`) with some helper functions that are useful on such a collection.
Contains base functionality for the concept of a `City`, including the associated `Rule`s, `CityRegistry` and `AdditionalData`.
The repo contains the `CityBuild` and associated objects that deal with building items in `City`s.
A data exchange object for converting a subset of a class instances to plain JSON.
This repo stores the core concept of a `Turn` and some basic `Rule`s and events around the `Start` and `End` of the turn. This is the basis for a turn-based game. Packages like `civ1-player` utilise these to allow a `Player` to perform their actions, bef
Guide an engineered people as they settle an alien world.
Contains base entities for basic diplomacy.
A framework for building modular AI. The idea being that `Strategy`s can handle one of many `PlayerAction`s and it should be easy enough to register new `Strategy`s to handle newly added `PlayerAction`s or specific custom `Unit`s and their actions (`Carav
Classes related to the concept of a `Player` having a treasury of a `Yield`.
A `Yield` is a key element in Civilization and can refer to anything from the `Attack` value of a `Unit` to, the `Food` returned for a `Tile` or the `Unhappiness` produced by a `City`.
This package provides the core `GoodyHut` class and associated `Rule`s.
Contains the core model for a `Wonder` (which extends a `CityImprovement`). `Rule`s governing `Wonder`s are game specific (national `Wonder`s in later games for example) so restrictions on how many can be built are contained in the `civ1-*` modules.
A `Player`-orientated `World` that only includes `Tile`s the `Player` has seen and returns `UndiscoveredTile`s otherwise.
The basics of having the concept of research. Includes `Advance`s and associated `Registry`s and the `PlayerResearch` class to manage a `Player`s research projects and progress towards it.
This component is used to create other registries that contain object data. This is a stub that contains all the shared methods that other classes will extend replacing the constructor with a call to the parent passing in the supported types that can be s