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
|
- AsteroidRockCrab
|
||||||
- AsteroidRockCrab1
|
- AsteroidRockCrab1
|
||||||
chance: 1
|
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
|
sprite: Mobs/Elemental/orecrab.rsi
|
||||||
- type: RandomSpawner
|
- type: RandomSpawner
|
||||||
prototypes:
|
prototypes:
|
||||||
- MobUraniumCrab
|
- MobSpawnCrabUranium
|
||||||
- MobIronCrab
|
- MobSpawnCrabIron
|
||||||
- MobQuartzCrab
|
- MobSpawnCrabQuartz
|
||||||
- MobSilverCrab
|
- MobSpawnCrabSilver
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: luminous person spawner
|
name: luminous person spawner
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 50
|
damage: 20
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:PlaySoundBehavior
|
- !type:PlaySoundBehavior
|
||||||
sound:
|
sound:
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 50
|
damage: 20
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: [ "Destruction" ]
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 50
|
damage: 20
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: [ "Destruction" ]
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 50
|
damage: 20
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: [ "Destruction" ]
|
||||||
@@ -155,7 +155,7 @@
|
|||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 50
|
damage: 20
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: [ "Destruction" ]
|
||||||
@@ -183,7 +183,7 @@
|
|||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 50
|
damage: 20
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:PlaySoundBehavior
|
- !type:PlaySoundBehavior
|
||||||
sound:
|
sound:
|
||||||
|
|||||||
@@ -283,11 +283,11 @@
|
|||||||
maxSpawnAmount: 50
|
maxSpawnAmount: 50
|
||||||
spawnRange: 10
|
spawnRange: 10
|
||||||
spawns:
|
spawns:
|
||||||
- AsteroidRock
|
- WallSpawnAsteroid
|
||||||
- AsteroidCrabSpawner
|
- RockAnomCrabSpawner
|
||||||
- CrystalSpawner
|
- CrystalSpawner
|
||||||
superCriticalSpawns:
|
superCriticalSpawns:
|
||||||
- AsteroidRock
|
- WallSpawnAsteroid
|
||||||
- SpawnMobOreCrab
|
- SpawnMobOreCrab
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
|
|||||||
@@ -42,19 +42,19 @@
|
|||||||
|
|
||||||
- type: ore
|
- type: ore
|
||||||
id: OreQuartzCrab
|
id: OreQuartzCrab
|
||||||
oreEntity: MobQuartzCrab
|
oreEntity: MobSpawnCrabQuartz
|
||||||
|
|
||||||
- type: ore
|
- type: ore
|
||||||
id: OreIronCrab
|
id: OreIronCrab
|
||||||
oreEntity: MobIronCrab
|
oreEntity: MobSpawnCrabIron
|
||||||
|
|
||||||
- type: ore
|
- type: ore
|
||||||
id: OreSilverCrab
|
id: OreSilverCrab
|
||||||
oreEntity: MobSilverCrab
|
oreEntity: MobSpawnCrabSilver
|
||||||
|
|
||||||
- type: ore
|
- type: ore
|
||||||
id: OreUraniumCrab
|
id: OreUraniumCrab
|
||||||
oreEntity: MobUraniumCrab
|
oreEntity: MobSpawnCrabUranium
|
||||||
|
|
||||||
- type: ore
|
- type: ore
|
||||||
id: OreArtifactFragment
|
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