Skip to content

Bugfix: Artifacts spawning entities attached to players#341

Merged
michaelchessall merged 1 commit into
michaelchessall:persistence_testingfrom
Zetaplx:artiface_spawn_tether_glitch
May 10, 2026
Merged

Bugfix: Artifacts spawning entities attached to players#341
michaelchessall merged 1 commit into
michaelchessall:persistence_testingfrom
Zetaplx:artiface_spawn_tether_glitch

Conversation

@Zetaplx
Copy link
Copy Markdown

@Zetaplx Zetaplx commented May 10, 2026

About the PR

Fixed a bug where handheld artifacts would spawn entities attached to the player. This caused all sorts of madness when spawning entities.

Why / Balance

It's not fun to be attacked by a bear that's literally attached to you...

Technical details

  • Added field to the EntityTableSpawner component called SpawnDetached, by default false (to not mess with any other game logic)
  • If SpawnDetached is true, the Spawn command will use SpawnAtPosition rather than SpawnAttached.
  • Updated all XAEs to use SpawnDetached = true

Media

2026-05-10.09-40-15.mp4

'''works with animal entities too but the video was too big...'''

Requirements

Breaking changes

None that are known. Currenlty only the XAE uses the new field, default is set to original behavior.

Changelog

🆑

  • fix: Artifacts no longer spawn entities attached to you.

Fixed a bug where handheld artifacts would spawn items attached to the player if held by them.This caused all sorts of weirdness, especially with 'ghost bears' or space bears which are attached to the player.
@michaelchessall michaelchessall merged commit 0593e35 into michaelchessall:persistence_testing May 10, 2026
22 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants