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.
Expand World Prefabs
Allows creating rules for objects being spawned, destroyed and more.
CHANGELOG
-
v1.58
- Adds new function
randomto get a random number between two values. - Adds new field
randomto pokes to allow randomizing affected objects. - Adds support for specifying unit (deg or rad) for angle parameters.
- Adds support for "distance, angle, y" format for vectors (requires using deg or rad for angle).
- Adds dynamic value support to
objectsLimitandbannedObjectsLimit. - Fixes
posy coordinate offset not being applied whensnapis true.
- Adds new function
-
v1.57
- Adds field
selfto object filters. - Adds field
removeDelayto spawns to allow automatic removal of spawned objects. - Adds new setting to allow processing custom prefab names even when server doesn't recognize them.
- Adds new function
globalkeyto get global key values. - Adds support for putting data entries to script yaml files.
- Fixes server player broken by last update.
- Fixes
bannedGlobalKeysnot lower casing function replacements automatically. - Fixes say commands happening twice when players are being created.
- Fixes function
keyreturning global key instead of custom data value. - Fixes
Object attachingnot working for temporary objects like status effects. - Optimizes file reloading to only reload the changed file.
- Adds field
-
v1.56
- Fixes
Object attachingaffecting some normal effects like magic shield bubble. - Removes dependency from Steamworks so should now work on non-Steam hosts.
- Fixes
-
v1.55
- Adds support for server side only data. Keys starting with
ewp_are stored as server-only instead of normal ZDO fields. - Adds range support for
keysandbannedKeys. - Adds file watcher to the config file to reload when manually edited.
- Changes
Persist spawned playerssetting to be enabled by default (issue was probably with the attach system, not this). - Fixes subfolders not working for data files.
- Fixes persisted NPC players not being removable by EWP scripts.
- Fixes scale hack not working on single player.
- Fíxes automatic
injectDatanot being false when position or rotation is set. - Fixes
Object attachingaffecting normal players when they are on beds, ships, etc (left a ghost player when disconnected). - Optimizes script file reloading to only patch/unpatch game code when needed, instead of always patching/unpatching on every reload.
- Adds support for server side only data. Keys starting with
-
v1.54
- BREAKING CHANGE: Removes basic arithmetic support from data entries. Use parameters instead.
- Adds support for changing scale of objects with ZSyncTransform component.
- Adds experimental support for persisting EWP spawned players (this has caused some issues, not fully figured out yet).
- Adds new field
positionto pokes to override the poke origin position with absolute coordinates. - Adds new field
connectto create a virtual connection between two objects (can be used to poke other objects very efficiently). - Adds new field
connectedto pokes to allow poking virtually connected child objects. - Adds new field
attachto create a physical connection between two objects (child object follows the parent object). - Adds new parameters
connectedthat returns the id of the parent object. - Adds new angle parameters
rad,rad2deg,deg2rad,deg2vec,vec2deg. - Adds vector support for math parameters like
add,sub,mulanddiv. - Adds new vector parameters
angle,distance,dot,cross,normalize,magnitude,sqrmagnitude,project,reflect,lerp,vecx,vecyandvecz. - Adds new iteration parameters
iteranditer2. - Adds support for quaternion format (x, y, z, w) in data entries for quaternion fields.
- Changes field
injectDatato be determined automatically based on the data changes. - Fixes vector and quaternion outputs being wrong in some cases (now always comma separated).
- Fixes invalid
prefabin pokes causing all objects to be poked (now doesn't poke anything). - Fixes field
ownernot working without using fielddata. - Fixes RPC ChatMessage not working.