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>
This commit is contained in:
Quasr
2025-10-21 05:13:37 -05:00
committed by GitHub
parent a77877b948
commit 479e5f61d6

View File

@@ -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