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

Expand World Prefabs

Allows creating rules for objects being spawned, destroyed and more.

Date uploaded 2 days ago
Version 1.45.0
Download link JereKuusela-Expand_World_Prefabs-1.45.0.zip
Downloads 1364
Dependency string JereKuusela-Expand_World_Prefabs-1.45.0

This mod requires the following mods to function

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
denikson-BepInExPack_Valheim-5.4.2333 icon
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.2333

README

Expand World Prefabs

Allows creating rules for objects being spawned, destroyed and more.

Install on the server (modding guide).

Usage

See documentation.

for help and examples.

Credits

Thanks for Azumatt for creating the mod icon!

Sources: GitHub

Donations: Buy me a computer

CHANGELOG

  • v1.45

    • Breaking change: Scripts are now checked separately by default!
    • This means multiple scripts can run from a single trigger.
    • Weight system is only used when the field weight is explicitly set.
    • Adds new field excludePrefab to exclude prefabs from the field prefab.
    • Adds default value groups for structure material types and item drop types.
    • Adds new field pars to pokes for structured parameter handling.
    • Adds support for a wildcard * in the middle of the text (for example sfx_*_destroyed).
    • Adds drops support to plants.
    • Adds new field chance to allow randomly skipping the selected action.
    • Adds new field chance to spawns, pokes and RPC calls to allow randomly skipping them.
    • Adds new field repeat to spawns, pokes and RPC calls to allow repeating after a delay.
    • Adds new field weight to spawns, pokes and RPC calls to allow triggering only one of the entries.
    • Adds new states death, effects, fragments, freezeframe, grow, hit, leguse, loaded, material, resetcloth, shoot, step and unsummon.
  • v1.44

    • Adds offset support to pokes.
  • v1.43

    • Adds a field bannedLocationDistance so that different distance can be used for required and banned locations.
    • Adds automatic container size detection to simplify adding items.
    • Adds back legacy base64 encoded data string support.
    • Adds data entry support for the field drops to allow dropping custom items.
    • Changes the parameter <hash_> to also work for location ids.
    • Changes poking action to not include the object itself by default (can be changed with the poke field self).
    • Fixes quoted strings being split up when used as "type, key, value" in the field data.
    • Fixes field value queries not checking child objects (for example Boat chests).
  • v1.42

    • Adds a new parameter <biome> to get the biome of the object.
    • Adds a new field filterLimit to set how many filters must match.
    • Fixes comment or extra space at end of the fields spawn or swap breaking the file parsing.
    • Reworks the filtering system. Now multiple filters are checked separately, instead of being combined into a single check.
  • v1.41

    • Changes the field poke and objects to use filter instead of data (old way still works).
    • Fixes multiple values not working for the field data.
    • Fixes the field exec not working with global triggers (like time).
    • Fixes GameObject and ItemDrop types not working for field parameters.