* 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.
- 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 ]
- 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
- MobSpawnCrabIron
- MobSpawnCrabQuartz
- MobSpawnCrabSilver
+ - MobSpawnCrabCoal
+ - MobSpawnCrabGold
+ - MobSpawnCrabBananium
- type: entity
parent: MarkerBase
- AnomalyRockGold
- AnomalyRockQuartz
- AnomalyRockUranium
+ - AnomalyRockBananium
chance: 1
offset: 0.15
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
components:
- type: Stack
count: 1
+
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
- 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
id: OreGoldCrab
oreEntity: MobSpawnCrabGold
+- type: ore
+ id: OreBananiumCrab
+ oreEntity: MobSpawnCrabBananium
+
- type: ore
id: OreUraniumCrab
oreEntity: MobSpawnCrabUranium
OreIronCrab: 5
OreUraniumCrab: 2
OreSilverCrab: 3
+ OreBananiumCrab: 1
+ OreCoalCrab: 5
+ OreGoldCrab: 2
{
"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
]
]
},
+ {
+ "name": "crab_bananium",
+ "directions": 1,
+ "delays": [
+ [
+ 0.6,
+ 0.3,
+ 0.3,
+ 0.3,
+ 0.3,
+ 0.3
+ ]
+ ]
+ },
{
"name": "crab_iron",
"directions": 1,
"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",
"name": "gold_crab",
"directions": 4
},
+ {
+ "name": "bananium_crab",
+ "directions": 4
+ },
{
"name": "quartz_crab",
"directions": 4