From 5d929533fc8e7e1c055520ee49e0b1c650b65225 Mon Sep 17 00:00:00 2001 From: SnappingOpossum Date: Thu, 15 Jan 2026 15:27:16 +1100 Subject: [PATCH] Move artifact random spawners to entity table spawners. (#42422) * Move artifact random spawners to entity tables * That's a pretty big thing to miss * This is embarassing * Apply review --- .../Markers/Spawners/Random/artifacts.yml | 37 +++++++++++-------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/Resources/Prototypes/Entities/Markers/Spawners/Random/artifacts.yml b/Resources/Prototypes/Entities/Markers/Spawners/Random/artifacts.yml index 0135361044..faf230817b 100644 --- a/Resources/Prototypes/Entities/Markers/Spawners/Random/artifacts.yml +++ b/Resources/Prototypes/Entities/Markers/Spawners/Random/artifacts.yml @@ -1,24 +1,31 @@ -- type: entity +- type: entityTable + id: RandomArtifactTable + table: !type:GroupSelector + children: + - id: ComplexXenoArtifact + weight: 2 + - id: ComplexXenoArtifactItem + +- type: entity + parent: MarkerBase id: RandomArtifactSpawner name: random artifact spawner - parent: MarkerBase components: - - type: Sprite - layers: - - state: red - - sprite: Objects/Specific/Xenoarchaeology/xeno_artifacts.rsi - state: ano01 - - type: RandomSpawner - prototypes: - - ComplexXenoArtifact - - ComplexXenoArtifact - - ComplexXenoArtifactItem - chance: 1 + - type: Sprite + layers: + - state: red + - sprite: Objects/Specific/Xenoarchaeology/xeno_artifacts.rsi + state: ano01 + - type: EntityTableSpawner + table: !type:NestedSelector + tableId: RandomArtifactTable - type: entity id: RandomArtifactSpawner20 name: random artifact spawner [20] parent: RandomArtifactSpawner components: - - type: RandomSpawner - chance: 0.2 + - type: EntityTableSpawner + table: !type:NestedSelector + tableId: RandomArtifactTable + prob: 0.2 -- 2.52.0