Welcome to Unknown Horizons’s documentation!

Contents:

Buildings Overview

Sailors

Warehouse

b0x001
r-99 r-98 r001 r004 x y
5 0 1000 12 3 3
Produces: r019

Storage Tent

Extends stock, expands settlement range and provides collectors.

b0x002
r-99 r-98 r001 r004 r006 x y
10 0 350 4 1 2 2

Tent

Houses your inhabitants.

b0x003 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | x | y |
+——–+——–+——–+——–+——–+——–+
| 0 | 0 | 100 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+
Produces: r014

Main Square

Supplies citizens with goods. Provides community.

b0x004
r-99 r-98 r001 r004 x y
0 0 1000 5 6 6

Pavilion

Fulfills religious needs of sailors.

b0x005 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 15 | 5 | 500 | 5 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r011

Signal Fire

Allows the player to trade with the free trader.

b0x006
r-99 r-98 r001 r004 x y
0 0 50 5 1 1

Lumberjack Tent

Chops down trees and turns them into boards.

b0x008 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+
| 5 | 0 | 250 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+
Produces: r004

Hunter’s Tent

Hunts wild forest animals, produces food.

b0x009 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 5 | 0 | 250 | 2 | 1 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r005

Ruined Tent

b0x010
r-99 r-98 x y
0 0 2 2

Fisherman’s Tent

Fishes the sea, produces food.

b0x011 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 5 | 0 | 250 | 3 | 1 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r005

Lookout

Expands settlement range.

b0x013
r-99 r-98 r001 r004 x y
5 0 50 2 1 1

Trail

Needed for collecting goods.

b0x015
r-99 r-98 r001 x y
0 0 5 1 1

Tree

Provides lumber. Chopped down by lumberjacks.

b0x017 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 50 | 1 | 1 |
+——–+——–+——–+——–+——–+
Produces: r008 r012

Clay Deposit

b0x023
r-99 r-98 x y
0 0 3 3

Fish Deposit

b0x033 | +——–+——–+——–+——–+
| r-99 | r-98 | x | y |
+——–+——–+——–+——–+
| 0 | 0 | 2 | 2 |
+——–+——–+——–+——–+
Produces: r028

Mountain

b0x034
r-99 r-98 x y
0 0 5 5

Pioneers

Warehouse

b1x001 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | x | y |
+——–+——–+——–+——–+——–+——–+
| 5 | 0 | 1000 | 12 | 3 | 3 |
+——–+——–+——–+——–+——–+——–+
Produces: r019

Storage Hut

Extends stock, expands settlement range and provides collectors.

b1x002
r-99 r-98 r001 r004 r006 x y
10 0 350 4 1 2 2

Hut

Houses your inhabitants.

b1x003 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | x | y |
+——–+——–+——–+——–+——–+——–+
| 0 | 0 | 100 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+
Produces: r014

Main Square

Supplies citizens with goods. Provides community.

b1x004
r-99 r-98 r001 r004 x y
0 0 1000 5 6 6

Pavilion

Fulfills religious needs of sailors.

b1x005 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 15 | 5 | 500 | 5 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r011

Signal Fire

Allows the player to trade with the free trader.

b1x006
r-99 r-98 r001 r004 x y
0 0 50 5 1 1

Weaver’s Hut

Turns lamb wool into cloth.

b1x007 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 250 | 3 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r003

Lumberjack Hut

Chops down trees and turns them into boards.

b1x008 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+
| 5 | 0 | 250 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+
Produces: r004

Boat Builder

Builds boats and small ships. Built on coast.

b1x012 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 25 | 10 | 500 | 4 | 3 | 3 | 3 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r1000001 r1000020

Gravel Path

Needed for collecting goods.

b1x015
r-99 r-98 r001 x y
0 0 5 1 1

Pasture

Raises sheep. Produces wool. Needs a farm.

b1x018 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | x | y |
+——–+——–+——–+——–+——–+——–+
| 0 | 0 | 100 | 1 | 3 | 3 |
+——–+——–+——–+——–+——–+——–+
Produces: r002

Potato Field

Yields food. Needs a farm.

b1x019 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 150 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r015

Farm

Grows field crops and raises livestock.

b1x020 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 500 | 4 | 2 | 3 | 3 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r035 r036 r005 r038 r010 r043 r046 r018 r054 r090 r060 r058 r031

Village school

Provides education.

b1x021 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 15 | 5 | 500 | 4 | 4 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r016

Sugar Field

Used in liquor production. Needs a farm.

b1x022 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 150 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r017

Brickyard

Turns clay into bricks.

b1x024 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 15 | 5 | 500 | 6 | 1 | 2 | 4 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r007

Clay Pit

Gets clay from deposit.

b1x025 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 15 | 5 | 500 | 10 | 2 | 3 | 3 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r021

Distillery

Turns sugar into liquor.

b1x026 | +——–+——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 250 | 2 | 2 | 4 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+——–+
Produces: r022

Wooden Tower

