From 479e5f61d684296fbf62f2e467685a3bcea09ec1 Mon Sep 17 00:00:00 2001 From: Quasr <182430031+quasr-9@users.noreply.github.com> Date: Tue, 21 Oct 2025 05:13:37 -0500 Subject: [PATCH] Prevent freindly fauna node from spawning hostile mobs (#40979) * "friendly" * remove hostile mobs * completely remove hostiles * add hostile fauna --------- Co-authored-by: Quasr <~182430031+quasr-9@users.noreply.github.com> Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --- Resources/Prototypes/XenoArch/effects.yml | 37 ++++++++++++++++++----- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/Resources/Prototypes/XenoArch/effects.yml b/Resources/Prototypes/XenoArch/effects.yml index 1506d94aa0..649232edbf 100644 --- a/Resources/Prototypes/XenoArch/effects.yml +++ b/Resources/Prototypes/XenoArch/effects.yml @@ -65,6 +65,8 @@ weight: 4.0 - id: XenoArtifactFaunaSpawn weight: 10.0 + - id: XenoArtifactHostileFaunaSpawn + weight: 10.0 - id: XenoArtifactCashSpawn weight: 10.0 - id: XenoArtifactShatterWindows @@ -902,15 +904,7 @@ deleteSpawnerAfterSpawn: false table: !type:GroupSelector children: - - id: MobAdultSlimesYellowAngry - - id: MobAngryBee - - id: MobBearSpace - - id: MobXenoRavager - - id: MobTick - - id: MobSpiderSpace - - id: MobPurpleSnake - id: MobMouse - - id: MobKangarooSpace - id: MobPig - id: MobParrot - id: MobKangaroo @@ -939,6 +933,33 @@ - id: MobMonkeySyndicateAgent #so lucky prob: 0.03 +- type: entity + id: XenoArtifactHostileFaunaSpawn + parent: BaseXenoArtifactEffect + description: Create hostile fauna + components: + - type: XenoArtifactNode + maxDurability: 4 + maxDurabilityCanDecreaseBy: + min: 0 + max: 3 + - type: XAEApplyComponents + applyIfAlreadyHave: true + refreshOnReactivate: true + components: + - type: EntityTableSpawner + deleteSpawnerAfterSpawn: false + table: !type:GroupSelector + children: + - id: MobAdultSlimesYellowAngry + - id: MobAngryBee + - id: MobBearSpace + - id: MobXenoRavager + - id: MobTick + - id: MobSpiderSpace + - id: MobPurpleSnake + - id: MobKangarooSpace + - type: entity id: XenoArtifactCashSpawn parent: BaseXenoArtifactEffect