Faction mods can play in Timber Empires. The mod says which base its faction is built on (Folktails or Iron Teeth), and the faction gets that base’s barracks, walls, siege machines, troop outfits and models. Anything the faction mod ships of its own replaces the borrowed version.
A faction needs no code, just one blueprint file. Mods with code get a small API on top, found by reflection, so they don’t reference Timber Empires to build.
Timber Empires runs on BeaverBuddies Co-Op/PvP Edition. Anything a mod changes in a multiplayer game has to follow BeaverBuddies’ rules or the game desyncs: read its Modding.md too.
The files this page mentions (Troops/TroopStats.blueprint.json, FactionProfiles/, WorkerOutfits/) are in Timber Empires’ mod folder once it’s installed.
Adding a faction
Ship a blueprint like this in your mod, in a file of its own (TimberEmpires/TimberEmpiresFaction.Emberpelts.blueprint.json, say):
{
"TimberEmpiresFactionSpec": {
"FactionId": "Emberpelts",
"Base": "Folktails",
"Barracks": [ "Spearman", "Warrior", "Berserker" ],
"Range": [ "Archer", "Slinger" ]
}
}
| Field | What it does |
|---|---|
FactionId | Your faction’s Id, as in its FactionSpec |
Base | Folktails or IronTeeth: whose Timber Empires buildings, models and outfits your faction uses |
Barracks | The troop kinds its barracks train, in the order the barracks lists them. A new barracks trains spearmen if the list has them, else the first. Left out, the base’s |
Range | The kinds its archery range trains. Left out, the base’s |
BanditShooters, BanditElite | The shooters bandit camps have in a game of your faction, and the heavy hitter the strongest camps add. Left out, the base’s |
AIPlayable | AI opponents can play your faction. Leave it out unless you’ve watched the AI build and fight with it |
Default | Only for profiles a mod ships for someone else’s faction: any profile without it takes its place |
The kinds for Barracks and Range are Warrior, Spearman, Archer, Herbalist, Sapper, Arquebusier, Slinger and Berserker. Any of them works for any faction. An unknown name logs a warning, and a list with nothing valid trains spearmen.
Monk is a kind too, but monks train at the Monastery, which every faction gets. Don’t list them in Barracks or Range.
How each kind fights and what it costs is in Troops/TroopStats.blueprint.json, and your faction can change any of it (see below). Spearmen and archers cost no science and the rest need unlocking, so list a free kind first or a new barracks can’t train anyone until the player pays for it.
The base’s buildings. BeaverBuddies loads a faction’s buildings from its collections, so list the base’s Timber Empires and Halloween buildings for your faction in a FactionCollectionsSpec blueprint of its own, next to the profile. A second one with "RequiredMod": "archipelago" adds the base’s ships when Archipelago is there:
{
"FactionCollectionsSpec": {
"FactionId": "Emberpelts",
"Collections": [ "TimberEmpires.Buildings.Folktails", "BeaverBuddies.Buildings.Folktails", "TimberEmpires.Horde.Folktails" ]
}
}
Why its own file. The game reads a blueprint only when something asks for a spec in it. Without Timber Empires nothing asks for TimberEmpiresFactionSpec, so the file sits unread. Put the spec inside your faction’s own blueprint and the game reads it while loading factions, doesn’t know the spec, and stops.
What the base gives you. Timber Empires adds the base’s material collection to your faction’s materials (its buildings are drawn with them). Its troops start from the base’s numbers too (a faction built on Folktails walks as fast as Folktails do). Your faction keeps its own District Center, homes, food and goods. Timber Empires’ weapons and siege goods are in the Common good collection, which every faction gets.
A troop’s Upkeep good (the monk’s books) isn’t swapped. If your faction has no books, set your monks’ Upkeep in your stats (see below), as Iron Teeth do with coffee.
Without a profile. A faction with no profile plays as Folktails, with a warning in the log. Timber Empires ships one for Emberpelts, marked "Default": true. A profile a faction mod ships for its own faction replaces it.
Your own numbers
A faction can have its own troop and building numbers. Ship them as another blueprint of its own (TimberEmpires/TimberEmpiresStats.Emberpelts.blueprint.json), with lines like the ones in Troops/TroopStats.blueprint.json but only the numbers you change:
{
"TimberEmpiresFactionStatsSpec": {
"FactionId": "Emberpelts",
"Kinds": [
{ "Kind": "Spearman", "Damage": 90 },
{ "Kind": "Berserker", "Pace": 1.1, "ScienceCost": 800 }
],
"Buildings": [
{ "Name": "Catapult", "Health": 160, "ReloadHours": 1.4 }
]
}
}
Kind lines (by Kind) can change any field the stats file has for that kind:
| Field | What it is |
|---|---|
Damage | Damage per hour of fighting. Troops have 100 health |
Taken | Multiplies the damage it takes |
Reach, MinRange | How far it hits from, and how close is too close for a shooter |
Aggro | How far it goes after enemies on its own |
Pace | Walking speed against a beaver’s |
Shoots | Whether it’s a shooter (shots are stopped by walls, turned aside by shields) |
MachineDamage, StructureDamage | Damage per hour to machines and to buildings |
Heal | Health per hour it heals others |
StrongAgainst, StrongFactor | Kinds it hits harder (a comma-separated list) and by how much |
ZombieFactor | Multiplier on its damage against the Horde’s zombies (1 when left out). It kills Damage times this over the stats file’s ZombieHealth (12) zombies an hour |
Worth | Rank points for bringing it down |
TrainingHours, ScienceCost, TrainingScience | Training time, the science to unlock it, and science paid per recruit (monks) |
Weapon, Recruit, RecruitAmount, Upkeep, Outfit | The good it trains with, the plain good each recruit uses up once as it starts training (militia’s logs, scouts’ berries) and how many (1 if left out), the good it uses up (monks), and its outfit’s Id |
Sight | How far it sees in tiles when that’s further than it reaches and notices enemies from (scouts) |
Building lines (by Name) work the same for siege machines, walls, hoardings and the infirmary. A line matches like the stats file does: Catapult.Folktails for one faction’s catapult, WallTower.Round for the round tower, Catapult for every catapult. A faction can only change buildings the stats file has a line for.
A siege machine’s line (Catapult, Ballista and SiegeTrebuchet) has these:
| Field | What it is |
|---|---|
Health, TilesPerHour | How much battering it takes, and how fast its crew rolls it, in tiles an hour |
CrewCapacity, MinCrew | How many troops fit aboard, and how many it needs to work |
MinRange, MaxRange | How close is too close and how far it reaches, in tiles |
MinRangeOnTower, MaxRangeOnTower | The same when it stands on a round tower. Leave them out and it’s the same as on the ground |
TurnDegreesPerHour, TurnDegreesPerHourOnTower | How fast its crew swings it round, on the ground and on a tower (0 on a tower: the same) |
AmmoCapacity, AmmoCapacityOnTower | How much of its good its store holds, on the ground and on a tower (0 on a tower: the same). The good is in its building blueprint |
ReloadHours, FlightHours, Spread, SplashRadius, Damage, StructureDamage | Reload time, the shot’s flight, how far it strays, how wide it hits, and the damage to beavers and to buildings |
ZombieFactor | Multiplier on its damage against the Horde’s zombies (shots, a hoarding’s logs or oil, a flamethrower’s flames), 1 when left out. Kills Damage times this over ZombieHealth on every tile of the splash. Fire works best: the flamethrower’s is 6, any weapon that doesn’t burn is 2 at most |
Numbers stack in order: the stats file’s, then your base’s, then yours. FactionProfiles/TimberEmpiresStats.Folktails.blueprint.json and TimberEmpiresStats.IronTeeth.blueprint.json show how the bases differ (Folktails walk faster and hit a little harder, Iron Teeth take less damage and their monks use coffee).
A line only changes your faction’s troops and buildings. Bandits use the stats file’s numbers, and the rest of it (ranks, high ground, healing, supply ranges, building health) is shared.
A siege machine’s ammunition good comes from its own building blueprint (GoodConsumingBuildingSpec). How much the machine holds is AmmoCapacity in the stats, which replaces what the blueprint’s hours of work would give. Machines your faction mod ships with no line in the stats file keep their blueprint’s.
Your own look
Timber Empires looks up every faction model under your faction’s name first, then the base’s. Ship an asset at the same path with your faction’s ID in place of Folktails or IronTeeth and it’s used instead.
| What | Timber Empires’ version | Yours |
|---|---|---|
| A troop’s outfit | WorkerOutfitSpec with Id Spearman (or any kind), WorkerType Beaver, FactionId Folktails | The same blueprint with your FactionId. Copy one from Timber Empires’ WorkerOutfits/ and change its textures or attachments |
| The supply cart | Buildings/WagonYard/SupplyCart.Folktails, SupplyCartLoad.Folktails | SupplyCart.Emberpelts, SupplyCartLoad.Emberpelts |
The owner’s color on a District Center comes from the owner color rules (Players/OwnerTints.blueprint.json), like every other building’s: they repaint the background of the faction symbol in the faction’s details texture, so a District Center drawn from it shows its owner there.
The game only loads the outfits of the faction being played, so Timber Empires reads troop outfits itself: your faction’s own, else its base’s, else whichever there is. Not every kind has an outfit for both bases (Folktails have no arquebusier, Iron Teeth no berserker or slinger), so ship your own if your profile mixes them.
Sounds. Your blueprints can use Timber Empires’ selection sounds by name: "SelectionSoundName": "TE.Barracks". The names are TE.Anvil, TE.Archery, TE.Barracks, TE.Boil, TE.Cart, TE.Chain, TE.Coins, TE.Gate, TE.Horn, TE.Knock, TE.LogRoll, TE.Monastery, TE.Monk, TE.SailSnap, TE.Siege and TE.Water.
Your own war boats
A war boat is blueprints only (it needs Archipelago installed). Copy Buildings/Cog/Cog.Folktails.blueprint.json or a WarBoat one into your mod under a template name of your own, change its model, size and ports, and ship it with:
- A template collection file of your own (
TemplateCollections/TemplateCollection.MyMod.blueprint.json) with"CollectionId": "TimberEmpires.Boats"and your blueprint inBlueprints, so it’s in the toolbar only when Archipelago is there. A file named like one of Timber Empires’ replaces it. Troops/TroopStats.blueprint.jsonwith only aBuildingsline named after your template (without the faction): its health, speed, crew and guns’ reach.
BoatSpec makes it a ship that goes on a Shipyard’s slip (its speed numbers are the stats file’s, so {} will do), and WarBoatSpec a war boat that takes troops aboard and fights. In ShipArmamentSpec, Ports are its gun ports in the model’s frame, Hull is where the hull lies in its footprint (X, Y, Width, Length, from the bow) and DeckSprite is the deck drawing the panel puts the ports over, bow to the left. Without DeckSprite it’s Sprites/TimberEmpires/Ships/<template>Deck.
Tools/Tests/Fixtures/CorvetteMod in Timber Empires’ repo is a complete example.
Mixed games
Every player plays the faction they pick, and their toolbar has only that faction’s buildings. Every game loads every installed faction, yours included, so a player can join with any of them without the host reloading. A Timber Empires building is in the toolbar of every faction built on its base: Iron Teeth and a faction built on Iron Teeth both get Barracks.IronTeeth. Which troops a building trains and how they walk follows the faction of the district it’s in.
BeaverBuddies’ My faction setting and its lobby list every faction the game has.
Multiplayer
Every player needs the same mods. BeaverBuddies compares the host’s factions with each player’s as they join and warns when they differ. Matchmaking downloads the mods a player is missing from the Workshop before the match starts, and skips a match when the Workshop can’t make them match.
A profile has to be the same on every machine. A blueprint is. From code, register it as your mod starts, on every machine (see below).
Game modes
Timber Empires adds PvE (timberempires.pve), PvP (timberempires.pvp) and Horde (timberempires.horde) to the Game Modes mod’s list, next to BeaverBuddies’ Co-op (bb.coop). A mod can add its own modes the same way, through the Game Modes mod’s GameModes.Modes.Add. Timber Empires plays any mode it doesn’t know as PvP. Horde (timberempires.horde) is a mode too.
The API
TimberEmpires.Modding.TimberEmpiresApi is a static class whose methods take and return only .NET, Unity and Timberborn types. Find it by name at runtime and bind each method to a delegate once. Without Timber Empires the lookup finds nothing and every call does nothing.
public static class TimberEmpiresBridge
{
private static readonly Type ApiType = AppDomain.CurrentDomain.GetAssemblies()
.Select(a => a.GetType("TimberEmpires.Modding.TimberEmpiresApi", false))
.FirstOrDefault(t => t != null);
private static readonly Dictionary<string, Delegate> Bound = new();
public static bool Available => ApiType != null;
private static T Bind<T>(string name) where T : Delegate
{
if (Bound.TryGetValue(name, out Delegate bound)) return (T)bound;
MethodInfo method = ApiType?.GetMethod(name, BindingFlags.Public | BindingFlags.Static);
T result = method == null ? null : (T)Delegate.CreateDelegate(typeof(T), method, false);
Bound[name] = result;
return result;
}
public static int Version => Bind<Func<int>>("Version")?.Invoke() ?? 0;
public static void RegisterFaction(string factionId, string baseFaction, string[] barracks, string[] range) =>
Bind<Action<string, string, string[], string[]>>("RegisterFaction")?.Invoke(factionId, baseFaction, barracks, range);
public static string OwnerOf(BaseComponent entity) => Bind<Func<BaseComponent, string>>("OwnerOf")?.Invoke(entity);
}
Bind the rest the same way, with delegate types matching the signatures below. List Timber Empires under OptionalMods in your manifest ({ "Id": "timberempires" }) so it loads first.
| Method | What it’s for |
|---|---|
int Version() | The API’s version, currently 1. A method that changes meaning bumps it; new methods don’t |
void RegisterFaction(string factionId, string base, string[] barracks, string[] range) | A faction’s profile from code, over any blueprint. Null lists take the base’s. Call it as your mod starts |
void SetAIPlayable(string factionId, bool playable) | Whether AI opponents can play your faction, over AIPlayable in its profile. Call it as your mod starts |
string BaseFactionOf(string factionId) | Folktails or IronTeeth |
string[] BarracksKinds(string factionId), string[] RangeKinds(string factionId) | The troop kinds the faction trains, by name |
string[] TroopKinds() | Every troop kind there is, monks included |
string FactionOf(BaseComponent building) | The faction a building belongs to: its toolbar’s, or the faction of its district |
string OwnerOf(BaseComponent entity) | The player a building, beaver or machine belongs to, as their BeaverBuddies player ID, or null. A machine a monk converted belongs to the monk’s side |
string PlayerName(string playerID), Color PlayerColor(string playerID) | What other players see. The color is clear until the player has one |
bool IsTroop(BaseComponent beaver), string TroopKindOf(BaseComponent beaver) | Whether a beaver is a troop (or a recruit), and its kind by name |
bool Friendly(string playerA, string playerB) | Whether two players are on one side: the same player, allies, or any two in PvE and Co-op |
string GameMode() | The game’s mode: gamemodes.classic (alone), bb.coop, timberempires.pve, timberempires.pvp or timberempires.horde |
Everything that reads the game (FactionOf, OwnerOf, the troop queries) answers the same on every machine, so it’s safe to call from ticks. Changes to the game still go through BeaverBuddies’ events.
Checklist
- Add a
TimberEmpiresFactionSpecblueprint in a file of its own. - Pick the base whose buildings fit your faction’s look, and the troops it trains.
- Set an
Upkeepfor its monks if your faction has no books. - Change your troops’ and machines’ numbers in a
TimberEmpiresFactionStatsSpecblueprint, if they should fight differently. - Ship your own troop outfits, supply cart and banner where the base’s look out of place.
- Start a game with your faction and Timber Empires, read the
[Factions]lines in the log, then play it next to each base faction. - Play it in multiplayer with BeaverBuddies’ debug mode on.
Blueprint specs
The components in Timber Empires’ and Archipelago’s building blueprints. Each page under Buildings and Troops has a collapsed “For modders” section with its own blueprint.
ArmoryStoreSpec
Makes a storage building keep arms only (troop weapons and gear, siege and ship ammunition) and turns away everything else.
BanditCampSpec
Makes the building a bandit camp: it spawns its bandits when a game starts, its loot can’t be taken and its fire burns until they’re all dead.
BanditCount: How many bandits the camp starts with. Stronger camps are better armed.
BanditLadderSpec
Marks a ladder as one bandits put up on a raid: it’s climbed from its own tile and taken down afterwards. Use it together with SiegeLadderSpec.
BarracksSpec
Makes the building train troops. With no field set it trains swordsmen, spearmen and the like.
Ranged: Trains archers and other shooters instead (an archery range). Default false.Monastery: Trains monks instead. Default false.Muster: Trains militia and scouts from plain logs and berries. Default false.
BatteringRamSpec
Makes the building a battering ram that a crew swings at walls, gates, towers, siege engines and dams. Its damage and speed come from the troop stats file.
CrewRange: No longer used. Accepted so older blueprints still load.
BoatEngineSpec
Gives a ship a steam engine that burns logs and water from its hold while it sails, for a faster crossing.
LogsPerHour: Logs burnt per hour while the ship is under way. Default 0.03.WaterPerHour: Water used per hour while under way. Default 0.1.SpeedBoost: How many times as fast the ship sails with the engine running. Default 1.5. Without logs or water it falls back to its crew’s rowing.
BoatSpec
Makes the template a ship: it sails, carries a crew and can only be placed on a Naval Workshop slip.
TilesPerHour: Speed with no wind, in tiles per hour. Default 50.WindTilesPerHour: Speed in the strongest wind, in tiles per hour. Weaker wind falls in between. Left out or 0, wind makes no difference.TurnDegreesPerHour: Turning speed with no wind, in degrees per hour. Left out or 0, the ship turns on the spot.WindTurnDegreesPerHour: Turning speed in the strongest wind, in degrees per hour. Left out or 0, wind makes no difference to turning.Draft: How deep the hull sits in the water at sea, in tiles. Default 0.6.
CastleUpgradeSpec
Lets a District Center be upgraded in place to a castle, paid in science and goods and built by its builders.
ScienceCost: Science its owner pays when the upgrade starts.Cost: Goods builders bring in, as a list of {“Id”, “Amount”}.WorkHours: Hours of building work the upgrade takes.Model: The castle model shown in place of the District Center.Scaffold: The scaffold model shown over it while it’s built.
CombatLockSpec
Controls whether the building can be placed or demolished beside enemy fighters.
AllowNearEnemies: Lets the building go up with enemies close by. Without it, it can’t. Default false.
FieldInfirmarySpec
Makes the building a field infirmary: a wheeled healing tub where badly hurt troops lie out of the fight and heal much faster than with a herbalist. Healing uses up extract and berries. Its numbers are in the troop stats file.
HordeOnlySpec
Puts the building in the toolbar of Horde games only.
LandClaimSpec
Claims the land in a circle around the building for its owner, so other players can’t build there. Where enemy claims overlap, each tile goes to the nearer one.
Radius: Radius of the claim, in tiles.
LookoutSpec
Makes the building see further through the fog of war, further still from high ground.
Sight: How far it sees, in tiles.
MineLauncherSpec
Makes the building release water mines, or explosive boats, from its panel button or its automation input. Each release takes a worker and water to launch into.
LaunchCoordinates: Where the mine or boat enters the water, in the building’s own tiles ({X, Y, Z}).LaunchHours: Hours each release takes.Boats: Sends out explosive boats instead of mines. Default false.LaunchCost: Goods each mine or boat uses up, as a list of {“Id”, “Amount”}.StoredLaunches: How many launches’ worth of goods it keeps in store.
MineNetSpec
Makes the building a floating boom with a net that catches drifting mines until it’s full. Chain several in a line to make a wall.
Capacity: Mines one segment holds before it’s full.
MineNetWinchSpec
Makes the building a winch on the bank that, while it has a worker, hauls in the catch of the nets chained to it and takes the mines apart into explosives.
WinchHours: Hours between hauls.
MoltenMetalSpec
Makes the building’s glowing metal and fire parts flow and glow orange. Looks only.
MooredMineSpec
Marks a spot in the water where a mine slipway anchors a mine. It sits still and goes off when a boat or a drifting mine comes close, or in another blast.
NavalWorkshopSpec
Makes the building a shipyard: it stands on the shore with a slip running out into the shallows, and ships can only be placed on that slip. The slip’s first row along (SlipY - 1) is the shed, which a ship’s bow sits against.
SlipX: Where the slip starts across the building, in the building’s own tiles.SlipY: Where the slip starts along the building, in tiles.SlipWidth: Slip width, in tiles.SlipLength: Slip length, in tiles.
NeedsSandSpec
Makes the building work only when standing on sand. Anywhere else its beavers don’t come and a status says so.
PalisadeGateSpec
Makes the building a gate with open, closed and automated modes. Auto open lets its own side through and shuts when enemies come near.
Passage: Where the way through is, in the building’s own tiles ({X, Y, Z}), for gates bigger than their passage.Bridge: A drawbridge’s tiles out from the passage, as a list of {X, Y, Z}. They’re walkable only while the gate is open.
PirateBoatSpec
Marks a boat as a bandit camp’s: it belongs to the bandits and the camp it came from, and sails under black sails.
ResinIgniterSpec
Makes the building a detonator for resin: built on a resin puddle, it sets the puddle alight when its input turns on, and takes another pulse for the next puddle laid there.
ResinPuddleSpec
Makes the building a puddle of resin that burns when lit, hurts everyone standing in it and spreads to touching puddles.
BurnHours: How long it burns once lit, in hours.DamagePerHour: Damage per hour to everyone standing in it.ZombieFactor: How many times as many of the Horde’s zombies it burns, on each of its tiles, as its damage alone would kill.CatchHours: Hours from the fire arrow landing to the flames taking hold.SpreadHours: Hours after it starts burning before touching puddles catch.Flames: Names of the flame effects shown over it while it burns.
RoundTowerSpec
Makes the building a round tower: open on top, with room for one catapult, ballista or trebuchet, which stands guard there on its own. A wall joins it at the middle of a side.
ShipArmamentSpec
Gives a ship gun ports where cannons can be mounted.
Ports: The gun ports, as a list of {“Side”, “Position”}. Side is -1 for the side towards X = 0 and 1 for the other. Position is the port’s middle in the model’s frame.PortArc: How far round the ports let a gun turn, as a share of the gun’s own arc. Default 1. Round ports in an iron hull hold it close, so use less; guns on an open deck swing freely.Hull: Where the hull lies in its footprint, as {X, Y, Width, Length}, in tiles with Y counted from the bow. The panel uses it to place the ports over the deck drawing.DeckSprite: The deck drawing the panel puts the ports over, bow to the left. Left out, it’s Sprites/TimberEmpires/Ships/TemplateNameDeck.
ShipCrewModeSpec
Lets a ship’s crew be civil (workers sail it) or military (troops aboard sail it and fire its guns). It can only be switched while the ship is ashore.
Military: Starts the ship with a military crew. Default false.
ShipHoldSpec
Gives a ship a hold that haulers load and unload like a warehouse, and that slows the ship as it fills.
Slots: How many kinds of goods it can be set to load at once. Default 5.Capacity: The most it holds, all goods together. Default 100.LoadedSpeed: The share of its speed it keeps with the hold full, less loaded in between. Default 0.6.LoadedTurn: The share of its turning it keeps with the hold full. Default 0.4.
SiegeEngineSpec
Makes the building a siege engine that fires at enemies in reach. Its range, reload and damage come from the troop stats file; the blueprint sets how it moves and looks.
FacingOffset: Which way the model faces when placed unturned, in degrees from the game’s +y. 0 for a trebuchet, 180 for wheeled engines.ArmPivot: Where the throwing arm pivots, in the building’s own space ({X, Y, Z}).ArmLength: Arm length above the pivot, in tiles. 0 means no arm, as on a ballista.CockedAngle: The arm’s angle when cocked, in degrees.ThrownAngle: The arm’s angle after the throw, in degrees.RestAngle: The arm’s angle at rest, in degrees.SlingLength: Length of the sling hanging from the arm’s tip, in tiles. 0 for none.FlatShot: Shoots flat like a ballista bolt instead of lobbing. Default false.Stream: Makes it a flamethrower: no shots, a stream of fire kept up while it has a target and fuel. Default false.Muzzle: For a flamethrower, where the middle of its nozzle pair is, in the building’s own space ({X, Y, Z}).MuzzleSpread: For a flamethrower, how far apart the nozzles are, in tiles.
SiegeLadderSpec
Makes the building a ladder that warriors and carters climb on their own. It adds nothing to the navmesh and isn’t a road.
Rise: How many levels it climbs: 1 for a ladder up a step, 2 for a siege tower up onto a wall’s walkway.
SiegeMoverSpec
Lets a siege engine be built at home and pushed to where it’s needed by its crew, a tile at a time. It goes round obstacles but never up or down a level. Its speed comes from the troop stats file.
CrewRange: No longer used. Accepted so older blueprints still load.
SiegeRampSpec
Makes the building a ramp two tiles deep up a one level step: the way up and down for siege machines, and a road like stairs for everyone on foot.
StartingGoodsSpec
Lets a map give a starting location goods of its own, picked in the map editor, which the settlement there gets in its District Center besides the game’s starting goods.
Slots: How many kinds of goods it can hold. Default 8.Capacity: How much it holds, all goods together. Default 1000.
StructureHealthSpec
Gives the building health that attacks wear down. Walls, gates, towers and siege engines get theirs from the troop stats file, other buildings by size.
Machine: Marks it as a machine troops ride (a boat) rather than something built to keep them out. Default false.
TradePostSpec
Makes the building a trade post on the shore with a pier out into the water. Ships beached by the pier trade there at the values its owner sets.
LandRows: How many of its rows, counted from the back, stand on land. The rest is the pier out over the water. Default 2.Reach: How far from the pier’s end a beached ship can be and still trade there, in tiles. Default 10.
TripWireSpec
Makes the building one end of a trip wire: a zipline tower that takes a single wire to the other end of the pair, and sends an automation signal when someone crosses it. The player picks who trips it (enemies, allies, the owner’s own, anybody).
TroopsCounterSpec
Makes the building an automation sensor that counts troops. The player picks what it counts (total, ready, in training, at home, deployed, fighting or wounded).
WagonYardSpec
Makes the building a wagon yard that builds supply carts for food, water and building materials.
CartCapacity: How many goods a cart holds.
WallBrazierSpec
Makes the building a fire bowl hung off a palisade piece that burns resin brought by haulers. Archers on the wall nearby light their arrows at it.
Reach: How many wall pieces either way of the one it stands on an archer can stand and still light arrows at it.InjuryChance: Chance each fire arrow burns the archer loosing it, from 0 to 1.InjuryDamage: How much that burn hurts.
WallDecorationSpec
Makes the building a banner, totem or shield rack on a wall that makes the troops near it hit harder and take less damage. The area it helps is its RangedEffectBuildingSpec radius.
Kind: Banner, Totem or ShieldRack. Only the strongest of each kind helps a troop at a time.Damage: How much harder the troops it helps hit, as a fraction (0.06 is 6%).Taken: How much less damage they take, as a fraction.Mounted: Hangs it on the wall’s outer face instead of standing it on the walk. Default false.
WallDropSpec
Makes the building a hoarding that drops its supply on enemies at the foot of the wall, one at a time.
Good: The good it drops.Mode: Roll rolls a log straight out from the wall, hitting everyone in its way. Pour splashes boiling oil at the foot of the wall.
WallSpec
Makes the building a piece of a town wall.
Kind: Palisade, Gatehouse, WallTower, Hoarding or WallFoundation.
WarBoatSpec
Makes a ship (a template with a BoatSpec) a war boat that takes troops aboard and fights. Its speed, crew, health and gun reach come from the troop stats file.
WarriorCrewSpec
Lets troops ride inside the building and work it. A siege engine or boat needs its crew aboard.
CrewAnimation: The animation the crew plays at their posts, one every beaver has.BoardsOverBow: Troops board from the shore it’s against, bow first, instead of from behind. For a boat on a beach. Default false.
WatchtowerAlarmSpec
Makes a watchtower an automation transmitter that is on while enemy troops or bandits stand on the land it watches. Only a lit tower keeps watch.
WreckedHullSpec
Swaps the texture of a wreck’s hull.
Atlas: The atlas the model’s Pine material is swapped for, a path in the mod. Default MapEditor/WreckedHull/WreckedHullAtlas.
