GatherableSystem/Component (#8041)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Chris V
2022-05-12 05:53:31 -07:00
committed by GitHub
parent 0de06cb9c0
commit 6cb2a01723
12 changed files with 244 additions and 192 deletions

View File

@@ -85,14 +85,11 @@
- type: Tag
tags:
- Write
- Pickaxe
- type: Sprite
sprite: Objects/Misc/bureaucracy.rsi
state: overpriced_pen
netsync: false
- type: Pickaxe
damage:
types:
Piercing: 5
- type: ItemCooldown
- type: MeleeWeapon
damage:

View File

@@ -4,10 +4,13 @@
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: Pickaxe
- type: GatheringTool
damage:
types:
Piercing: 25
@@ -29,18 +32,21 @@
id: MiningDrill
description: Powerful tool used to quickly drill through rocks
components:
- type: Sprite
sprite: Objects/Tools/handdrill.rsi
state: handdrill
- type: Pickaxe
damage:
types:
Piercing: 25
timeMultiplier: 0.75
- type: ItemCooldown
- type: MeleeWeapon
damage:
types:
Piercing: 10
Blunt: 4
arcCooldownTime: 3
- type: Tag
tags:
- Pickaxe
- type: Sprite
sprite: Objects/Tools/handdrill.rsi
state: handdrill
- type: GatheringTool
damage:
types:
Piercing: 25
gatheringTime: 0.75
- type: ItemCooldown
- type: MeleeWeapon
damage:
types:
Piercing: 10
Blunt: 4
arcCooldownTime: 3

View File

@@ -4,26 +4,12 @@
name: asteroid rock
description: An asteroid.
components:
- type: Mineable
ores:
- id: SteelOre1
prob: 0.25
orGroup: Asteroid
- id: GoldOre1
prob: 0.05
orGroup: Asteroid
- id: SpaceQuartz1
prob: 0.20
orGroup: Asteroid
- id: PlasmaOre1
prob: 0.10
orGroup: Asteroid
- id: SilverOre1
prob: 0.025
orGroup: Asteroid
- id: UraniumOre1
prob: 0.025
orGroup: Asteroid
- type: Gatherable
whitelist:
tags:
- Pickaxe
loot:
Pickaxe: MiningLootTable
- type: Sprite
sprite: Structures/Walls/asteroid_rock.rsi
state: full