* This commit adds 2 new Rock Anomaly types, Coal and Gold. It also adds Resource Crabs, colored crystals, and lights for both.
* Added crafting recipes for yellow and black light tubes. Somehow I forgot that the first time.
* Sorted tags.yml alphabetically this time instead of not doing that.
* Updated Texture Copyright information
* Attempted to fix Merge Conflict
* Added bulb light variants for both yellow and black crystals.
- type: SpawnOnDespawn
prototype: MobIronCrab
+- type: entity
+ id: MobSpawnCrabCoal
+ parent: MobSpawnCrabQuartz
+ name: mobspawner coalcrab
+ categories: [ HideSpawnMenu, Spawner ]
+ components:
+ - type: Sprite
+ sprite: /Textures/Effects/mobspawn.rsi
+ state: crab_coal
+ - type: SpawnOnDespawn
+ prototype: MobCoalCrab
+
- type: entity
id: MobSpawnCrabSilver
parent: MobSpawnCrabQuartz
- type: SpawnOnDespawn
prototype: MobSilverCrab
+- type: entity
+ id: MobSpawnCrabGold
+ parent: MobSpawnCrabQuartz
+ name: mobspawner goldcrab
+ categories: [ HideSpawnMenu, Spawner ]
+ components:
+ - type: Sprite
+ sprite: /Textures/Effects/mobspawn.rsi
+ state: crab_gold
+ - type: SpawnOnDespawn
+ prototype: MobGoldCrab
+
- type: entity
id: MobSpawnCrabUranium
parent: MobSpawnCrabQuartz
- type: SpawnOnDespawn
prototype: AsteroidRockSilver
+- type: entity
+ id: WallSpawnAsteroidGoldCrab
+ parent: WallSpawnAsteroid
+ categories: [ HideSpawnMenu ]
+ components:
+ - type: SpawnOnDespawn
+ prototype: AsteroidRockGoldCrab
+
+- type: entity
+ id: WallSpawnAsteroidGold
+ parent: WallSpawnAsteroid
+ categories: [ HideSpawnMenu ]
+ components:
+ - type: SpawnOnDespawn
+ prototype: AsteroidRockGold
+
- type: entity
id: WallSpawnAsteroidIronCrab
parent: WallSpawnAsteroid
categories: [ HideSpawnMenu ]
components:
- type: SpawnOnDespawn
- prototype: AsteroidRockTin
\ No newline at end of file
+ prototype: AsteroidRockTin
+
+- type: entity
+ id: WallSpawnAsteroidCoalCrab
+ parent: WallSpawnAsteroid
+ categories: [ HideSpawnMenu ]
+ components:
+ - type: SpawnOnDespawn
+ prototype: AsteroidRockCoalCrab
+
+- type: entity
+ id: WallSpawnAsteroidCoal
+ parent: WallSpawnAsteroid
+ categories: [ HideSpawnMenu ]
+ components:
+ - type: SpawnOnDespawn
+ prototype: AsteroidRockCoal
- AnomalyFlora
- AnomalyShadow
- AnomalyTech
- #- AnomalySanta
+ #- AnomalySanta
rareChance: 0.3
rarePrototypes:
- RandomAnomalyInjectorSpawner
- type: RandomSpawner
prototypes:
- AnomalyRockIron
+ - AnomalyRockCoal
- AnomalyRockSilver
+ - AnomalyRockGold
- AnomalyRockQuartz
- AnomalyRockUranium
chance: 1
- AnomalyTrapRock
#- AnomalyTrapSanta
chance: 1
-
+
- CrystalOrange
- CrystalBlue
- CrystalCyan
+ - CrystalYellow
+ - CrystalBlack
- CrystalGrey
chance: 0.7
- !type:DoActsBehavior
acts: [ "Destruction" ]
+- type: entity
+ parent: MobOreCrab
+ id: MobCoalCrab
+ description: An ore crab made from coal.
+ components:
+ - type: Sprite
+ state: coal_crab
+ - type: MeleeWeapon
+ damage:
+ types:
+ Blunt: 2.5
+ - type: MovementSpeedModifier
+ baseWalkSpeed : 1.0
+ baseSprintSpeed : 1.5
+ - type: Destructible
+ thresholds:
+ - trigger:
+ !type:DamageTrigger
+ damage: 100
+ behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
+ - !type:SpawnEntitiesBehavior
+ spawn:
+ Coal1:
+ min: 2
+ max: 4
+ - !type:DoActsBehavior
+ acts: [ "Destruction" ]
+
- type: entity
parent: MobOreCrab
id: MobUraniumCrab
- !type:DoActsBehavior
acts: [ "Destruction" ]
+- type: entity
+ parent: MobOreCrab
+ id: MobGoldCrab
+ name: ore crab
+ description: An ore crab made from gold.
+ components:
+ - type: Sprite
+ state: gold_crab
+ - type: MeleeWeapon
+ damage:
+ types:
+ Blunt: 5
+ - type: Destructible
+ thresholds:
+ - trigger:
+ !type:DamageTrigger
+ damage: 70
+ behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
+ - !type:SpawnEntitiesBehavior
+ spawn:
+ GoldOre1:
+ min: 1
+ max: 3
+ - !type:DoActsBehavior
+ acts: [ "Destruction" ]
+
- type: entity
name: reagent slime
id: ReagentSlime
- Trash
- CrystalBlue
+- type: entity
+ parent: ShardCrystalBase
+ name: yellow crystal shard
+ id: ShardCrystalYellow
+ components:
+ - type: Sprite
+ color: "#ffde46"
+ - type: PointLight
+ radius: 2
+ energy: 2.5
+ color: "#ffde46"
+ - type: Tag
+ tags:
+ - Trash
+ - CrystalYellow
+
- type: entity
parent: ShardCrystalBase
id: ShardCrystalOrange
- Trash
- CrystalOrange
+- type: entity
+ parent: ShardCrystalBase
+ name: black crystal shard
+ id: ShardCrystalBlack
+ components:
+ - type: Sprite
+ color: "#363636"
+ - type: PointLight
+ radius: 2
+ energy: 2.5
+ color: "#363636"
+ - type: Tag
+ tags:
+ - Trash
+ - CrystalBlack
+
- type: entity
parent: ShardCrystalBase
id: ShardCrystalPink
- id: SheetGlass1
- id: ShardCrystalBlue
+- type: entity
+ parent: BaseLightTubeCrystal
+ name: yellow crystal light tube
+ id: LightTubeCrystalYellow
+ components:
+ - type: LightBulb
+ color: "#ffde46"
+ - type: Construction
+ graph: YellowLight
+ node: icon
+ - type: ToolRefinable
+ refineResult:
+ - id: SheetGlass1
+ - id: ShardCrystalYellow
+
- type: entity
parent: BaseLightTubeCrystal
name: pink crystal light tube
- id: SheetGlass1
- id: ShardCrystalOrange
+- type: entity
+ parent: BaseLightTubeCrystal
+ name: black crystal light tube
+ description: A high power high energy bulb which has a small colored crystal inside. It isn't very bright.
+ id: LightTubeCrystalBlack
+ components:
+ - type: LightBulb
+ color: "#363636"
+ lightEnergy: 1
+ lightRadius: 8
+ - type: Construction
+ graph: BlackLight
+ node: icon
+ - type: ToolRefinable
+ refineResult:
+ - id: SheetGlass1
+ - id: ShardCrystalBlack
+
- type: entity
parent: BaseLightTubeCrystal
name: red crystal light tube
- id: SheetGlass1
- id: ShardCrystalBlue
+- type: entity
+ parent: BaseLightbulbCrystal
+ name: yellow crystal light bulb
+ id: LightBulbCrystalYellow
+ components:
+ - type: LightBulb
+ color: "#ffde46"
+ - type: Construction
+ graph: YellowLightBulb
+ node: icon
+ - type: ToolRefinable
+ refineResult:
+ - id: SheetGlass1
+ - id: ShardCrystalYellow
+
- type: entity
parent: BaseLightbulbCrystal
name: pink crystal light bulb
- id: SheetGlass1
- id: ShardCrystalOrange
+- type: entity
+ parent: BaseLightbulbCrystal
+ name: black crystal light bulb
+ description: A high power high energy bulb which has a small colored crystal inside. It isn't very bright.
+ id: LightBulbCrystalBlack
+ components:
+ - type: LightBulb
+ color: "#363636"
+ lightEnergy: 1
+ lightRadius: 8
+ - type: Construction
+ graph: BlackLightBulb
+ node: icon
+ - type: ToolRefinable
+ refineResult:
+ - id: SheetGlass1
+ - id: ShardCrystalBlack
+
- type: entity
parent: BaseLightbulbCrystal
name: red crystal light bulb
min: 1
max: 2
+- type: entity
+ id: CrystalBlack
+ parent: CrystalGreen
+ suffix: black
+ components:
+ - type: Sprite
+ color: "#363636"
+ - type: PointLight
+ radius: 3
+ energy: 3
+ color: "#363636"
+ - type: Destructible
+ thresholds:
+ - trigger:
+ !type:DamageTrigger
+ damage: 20
+ behaviors:
+ - !type:DoActsBehavior
+ acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
+ - !type:SpawnEntitiesBehavior
+ spawn:
+ ShardCrystalBlack:
+ min: 1
+ max: 2
+
- type: entity
id: CrystalBlue
parent: CrystalGreen
min: 1
max: 2
+- type: entity
+ id: CrystalYellow
+ parent: CrystalGreen
+ suffix: yellow
+ components:
+ - type: Sprite
+ color: "#ffde46"
+ - type: PointLight
+ radius: 3
+ energy: 3
+ color: "#ffde46"
+ - type: Destructible
+ thresholds:
+ - trigger:
+ !type:DamageTrigger
+ damage: 20
+ behaviors:
+ - !type:DoActsBehavior
+ acts: [ "Destruction" ]
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
+ - !type:SpawnEntitiesBehavior
+ spawn:
+ ShardCrystalYellow:
+ min: 1
+ max: 2
+
- type: entity
id: CrystalCyan
parent: CrystalGreen
softness: 0.5
color: "#39a1ff"
+- type: entity
+ id: PoweredlightYellow
+ suffix: Yellow
+ parent: Poweredlight
+ components:
+ - type: PoweredLight
+ hasLampOnSpawn: LightTubeCrystalYellow
+ - type: PointLight
+ radius: 8
+ energy: 3
+ softness: 0.5
+ color: "#ffde46"
+ - type: DamageOnInteract
+ damage:
+ types:
+ Heat: 2
+ popupText: powered-light-component-burn-hand
+
+- type: entity
+ id: AlwaysPoweredlightYellow
+ suffix: Always Powered, Yellow
+ parent: AlwaysPoweredWallLight
+ components:
+ - type: PointLight
+ radius: 8
+ energy: 3
+ softness: 0.5
+ color: "#ffde46"
+
- type: entity
id: PoweredlightPink
suffix: Pink
softness: 0.5
color: "#ff8227"
+- type: entity
+ id: PoweredlightBlack
+ suffix: Black
+ parent: Poweredlight
+ description:
+ components:
+ - type: PoweredLight
+ hasLampOnSpawn: LightTubeCrystalBlack
+ - type: PointLight
+ radius: 8
+ energy: 1
+ softness: 0.5
+ color: "#363636"
+ - type: DamageOnInteract
+ damage:
+ types:
+ Heat: 2
+ popupText: powered-light-component-burn-hand
+
+- type: entity
+ id: AlwaysPoweredlightBlack
+ suffix: Always Powered, Black
+ parent: AlwaysPoweredWallLight
+ components:
+ - type: PointLight
+ radius: 8
+ energy: 1
+ softness: 0.5
+ color: "#363636"
+
- type: entity
id: PoweredlightRed
suffix: Red
spawns:
- MobSpawnCrabSilver
+- type: entity
+ id: AnomalyRockGold
+ parent: AnomalyRockBase
+ suffix: Rock, Gold
+ components:
+ - type: Sprite
+ color: "#e3ba70"
+ - type: PointLight
+ radius: 2.0
+ energy: 7.5
+ color: "#e3ba70"
+ - type: EntitySpawnAnomaly
+ entries:
+ - settings:
+ spawnOnPulse: true
+ minAmount: 8
+ maxAmount: 15
+ minRange: 4.5
+ maxRange: 7.5
+ spawns:
+ - WallSpawnAsteroid
+ - WallSpawnAsteroid
+ - WallSpawnAsteroidGold
+ - WallSpawnAsteroidGoldCrab
+ - 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
+ - WallSpawnAsteroidGoldCrab
+ - settings:
+ spawnOnSuperCritical: true
+ minAmount: 6
+ maxAmount: 10
+ maxRange: 5
+ spawns:
+ - MobSpawnCrabGold
+
- type: entity
id: AnomalyRockIron
parent: AnomalyRockBase
spawns:
- MobSpawnCrabIron
+- type: entity
+ id: AnomalyRockCoal
+ parent: AnomalyRockBase
+ suffix: Rock, Coal
+ components:
+ - type: Sprite
+ color: "#484848"
+ - type: PointLight
+ radius: 2.0
+ energy: 7.5
+ color: "#484848"
+ - type: EntitySpawnAnomaly
+ entries:
+ - settings:
+ spawnOnPulse: true
+ minAmount: 8
+ maxAmount: 15
+ minRange: 4.5
+ maxRange: 7.5
+ spawns:
+ - WallSpawnAsteroid
+ - WallSpawnAsteroid
+ - WallSpawnAsteroidCoal
+ - WallSpawnAsteroidCoalCrab
+ - settings:
+ spawnOnPulse: true
+ maxAmount: 3
+ minRange: 2.5
+ maxRange: 4.5
+ spawns:
+ - CrystalBlack
+ - settings:
+ spawnOnSuperCritical: true
+ minAmount: 30
+ maxAmount: 40
+ minRange: 5
+ maxRange: 15
+ spawns:
+ - CrystalBlack
+ - WallSpawnAsteroid
+ - WallSpawnAsteroid
+ - WallSpawnAsteroidCoalCrab
+ - settings:
+ spawnOnSuperCritical: true
+ minAmount: 6
+ maxAmount: 10
+ maxRange: 5
+ spawns:
+ - MobSpawnCrabCoal
+
- type: entity
id: AnomalyFlora
parent: BaseAnomaly
- state: rock_coal
map: [ "enum.MiningScannerVisualLayers.Overlay" ]
+- type: entity
+ id: AsteroidRockCoalCrab
+ parent: AsteroidRock
+ description: An ore vein rich with coal.
+ suffix: Coal Crab
+ components:
+ - type: OreVein
+ oreChance: 1.0
+ currentOre: OreCoalCrab
+ - type: Sprite
+ layers:
+ - state: rock_asteroid
+ - map: [ "enum.EdgeLayer.South" ]
+ state: rock_asteroid_south
+ - map: [ "enum.EdgeLayer.East" ]
+ state: rock_asteroid_east
+ - map: [ "enum.EdgeLayer.North" ]
+ state: rock_asteroid_north
+ - map: [ "enum.EdgeLayer.West" ]
+ state: rock_asteroid_west
+ - state: rock_coal
+ map: [ "enum.MiningScannerVisualLayers.Overlay" ]
+
- type: entity
id: AsteroidRockGold
parent: AsteroidRock
- state: rock_gold
map: [ "enum.MiningScannerVisualLayers.Overlay" ]
+- type: entity
+ id: AsteroidRockGoldCrab
+ parent: AsteroidRock
+ description: An ore vein rich with gold.
+ suffix: Gold Crab
+ components:
+ - type: OreVein
+ oreChance: 1.0
+ currentOre: OreGoldCrab
+ - type: Sprite
+ layers:
+ - state: rock_asteroid
+ - map: [ "enum.EdgeLayer.South" ]
+ state: rock_asteroid_south
+ - map: [ "enum.EdgeLayer.East" ]
+ state: rock_asteroid_east
+ - map: [ "enum.EdgeLayer.North" ]
+ state: rock_asteroid_north
+ - map: [ "enum.EdgeLayer.West" ]
+ state: rock_asteroid_west
+ - state: rock_gold
+ map: [ "enum.MiningScannerVisualLayers.Overlay" ]
+
- type: entity
id: AsteroidRockDiamond
parent: AsteroidRock
- CrystalGreen
- CrystalPink
- CrystalOrange
+ - CrystalBlack
- CrystalBlue
+ - CrystalYellow
- CrystalCyan
- !type:BiomeEntityLayer
threshold: 0.95
- CrystalGreen
- CrystalPink
- CrystalOrange
+ - CrystalBlack
- CrystalBlue
+ - CrystalYellow
- CrystalCyan
- !type:BiomeEntityLayer
threshold: 0.95
- node: icon
entity: LightTubeCrystalBlue
+- type: constructionGraph
+ id: YellowLight
+ start: start
+ graph:
+ - node: start
+ edges:
+ - to: icon
+ steps:
+ - material: Glass
+ amount: 1
+ doAfter: 1
+ - tag: CrystalYellow
+ name: yellow crystal shard
+ icon:
+ sprite: Objects/Materials/Shards/crystal.rsi
+ state: shard1
+ doAfter: 1
+ - node: icon
+ entity: LightTubeCrystalYellow
+
- type: constructionGraph
id: PinkLight
start: start
- node: icon
entity: LightTubeCrystalOrange
+- type: constructionGraph
+ id: BlackLight
+ start: start
+ graph:
+ - node: start
+ edges:
+ - to: icon
+ steps:
+ - material: Glass
+ amount: 1
+ doAfter: 1
+ - tag: CrystalBlack
+ name: black crystal shard
+ icon:
+ sprite: Objects/Materials/Shards/crystal.rsi
+ state: shard1
+ doAfter: 1
+ - node: icon
+ entity: LightTubeCrystalBlack
+
- type: constructionGraph
id: RedLight
start: start
- node: icon
entity: LightBulbCrystalBlue
+- type: constructionGraph
+ id: YellowLightBulb
+ start: start
+ graph:
+ - node: start
+ edges:
+ - to: icon
+ steps:
+ - material: Glass
+ amount: 1
+ doAfter: 1
+ - tag: CrystalYellow
+ name: yellow crystal shard
+ icon:
+ sprite: Objects/Materials/Shards/crystal.rsi
+ state: shard1
+ doAfter: 1
+ - node: icon
+ entity: LightBulbCrystalYellow
+
- type: constructionGraph
id: PinkLightBulb
start: start
- node: icon
entity: LightBulbCrystalOrange
+- type: constructionGraph
+ id: BlackLightBulb
+ start: start
+ graph:
+ - node: start
+ edges:
+ - to: icon
+ steps:
+ - material: Glass
+ amount: 1
+ doAfter: 1
+ - tag: CrystalBlack
+ name: black crystal shard
+ icon:
+ sprite: Objects/Materials/Shards/crystal.rsi
+ state: shard1
+ doAfter: 1
+ - node: icon
+ entity: LightBulbCrystalBlack
+
- type: constructionGraph
id: RedLightBulb
start: start
icon: { sprite: Objects/Power/light_tube.rsi, state: normal }
objectType: Item
+- type: construction
+ name: yellow light tube
+ id: YellowLight
+ graph: YellowLight
+ startNode: start
+ targetNode: icon
+ category: construction-category-utilities
+ description: A high powered light tube containing a yellow crystal
+ icon: { sprite: Objects/Power/light_tube.rsi, state: normal }
+ objectType: Item
+
- type: construction
name: pink light tube
id: PinkLight
icon: { sprite: Objects/Power/light_tube.rsi, state: normal }
objectType: Item
+- type: construction
+ name: black light tube
+ id: BlackLight
+ graph: BlackLight
+ startNode: start
+ targetNode: icon
+ category: construction-category-utilities
+ description: A high powered light tube containing a black crystal. It won't be very bright.
+ icon: { sprite: Objects/Power/light_tube.rsi, state: normal }
+ objectType: Item
+
- type: construction
name: red light tube
id: RedLight
icon: { sprite: Objects/Power/light_bulb.rsi, state: normal }
objectType: Item
+- type: construction
+ name: yellow light bulb
+ id: YellowLightBulb
+ graph: YellowLightBulb
+ startNode: start
+ targetNode: icon
+ category: construction-category-utilities
+ description: A high powered light bulb containing a yellow crystal.
+ icon: { sprite: Objects/Power/light_bulb.rsi, state: normal }
+ objectType: Item
+
- type: construction
name: pink light bulb
id: PinkLightBulb
icon: { sprite: Objects/Power/light_bulb.rsi, state: normal }
objectType: Item
+- type: construction
+ name: black light bulb
+ id: BlackLightBulb
+ graph: BlackLightBulb
+ startNode: start
+ targetNode: icon
+ category: construction-category-utilities
+ description: A high powered light bulb containing a black crystal. It won't be very bright.
+ icon: { sprite: Objects/Power/light_bulb.rsi, state: normal }
+ objectType: Item
+
- type: construction
name: red light bulb
id: RedLightBulb
id: OreIronCrab
oreEntity: MobSpawnCrabIron
+- type: ore
+ id: OreCoalCrab
+ oreEntity: MobSpawnCrabCoal
+
- type: ore
id: OreSilverCrab
oreEntity: MobSpawnCrabSilver
+- type: ore
+ id: OreGoldCrab
+ oreEntity: MobSpawnCrabGold
+
- type: ore
id: OreUraniumCrab
oreEntity: MobSpawnCrabUranium
- type: Tag
id: Cryobeaker
+- type: Tag
+ id: CrystalBlack
+
- type: Tag
id: CrystalBlue
- type: Tag
id: CrystalRed
+- type: Tag
+ id: CrystalYellow
+
- type: Tag
id: CubanCarp
{
"version": 1,
"license": "CC-BY-SA-3.0",
- "copyright": "Made by brainfood1183 (github)",
+ "copyright": "Made by brainfood1183 (github), Gold and Coal Crab pallet swapped by Firewars763 (github)",
"size": {
"x": 32,
"y": 32
]
]
},
+ {
+ "name": "crab_gold",
+ "directions": 1,
+ "delays": [
+ [
+ 0.6,
+ 0.3,
+ 0.3,
+ 0.3,
+ 0.3,
+ 0.3
+ ]
+ ]
+ },
{
"name": "crab_uranium",
"directions": 1,
0.3
]
]
+ },
+ {
+ "name": "crab_coal",
+ "directions": 1,
+ "delays": [
+ [
+ 0.6,
+ 0.3,
+ 0.3,
+ 0.3,
+ 0.3,
+ 0.3
+ ]
+ ]
}
]
}
"y": 32
},
"license": "CC-BY-SA-3.0",
- "copyright": "Made by brainfood1183 (github)",
+ "copyright": "Made by brainfood1183 (github), Gold and Coal Crab pallet swapped by Firewars763 (github),",
"states": [
{
"name": "iron_crab",
"directions": 4
},
+ {
+ "name": "coal_crab",
+ "directions": 4
+ },
{
"name": "uranium_crab",
"directions": 4
"name": "silver_crab",
"directions": 4
},
+ {
+ "name": "gold_crab",
+ "directions": 4
+ },
{
"name": "quartz_crab",
"directions": 4