Rock Anom effects (#23633)

* Rock Anom effects

* fix

* fix
This commit is contained in:
brainfood1183
2024-01-07 06:44:04 +00:00
committed by GitHub
parent 0fc5bf5546
commit bb294a7aa2
14 changed files with 231 additions and 17 deletions

View File

@@ -0,0 +1,60 @@
- type: entity
id: MobSpawnCrabQuartz
name: mobspawner quartzcrab
components:
- type: Transform
anchored: True
- type: InteractionOutline
- type: Physics
bodyType: Static
- type: Sprite
sprite: /Textures/Effects/mobspawn.rsi
state: crab_quartz
- type: Fixtures
fixtures:
portalFixture:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.48,0.25,0.48"
mask:
- FullTileMask
layer:
- WallLayer
hard: false
- type: TimedDespawn
lifetime: 2.1
- type: SpawnOnDespawn
prototype: MobQuartzCrab
- type: entity
id: MobSpawnCrabIron
parent: MobSpawnCrabQuartz
name: mobspawner ironcrab
components:
- type: Sprite
sprite: /Textures/Effects/mobspawn.rsi
state: crab_iron
- type: SpawnOnDespawn
prototype: MobIronCrab
- type: entity
id: MobSpawnCrabSilver
parent: MobSpawnCrabQuartz
name: mobspawner silvercrab
components:
- type: Sprite
sprite: /Textures/Effects/mobspawn.rsi
state: crab_silver
- type: SpawnOnDespawn
prototype: MobSilverCrab
- type: entity
id: MobSpawnCrabUranium
parent: MobSpawnCrabQuartz
name: mobspawner uraniumcrab
components:
- type: Sprite
sprite: /Textures/Effects/mobspawn.rsi
state: crab_uranium
- type: SpawnOnDespawn
prototype: MobUraniumCrab

View File

@@ -0,0 +1,40 @@
- type: entity
id: WallSpawnAsteroid
components:
- type: Transform
anchored: True
- type: InteractionOutline
- type: Physics
bodyType: Static
- type: Sprite
sprite: /Textures/Effects/rockspawn.rsi
state: asteroid
- type: Fixtures
fixtures:
portalFixture:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.48,0.25,0.48"
mask:
- FullTileMask
layer:
- WallLayer
hard: false
- type: TimedDespawn
lifetime: 2.4
- type: SpawnOnDespawn
prototype: AsteroidRock
- type: entity
id: WallSpawnAsteroidCrab
parent: WallSpawnAsteroid
components:
- type: SpawnOnDespawn
prototype: AsteroidRockCrab
- type: entity
id: WallSpawnAsteroidCrab1
parent: WallSpawnAsteroid
components:
- type: SpawnOnDespawn
prototype: AsteroidRockCrab1

View File

@@ -13,3 +13,19 @@
- AsteroidRockCrab
- AsteroidRockCrab1
chance: 1
- type: entity
name: Rock Anom Crab Spawner
id: RockAnomCrabSpawner
parent: MarkerBase
components:
- type: Sprite
layers:
- state: red
- sprite: Structures/Walls/rock.rsi
state: rock_asteroid_ore
- type: RandomSpawner
prototypes:
- WallSpawnAsteroidCrab
- WallSpawnAsteroidCrab1
chance: 1

View File

@@ -806,10 +806,10 @@
sprite: Mobs/Elemental/orecrab.rsi
- type: RandomSpawner
prototypes:
- MobUraniumCrab
- MobIronCrab
- MobQuartzCrab
- MobSilverCrab
- MobSpawnCrabUranium
- MobSpawnCrabIron
- MobSpawnCrabQuartz
- MobSpawnCrabSilver
- type: entity
name: luminous person spawner

View File

@@ -44,7 +44,7 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
@@ -72,7 +72,7 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
damage: 20
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
@@ -99,7 +99,7 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
damage: 20
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
@@ -127,7 +127,7 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
damage: 20
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
@@ -155,7 +155,7 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
damage: 20
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
@@ -183,7 +183,7 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:

View File

@@ -283,11 +283,11 @@
maxSpawnAmount: 50
spawnRange: 10
spawns:
- AsteroidRock
- AsteroidCrabSpawner
- WallSpawnAsteroid
- RockAnomCrabSpawner
- CrystalSpawner
superCriticalSpawns:
- AsteroidRock
- WallSpawnAsteroid
- SpawnMobOreCrab
- type: entity

View File

@@ -42,19 +42,19 @@
- type: ore
id: OreQuartzCrab
oreEntity: MobQuartzCrab
oreEntity: MobSpawnCrabQuartz
- type: ore
id: OreIronCrab
oreEntity: MobIronCrab
oreEntity: MobSpawnCrabIron
- type: ore
id: OreSilverCrab
oreEntity: MobSilverCrab
oreEntity: MobSpawnCrabSilver
- type: ore
id: OreUraniumCrab
oreEntity: MobUraniumCrab
oreEntity: MobSpawnCrabUranium
- type: ore
id: OreArtifactFragment

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -0,0 +1,67 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by brainfood1183 (github)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "crab_quartz",
"directions": 1,
"delays": [
[
0.6,
0.3,
0.3,
0.3,
0.3,
0.3
]
]
},
{
"name": "crab_silver",
"directions": 1,
"delays": [
[
0.6,
0.3,
0.3,
0.3,
0.3,
0.3
]
]
},
{
"name": "crab_uranium",
"directions": 1,
"delays": [
[
0.6,
0.3,
0.3,
0.3,
0.3,
0.3
]
]
},
{
"name": "crab_iron",
"directions": 1,
"delays": [
[
0.6,
0.3,
0.3,
0.3,
0.3,
0.3
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -0,0 +1,31 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by brainfood1183 (github)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "asteroid",
"directions": 1,
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
}
]
}