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

@@ -20,6 +20,7 @@ research-technology-super-powercells = Super Powercells
research-technology-bluespace-storage = Bluespace Storage
research-technology-portable-fission = Portable Fission
research-technology-space-scanning = Space Scanning
research-technology-excavation = Mass Excavation
research-technology-salvage-weapons = Salvage Weapons
research-technology-draconic-munitions = Draconic Munitions
@@ -43,7 +44,6 @@ research-technology-alternative-research = Alternative Research
research-technology-magnets-tech = Localized Magnetism
research-technology-advanced-parts = Advanced Parts
research-technology-anomaly-harnessing = Anomaly Core Harnessing
research-technology-grappling = Grappling
research-technology-abnormal-artifact-manipulation = Artifact Recycling
research-technology-gravity-manipulation = Gravity Manipulation
research-technology-quantum-leaping = Quantum Leaping

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

@@ -277,6 +277,7 @@
dynamicRecipes:
- PowerDrill
- MiningDrill
- MiningDrillDiamond
- AnomalyScanner
- AnomalyLocator
- AnomalyLocatorWide

View File

@@ -124,3 +124,11 @@
icon: { sprite: Objects/Misc/reagent_fillings.rsi, state: powderpile }
color: "#A9A9A9"
price: 0
- type: material
id: Diamond
name: materials-diamond
unit: materials-unit-piece
icon: { sprite: Objects/Materials/materials.rsi, state: diamond }
color: "#80ffff"
price: 20 # big diamond gaslit us so hard diamonds actually became extremely rare

View File

@@ -14,3 +14,23 @@
Steel: 1000
Glass: 500
# If they get spammed make it cost silver.
- type: latheRecipe
id: MiningDrill
result: MiningDrill
category: Tools
completetime: 3
materials:
Steel: 500
Plastic: 100
- type: latheRecipe
id: MiningDrillDiamond
result: MiningDrillDiamond
category: Tools
completetime: 3
materials:
Steel: 600
Plastic: 200
Silver: 200
Diamond: 100

View File

@@ -197,15 +197,6 @@
Glass: 50
Plastic: 50
- type: latheRecipe
id: MiningDrill
result: MiningDrill
category: Tools
completetime: 3
materials:
Steel: 500
Plastic: 100
- type: latheRecipe
id: WelderExperimental
result: WelderExperimental

View File

@@ -11,9 +11,10 @@
cost: 7500
recipeUnlocks:
- MiningDrill
- WeaponGrapplingGun
- BorgModuleMining
- BorgModuleGrapplingGun
- OreProcessorIndustrialMachineCircuitboard
- OreBagOfHolding
- ClothingMaskWeldingGas
- type: technology
@@ -106,19 +107,6 @@
- RipleyPeripheralsElectronics
- MechEquipmentGrabber
- type: technology
id: Grappling
name: research-technology-grappling
icon:
sprite: Objects/Weapons/Guns/Launchers/grappling_gun.rsi
state: base
discipline: Industrial
tier: 1
cost: 5000
recipeUnlocks:
- WeaponGrapplingGun
- BorgModuleGrapplingGun
# Tier 2
- type: technology
@@ -180,6 +168,19 @@
- BorgModuleAdvancedTool
- BorgModuleRCD
- type: technology
id: MassExcavation
name: research-technology-excavation
icon:
sprite: Objects/Tools/handdrilldiamond.rsi
state: handdrill
discipline: Industrial
tier: 2
cost: 12500
recipeUnlocks:
- OreBagOfHolding
- MiningDrillDiamond
# Tier 3
- type: technology

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

View File

@@ -0,0 +1,22 @@
{
"version": 1,
"license": "CC-BY-NC-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/8fdee6e4e3dacdb7a12efaac132933dc0fc649b4 and modified by alzore_",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "handdrill"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}