60
Resources/Prototypes/Entities/Effects/mobspawn.yml
Normal file
60
Resources/Prototypes/Entities/Effects/mobspawn.yml
Normal 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
|
||||
40
Resources/Prototypes/Entities/Effects/wallspawn.yml
Normal file
40
Resources/Prototypes/Entities/Effects/wallspawn.yml
Normal 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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -283,11 +283,11 @@
|
||||
maxSpawnAmount: 50
|
||||
spawnRange: 10
|
||||
spawns:
|
||||
- AsteroidRock
|
||||
- AsteroidCrabSpawner
|
||||
- WallSpawnAsteroid
|
||||
- RockAnomCrabSpawner
|
||||
- CrystalSpawner
|
||||
superCriticalSpawns:
|
||||
- AsteroidRock
|
||||
- WallSpawnAsteroid
|
||||
- SpawnMobOreCrab
|
||||
|
||||
- type: entity
|
||||
|
||||
@@ -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
|
||||
|
||||
BIN
Resources/Textures/Effects/mobspawn.rsi/crab_iron.png
Normal file
BIN
Resources/Textures/Effects/mobspawn.rsi/crab_iron.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
Resources/Textures/Effects/mobspawn.rsi/crab_quartz.png
Normal file
BIN
Resources/Textures/Effects/mobspawn.rsi/crab_quartz.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
Resources/Textures/Effects/mobspawn.rsi/crab_silver.png
Normal file
BIN
Resources/Textures/Effects/mobspawn.rsi/crab_silver.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
Resources/Textures/Effects/mobspawn.rsi/crab_uranium.png
Normal file
BIN
Resources/Textures/Effects/mobspawn.rsi/crab_uranium.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
67
Resources/Textures/Effects/mobspawn.rsi/meta.json
Normal file
67
Resources/Textures/Effects/mobspawn.rsi/meta.json
Normal 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
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Effects/rockspawn.rsi/asteroid.png
Normal file
BIN
Resources/Textures/Effects/rockspawn.rsi/asteroid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
31
Resources/Textures/Effects/rockspawn.rsi/meta.json
Normal file
31
Resources/Textures/Effects/rockspawn.rsi/meta.json
Normal 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
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user