Defends your settlement.

b1x044
r-99 r-98 r001 r004 r006 r040 x y
10 0 500 12 3 2 2 2

Fire Station

Extinguishes fires.

b1x045
r-99 r-98 r001 r004 r006 r007 x y
15 5 750 3 2 4 2 2

Brewery

Consumes hops. Produces Beer.

b1x068 | +——–+——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 250 | 2 | 2 | 4 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+——–+
Produces: r091

Settlers

Warehouse

b2x001 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | x | y |
+——–+——–+——–+——–+——–+——–+
| 5 | 0 | 1000 | 12 | 3 | 3 |
+——–+——–+——–+——–+——–+——–+
Produces: r019

House

Houses your inhabitants.

b2x003 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | x | y |
+——–+——–+——–+——–+——–+——–+
| 0 | 0 | 100 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+
Produces: r014

Main Square

Supplies citizens with goods. Provides community.

b2x004
r-99 r-98 r001 r004 x y
0 0 1000 5 6 6

Mine

Gets iron ore from deposit.

b2x028 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 15 | 5 | 500 | 10 | 2 | 5 | 5 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r025

Smeltery

Refines all kind of ores.

b2x029 | +——–+——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+——–+
| 50 | 15 | 1250 | 8 | 4 | 6 | 4 | 4 |
+——–+——–+——–+——–+——–+——–+——–+——–+
Produces: r026

Toolmaker

Produces tools out of iron.

b2x030 | +——–+——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 500 | 2 | 2 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+——–+
Produces: r006

Charcoal Burning

Burns a lot of boards.

b2x031 | +——–+——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 250 | 2 | 1 | 3 | 2 | 3 |
+——–+——–+——–+——–+——–+——–+——–+——–+
Produces: r023

Tavern

Provides get-together.

b2x032 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 5 | 0 | 250 | 4 | 4 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r027

Salt Ponds

Evaporates salt. Built on sea coast.

b2x035 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 350 | 4 | 2 | 3 | 3 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r029

Tobacco Field

Produces tobacco. Needs a farm.

b2x036 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 150 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r030

Tobacconist

Produces tobaccos out of tobacco.

b2x037 | +——–+——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 250 | 1 | 2 | 4 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+——–+
Produces: r032

Cattle Run

Raises cattle. Needs a farm.

b2x038 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | x | y |
+——–+——–+——–+——–+——–+——–+
| 0 | 0 | 100 | 1 | 3 | 3 |
+——–+——–+——–+——–+——–+——–+
Produces: r033

Herbary

Produces herbs. Needs a farm.

b2x040 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 150 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r037

Butchery

Needs pigs or cattle. Produces food.

b2x041 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r006 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 15 | 5 | 500 | 3 | 4 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r005

Doctor

Treats diseases. Consumes herbs.

b2x042
r-99 r-98 r001 r004 r006 r007 x y
20 5 500 3 3 3 2 2

Spice Field

Grows spices. Needs a farm.

b2x049 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 150 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r045

Blender

Produces condiments out of spices.

b2x050 | +——–+——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 500 | 3 | 2 | 3 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+——–+
Produces: r047

Barracks

Recruits units suitable for ground combat.

b2x053 | +——–+——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+——–+
| 25 | 10 | 1000 | 6 | 4 | 8 | 3 | 3 |
+——–+——–+——–+——–+——–+——–+——–+——–+
Produces: r1000023

Stone Pit

Gets stone from a mountain.

b2x054 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 15 | 5 | 1 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r052

Stonemason

Carves stone tops into bricks.

b2x055 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 15 | 5 | 1 | 2 | 2 |
+——–+——–+——–+——–+——–+
Produces: r007

Weaponsmith

Produces weapons out of iron.

b2x066 | +——–+——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r006 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 500 | 2 | 2 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+——–+
Produces: r041

Citizens

Warehouse

b3x001 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | x | y |
+——–+——–+——–+——–+——–+——–+
| 5 | 0 | 1000 | 12 | 3 | 3 |
+——–+——–+——–+——–+——–+——–+
Produces: r019

Stone house

Houses your inhabitants.

b3x003 | +——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | x | y |
+——–+——–+——–+——–+——–+——–+
| 0 | 0 | 100 | 2 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+
Produces: r014

Main Square

Supplies citizens with goods. Provides community.

b3x004
r-99 r-98 r001 r004 x y
0 0 1000 5 6 6

Cobblestone Street

Needed for collecting goods.

b3x015
r-99 r-98 r001 x y
0 0 5 1 1

Corn Field

Yields corn. Needs a farm.

b3x046 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 150 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r042

Windmill

Grinds corn into flour.

b3x047 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 10 | 0 | 400 | 4 | 5 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r044

Bakery

Consumes flour. Produces food.

b3x048 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 20 | 5 | 500 | 2 | 3 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r005

Cocoa Field

Produces cocoa beans used for confectionery. Needs a farm.

b3x060 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 150 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r053

Vineyard

