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.
Odins Latch
You left the door open again. Odin shuts the doors you opened when it matters: an enemy close, nightfall or a raid at your base. Never on a friend or a tame in the doorway. Client-side. From the makers of Odin's Dusk Horn.
CHANGELOG
Changelog
0.1.1
- On-screen text now scales the way the game's own HUD does: by screen height and the game's GUI scale setting. It used to grow with the screen's width too, so on ultrawide screens it came out far too big, nearly twice the game's HUD at 5120x1440.
- Sizes now match Odin's Long Drop: at 5120x1440 the text is about half its old size,
and on a 16:9 screen about a third smaller.
TextScale1.4gives the old 16:9 size. TextScale(1, 0.5 to 2) sizes Odin's remarks, live.
0.1.0
- First release: Odin shuts the doors you opened this session, through the game's own
door use, once there's a reason to and
CloseDelay(2s) has passed. - Reasons, each with its own switch: an awake enemy within
EnemyRadius(30m) of the door (CloseNearEnemies, on); night and the lastDuskMinutes(2) before it (CloseAtNight, on); a raid whose area covers the door (CloseInRaids, on); the horn from Odin's Dusk Horn, if installed (FollowDuskHorn, on). WalkAway(off) waits until you'reWalkAwayDistance(10m) from the door.AlwaysClose(off) shuts doors in daylight too.- Never while you, another player or a tamed creature is within
DoorwayRadius(2.5m) of the door; never in dungeons or locations, on doors that need a key or can't be shut, or on doors you didn't open.Excludenames doors to leave alone. - A short remark from Odin when he shuts a door (
ShowRemarks, on), at most one everyRemarkCooldown(30s). No keys.