Add diamond mining drills, buff regular mining drills (#30814)

* why do I have to change so much just to add drills

* diamon
This commit is contained in:
Alzore
2024-08-11 20:49:09 -05:00
committed by GitHub
parent dea9a637fb
commit bcd7085a3e
13 changed files with 161 additions and 94 deletions

View File

@@ -360,10 +360,6 @@
layers:
- state: diamond
map: ["base"]
- type: StaticPrice
price: 0
- type: StackPrice
price: 500
- type: Appearance
- type: Item
heldPrefix: diamond
@@ -375,6 +371,10 @@
reagents:
- ReagentId: Carbon
Quantity: 20
- type: Material
- type: PhysicalComposition
materialComposition:
Diamond: 100
- type: entity
parent: MaterialDiamond

View File

@@ -1,3 +1,91 @@
- type: entity
name: pickaxe
parent: BaseItem
id: Pickaxe
description: Notched to perfection, for jamming it into rocks.
components:
- type: Tag
tags:
- Pickaxe
- type: Sprite
sprite: Objects/Weapons/Melee/pickaxe.rsi
state: pickaxe
- type: MeleeWeapon
attackRate: 0.7
wideAnimationRotation: -135
soundHit:
path: "/Audio/Weapons/smash.ogg"
params:
volume: -3
damage:
groups:
Brute: 5
- type: Wieldable
- type: IncreaseDamageOnWield
damage:
groups:
Brute: 10
types:
Structural: 30
- type: Item
size: Normal
shape:
- 0,0,2,0
- 1,1,1,2
sprite: Objects/Weapons/Melee/pickaxe.rsi
storedRotation: -45
- type: UseDelay
- type: entity
name: mining drill
parent: BaseItem
id: MiningDrill
description: Powerful tool used to quickly drill through rocks.
components:
- type: Item
storedRotation: -90
- type: Tag
tags:
- Pickaxe
- type: Sprite
sprite: Objects/Tools/handdrill.rsi
state: handdrill
- type: MeleeWeapon
autoAttack: true
angle: 0
wideAnimationRotation: -90
soundHit:
path: "/Audio/Items/drill_hit.ogg"
attackRate: 4
damage:
groups:
Brute: 3
types:
Structural: 15
- type: entity
name: diamond tipped mining drill
parent: MiningDrill
id: MiningDrillDiamond
description: A significantly more efficient mining drill tipped with diamond.
components:
- type: Sprite
sprite: Objects/Tools/handdrilldiamond.rsi
state: handdrill
- type: MeleeWeapon
autoAttack: true
angle: 0
wideAnimationRotation: -90
soundHit:
path: "/Audio/Items/drill_hit.ogg"
attackRate: 4
damage:
groups:
Brute: 6
types:
Structural: 30
- type: entity
abstract: true
parent: BaseItem

View File

@@ -1,64 +0,0 @@
- type: entity
name: pickaxe
parent: BaseItem
id: Pickaxe
description: Notched to perfection, for jamming it into rocks.
components:
- type: Tag
tags:
- Pickaxe
- type: Sprite
sprite: Objects/Weapons/Melee/pickaxe.rsi
state: pickaxe
- type: MeleeWeapon
attackRate: 0.7
wideAnimationRotation: -135
soundHit:
path: "/Audio/Weapons/smash.ogg"
params:
volume: -3
damage:
groups:
Brute: 5
- type: Wieldable
- type: IncreaseDamageOnWield
damage:
groups:
Brute: 10
types:
Structural: 30
- type: Item
size: Normal
shape:
- 0,0,2,0
- 1,1,1,2
sprite: Objects/Weapons/Melee/pickaxe.rsi
storedRotation: -45
- type: UseDelay
- type: entity
name: mining drill
parent: BaseItem
id: MiningDrill
description: Powerful tool used to quickly drill through rocks.
components:
- type: Item
storedRotation: -90
- type: Tag
tags:
- Pickaxe
- type: Sprite
sprite: Objects/Tools/handdrill.rsi
state: handdrill
- type: MeleeWeapon
autoAttack: true
angle: 0
wideAnimationRotation: -90
soundHit:
path: "/Audio/Items/drill_hit.ogg"
attackRate: 3.5
damage:
groups:
Brute: 3
types:
Structural: 12

View File

@@ -16,7 +16,7 @@
mask:
- MachineMask
layer:
- MachineLayer
- MachineLayer
- type: Lathe
- type: MaterialStorage
- type: Destructible
@@ -277,6 +277,7 @@
dynamicRecipes:
- PowerDrill
- MiningDrill
- MiningDrillDiamond
- AnomalyScanner
- AnomalyLocator
- AnomalyLocatorWide