Mining rebalance + seismic charges (#23757)

* push

* PUSH

* reuse cryo explosion

* minus loud

* ore band + pka

* idk dawg
This commit is contained in:
Emisse
2024-01-08 22:27:00 -07:00
committed by GitHub
parent b8e8e6141a
commit 78442ce4e2
14 changed files with 174 additions and 61 deletions

View File

@@ -10,12 +10,12 @@
- id: NitrogenTankFilled - id: NitrogenTankFilled
- id: ClothingShoesBootsMag - id: ClothingShoesBootsMag
- id: ClothingMaskGasExplorer - id: ClothingMaskGasExplorer
# Currently do not function as 'true' mesons, so they're useless for salvagers.
# - id: ClothingEyesGlassesMeson
- id: ClothingBeltUtilityFilled - id: ClothingBeltUtilityFilled
- id: SurvivalKnife - id: SurvivalKnife
- id: HandheldGPSBasic - id: HandheldGPSBasic
- id: RadioHandheld - id: RadioHandheld
- id: SeismicCharge
amount: 2
- id: OreBag - id: OreBag
prob: 0.5 prob: 0.5
- id: Flare - id: Flare
@@ -38,6 +38,8 @@
- id: SurvivalKnife - id: SurvivalKnife
- id: HandheldGPSBasic - id: HandheldGPSBasic
- id: RadioHandheld - id: RadioHandheld
- id: SeismicCharge
amount: 2
- id: OreBag - id: OreBag
prob: 0.5 prob: 0.5
- id: Flare - id: Flare

View File

@@ -9,6 +9,7 @@
Floodlight: 2 Floodlight: 2
HandheldGPSBasic: 2 HandheldGPSBasic: 2
RadioHandheld: 2 RadioHandheld: 2
WeaponProtoKineticAccelerator: 3 WeaponProtoKineticAccelerator: 4
SeismicCharge: 2
FultonBeacon: 1 FultonBeacon: 1
Fulton: 2 Fulton: 2

View File

@@ -12,19 +12,23 @@
- type: damageModifierSet - type: damageModifierSet
id: StructuralMetallicStrong id: StructuralMetallicStrong
coefficients: coefficients:
Blunt: 0.5
Slash: 0.5
Piercing: 0.5
Shock: 1.2 Shock: 1.2
Structural: 0.5 Structural: 0.25
flatReductions: flatReductions:
Blunt: 20 Blunt: 10
Slash: 20 Slash: 10
Piercing: 20 Piercing: 10
Heat: 20 Heat: 10
Structural: 15 Structural: 10
- type: damageModifierSet - type: damageModifierSet
id: StructuralMetallic id: StructuralMetallic
coefficients: coefficients:
Shock: 1.2 Shock: 1.2
Heat: 1.2
Structural: 0.5 Structural: 0.5
flatReductions: flatReductions:
Blunt: 10 Blunt: 10
@@ -33,6 +37,17 @@
Heat: 10 Heat: 10
Structural: 10 Structural: 10
- type: damageModifierSet
id: Rock
coefficients:
Structural: 4
Blunt: 0.5
Slash: 0.25
Piercing: 0.75
Heat: 0.9
flatReductions:
Blunt: 5
- type: damageModifierSet - type: damageModifierSet
id: PerforatedMetallic id: PerforatedMetallic
coefficients: coefficients:
@@ -63,9 +78,9 @@
Piercing: 0.7 Piercing: 0.7
Shock: 1.2 Shock: 1.2
flatReductions: flatReductions:
Blunt: 14 Blunt: 10
Slash: 15 Slash: 10
Piercing: 15 Piercing: 10
Shock: 10 Shock: 10
Heat: 10 Heat: 10

View File

@@ -1,7 +1,44 @@
- type: entity - type: entity
id: BasePlasticExplosive
parent: BaseItem
abstract: true
components:
- type: Item
size: Small
- type: Sticky
stickDelay: 5
unstickDelay: 5
stickPopupStart: comp-sticky-start-stick-bomb
stickPopupSuccess: comp-sticky-success-stick-bomb
unstickPopupStart: comp-sticky-start-unstick-bomb
unstickPopupSuccess: comp-sticky-success-unstick-bomb
blacklist: # can't stick it to other items
components:
- Item
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:ExplodeBehavior
- type: StickyVisualizer
- type: Appearance
- type: GenericVisualizer
visuals:
enum.Trigger.TriggerVisuals.VisualState:
base:
Primed: { state: primed }
Unprimed: { state: complete }
- type: entity
name: composition C-4 name: composition C-4
description: Used to put holes in specific areas without too much extra hole. A saboteur's favorite. description: Used to put holes in specific areas without too much extra hole. A saboteur's favorite.
parent: BaseItem parent: BasePlasticExplosive
id: C4 id: C4
components: components:
- type: Sprite - type: Sprite
@@ -10,8 +47,6 @@
layers: layers:
- state: icon - state: icon
map: ["base"] map: ["base"]
- type: Item
size: Small
- type: OnUseTimerTrigger - type: OnUseTimerTrigger
delay: 10 delay: 10
delayOptions: [10, 30, 60, 120, 300] delayOptions: [10, 30, 60, 120, 300]
@@ -23,16 +58,6 @@
- type: DeviceLinkSink - type: DeviceLinkSink
ports: ports:
- Trigger - Trigger
- type: Sticky
stickDelay: 5
unstickDelay: 5
stickPopupStart: comp-sticky-start-stick-bomb
stickPopupSuccess: comp-sticky-success-stick-bomb
unstickPopupStart: comp-sticky-start-unstick-bomb
unstickPopupSuccess: comp-sticky-success-unstick-bomb
blacklist: # can't stick it to other items
components:
- Item
- type: Explosive # Powerful explosion in a very small radius. Doesn't break underplating. - type: Explosive # Powerful explosion in a very small radius. Doesn't break underplating.
explosionType: DemolitionCharge explosionType: DemolitionCharge
totalIntensity: 60 totalIntensity: 60
@@ -40,19 +65,6 @@
maxIntensity: 30 maxIntensity: 30
canCreateVacuum: false canCreateVacuum: false
- type: ExplodeOnTrigger - type: ExplodeOnTrigger
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:ExplodeBehavior
- type: StickyVisualizer
- type: Appearance
- type: HolidayVisuals - type: HolidayVisuals
holidays: holidays:
festive: festive:
@@ -60,9 +72,37 @@
- type: HolidayRsiSwap - type: HolidayRsiSwap
sprite: sprite:
festive: Objects/Weapons/Bombs/c4gift.rsi festive: Objects/Weapons/Bombs/c4gift.rsi
- type: GenericVisualizer
visuals: - type: entity
enum.Trigger.TriggerVisuals.VisualState: name: seismic charge
base: description: Concussion based explosive designed to destroy large amounts of rock.
Primed: { state: primed } parent: BasePlasticExplosive
Unprimed: { state: complete } id: SeismicCharge
components:
- type: Sprite
sprite: Objects/Weapons/Bombs/seismic.rsi
state: icon
layers:
- state: icon
map: ["base"]
- type: OnUseTimerTrigger
delay: 5
delayOptions: [5, 10, 15, 20]
initialBeepDelay: 0
beepSound:
path: /Audio/Effects/Cargo/buzz_two.ogg
params:
volume: -3
startOnStick: false
canToggleStartOnStick: true
- type: TriggerOnSignal
- type: DeviceLinkSink
ports:
- Trigger
- type: Explosive
explosionType: Cryo
totalIntensity: 120
intensitySlope: 2
maxIntensity: 30
canCreateVacuum: false
- type: ExplodeOnTrigger

View File

@@ -391,12 +391,12 @@
layers: layers:
- state: chronobolt - state: chronobolt
shader: unshaded shader: unshaded
- type: GatheringProjectile
- type: Projectile - type: Projectile
impactEffect: BulletImpactEffectKinetic impactEffect: BulletImpactEffectKinetic
damage: damage:
types: types:
Blunt: 25 Blunt: 25
Structural: 30
# Short lifespan # Short lifespan
- type: TimedDespawn - type: TimedDespawn
lifetime: 0.4 lifetime: 0.4

View File

@@ -46,15 +46,15 @@
wideAnimationRotation: -135 wideAnimationRotation: -135
damage: damage:
types: types:
Blunt: 8 Blunt: 10
Slash: 2 Slash: 5
- type: Wieldable - type: Wieldable
- type: IncreaseDamageOnWield - type: IncreaseDamageOnWield
damage: damage:
types: types:
Blunt: 2.5 Blunt: 2.5
Slash: 2.5 Slash: 2.5
Structural: 10 Structural: 30
- type: GunRequiresWield - type: GunRequiresWield
- type: Item - type: Item
size: Ginormous size: Ginormous
@@ -78,7 +78,7 @@
attackRate: 1.5 attackRate: 1.5
damage: damage:
types: types:
Slash: 12 Slash: 15
- type: Tag - type: Tag
tags: tags:
- Knife - Knife
@@ -97,7 +97,7 @@
- type: LeechOnMarker - type: LeechOnMarker
leech: leech:
groups: groups:
Brute: -15 Brute: -30
- type: MeleeWeapon - type: MeleeWeapon
attackRate: 1.25 attackRate: 1.25
- type: Tag - type: Tag

View File

@@ -11,7 +11,12 @@
sprite: Objects/Weapons/Melee/pickaxe.rsi sprite: Objects/Weapons/Melee/pickaxe.rsi
state: pickaxe state: pickaxe
- type: MeleeWeapon - type: MeleeWeapon
attackRate: 0.7
wideAnimationRotation: -135 wideAnimationRotation: -135
soundHit:
path: "/Audio/Weapons/smash.ogg"
params:
volume: -3
damage: damage:
groups: groups:
Brute: 5 Brute: 5
@@ -21,7 +26,7 @@
groups: groups:
Brute: 10 Brute: 10
types: types:
Structural: 25 Structural: 30
- type: Item - type: Item
size: Normal size: Normal
shape: shape:
@@ -44,9 +49,12 @@
sprite: Objects/Tools/handdrill.rsi sprite: Objects/Tools/handdrill.rsi
state: handdrill state: handdrill
- type: MeleeWeapon - type: MeleeWeapon
attackRate: 1.5 wideAnimationRotation: -90
soundHit:
path: "/Audio/Items/drill_hit.ogg"
attackRate: 3.5
damage: damage:
groups: groups:
Brute: 10 Brute: 3
types: types:
Structural: 20 Structural: 12

View File

@@ -11,11 +11,6 @@
components: components:
- type: PlacementReplacement - type: PlacementReplacement
key: walls key: walls
- type: SoundOnGather
- type: Gatherable
whitelist:
tags:
- Pickaxe
- type: IconSmooth - type: IconSmooth
key: walls key: walls
mode: NoSprite mode: NoSprite
@@ -34,15 +29,20 @@
state: rock_asteroid_west state: rock_asteroid_west
- type: Damageable - type: Damageable
damageContainer: StructuralInorganic damageContainer: StructuralInorganic
damageModifierSet: Metallic damageModifierSet: Rock
- type: Destructible - type: Destructible
thresholds: thresholds:
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 150 damage: 120
behaviors: behaviors:
- !type:DoActsBehavior - !type:DoActsBehavior
acts: ["Destruction"] acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/break_stone.ogg
params:
volume: -6
- type: Occluder - type: Occluder
- type: Airtight - type: Airtight
- type: Fixtures - type: Fixtures

View File

@@ -9,36 +9,52 @@
- type: ore - type: ore
id: OreSteel id: OreSteel
oreEntity: SteelOre1 oreEntity: SteelOre1
minOreYield: 1
maxOreYield: 5
- type: ore - type: ore
id: OreSpaceQuartz id: OreSpaceQuartz
oreEntity: SpaceQuartz1 oreEntity: SpaceQuartz1
minOreYield: 1
maxOreYield: 5
- type: ore - type: ore
id: OreCoal id: OreCoal
oreEntity: Coal1 oreEntity: Coal1
minOreYield: 1
maxOreYield: 5
# Medium yields # Medium yields
- type: ore - type: ore
id: OreGold id: OreGold
oreEntity: GoldOre1 oreEntity: GoldOre1
minOreYield: 1
maxOreYield: 3
- type: ore - type: ore
id: OreSilver id: OreSilver
oreEntity: SilverOre1 oreEntity: SilverOre1
minOreYield: 1
maxOreYield: 3
# Low yields # Low yields
- type: ore - type: ore
id: OrePlasma id: OrePlasma
oreEntity: PlasmaOre1 oreEntity: PlasmaOre1
minOreYield: 1
maxOreYield: 2
- type: ore - type: ore
id: OreUranium id: OreUranium
oreEntity: UraniumOre1 oreEntity: UraniumOre1
minOreYield: 1
maxOreYield: 2
- type: ore - type: ore
id: OreBananium id: OreBananium
oreEntity: BananiumOre1 oreEntity: BananiumOre1
minOreYield: 1
maxOreYield: 3
- type: ore - type: ore
id: OreQuartzCrab id: OreQuartzCrab

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

View File

@@ -0,0 +1,31 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "made by Emisse for ss14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "primed",
"delays": [
[
0.1,
0.1
]
]
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B