Hierarchy

Properties

creatures: {
    aberrantSpawns: ThreeStateButtonState;
    chanceToSpawnScared: number;
    creature: default<CreatureType, IGameOptionsCreature>;
    damageMultiplier: number;
    healthMultiplier: number;
    peaceful: boolean;
    spawnLimit: number;
    tameHealthMultiplier: number;
    tameTimeMutiplier: number;
}

Type declaration

  • aberrantSpawns: ThreeStateButtonState

    Param

    Only aberrants can spawn

    Param

    Only non-aberrants can spawn

    Param

    Either aberrants or non-aberrants can spawn

  • chanceToSpawnScared: number

    Chance for creature to spawn as scared (uses Random.chance)

  • creature: default<CreatureType, IGameOptionsCreature>

    Custom options for each creature.

  • damageMultiplier: number

    Multiplier for damage of creatures

  • healthMultiplier: number

    Multiplier for health of creatures

  • peaceful: boolean

    Whether creatures attack when unprovoked

  • spawnLimit: number

    Maximum number of creatures that can spawn in a world

  • tameHealthMultiplier: number

    Multiplier for how much max/min HP bonus is given on each tame

  • tameTimeMutiplier: number

    Multiplier for how long each tame lasts

disableMods: boolean

Whether mods should be disabled

island: {
    applyTravelingEffects: boolean;
    maxTravelTime: number;
    startingBiomeType: BiomeType;
}

Type declaration

  • applyTravelingEffects: boolean

    Traveling effect options

  • maxTravelTime: number

    Maximum amount of turns to tick when traveling

  • startingBiomeType: BiomeType

    Biome type for the first island

items: {
    decayMultiplier: number;
    durabilityMultiplier: number;
}

Type declaration

  • decayMultiplier: number

    Multiplier for decay of items.

  • durabilityMultiplier: number

    A multiplier for the durability of each item globally.

milestoneModifiers: Set<Milestone>
npcs: {
    merchants: {
        allowSpawning: boolean;
        initialItems: default[];
        priceMultiplier: number;
        spawnCapMultiplier: number;
    };
}

Type declaration

  • merchants: {
        allowSpawning: boolean;
        initialItems: default[];
        priceMultiplier: number;
        spawnCapMultiplier: number;
    }
    • allowSpawning: boolean

      Can spawn at all.

    • initialItems: default[]

      The number of items a merchant spawns with.

    • priceMultiplier: number

      A multiplier for the price of each merchant item.

    • spawnCapMultiplier: number

      A multiplier for the merchant spawn cap (which is based on civilization score and this value).

randomEvents: boolean
respawn: boolean

Whether players respawn when they die

rest: {
    startDelay?: number;
    tickInterval?: number;
}

Type declaration

  • Optional startDelay?: number

    How long to delay before resting begins

  • Optional tickInterval?: number

    Delay between rest ticks

time: {
    dayLength?: number;
    dayPercent?: number;
    frozen: boolean;
    initial: number;
}

Type declaration

  • Optional dayLength?: number

    The number of turns/ticks in a day.

  • Optional dayPercent?: number

    A number between 0 and 1 representing how much of the day is "daytime" and how much of the day is "night time".

  • frozen: boolean

    Whether time never passes

  • initial: number

    A number between 0 and 1, where 0 is the start of the day and 1 is the end.

Generated using TypeDoc