artifact effect fauna and flora spawn (#23295)

* adding EffectFaunaSpawn

* add spawn flora effect, blood trigger

* fix

removed the bloody trigger

* fix

oh, I hope this solves the problem.

* I added an icon sprite..

* fix

I'm stupid..

* final touch...
This commit is contained in:
icekot8
2024-01-01 09:40:49 +03:00
committed by GitHub
parent ad5f7a5c76
commit 77c10185bb
4 changed files with 120 additions and 1 deletions

View File

@@ -0,0 +1,42 @@
- type: entity
id: RandomFloraTree
name: random tree spawner
parent: MarkerBase
components:
- type: Sprite
layers:
- state: red
- sprite: Objects/Decoration/Flora/flora_trees.rsi
state: icon
- type: RandomSpawner
prototypes:
- FloraTreeLarge01
- FloraTreeLarge02
- FloraTreeLarge03
- FloraTreeLarge04
- FloraTreeLarge05
- FloraTreeLarge06
- FloraTreeConifer01
- FloraTreeConifer02
- FloraTreeConifer03
- FloraTreeSnow01
- FloraTreeSnow02
- FloraTreeSnow03
- FloraTreeSnow04
- FloraTreeSnow05
- FloraTreeSnow06
- FloraTree01
- FloraTree02
- FloraTree03
- FloraTree04
- FloraTree05
- FloraTree06
chance: 0.95
rarePrototypes:
- ShadowTree01
- ShadowTree02
- ShadowTree03
- ShadowTree04
- ShadowTree05
- ShadowTree06
rareChance: 0.05

View File

@@ -133,6 +133,16 @@
possibleChemicals:
- Potassium
- type: artifactEffect
id: EffectFloraSpawn
targetDepth: 1
effectHint: artifact-effect-hint-creation
components:
- type: SpawnArtifact
maxSpawns: 3
spawns:
- id: RandomFloraTree
- type: artifactEffect
id: EffectThrow
targetDepth: 0
@@ -334,6 +344,70 @@
- id: MobCarpMagic
orGroup: carp
- type: artifactEffect
id: EffectFaunaSpawn
targetDepth: 2
effectHint: artifact-effect-hint-creation
components:
- type: SpawnArtifact
maxSpawns: 5
spawns:
- id: MobAdultSlimesYellowAngry
orGroup: fauna
- id: MobAngryBee
orGroup: fauna
- id: MobBearSpace
orGroup: fauna
- id: MobBee
orGroup: fauna
maxAmount: 5
- id: MobCat
orGroup: fauna
maxAmount: 2
- id: MobCatKitten
orGroup: fauna
maxAmount: 2
- id: MobCorgiPuppy
orGroup: fauna
maxAmount: 2
- id: MobFox
orGroup: fauna
maxAmount: 1
- id: MobGoat
orGroup: fauna
maxAmount: 3
- id: MobKangaroo
orGroup: fauna
maxAmount: 1
- id: MobKangarooSpace
orGroup: fauna
- id: MobMothroach
orGroup: fauna
maxAmount: 2
- id: MobMonkeySyndicateAgent #so lucky
orGroup: fauna
maxAmount: 1
prob: 0.03
- id: MobMouse
orGroup: fauna
- id: MobParrot
orGroup: fauna
maxAmount: 1
- id: MobPenguin
orGroup: fauna
maxAmount: 2
- id: MobPig
orGroup: fauna
maxAmount: 1
- id: MobPurpleSnake
orGroup: fauna
- id: MobSpiderSpace
orGroup: fauna
- id: MobTick
orGroup: fauna
- id: MobXenoRavager
orGroup: fauna
- type: artifactEffect
id: EffectCashSpawn
targetDepth: 2
@@ -607,4 +681,4 @@
- type: SpawnArtifact
maxSpawns: 1
spawns:
- id: Singularity
- id: Singularity

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -7,6 +7,9 @@
"y": 96
},
"states": [
{
"name": "icon"
},
{
"name": "tree01"
},