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.
ShrinkTotem
A totem built like a ward: tamed creatures in its zone (a circle or a rectangle set by marks) take the size you set at it. Big bears and lox fit in pens again. Install on every player.
| Date uploaded | 14 hours ago |
| Version | 0.2.3 |
| Download link | Chistix-ShrinkTotem-0.2.3.zip |
| Downloads | 26 |
| Dependency string | Chistix-ShrinkTotem-0.2.3 |
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.2351README
ShrinkTotem
A totem you build like a ward. Tamed creatures in its zone take the size you set at it, so big bears and lox fit in your pens.
- Build: hammer, in the same tab as the ward, near a workbench: 10 stone, 5 wood, 5 resin, 3 greydwarf eyes (
Ingredients,Station). It looks like a ward with a green glow and shows its radius the same way when you place it or look at it (32 m like a ward,Radius). - Its own zone: three zone marks are in the hammer too: corner 1, corner 2 and radius (2 wood each). E on a mark, then E on the totem. A radius mark makes the zone a circle through it; corner 1 and corner 2 make it the rectangle between them, along the totem's sides (turn the totem to turn the rectangle). The marks may be taken down afterwards; "Default zone" in the window goes back to the settings' circle.
- E on the totem opens a window with every tamed creature in its zone: name (the one you gave it) and kind, its size (×1.0) and - / +, in a fixed order (kind, then name; rows do not jump as creatures move). A button switches to by kinds: a row per kind with how many, their size (×0.5-1.0 when they differ) and - / + for all of that kind; the choice is kept per player (
ListByKind). A row All at once steps every creature, ×1 gives them all their own size back. Step 0.1 from ×0.3 to ×1.5 (Step,Min,Max). Many creatures go on pages. - Only in the radius: the size holds while the creature is in the zone of any shrinking totem. It walks out, it is its own size again; it comes back, it shrinks again. The change takes about half a second.
- What changes: the model and the collisions. Paths too: a shrunk creature finds its way like a smaller creature of the game (through a narrow pen gate), a grown one like a larger one (
PathBySize). Health, damage, speed and loot stay as they are. - Who may change sizes: who built the totem, and the players a ward over the totem lets in (its owner and the permitted).
AnyoneCanChangelets everyone. - Multiplayer: the size is stored on the creature and every player sees it. Install on every player; a dedicated server does not need it.
- Other mods: the size multiplies with sizes other mods give creatures (breeds, levels), it does not replace them. Creatures tamed by other mods count as long as the game sees them as tamed. The Leash mod may carry this same totem built in; with both installed this plugin turns itself off and Leash's copy works. Removing the mod: creatures are their own size again; standing totems disappear without giving their resources back.
Note: a fresh release. It passed the code checks against Valheim 1.0.31 but has not been played through in a live game yet; please report anything odd.
Settings: F1 (Configuration Manager) or BepInEx/config/chistix.shrinktotem.cfg.
Тотем уменьшения ставится молотом, как оберег. Зона - круг из настроек или своя: метки «радиус» (круг через метку) или «угол 1» и «угол 2» (прямоугольник между ними вдоль сторон тотема); E на метке, затем E на тотеме. Ручные звери в его радиусе принимают размер, заданный у тотема: большие медведи и локсы помещаются в загон. E на тотеме - список всех ручных зверей в радиусе (кличка и вид) в постоянном порядке (по виду, затем по кличке), у каждого размер «×1.0» и кнопки - / +; кнопка переключает на список по видам (строка на вид: сколько, размер, - / + для всех этого вида), строка «Все сразу» и «×1». Шаг 0,1, от ×0,3 до ×1,5 (настраивается). Размер действует, пока зверь в радиусе любого такого тотема; вышел - своего размера, вернулся - снова уменьшен. Меняются модель и столкновения, здоровье, урон, скорость и добыча прежние. Менять может поставивший тотем и те, кому можно у оберега над тотемом. Размер хранится на звере, его видят все игроки. Нужен всем игрокам, выделенному серверу не нужен. Свежий выпуск: проверки кода против Valheim 1.0.31 пройдены, в живой игре ещё не пройден. Перемножается с размером пород (Leash) и уровней других модов. Если тот же тотем встроен в Leash, этот плагин сам выключается.
Made by Chistix: idea, design, direction and testing. Code written with Claude Code (Anthropic) as an AI coding assistant, under Chistix's direction.
Free and stays free. If you'd like to say thanks: PayPal
CHANGELOG
Changelog
0.2.3
- Long names in the totem window are cut off plainly instead of with "…" (the game's fonts have no such sign, and the game wrote a warning to the log each time).
0.2.2
- The totem window looks like the game's own crafting window: its wooden board and dark inset (taken from the game while it runs), its title, text and item-name colours and fonts, the container's buttons and the crafting arrows for - / +. No own shades any more (the darker look of 0.1.1 is gone).
0.2.1
- The totem window now sits above the game's HUD, as the game puts its own pop-ups above their parent: the crosshair and the hover text no longer show over it or take the clicks of the buttons under them. The E that closes the window no longer reaches the totem behind it.
- The totem's and the marks' names are translated also when the game set its language up before the mod loaded (no more "[piece_chistix_shrinktotem]").
0.2.0
- Each totem can have its own zone instead of the settings' circle. Three zone marks join the hammer (corner 1, corner 2, radius; 2 wood each,
MarkIngredients). E on a mark, then E on the totem: a radius mark gives a circle through it, corner 1 and corner 2 give the rectangle between them along the totem's sides (turn the totem with the hammer to turn the rectangle). The zone is kept on the totem; the marks may be taken down afterwards. - The rectangle shows on the ground like the game's own radius circle. The window shows the zone and a "Default zone" button. Zones reach at most 64 m from the totem (
MaxZone).
0.1.1
- The totem window keeps a fixed order: by kind, then name, then the creature itself. Rows no longer jump as creatures walk about; newcomers slot in, leavers drop out.
- A button switches the list between "one by one" and "by kinds": a row per kind with how many there are, their size (×0.5-1.0 when they differ) and - / + for all of that kind. The choice is kept per player (
ListByKind). - A darker window, like the game's inventory and crafting windows: dimmed wood, each row on a dark strip, the light text stays readable.
0.1.0
- First release: the shrinking totem, built with the hammer like a ward (stone, wood, resin, greydwarf eyes at the workbench;
Ingredients,Station). It shows its radius like a ward (32 m,Radius). - E on the totem: every tamed creature within its radius with its name and kind, its size (×1.0) and - / + buttons; a row "All at once" with - / + and ×1. Step 0.1 from ×0.3 to ×1.5 (
Step,Min,Max). - The size is stored on the creature and seen by every player. It holds only while the creature is within the radius of any shrinking totem; out of it, its own size again. Model and collisions change together; health, damage and loot stay as they are.
- Paths by size (
PathBySize): a shrunk creature uses the game's navigation for a smaller creature, a grown one for a larger one, so neither gets stuck at gates. Scaling itself is done the way the game's own "enemy size" world setting does it (the whole creature's scale). - Who may change the sizes: who built the totem, and the players a ward over the totem lets in (its owner and the permitted);
AnyoneCanChangelets everyone. - Works on top of sizes other mods give creatures (Leash's breeds, level mods): the two multiply. Leash may carry the same totem built in; then this plugin turns itself off and the settings are in Leash's config.