TXC-TXC_Village icon

TXC Village

Villages for your Viking settlement: found a village, build beds and bring villagers home. Work in progress.

By TXC

CHANGELOG

Changelog

0.8.0 (first build for friends)

  • Book: renaming the village no longer overlaps the level badge; click a villager's name to rename (as well as the quill); tooltips stay put while the page refreshes; the scroll bar can be dragged (or the track clicked); opening a villager's card keeps the list where it was; the list keeps its order while the book is open (a new job re-sorts it next time); Escape closes the book without opening the game menu.
  • Hover texts: villager = name, health, gear, job and the two keys; a villager bed says whose it is ("Gudrun's bed"); the banner no longer offers Rename (it's in the book; Shift + use opens the book too).
  • Alarm bell rung by hand: everyone but the soldiers gathers round the banner and waits there until the all-clear (armed ones still fight what comes in). A raid still sends them indoors and clears by itself.
  • Formation wheel: hold the formation key (K) for a ring like the game's G wheel (Free, Column, Shield wall, Ring, Hold here / Follow me); point at one and let go, or tap and click. Test: txc_village wheel [n|pick|close].
  • Expeditions: the forecast reads each pack once (adding a member or changing the destination froze the book for seconds); every expected item is listed (a scroll when they don't fit); only a lumberjack brings wood; hunting brings meat in every land biome; reports show what came back as icons (new reports).
  • Formations while following: a monster within 15 m of you turns the formation (column, shield wall, ring) to face it and it moves on it in a block, the front row at the monster; when it is dead or more than 20 m from you, they fall back into place and follow again. Hold is unchanged.
  • Animal keeper fetches animals: while a pasture has no breeding pair (or when asked with "Fetch one" in the pasture's panel), the keeper walks out up to 150 m from the village to the nearest wild animal of the pasture's kind (any kind) and leads it home; it follows her calmly and is tamed once inside the fence. A tamed animal that escaped the pasture is brought back first. Other wild animals leave a keeper at work be, and led animals never set off the alarm.
  • Fixes: a lumberjack stepping clear of a falling tree no longer goes in and out of her house door until night; no blows land on a tree out of reach; a soldier stuck in a doorway while following is moved beside the player after 10 s; villagers' day spots are never inside a house or a piece; the cook/alchemist said "my pack is full" when the chest was only in use by someone else.

0.7.0

  • Villager skills, rising with use like a player's (levels 0-100, the game's formula), kept in the village record and shown in the villager panel. Combat works exactly as for players: the game asks a villager for its skills like a player's (weapon skills, Blocking, Blood magic...), so a hit does 25-55% of the weapon's damage at skill 0 and 85-100% at 100, blocking and staves likewise, and the skills rise on use; villagers start at 0. Work skills: Cooking (the cook stirs faster and takes food off the fire earlier), Farming (a chance of one more of the crop, up to 50%), Woodcutting (harder blows), Alchemy (a chance of a second mead base from the same ingredients), Smelting (ours: a smelter, kiln, windmill... filled by a tender works faster with the tender's skill, twice as fast at 100). Every fifth level is announced to players nearby. On expeditions the best weapon skill counts as up to half a gear tier.
  • Sleep: villagers stay up a while after dark (until about 19:00 of the game's day), then go home and lie down in their bed; they get up in the morning, or for danger near them, a raid, the alarm bell or a player they follow. Soldiers keep watch. Nothing in the hands in bed.
  • Fisher job: fishes the real fish of the water with bait as a player does (each fish takes its own baits; a cast uses one bait and wears the rod). No area to set: he finds the village's shore by himself (dry ground by deep water, out to 40 m beyond the village circle), goes to the spot with the most fish that take a bait he has (from his pack or the village chests), and moves on when nothing bites for a minute. Fish go to the village chests (at 10 in the pack, or as soon as the chests and his pack together hold the "keep" number). The Food & cook panel has a Fisher tab: Off, "Keep N fish" in the chests, or "Always fish". Needs a fishing rod (worn ones are mended at the station that makes it); he holds it. Fishing skill rises.
  • Village levels: Hamlet (as before: area 30 m, up to 6 villagers) -> Village (40 m, 12 villagers, wanderers 50% more often and 2 more of them) -> Town (55 m, 20 villagers, wanderers twice as often and 4 more). "Upgrade" in the village panel pays from the village chests (Village: 60 Wood, 40 Stone, 20 Fine Wood, 10 Bronze and 4 villagers living there; Town: 40 Core Wood, 60 Stone, 20 Iron, 10 Silver and 10 villagers); the panel shows the level, the next one's cost and what is missing. A village can't grow over a neighbour, and a new banner keeps clear of a grown village's circle. Newcomers (wanderers, recruits, survivors, moves) stop at the level's limit. Command: txc_village upgrade | level <1-3>.
  • Helpers: any villager but a soldier can follow you ("Follow me" in the villager panel) and copies what you do, on what is near you, if they carry the tool: you mine a rock or vein with a pickaxe, they mine (the pickaxe's tier as for you); you fell or cut up trees with an axe, they do too; you hold a fishing rod, they fish from the shore near you with their own rod and bait. They pick up what comes off, their skills rise as at home (Pickaxes, Woodcutting, Fishing), and they hold the right tool. With a weapon (a pickaxe or rod doesn't count) they fight what comes near you or them; without one they stay out of it. "Take a cart" (villager panel, while they follow you): they pull the nearest free cart, leave it standing while working (pulled about between trees and rocks it wedges) and load what they gathered into it, and take it along when you move on. A full cart: they pull it home on foot, leave it by the village chests and stay home; at home they unload it into the chests. Out of your sight on the way, the rest of the walk happens off the map (the cart arrives by the village). Soldiers don't help: they fight. Test commands: txc_village follow <name> [off|cart], helpers [mine|chop|fish|none|fillcart].
  • Fix: the stuck rescue no longer "moves home" a villager on a test walk (it measured the distance to home while they were walking elsewhere).
  • Villagers walk back to their spot with the shared mover (steps round fences, out of corners); the plain path finder used to leave them standing still when it found no path, until the stuck rescue moved them home.
  • Animal keeper (new role): looks after pastures (a closed fence or wall with a vanilla gate, inside the village; Shift + use on the gate: animal kind, keepers, capacity) and beehives. Feeds hungry tamed animals with food from the chests (dropped on the pasture ground), keeps the best pair to breed and culls every other adult (fewest stars first; young are left to grow; at the game's breeding limit animals stop breeding, so extra adults only cost food). The panel shows the pasture's room (the game's own breeding limit, scaled by its area), picks up the drops and eggs over the limit, takes honey from half-full hives, stores it all. Goes in and out through the gate and shuts it; shuts a gate left open; warns when a fence has a gap. Command: txc_village pasture [kinds | kind <Key>].
  • Villagers with no role tidy the village (the work of the old "Sorter" role, which is gone; a saved "sorter" counts as no role). Several can tidy at once: each claims the item or chest it goes for. They keep the village chests in order. Picks up what has lain on the ground in the village for a while (in a field or forest zone only what the farmer or lumberjack there would not gather, or everything when the village has no such worker), empties the expedition board, and brings the same items together: each item goes to a chest that takes it, one that already has it (the most of it) if there is one, else the nearest with room. Never touches the pantry, carts, ships or their own things. Ready for a chest-filter mod (what each chest takes): it reads the chest's "txc_accepts" list, or a hook (ChestFilter.External); today every chest takes everything.
  • A villager wedged inside a cramped house (a bed or chest between them and the door) squeezes past to the door after a few tries (within 3 m, inside their own house).
  • Expeditions bring back what their tools allow (each member with their own pack): anyone brings what is hunted or picked by hand (hides, trophies, berries, coins...); a pickaxe adds ore and mined stone, if it is good enough for the deposits there (the tier the game's own veins ask for: an antler pick won't do for silver); an axe adds wood, by the trees' tier; a rod with a bait the fish takes adds the biome's fish (one bait per fish). Skill counts too: mining (Pickaxes), Woodcutting and Fishing bring up to twice as much at 100, and the weapon skill up to half again of what they hunt (what is picked by hand takes no skill). They gain experience on the trip like at home: half a use per item mined, cut or fished (more ore, more experience), and each kill trains the skill of the weapon they carry (3 uses in the Meadows up to 12 in the Ashlands; unarmed without a weapon). The report says who got better ("Gunnhild got better: mining 3 -> 5"). The planner shows what each tool brings back and each member's tools; the report says when nobody had the tool for something.
  • Ocean expeditions: by boat. A boat moored at the village (its circle or up to 40 m out, nobody aboard) leaves with them and comes back to the same spot with its cargo (damaged after a hard trip). The boat sets the team: raft 1, karve 2, longship 4, Ashlands drakkar 6 (other boats: one at the helm plus their seats). Anyone brings serpent meat and scales; a pickaxe adds the Leviathan's chitin; a rod and bait add tuna, herring and coral cod.
  • The village banner can only be damaged by players (monsters used to be able to break it, and every villager of the village went with it).
  • Taking a banner down no longer loses the village: its villagers stop work and wait where they are ("waiting for a village banner" in their hover), and the next banner placed within 150 m takes the village back (same name, colours, villagers, orders, fields, forests, expeditions). A notice says so both times.
  • Test walks go through the door of the house they head for (they only knew their own house's door).
  • Home comfort: measured at bedtime beside the villager's bed (the game's resting comfort); injuries heal 3% faster per comfort level (at most twice as fast).
  • Lumberjack job and forest zones. A field marker can be made a forest zone ("Make it a forest" in its panel; up to 30 m). The forest panel lists the tree kinds standing there (tick the ones to cut; each says what it gives and which axe it needs), a "Replant" tickbox, wood orders ("keep 200 Wood", "make 50 Fine Wood", like a field's crops) and which lumberjacks work there (a lumberjack named on no zone works every zone of the village). The lumberjack picks up what lies about, cuts fallen logs and stumps, fells the nearest ticked tree that gives wood an order still wants (if his axe is good enough: Fine Wood from birch and oak needs bronze, and so on), steps back when it comes down and while logs roll, and stores everything in the village chests. With replanting on he plants the same kind where he cut (seeds from the pack or the chests, a cultivator needed; the spot must have room and be the right biome). Needs an axe in the pack; worn axes are mended at the station that makes them.
  • Carts: a lumberjack uses a free cart in the village or his zone: brings it to the zone, loads what he gathers into it, and when it is full (or the work is done) pulls it to the chests, unloads and brings it back. A cart a player is using is left alone.
  • Soldier roles, from what is in their pack (shown in the hover and panel, e.g. "Soldier (Tank)"): Healer (a healing staff; any staff with "Heal" in its name, or listed in the config, e.g. other mods' healing staves) > Tank (a shield) > Ranger (a bow, crossbow or attack staff) > Fighter. Tanks fight with their best melee weapon and shield and step in against a monster going for someone near them (within 8 m); no taunt: the monster turns on the tank only by the game's own AI. Rangers shoot (with the matching Dvergr/Draugr creature weapon, hits scaled to their own bow and best arrows) and step back from a monster closer than 5 m. Healers don't fight: they go to the most hurt ally (players and villagers, under 90%) and heal 30 health every 6 s, keeping clear of monsters.
  • Formations for the soldiers out with you: a key (default K, "This PC" setting; G is Epic Loot's first ability key) cycles Free, Column, Shield wall, Ring. Column: single file on your trail, tanks first, healers last. Shield wall: tanks in the middle of a line 3 m ahead, fighters at its ends, rangers and healers 3 m behind. Ring: tanks and fighters 3 m round you, rangers and healers inside. In formation, tanks and fighters leave their slot only for a monster within 6 m of it; rangers shoot from it without chasing; healers leave it to heal and come back.
  • Hold / follow (default L): the soldiers hold the formation where you stood, facing your way, while you walk on (Free: each keeps the spot they stood on and fights within 10 m of it); press again and they follow you. Holding soldiers don't catch up, take portals or board your ship.
  • Village defence line: while the bell rings, the village's soldiers form a shield wall at the rally point, facing the nearest monster, and the line marches out to meet a monster farther than 9 m (stopping 6 m short); melee leave it for a monster within 9 m of their slot. The rally point is the banner unless set with "Rally point here" in the village panel (use it at the banner to reset).
  • Raid defence: a raid on the village (a game raid aimed at it, or 3+ monsters inside) rings the alarm bell by itself; soldiers fight, everyone else stops work and goes inside (to their bed, through the house door, shut behind them). Soldiers fall back to shelter below 25% health and come back at 80% (resting heals a little), and no longer chase monsters more than 5 m outside the village. The all-clear comes by itself 30 s after the raid. The bell rung by hand still arms villagers with a weapon; stopping it by hand keeps it quiet for a minute. Villagers who don't fight no longer get "alerted" and run about.
  • Alchemist job: brews the meads the pantry's orders ask for ("keep 6 Tasty Mead"): makes the mead base at the Mead Ketill (or cauldron) with ingredients from the village chests, fills an empty fermenter (it needs a roof), taps it when ready and puts the meads in the village chests. The cook no longer touches meads, fermenters or mead bases. The Food & cook panel has a Cook tab (food), an Alchemist tab (meads) and a Fisher tab, each with its own orders and its own villagers named, and offers only what you know: cauldron and Mead Ketill recipes you have learned, roasts of raw items you have found, meads whose base you know.
  • Jobs and meals inside houses: villagers go in and out by the door for work inside a house (a fermenter, a station) like they do for their bed, leave another house by its door when done, and stand beside an indoor station on the room's side (they used to aim at a spot on the roof or outside the wall and get stuck).
  • Village pantry: a chest at the foot of every village banner (part of the banner, no extra piece to build; its items drop if the banner is destroyed). Use opens the chest; Shift + use opens "Food & cook" (also a tab in the village panel): the foods villagers may eat (only these, only from the pantry, so your own food in other chests is safe) and the cook's orders. Without a cook the panel and the chest say so.
  • Meals: villagers eat twice a day (morning and evening) the best allowed food in the pantry. Soldiers out with a player eat the best food in their own pack. Like a player's food: the food's health is added to their max health and its stamina makes them work and walk faster (+1% per 4 stamina, at most +25%), until they go hungry (no meal for a whole day: 20% slower, weaker, no bonus health). Well fed (a meal worth 40+: health + half stamina, e.g. deer stew or sausages; Meadows food only counts as fed) hits 15% harder; hungry 20% weaker. Shown in the villager's hover, villager panel and village panel.
  • Cook job: works the pantry's orders top first ("keep N in the pantry" or "make N"). Roasts on cooking stations over a fire (raw meat, fish, necktails... from the village chests), takes food off before it burns, makes cauldron dishes when the village has a cauldron of the right level (with fire where needed) and all the ingredients in its chests, and keeps raw foods stocked (e.g. "keep 10 Raspberries": fetched from the village chests). Ovens too: the cook keeps them fuelled with wood from the village chests (only as much as the bake needs) and bakes bread, pies and the like; when the dough is missing he makes it at the cauldron first. Dishes go into the pantry; burnt food and leftovers into chests. Only food comes from cooking stations (mods that use them for other things are ignored). Meads are not the cook's work (a later role).
  • Moving villagers: "Move to <village> / Send" in the villager panel; they travel (half a day per km) and arrive at the new village.
  • Movement (tested with a recorder and an obstacle course: fence gaps, a long fence, a hut with a wooden door, stations, fires):
    • Every task (jobs, meals) walks the same way. Wedged (a loose log, a corner): a calm step to one side, back the way they came, or the other side. A spot they can't get closer to for 15 s is given up (left alone for a while) instead of circling.
    • Villagers are slimmer (0.30 m instead of the player's 0.49 m), so they fit the gaps the path finder sends them through (they used to stick between fence rails).
    • Fires: they walk round them and step out of one (a cook used to stand in the cooking fire and burn). Villagers who don't fight no longer get "alerted" and sprint about.
    • Doors: the doorway is measured while the door is shut; standing beside the house is no longer "at the door" nor "inside"; they wait for the door to swing open, learn which way each door swings away from them, walk right through, and shut it once clear of the leaf (it used to shove them back out). Doors left open the wrong way are shut and opened again.
    • Soldiers keeping watch at night are no longer teleported home every minute.
  • Fix: "about about" in the walking-home notice.
  • Test commands: txc_village door <villager> | path x1 z1 x2 z2 | clearnests | moverec on|off|stats (movement recorder: stuck, jitter, running in place, jogging near, teleports, high; every sample in BepInEx/txcv_moves.csv) | walk <villager> <x> <z> [label] (test walks, queued) | pantry [allow|deny <food>] [keep|make|off <n> <item>] | cook | meals | hungry <villager|all> [now] | move <villager> <village> | formation [free|column|wall|ring] | hold [on|off] | rally [here|banner] | indoor x z [y] | skills <villager> [skill level|raise skill n] | forest [make|field|radius r|keep|make n item|off item|skip|cut kind|replant on|off|worker name on|off] | fish [off|always|keep n] | water | takedown | expedition <biome> <short|normal|long> <names> | accepts [item,item|clear] (what the nearest chest takes).

0.6.0

  • Soldier job. Soldiers guard the village day and night: they go for any monster inside the village circle (seen or not) and fight with the best weapon and armour in their pack. Everyone else no longer fights: with a monster within 20 m they run to their bed (through the house door) or away from it, and go back to work after.
  • Follow me / Go home (soldier's panel): a following soldier fights beside you (monsters within 25 m of you), keeps up (catches up if more than 60 m behind), and is run by your game while with you.
  • Portals: following soldiers within 15 m go through with you (not while carrying ore or other things portals refuse).
  • Ships: following soldiers board the ship you're on, take a free bench (else a spot on deck) and ride along seated; they step off beside you when you leave the ship.
  • Falling while out (anywhere in the world) works like at home: carried home to their bed to recover (or dead with permadeath, pack dropped where they fell). The server updates the village even when nobody is near it. "Go home" far from the village sends them home at once.
  • Expeditions: a soldier in the team shields the others only when geared for the biome: 1/12 less risk each at a gear tier of at least the biome's danger, half that one tier short, nothing further below; at most 25% in total, and falls aren't affected. So an escort helps on trips the team can handle and never makes a too-hard biome safe. Soldiers themselves fight half a gear tier better. Soldiers out with a player can't be picked.
  • Alarm bell (village panel): while it rings, every villager with a weapon in their pack stops work and fights monsters in the village; unarmed villagers take shelter. It stops by itself 30 s after the last monster in the village is gone (or ring the all-clear).
  • Call soldiers home (village panel, shown when soldiers are out). A soldier sent home from far away walks back: away for half a day per km ("walking home" in the panels), then back at home.
  • Farmer: also picks up loose stones, flint and branches and fallen crops in the fields, and only ever stores farm items (the villager's own gear and food stay in the pack). Items are moved as they are (quality, durability, crafter kept).
  • Review fixes (tender and farmer): chests a player has open are left alone (also on other machines); leftovers a tender carries are put away; no overfilling when a target is already met; no endless collecting when chests are full; two tenders don't fetch for the same order; lowering a "make" target below what's made ends the order; overlapping fields counted once; plants that can't grow don't count as growing; repairs only with the right station; crops from mods that cost more than one seed; unreachable chests and spots skipped for a while; lighter scans (cached per field and per decision).
  • Test commands: txc_village follow <villager> [off] | alarm [off] | sit | sail [stop].

0.5.0

  • Farmer job. Build a Field marker (hammer, Misc; 4 wood, 1 leather scraps, workbench) in the middle of cultivated ground: everything cultivated within its radius (2-12 m, set in its panel; the circle shows while the hammer or cultivator is out) is that field. Its panel holds the crop list: "keep N in stock" or "make N", one line per crop, top to bottom = priority (like station orders).
  • Farmers (a villager's job, Shift + use on them) harvest what is ripe in the village's fields, plant empty cultivated spots with the first crop on the list that is still short and has seeds in the chests, and store the harvest in the village chests (a chest that already has it first). They keep the game's spacing, biome and cultivated-ground rules.
  • Seeds: when seeds for a crop (e.g. carrot seeds) drop to the reserve (setting "Farmer seed reserve", 10), they plant some of the vegetable to grow seeds first.
  • Farmers need a cultivator in their pack; each planting wears it like a player's. Several cultivators in the pack are used in turn; worn ones are repaired at the station that makes them, if the village has it.
  • The crops come from the cultivator's own build list, so plants other mods add (e.g. Plant Everything) work too. Bushes that regrow are picked when ready and left in place.
  • Plants are spaced their grow radius + 0.25 m apart (carrots 0.75 m), so none end up "not enough space" and wither. Seeds still growing count toward the seed reserve.
  • Villagers leave animals (deer, boars, necks...) alone unless the animal is after them, and drop any target outside the village. A villager who still ends up far outside the village (beyond the area kept active, where they would freeze) is brought home.
  • Farmers cultivate grass: when a field has no free cultivated spot left, the farmer cultivates natural grass inside the marker's circle (Meadows, Black Forest and Plains ground nobody has made into a dirt path, paving or soil; never under buildings, trees or rocks, nor at the water's edge). The patch (the cultivator's brush, at most 1.5 m) stays inside the circle, and each cultivation wears the cultivator. Setting "Farmers cultivate grass" (on). The field panel shows how much grass is left to cultivate.
  • Farmers only harvest crops (and what the field's list asks for): wild stones, flint and branches in a field are left alone.
  • "Make N" orders count what was made when it is made (a station finishing a product, a crop being picked), so products taken by players or auto-store mods still count. Products waiting in stacking stations (windmill, kiln) count as on their way, so tenders don't overfill them.
  • Villagers no longer run away from "no monster" areas (the spawn stones): near them they used to flee in circles instead of working.
  • Villagers appear beside their bed on the floor (not on the roof) when they come back; a villager standing still for 20 s while working is moved home. Bodies that belong to no village are removed.
  • Patches are applied one by one (one that doesn't fit the game is logged and skipped, not all after it), and the build checks every patch against the game.
  • Logs: [hurt] and [fell] say what hurt a villager.
  • Test commands: txc_village fields | fieldpanel | fieldorder <keep|make|off> <n> <item> | chests | wear <villager> <durability> | give/take <villager> <item> [n] | ai <villager> | clearmonsters [radius].

0.4.0

  • Jobs. Shift + use on a villager opens their panel: traits, health, pack, and their job (use E to open their pack). Jobs so far: Idle and Station tender.
  • Station orders are a list (up to 8 per station, one per item): e.g. a smelter with "keep 20 Copper", "keep 10 Tin" and "make 30 Iron". Each station's list is a priority queue (move lines up and down): the tender works the first order from the top that needs work and has inputs in the chests; finished "make" orders leave the list. One tender keeps every station going: stations take turns.
  • Station tender: keeps the village's production stations going (smelter, charcoal kiln, blast furnace, windmill, spinning wheel, eitr refinery: anything that smelts). Each station gets a village order (Shift + use on it): what to make and either "keep N in stock" (counted in the village chests) or "make N" (the order ends when done, with a message). Tenders fetch ore and fuel from the village chests, fill the station, collect what comes out and store it (in a chest that already has it, else the nearest with room). They work by day and carry things in their own pack.
  • Test commands: txc_village role <name> <idle|tender> | stations | order <keep|make|off> [n] [output].

0.3.0

  • Expeditions. Build an Expedition board (stand-in look: a wood chest; 10 wood, 2 leather scraps, 2 resin, workbench) inside a village; Shift + use opens the planner. What the team brings back is put in its chest (anything that doesn't fit is dropped beside it).
  • Planner: where (Meadows to Ashlands; each biome opens when its boss is defeated), how long (half a day, a day, two days), who goes (up to 4 villagers at home). It shows each member's gear and food, when they'd be back and the risk.
  • Villager packs: use a villager to open their pack and give them armour, a weapon and food. They wear the best armour piece per slot and hold the best weapon (you can see it on them). On an expedition each member takes their own pack: their gear sets their own odds, and they eat 2 food a day from it. The gear comes back worn.
  • Risk depends on the biome's danger, the trip length, each member's gear, food and strength, traits (Brave, Nimble, Clumsy, Hardy) and the team size (alone is riskier, four watch each other's backs). Hurt members come back injured for 1-3 days; badly outmatched ones can fall (dead with permadeath, the others carry their pack home; otherwise hurt for twice as long). Strong carries more, Keen-eyed finds rare things.
  • Sometimes they meet a wanderer who wants to join (needs a free villager bed).
  • Reports: a message to players nearby and the last report in the planner; the village panel shows who is away and for how long.
  • Doors: villagers open the door of their house to get in or out and close it behind them (the door nearest their bed, in the same room; doors that need a key are left alone).
  • Villagers stand at a free spot beside their bed at night (on the long side, then foot or head, in the same room) and stay there. A villager standing still for 12 s, or walking without getting closer for 45 s, is moved home.
  • Wanderers are limited: none before any boss, +1 per village for each boss defeated in the world (settings "Wanderers before any boss" and "Extra wanderers per boss"). Recruiting, contracts and expedition finds don't count. The panel shows how many have come.
  • Test commands: txc_village trips | return | sleepspots.

0.2.0

  • Villagers. Each one has a name, a look (man or woman, hair, beard, skin and hair colour), 1-2 traits, health and strength. Their data lives in the village banner; their body in the world is only a view of it.
  • Villager bodies use the player's body and wear simple rags for now. They are on the players' side, never attack buildings, and walk calmly: by day they wander around their own spot near the banner, at night they stay beside their bed.
  • Arrival: recruit at the banner panel (10 coins, then 30, 60, 100, ...) or wait for a wanderer (every 1.5 in-game days by default) to a village with a free villager bed. Newcomers walk in from the edge of the village. Every villager is given a ready villager bed.
  • A villager who falls is badly hurt and taken home: 1-3 in-game days in bed (Hardy heals faster), then back. With the Permadeath setting on, they die instead.
  • Villagers walk calmly around their spot and walk (or jog, if far) back to it, instead of the vanilla sprint whenever a creature is far from its spot.
  • Villagers stay level 1 (star/level mods such as StarLevelSystem gave them stars).
  • Beds are remembered by where they stand, and a villager's body by the villager (0.2.0 test: stored object ids pointed at the wrong object after a restart, which spawned a second Gudrun far away).
  • Villager rolls (new villagers, injury time) use the mod's own dice; the game re-seeds Unity's.
  • Recruitment contract: Haldor and Hildir sell it (150 coins, setting). Use it on a Village Banner (hotbar key while looking at the banner) and a villager comes for free, if there is a free villager bed.
  • A villager who is far from home and hasn't got closer for 12 s (no path, caught on something) is moved to a free spot near home; logged as [unstuck].
  • Villagers' daytime spots are 6-12 m from the banner (3-6 m crowded it and stood in the way of using it).
  • The banner's hover shows how many villagers live there.
  • Hover a villager for name, traits and health; use them to have a word.
  • Panel: villager list (traits, health, strength, home / on the way / injured), Recruit button with the price.
  • Messages to players nearby: someone is coming, has arrived, is hurt, has recovered.
  • New settings: recruit base cost, wanderer interval, permadeath, injury time multiplier.
  • Test commands: txc_village villagers | arrive | heal [name] | injure <name> | remove <name> | clear.

0.1.3

  • The village circle is drawn with about one mark every 2.6 m (it was a few faint dots at 30 m).
  • Panel help lines wrap instead of being cut off.

0.1.2

  • The village panel is now a real Valheim wood panel (Jotunn GUI) with a name field, Rename button, colour arrows with swatches, area, bed summary and bed list (was a plain debug-style window).
  • A villager bed no longer shows the game's "[E] Claim" line (claiming it is blocked).

0.1.1

  • First in-game test (through ValheimMCP): the banner, village name/colours, rename/recolour, the server's village list, bed marking and bed status all work.
  • New and changed villages reach the map within a few seconds (a change asks the server to rescan; before, up to ~20 s).
  • A new village's two colours are never the same (the first test village came out White / White).
  • A village seen twice in one scan is listed once.
  • Bed counts refresh as soon as a bed is placed or marked.
  • New test commands: txc_village hover (prints what the banner and each bed show on hover), txc_village panel (opens the village panel), txc_village debug (village list and map pin state).
  • 769 rule tests.

0.1.0

  • Village Banner piece (hammer, Misc; needs a workbench; 10 wood, 4 leather scraps, 2 resin). Stand-in look borrowed from a vanilla piece for now (the log says which).
  • Each banner founds a village with its own id, a random Norse name and two colours. Any player can rename it (Shift+E on the banner, or the panel) or change the colours.
  • Village area: 30 m around the banner (config). The circle shows on the ground while you hold the hammer nearby, and while placing a banner. New banners must be 80 m from any other village (config).
  • The banner counts as a player base (like a workbench) and as a Banner comfort piece.
  • Village panel (use the banner): name, main and second colour, area, and every bed inside the village with its status.
  • Villager beds: Shift+E on a free bed inside a village marks or unmarks it for a villager. It needs a roof and at least 80% cover (the same rule as a player's bed) and, if the server says so, a fire. Hovering a bed in a village shows its status. A marked bed can't be claimed by a player until unmarked; a player's bed can't be marked.
  • The server keeps the list of every village (even in unloaded areas) and sends it to everyone: each village appears on the map with its name, tinted in its main colour.
  • txc_village test commands: info, here/beds, goto, rename, color, mark, pins, prefabs.
  • 49 rule tests (test.sh under mono).