Skip to content

Commit

Permalink
altrock change
Browse files Browse the repository at this point in the history
  • Loading branch information
HellCatten committed Oct 1, 2024
1 parent fc617d4 commit 24eabc4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 18 deletions.
15 changes: 15 additions & 0 deletions Resources/Prototypes/Damage/modifier_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,21 @@
flatReductions:
Blunt: 5

- type: damageModifierSet
id: RockStrong
coefficients:
Structural: 4
Blunt: 0.25
Slash: 0.1
Piercing: 0.25
Heat: 0.5
flatReduction:
Blunt: 10
Slash: 10
Piercing: 10
Heat: 10
Structural: 10

- type: damageModifierSet
id: PerforatedMetallic
coefficients:
Expand Down
29 changes: 11 additions & 18 deletions Resources/Prototypes/DeltaV/Entities/Structures/Walls/mountain.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# WD edit. Changed behavior to getting Structural damage, so it's now StructuralInorganic
# Was Inorganic and gatherable by pickaxe (removed).
# OreChance increased from 0.33 to 0.5 and from 0.2 to 0.25

- type: entity
id: AsteroidAltRock #It's 1994
id: AsteroidAltRock #It was 1994. Now it's 2024.
parent: BaseStructure
name: asteroid rock
suffix: Low Ore Yield
Expand All @@ -10,12 +14,12 @@
state: full
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: Metallic
damageModifierSet: RockStrong
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 150
damage: 120
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
Expand Down Expand Up @@ -53,35 +57,24 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 300
damage: 240
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- type: OreVein
oreChance: 0.20
oreChance: 0.25
oreRarityPrototypeId: RandomOreDistributionHigh

- type: entity
id: MountainRock
parent: BaseStructure
name: mountain rock
suffix: Un-mineable
suffix: Un-destructible
description: A craggy mountain wall. It is too hard to mine.
components:
- type: Sprite
sprite: DeltaV/Structures/Walls/mountain_rock.rsi
state: full
- type: Damageable
damageContainer: Inorganic
damageModifierSet: StrongMetallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 1500
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- type: Occluder
- type: Airtight
- type: Fixtures
Expand Down Expand Up @@ -118,5 +111,5 @@
description: A rocky asteroid.
components:
- type: OreVein
oreChance: 0.33
oreChance: 0.5
oreRarityPrototypeId: OreCrab

0 comments on commit 24eabc4

Please sign in to comment.