You are viewing a potentially older version of this package.
View all versions.

Expand World Prefabs
Allows configuring build or spawned objects.
Date uploaded | a year ago |
Version | 1.20.0 |
Download link | JereKuusela-Expand_World_Prefabs-1.20.0.zip |
Downloads | 1259 |
Dependency string | JereKuusela-Expand_World_Prefabs-1.20.0 |
This mod requires the following mods to function

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
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2333README
Expand World Prefabs
Allows creating rules to react to objects being spawned, destroyed and more.
Install on the server (modding guide).
Usage
See documentation.
Credits
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 fieldprefab
. - 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
andunsummon
.
-
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).
- Adds a field
-
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
orswap
breaking the file parsing. - Reworks the filtering system. Now multiple filters are checked separately, instead of being combined into a single check.
- Adds a new parameter
-
v1.41
- Changes the field
poke
andobjects
to usefilter
instead ofdata
(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.
- Changes the field