New sprites for Coal and Gold ore crabs, new Bananium ore crab and Bananium rock anomaly. (#37787)

* new sprites for coal and gold ore crabs, new bananioum ore crab and rock anomaly.

* add whitespace to end of line in ore.yml

* fix white space end of file.

* fix for linter fail.
This commit is contained in:
brainfood1183 2025-05-30 02:16:20 +01:00 committed by Quanteey
parent 709fbeb2fc
commit 5c5ed96a23
17 changed files with 174 additions and 2 deletions

View File

@ -87,6 +87,18 @@
- type: SpawnOnDespawn
prototype: MobUraniumCrab
- type: entity
id: MobSpawnCrabBananium
parent: MobSpawnCrabQuartz
name: mobspawner bananiumcrab
categories: [ HideSpawnMenu, Spawner ]
components:
- type: Sprite
sprite: /Textures/Effects/mobspawn.rsi
state: crab_bananium
- type: SpawnOnDespawn
prototype: MobBananiumCrab
- type: entity
id: EffectAnomalyFloraBulb
categories: [ HideSpawnMenu ]

View File

@ -34,6 +34,22 @@
- type: SpawnOnDespawn
prototype: AsteroidRockUraniumCrab
- type: entity
id: WallSpawnAsteroidBananium
parent: WallSpawnAsteroid
categories: [ HideSpawnMenu ]
components:
- type: SpawnOnDespawn
prototype: AsteroidRockBananium
- type: entity
id: WallSpawnAsteroidBananiumCrab
parent: WallSpawnAsteroid
categories: [ HideSpawnMenu ]
components:
- type: SpawnOnDespawn
prototype: AsteroidRockBananiumCrab
- type: entity
id: WallSpawnAsteroidUranium
parent: WallSpawnAsteroid

View File

@ -144,6 +144,9 @@
- MobSpawnCrabIron
- MobSpawnCrabQuartz
- MobSpawnCrabSilver
- MobSpawnCrabCoal
- MobSpawnCrabGold
- MobSpawnCrabBananium
- type: entity
parent: MarkerBase

View File

@ -46,6 +46,7 @@
- AnomalyRockGold
- AnomalyRockQuartz
- AnomalyRockUranium
- AnomalyRockBananium
chance: 1
offset: 0.15

View File

@ -227,6 +227,62 @@
energy: 3
color: "#06DF24"
- type: entity
parent: MobOreCrab
id: MobBananiumCrab
description: An ore crab made from bananium.
suffix: Bananium
components:
- type: Sprite
state: bananium_crab
- type: FactionException
- type: NPCRetaliation
attackMemoryLength: 10
- type: NpcFactionMember
factions:
- SimpleNeutral
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 30
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
BananiumOre1:
min: 1
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Slippery
slipData:
launchForwardsMultiplier: 2
- type: StepTrigger
intersectRatio: 0.2
- type: Fixtures
fixtures:
slips:
shape:
!type:PhysShapeCircle
radius: 0.35
hard: false
layer:
- SlipLayer
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 20
mask:
- MobMask
- type: MeleeWeapon
damage:
types:
Blunt: 3
- type: entity
parent: MobOreCrab
id: MobSilverCrab

View File

@ -429,3 +429,4 @@
components:
- type: Stack
count: 1

View File

@ -456,6 +456,56 @@
spawns:
- MobSpawnCrabUranium
- type: entity
id: AnomalyRockBananium
parent: AnomalyRockBase
suffix: Rock, Bananium
components:
- type: Sprite
color: "#ddde40"
- type: PointLight
radius: 2.0
energy: 7.5
color: "#ddde40"
- type: EntitySpawnAnomaly
entries:
- settings:
spawnOnPulse: true
minAmount: 8
maxAmount: 15
minRange: 4.5
maxRange: 7.5
spawns:
- WallSpawnAsteroid
- WallSpawnAsteroid
- WallSpawnAsteroidBananium
- WallSpawnAsteroidBananiumCrab
- settings:
spawnOnPulse: true
maxAmount: 3
minRange: 2.5
maxRange: 4.5
spawns:
- CrystalYellow
- settings:
spawnOnSuperCritical: true
minAmount: 30
maxAmount: 40
minRange: 5
maxRange: 15
spawns:
- CrystalYellow
- WallSpawnAsteroid
- WallSpawnAsteroid
- WallSpawnAsteroidBananiumCrab
- settings:
spawnOnSuperCritical: true
minAmount: 3
maxAmount: 6
maxRange: 5
spawns:
- MobSpawnCrabBananium
- type: entity
id: AnomalyRockQuartz
parent: AnomalyRockBase

View File

@ -369,6 +369,14 @@
- state: rock_bananium
map: [ "enum.MiningScannerVisualLayers.Overlay" ]
- type: entity
id: AsteroidRockBananiumCrab
parent: AsteroidRockBananium
suffix: Bananium Crab
components:
- type: OreVein
currentOre: OreBananiumCrab
- type: entity
id: AsteroidRockSalt
parent: AsteroidRock

View File

@ -84,6 +84,10 @@
id: OreGoldCrab
oreEntity: MobSpawnCrabGold
- type: ore
id: OreBananiumCrab
oreEntity: MobSpawnCrabBananium
- type: ore
id: OreUraniumCrab
oreEntity: MobSpawnCrabUranium
@ -114,3 +118,6 @@
OreIronCrab: 5
OreUraniumCrab: 2
OreSilverCrab: 3
OreBananiumCrab: 1
OreCoalCrab: 5
OreGoldCrab: 2

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by brainfood1183 (github), Gold and Coal Crab pallet swapped by Firewars763 (github)",
"copyright": "Made by brainfood1183 (github)",
"size": {
"x": 32,
"y": 32
@ -63,6 +63,20 @@
]
]
},
{
"name": "crab_bananium",
"directions": 1,
"delays": [
[
0.6,
0.3,
0.3,
0.3,
0.3,
0.3
]
]
},
{
"name": "crab_iron",
"directions": 1,

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -5,7 +5,7 @@
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Made by brainfood1183 (github), Gold and Coal Crab pallet swapped by Firewars763 (github),",
"copyright": "Made by brainfood1183 (github)",
"states": [
{
"name": "iron_crab",
@ -27,6 +27,10 @@
"name": "gold_crab",
"directions": 4
},
{
"name": "bananium_crab",
"directions": 4
},
{
"name": "quartz_crab",
"directions": 4