You are viewing a potentially older version of this package. View all versions.
JereKuusela-Dream_Texts-1.5.0 icon

Dream Texts

Allows changing dream texts and conditions.

Date uploaded 2 years ago
Version 1.5.0
Download link JereKuusela-Dream_Texts-1.5.0.zip
Downloads 174
Dependency string JereKuusela-Dream_Texts-1.5.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2200 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2200
ValheimModding-YamlDotNet-16.3.0 icon
ValheimModding-YamlDotNet

Shared version 16.3.0 of YamlDotNet from Antoine Aubry and contributors, net47 package for use in Valheim mods. Maintained by the ValheimModding team.

Preferred version: 16.3.0

README

Dream Texts

Allows changing dream texts and conditions.

Install on all clients and on the server if you want to sync the dreams (modding guide).

Usage

After loading a world, dream_texts.yaml is generated to the config folder.

The file can be modified while in the game. If installed on server, then the server file is applied to all clients.

When sleeping, the game randomly selects one of the available dreams and then does the random chance roll for that dream.

This means the random chances are not added together but checked individually.

Examples

A dream with text "Sweet dreams". If this is the only dream, it would always appear.

- text: Sweet dreams!
  chance: 1

Before Eikthyr is defeated, the sweet dream would always appear (always gets selected with 1 chance). After Eikthyr is defeated, the sweet dream would appear 50% of the time and the bad dream 25% of the time. After Bonemass is defeated, the bad dream would appear 50% of the time.

- text: Sweet dreams!
  chance: 1
  forbiddenKeys: defeated_bonemass
- text: Bad nightmare!
  chance: 0.5
  requiredKeys: defeated_eikthyr

See Global keys for a list of required or forbidden keys.

Credits

Thanks for Azumatt for creating the mod icon!

Sources: GitHub

Donations: Buy me a computer

CHANGELOG

  • v1.9

    • Fixed for the new update.
  • v1.8

    • Adds dependency to YamlDotNet package.
    • Fixed for the new update.
  • v1.7

    • Fixes for the new update.
  • v1.6

    • Fixes for the new update.
  • v1.5

    • Changes the data format to be easier to use.
  • v1.4

    • Fixes config reload triggering on file metadata change.