Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gold and Coal Rock Anomalies #34809

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Resources/Prototypes/Entities/Effects/mobspawn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@
- 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
Expand All @@ -51,6 +63,18 @@
- 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
Expand Down
34 changes: 33 additions & 1 deletion Resources/Prototypes/Entities/Effects/wallspawn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,22 @@
- 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
Expand All @@ -88,4 +104,20 @@
categories: [ HideSpawnMenu ]
components:
- type: SpawnOnDespawn
prototype: AsteroidRockTin
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- AnomalyFlora
- AnomalyShadow
- AnomalyTech
#- AnomalySanta
#- AnomalySanta
rareChance: 0.3
rarePrototypes:
- RandomAnomalyInjectorSpawner
Expand All @@ -40,7 +40,9 @@
- type: RandomSpawner
prototypes:
- AnomalyRockIron
- AnomalyRockCoal
- AnomalyRockSilver
- AnomalyRockGold
- AnomalyRockQuartz
- AnomalyRockUranium
chance: 1
Expand Down Expand Up @@ -69,4 +71,4 @@
- AnomalyTrapRock
#- AnomalyTrapSanta
chance: 1

Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
- CrystalOrange
- CrystalBlue
- CrystalCyan
- CrystalYellow
- CrystalBlack
- CrystalGrey
chance: 0.7
60 changes: 60 additions & 0 deletions Resources/Prototypes/Entities/Mobs/NPCs/elemental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,37 @@
- !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
Expand Down Expand Up @@ -221,6 +252,35 @@
- !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
Expand Down
32 changes: 32 additions & 0 deletions Resources/Prototypes/Entities/Objects/Materials/crystal_shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,22 @@
- 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
Expand All @@ -89,6 +105,22 @@
- 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
Expand Down
41 changes: 41 additions & 0 deletions Resources/Prototypes/Entities/Objects/Power/lights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,26 @@
- id: SheetGlass1
- id: ShardCrystalBlue

- type: entity
parent: LightTubeCrystalCyan
name: yellow crystal light tube
id: LightTubeCrystalYellow
components:
- type: LightBulb
color: "#ffde46"
lightEnergy: 3
lightRadius: 8
lightSoftness: 0.5
BurningTemperature: 350
PowerUse: 60
- type: Construction
graph: YellowLight
node: icon
- type: ToolRefinable
refineResult:
- id: SheetGlass1
- id: ShardCrystalYellow

- type: entity
parent: LightTubeCrystalCyan
name: pink crystal light tube
Expand Down Expand Up @@ -384,6 +404,27 @@
- id: SheetGlass1
- id: ShardCrystalOrange

- type: entity
parent: LightTubeCrystalCyan
name: black crystal light tube
description: A high power high energy bulb which has a small colored crystal inside. It seems quite dim.
id: LightTubeCrystalBlack
components:
- type: LightBulb
color: "#363636"
lightEnergy: 1
lightRadius: 8
lightSoftness: 0.5
BurningTemperature: 350
PowerUse: 60
- type: Construction
graph: BlackLight
node: icon
- type: ToolRefinable
refineResult:
- id: SheetGlass1
- id: ShardCrystalBlack

- type: entity
parent: LightTubeCrystalCyan
name: red crystal light tube
Expand Down
56 changes: 56 additions & 0 deletions Resources/Prototypes/Entities/Structures/Decoration/crystals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,34 @@
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
Expand Down Expand Up @@ -168,6 +196,34 @@
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
Expand Down
Loading
Loading