You are viewing a potentially older version of this package. View all versions.
muckers-Rested-0.1.2 icon

Rested

Valheim-style Rested buff: rest under a roof near a furnace or cauldron for x2 stamina regen and +0.5 HP/s. Local only; others don't need it.

By muckers
Date uploaded a day ago
Version 0.1.2
Download link muckers-Rested-0.1.2.zip
Downloads 12
Dependency string muckers-Rested-0.1.2

This mod requires the following mods to function

BepInEx-BepInExPack_Muck-5.4.1101 icon
BepInEx-BepInExPack_Muck

BepInEx pack for Muck. Preconfigured and ready to use.

Preferred version: 5.4.1101

README

Rested

Rest under a roof, near a furnace or cauldron, and you get a Rested buff.

Stay sheltered within 6 m of a furnace or cauldron for 20 seconds. You then regenerate stamina at 2x and gain +0.5 HP/s. The buff lasts 2 minutes plus 1 minute per station kind, and the fire counts as one kind, so a lone furnace lasts 3 minutes. The cap is 6 minutes. The kinds are workbench, anvil, cauldron, fletching table, and furnace.

Leaving the fire resets the 20 second timer. While you keep resting, the buff stays full. Death clears it.

A label at the top left shows Resting 12/20 or Rested 3:42. Next to a furnace or cauldron with no roof, it shows a dim hint instead: Near a fire: build a roof to rest. It scales with your resolution, sits on a dark plate so it reads over snow, and hides while a menu, the map or the inventory is open and while you are dead. A local chat line announces the start and the end.

Multiplayer

Other players do not need this mod. The buff is local. Your HP still syncs through Muck's normal health updates, so teammates see the healing. Config is not synced. It only changes your own stamina and health, which Muck already trusts the client to report.

Any player's builds count, unless you set OwnBuildsOnly to true.

Config

BepInEx/config/evan.muck.rested.cfg (created on first launch):

Setting Default
RestSeconds 20 Seconds near the fire before the buff starts
BaseDurationSeconds 120 Base seconds, plus one step per station kind (the fire counts)
DurationPerStationSeconds 60 Seconds added for each station kind, including the fire
MaxDurationSeconds 360 Cap in seconds
StaminaRegenMultiplier 2 Multiplier on stamina you actually regenerated
HealthRegenPerSecond 0.5 Flat HP per second
ComfortRadius 6 Meters
RequireRoof true A built piece must be overhead
RoofCheckHeight 12 Meters of the upward roof check
OwnBuildsOnly false Count only pieces you placed
DisableInVersus true Turn the buff off in a Versus match
GiveRestedKey (none) Local cheat that grants the buff
ShowHud true Top-left timer and roof hint
ChatMessages true Local chat lines

Credits

The rested-by-the-fire idea is from Iron Gate's Valheim. The numbers that are not Valheim's are called out in the mod README. This mod contains no assets from Valheim or Muck. The icon is original.

CHANGELOG

Changelog

0.1.2

  • Next to a furnace or cauldron with no roof, the label shows a dim hint: Near a fire: build a roof to rest. Before, nothing showed until both the roof and the fire were in place, so the buff could not be found in game.
  • The label hides while the map, the inventory, a crafting station, the pause menu or chat is open, and while you are dead, the same screens the Survivors HUD hides under.

0.1.1

  • The Resting / Rested label scales with screen height. It was a fixed 16 px, half size on a 4K screen. It is now bold white on a dark plate with a drop shadow, 20 px at 1080p, 27 px at 1440p and 40 px at 4K, and it stays in the top-left corner. Not yet checked in game.

0.1.0

  • First release. Rest sheltered near a furnace or cauldron for a local stamina and health buff.