Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Huskarl
Place named NPCs in your world and give them a job: a trader, a wardrobe that reskins your gear, a bank that keeps your valuables safe from death, or a casino with slots, marble races and plinko.
By GBV
| Date uploaded | 2 weeks ago |
| Version | 0.2.0 |
| Download link | GBV-Huskarl-0.2.0.zip |
| Downloads | 236 |
| Dependency string | GBV-Huskarl-0.2.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2350README
Huskarl
Place named NPCs around your world and give them a job. They can run a shop, change how your gear looks, keep your valuables safe, or run a casino.
A húskarl is a retainer of a household: someone you keep who does a job for you.
Install this on the server and on every client. An NPC is an ordinary creature with its AI switched off. A player without the mod sees a live, hostile Draugr standing in your marketplace.
Placing an NPC
Press F6 as an admin.
- Name it. That is what players see when they look at it.
- Pick a body. Every creature in the game, including ones from other mods. Drag the preview to turn it.
- Make a person. Choose the player character and you get the full character creation options: build, hair, beard, hair colour and skin colour.
- Dress it. Chest, legs, helmet and cape, from any armour in the game. Any slot can be empty.
- Stand it up. Place mode points the NPC where you look. Scroll to turn, shift-scroll to raise and lower, arrow keys to nudge, G to hold it still while you adjust.
Once placed it stays put. It does not wander or despawn, other creatures ignore it, it cannot be killed, and it is still there after a restart.
Jobs
Trader
Opens the game's own store with a ware list you choose. Players buy with gold as they do with Haldor, and can sell anything valuable back at its own worth.
Guise
Changes how your gear looks and nothing else. Free, as often as you like, and always reversible.
Pick any piece of gear you are carrying and choose a look. Stats, name and icon are untouched.
- You can only choose looks you have found - anything of that kind that has been in your pack.
- Armour can be set to Hidden instead. The piece still protects you, it just is not shown.
- A look has to be the same kind of thing. A one-handed sword can look like another one-handed sword, but not like a mace or a bow.
- Anything you hold can carry an effect - flame, frost, glow and others taken from weapons in the game. A plain iron sword can wear Frostfire or Flametal.
Everyone can see your guise, including players without the mod.
Banker
Keeps your gold, Ochre and runes. No fee, no limit, and your vault is your own.
What is banked is not dropped when you die. That is the reason to use one.
- Every banker opens the same vault. Deposit in the marketplace, withdraw at home.
- Your vault is per character and per world.
- A stack you have locked is left alone.
- Withdrawing more than you can carry drops the rest at your feet rather than losing it.
Pick how much a button moves at the top of the window - 1, 10, 100, 1000 or All - then deposit or withdraw a line at a time, or move everything at once.
Without Runemark a bank holds gold. With it, every rune on your server is bankable.
Gambler
Pick which of three games the NPC runs.
Slots
Three reels and a lever. Stake 20, 100 or 200 gold.
The symbols are the real items - gold, Ochre and the five runes - and the symbol you line up is what you win. Three of a kind pays properly, three Sowilo is the jackpot, two of a kind pays one of that rune, and everything else pays a small consolation. Every spin pays something.
Three Bonus symbols open a bonus round: three free spins that cost nothing and pay far more often than an ordinary pull.
A bigger wager is a better chance at the bonus - about one pull in twenty at 20 gold, one in ten at 100, one in seven at 200. Bigger wagers also pay a smaller share of the stake back, so the larger stakes are buying the bonus rather than better value per gold.
The paytable is printed on the cabinet.
Marbles
Ten marbles race a course of corners, swinging axes and spinning tumblers, built fresh each time. Back a colour and stake gold, Ochre or any rune.
First pays three times the stake, second pays twice, third hands your stake back. Winnings come back in whatever you staked, so three Ansuz on the winner is nine Ansuz.
Your wager lays charms on the course, and only your marble can pick them up.
| Wager | Charms |
|---|---|
| Up to 50 gold | 1 |
| 51 to 150 gold | 2 |
| 151 gold and up | 3 |
They sit on the racing line, so your marble runs through them. Each does something different:
- Slipstream - a hard shove. Half again as fast for a second and a half.
- Featherweight - nothing slows it. It keeps its speed through corners that throw the rest of the field wide.
- Hammer - a shockwave. Every other marble near you is thrown aside and stunned where it lands. It does nothing for your marble; it clears the way.
With three charms your marble wins about one race in five and a half, against one in ten with none. Runes are read at their gold value, so the same size of bet buys the same charms whatever you stake.
Plinko
Buy five balls for one stake, pick a chute and drop them. Double-click a chute to drop into it. Drop them as fast as you like - all five can be in the air at once and they knock each other about on the way down.
The nine buckets keep changing what they hold, and a ball takes whatever is under it when it lands. Buckets come up Common, Fine, Rare or Fabled, and the rarity multiplies the prize - a Fabled bucket is worth fifteen of a Common one.
A bucket that catches a ball freezes on what it paid for the rest of the round, so a good bucket is worth aiming the rest of your balls at.
Once in a while a bucket comes up RAIN. Land a ball in it and five waves of balls fall, one a second, down every lane - forty-five free balls. It pays nothing by itself and cannot set off another one.
Every ball pays something.
Car keys
Every wager at any of the three games has a small chance of paying out a Skeid car key or a lowrider key - about one in twenty thousand at the standard stake. A key comes alongside the normal prize rather than instead of it, and a bigger wager is proportionally likelier.
Requires Skeid. Without it, keys are never given.
Which game to play
Plinko pays the most by a wide margin, then the marble race, then the slots. The slots are the sharpest sink of the three and the place the bonus round lives. Server owners can retune all of it; see below.
The Gambling skill
All three games level a Gambling skill. Every wager teaches you a little, win or lose, and at a hundred it turns one losing wager in ten into a win. It never makes a win bigger, only more frequent.
The size of the wager is what counts. An ordinary slot pull is worth a full step, about seventy-five pulls to reach level 10. Repeating the smallest bet is a slow way to level it.
What the games pay out
By default the prizes are gold, Ochre and the five runes from Runemark.
Runemark is not required. Without it the machine pays ordinary items instead - wood, stone, flint, coal, bronze and iron - so it still works on a plain install.
Either way the server decides. Every symbol's prize and its odds are in
gbv.valheim.huskarl.slots.cfg, and can be pointed at any item in the game:
item ochre Wood
item sowilo BlackMetal
That file carries a version line. When the mod ships a new paytable it replaces an older one and
keeps your copy alongside it as a .bak. If you have tuned yours and want to keep it, add pin:
version 1 pin
Settings
| Setting | What it does |
|---|---|
Enabled |
Master switch. Closes the panel and makes NPCs inert. |
PanelHotkey |
Opens the panel. F6 by default. |
VerboseLog |
Logs every NPC as it is created and loaded. |
Slots.Sounds |
Play the slot machine's ticks, clunks and win chimes. |
Slots.Volume |
How loud, on top of the game's own interface volume. |
Marbles.MaxBetGold |
The biggest bet allowed. Ochre and runes are capped at about the same worth. |
Games.CarKeyOneIn |
How rare each key is, as one in this many standard wagers. 0 turns them off. |
Window.X, Y, W, H |
Where you left the panel. Set automatically. |
Credits
Built for the Guys Being Vikings server. Part of the GBV suite alongside Highseat, Runemark, Byrding, Idavoll, Hermod and Skald.
CHANGELOG
Changelog
0.2.0
Added
- New job: Banker. A vault for gold, Ochre and runes. No fee, no limit.
- Banked items are not dropped on death.
- Every banker opens the same vault. It is per character and per world.
- Deposit and withdraw in 1, 10, 100, 1000 or All, or move everything at once.
- The bank leaves locked stacks alone.
huskarl_bankshows your balances. Admins can set one withhuskarl_bank set <currency> <amount>.- Plinko: a rare RAIN bucket. Land a ball in it and forty-five free balls fall, five waves of nine, one wave a second.
- Marbles: charms on the course, which only your marble can pick up. One up to 50 gold, two to 150, three above that.
- Charms do three different things. Slipstream is a burst of speed, Featherweight stops anything slowing you, Hammer throws the other marbles aside and stuns them.
- Paytable files now carry a
versionline and are updated automatically when the mod ships a new one. Your old file is kept as a.bak. Addpinto keep yours.
Changed
- Slots: the bonus round now depends on your wager. Roughly one pull in twenty at 20 gold, one in ten at 100, one in seven at 200. It was one in six hundred at every stake.
- Slots: the bonus round is three free spins, not ten, and the trigger no longer pays gold on top.
- Slots: free spins can no longer open another bonus round.
- Slots: payouts reduced. A 20 gold pull pays a third of what it did, 100 and 200 gold a quarter.
- Plinko: bucket payouts doubled.
- Marbles: first place pays 3x, was 5x.
- Bonus rounds play much faster.
Fixed
- A server running a paytable from before the bonus round existed could never trigger one.
- The cabinet advertised four times what the machine actually paid at the larger stakes.
- The paytable listed three Bonus symbols as paying "nothing".
- The starburst behind the reels showed a square edge sweeping round it.
- Plinko balls could get stuck and never pay out during a RAIN. Balls now pay on entering a bucket.
- Your Haul totals each item instead of listing every ball.
- Marble charms were invisible until collected, and did not say what they were.
- Bank buttons hung out of the bottom of their rows.
- NPCs twitched to a different heading and back while being placed.
0.1.9
Added
- Human NPCs can be dressed in chest, legs, helmet and cape from the Looks tab, so they are no longer bare. Any armour in the game works, including armour from other mods.
Fixed
- Placing an NPC no longer twitches it back and forth while you aim.
- Placing a cat or a dog no longer sends it lurching towards and away from the camera.
0.1.8
Added
- Three Bonus symbols on the slots win ten free spins. They play themselves at double speed, at the stake you hit the bonus on, and pay far more often than an ordinary pull.
Changed
- Every panel is rebuilt with real depth. Surfaces now sit above or below one another instead of everything being flat: cabinets and cards stand up, and the reel glass, the marble track and the plinko board are sunk in behind them.
- The slots cabinet changes for the whole bonus round, and a starburst turns behind the reels for a jackpot or a bonus.
- Plinko's side panel now shows how many balls are left, what each bucket rarity is worth, and your haul as it fills, newest first.
- The marble you back stands up off the betting board.
- Headings, body text and labels are properly distinct sizes now, and a text box you are typing into looks like it.
0.1.7
Fixed
- A Runemark enchant glow is hidden again when you give the weapon a Guise effect. Recent Runemark versions put it straight back, so both showed at once.
0.1.6
Added
- Armour can now be set to Hidden in Guise, so a helmet or cape can be worn without being seen.
Fixed
- Crossbow effects no longer vanish when a bolt is loaded, sheathed or fired.
- Talking to a trader NPC no longer sometimes closes the shop window the instant it opens.
- Weapon effects no longer bunch up at the grip on weapons the game does not let us read.
0.1.5
Fixed
- Nameplates no longer stick to the screen, vanish entirely, or drag the frame rate down. An NPC's nameplate is now cleared away with the NPC.
- Opening the Body tab no longer breaks other players' nameplates for the rest of the session. Some bodies could not be fully stripped for the preview, and one that slipped through left the game unable to move any nameplate until the game was restarted.
- Guise weapon effects now follow bows and crossbows instead of streaming off into the air.
- Two looks sharing a name, like Leather Trousers, are now told apart rather than listed twice.
0.1.4
Fixed
- NPCs placed while the world was still catching up could keep their AI, a health bar and a nameplate. They are now always settled, however slow the world is.
0.1.3
Changed
- Tidier headings in the README.
Fixed
- The mouse cursor no longer vanishes on the title screen after leaving a world.
0.1.2
Changed
- Clearer wording throughout the README.
0.1.1
Added
- Skeid's lowrider key can now be won from the gambling games, at the same odds as the car key.
0.1.0
Place named NPCs around the world and give them a job.
Added
- An admin panel on F6 to create, name, dress, place and delete NPCs.
- Any creature in the game can be the body, picked from a searchable list with a 3D preview you can drag to turn.
- A player-bodied NPC can be built with the full character creation options.
- Place mode: point where you want them, scroll to turn, shift-scroll to raise and lower, arrow keys to nudge.
- Trader NPCs open the game's own store, with wares you choose, and buy your valuables.
- Guise NPCs change how your gear looks and nothing else about it, free and unlimited.
- Guise covers every slot, and you can only pick looks you have actually found.
- Weapons and shields can carry an effect: five of ours plus dozens borrowed from weapons in the game that have their own flame, frost or glow.
- Other players see your guise whether or not they have the mod.
- Gambler NPCs run one of three games: slots, a marble race, or plinko.
- Slots: three reels, real item icons, a lever you pull. Every spin pays something.
- Marbles: back a colour and watch ten marbles race a course that is built fresh each time.
- Plinko: buy five balls and drop them where you like while the buckets keep changing what they hold.
- A Gambling skill that levels on every wager and, at a hundred, turns one losing wager in ten into a win.
- A thousand gold buys about the same reward whichever of the three games it goes into.
- Prizes fall back to ordinary items when Runemark is not installed, and the server can set every symbol's prize and odds in the config file.
- Any wager at any of the three games can pay out a Skeid car key, at about jackpot odds.