Produces grapes for use in wine and confectionery. Needs a farm.

b3x061 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 150 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r057

Alvearies

Keeps bees. Produces honeycombs used for confectionery. Needs a farm.

b3x062 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 150 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r059

Pastry Shop

Produces all kinds of confectionery.

b3x063 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 25 | 10 | 500 | 2 | 3 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r055

Winery

Produces wine out of grapes.

b3x065 | +——–+——–+——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | r004 | r007 | x | y |
+——–+——–+——–+——–+——–+——–+——–+
| 20 | 5 | 500 | 2 | 3 | 2 | 2 |
+——–+——–+——–+——–+——–+——–+——–+
Produces: r022

Hop Field

Yields hop. Needs a farm.

b3x069 | +——–+——–+——–+——–+——–+
| r-99 | r-98 | r001 | x | y |
+——–+——–+——–+——–+——–+
| 0 | 0 | 150 | 3 | 3 |
+——–+——–+——–+——–+——–+
Produces: r089

Scenario

Actions

alter_inventory(resource, amount)

Alters the inventory of each settlement.

change_increment(tier)

Changes the tier of the settlements.

db_message(database_message_id)

Shows a message with predefined text in the messagewidget.

goal_reached(goal_number)

The player reaches a certain goal in the current scenario.

highlight_position(where, play_sound, color)

Highlights a position on the minimap. where: (x, y) coordinate tuple color is a optional parameter that defines the color of the highlight.

logbook(*parameters)

Shows a logbook entry and opens the logbook after some seconds. Displays a YAML-defined notification message on logbook close.

See widgets.logbook:add_captainslog_entry for parameter documentation.

lose()

The player fails the current scenario.

message(type, *messages)

Shows a message with custom text in the messagewidget. If you pass more than one message, they are shown simultaneously.

set_var(variable, value)

Assigns values to scenario variables. Overwrites previous assignments to the same variable.

spawn_ships(owner_id, ship_id, number, *position)

Creates a number of ships controlled by a certain player around a position on the map.

wait(seconds)

Postpones any other scenario events for a certain amount of seconds.

win()

The player wins the current scenario.

Conditions

building_in_range(building_class1, building_class2)

Checks whether there is a building_class2 in range of a building_class1.

building_num_of_type_greater(building_class, limit)

Returns whether any player settlement has more than limit buildings of type building_class.

buildings_connected_to_building_gt(building_class, class2, limit)

Checks whether more than limit of building_class type buildings are connected to any building of type class2.

buildings_connected_to_building_lt(building_class, class2, limit)

Checks whether less than limit of building_class type buildings are connected to any building of type class2.

buildings_connected_to_warehouse_gt(building_class, limit)

Checks whether more than limit of building_class type buildings are connected to a warehouse or storage.

buildings_connected_to_warehouse_lt(building_class, limit)

Checks whether less than limit of building_class type buildings are connected to a warehouse or storage.

game_started()

Always return True. Used for one-off events

player_balance_greater(limit)

Returns whether the cumulative balance of all player settlements is higher than limit.

player_gold_greater(limit)

Returns whether the player has more gold than limit.

player_gold_less(limit)

Returns whether the player has less gold than limit.

player_inhabitants_greater(limit)

Returns whether all player settlements combined have more than limit inhabitants.

player_number_of_ships_gt(player_id, limit)

Returns whether the number of ships owned by the player player_id is greater than limit.

player_number_of_ships_lt(player_id, limit)

Returns whether the number of ships owned by the player player_id is less than limit.

player_produced_res_greater(resource, limit)

Returns whether more than limit of the resource resource have been produced in all player settlements combined.

player_res_stored_greater(resource, limit)

Returns whether all player settlements combined have more than limit of resource in their inventories.

player_res_stored_less(resource, limit)

Returns whether all player settlements combined have less than limit of resource in their inventories.

player_total_earnings_greater(limit)

Returns whether the player has earned more than limit money with trading in all settlements combined. Profit = sell_income - buy_expenses.

settlement_balance_greater(limit)

Returns whether the balance of at least one player settlement is higher than limit.

settlement_inhabitants_greater(limit)

Returns whether at least one player settlement has more than limit inhabitants.

settlement_produced_res_greater(resource, limit)

Returns whether more than limit resource have been produced in any player settlement.

settlement_res_stored_greater(resource, limit)

Returns whether at least one player settlement has more than limit of resource in its inventory.

settlements_num_greater(limit)

Returns whether the number of player settlements is greater than limit.

settler_level_greater(limit)

Returns whether the highest tier reached in any player settlement is greater than limit.

time_passed(seconds)

Returns whether at least seconds seconds have passed since the game started.

var_eq(variable, value)

Returns whether variable has a value equal to value. Returns False if variable was never set in the current session.

var_gt(variable, value)

Returns whether variable has a value greater than value. Returns False if variable was never set in the current session.

var_lt(variable, value)

Returns whether variable has a value less than value. Returns False if variable was never set in the current session.

Indices and tables