Salvage Threat: Gibtonite (#37160)

This commit is contained in:
Nemanja
2025-05-03 20:38:47 -04:00
committed by GitHub
parent fbd409a54b
commit 9afa15ab41
6 changed files with 147 additions and 15 deletions

View File

@@ -49,6 +49,56 @@
params:
volume: -6
- type: entity
abstract: true
id: BaseRockGibtonite
suffix: Gibtonite
components:
- type: Appearance
- type: GenericVisualizer
visuals:
enum.Trigger.TriggerVisuals.VisualState:
"gib":
Primed:
state: gibtonite_active
shader: unshaded
visible: true
Unprimed:
state: gibtonite_inactive
visible: false
- type: OnUseTimerTrigger
examinable: false
beepInterval: 0.4
beepSound:
collection: GlassCrack
- type: RandomTimerTrigger
min: 8
max: 10
- type: ExplodeOnTrigger
- type: Explosive
explosionType: DemolitionCharge
totalIntensity: 450
intensitySlope: 2.5
maxIntensity: 10
canCreateVacuum: false
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 3
behaviors:
- !type:TimerStartBehavior
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- trigger:
!type:DamageTrigger
damage: 500 # you have to really smack it for it to manually detonate. re-examine once defusal exists
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:TriggerBehavior
# Ore veins
- type: entity
id: AsteroidRockCoal
@@ -351,6 +401,25 @@
- state: rock_artifact_fragment
map: [ "enum.MiningScannerVisualLayers.Overlay" ]
- type: entity
parent: [ BaseRockGibtonite, AsteroidRock ]
id: AsteroidRockGibtonite
components:
- type: Sprite
layers:
- state: rock_asteroid
- map: [ "enum.EdgeLayer.South" ]
state: rock_asteroid_south
- map: [ "enum.EdgeLayer.East" ]
state: rock_asteroid_east
- map: [ "enum.EdgeLayer.North" ]
state: rock_asteroid_north
- map: [ "enum.EdgeLayer.West" ]
state: rock_asteroid_west
- state: gibtonite_inactive
visible: false
map: [ "enum.MiningScannerVisualLayers.Overlay", "gib" ]
- type: entity
id: AsteroidRockMining
parent: AsteroidRock
@@ -631,6 +700,25 @@
- state: rock_artifact_fragment
map: [ "enum.MiningScannerVisualLayers.Overlay" ]
- type: entity
parent: [ BaseRockGibtonite, IronRock ]
id: IronRockGibtonite
components:
- type: Sprite
layers:
- state: ironrock
- map: [ "enum.EdgeLayer.South" ]
state: ironrock_south
- map: [ "enum.EdgeLayer.East" ]
state: ironrock_east
- map: [ "enum.EdgeLayer.North" ]
state: ironrock_north
- map: [ "enum.EdgeLayer.West" ]
state: ironrock_west
- state: gibtonite_inactive
visible: false
map: [ "enum.MiningScannerVisualLayers.Overlay", "gib" ]
- type: entity
id: IronRockDiamond
parent: IronRock

View File

@@ -20,6 +20,12 @@
# Generate biome
- !type:BiomeDunGen
biomeTemplate: Asteroid
- !type:OreDunGen
replacement: AsteroidRock
entity: AsteroidRockGibtonite
count: 8
minGroupSize: 0
maxGroupSize: 1
# Multiple smaller asteroids
# This is a pain so we generate fewer tiles
@@ -43,6 +49,12 @@
# Generate biome
- !type:BiomeDunGen
biomeTemplate: Asteroid
- !type:OreDunGen
replacement: AsteroidRock
entity: AsteroidRockGibtonite
count: 8
minGroupSize: 0
maxGroupSize: 1
# Long and spindly, less smooth than blob
- type: dungeonConfig
@@ -66,6 +78,12 @@
# Generate biome
- !type:BiomeDunGen
biomeTemplate: Asteroid
- !type:OreDunGen
replacement: AsteroidRock
entity: AsteroidRockGibtonite
count: 8
minGroupSize: 0
maxGroupSize: 1
# Lots of holes in it
- type: dungeonConfig
@@ -88,3 +106,9 @@
# Generate biome
- !type:BiomeDunGen
biomeTemplate: Asteroid
- !type:OreDunGen
replacement: AsteroidRock
entity: AsteroidRockGibtonite
count: 8
minGroupSize: 0
maxGroupSize: 1

View File

@@ -87,6 +87,12 @@
count: 15
minGroupSize: 1
maxGroupSize: 2
- !type:OreDunGen
replacement: IronRock
entity: IronRockGibtonite
count: 60 # you don't really hit it on purpose so it should be common
minGroupSize: 1
maxGroupSize: 1
# Configs
- type: dungeonConfig

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/Citadel-Station-13/Citadel-Station-13-RP/blob/817e7c1f225876b45891e3f06908e6d032f0a8bc/icons/turf/walls.dmi, rock_bananium made by brainfood1183 (github) for ss14, rock_snow, rock_asteroid, & rock_wall and co from https://github.com/tgstation/tgstation/tree/e929cf39cded5207d63df1fa8521f41f2816b383. ironrock taken from /vg/station at commit https://github.com/vgstation-coders/vgstation13/commit/02b9f6894af4419c9f7e699a22c402b086d8067e, sand rock made by TheShuEd for ss14",
"copyright": "https://github.com/Citadel-Station-13/Citadel-Station-13-RP/blob/817e7c1f225876b45891e3f06908e6d032f0a8bc/icons/turf/walls.dmi, rock_bananium made by brainfood1183 (github) for ss14, rock_snow, rock_asteroid, \u0026 rock_wall and co from https://github.com/tgstation/tgstation/tree/e929cf39cded5207d63df1fa8521f41f2816b383. ironrock taken from /vg/station at commit https://github.com/vgstation-coders/vgstation13/commit/02b9f6894af4419c9f7e699a22c402b086d8067e, sand rock made by TheShuEd for ss14, https://github.com/tgstation/tgstation/blob/5f3e12178e1fbe75ae4b1ff12e256f61b5bdddd5/icons/turf/mining.dmi",
"size": {
"x": 32,
"y": 32
@@ -106,20 +106,20 @@
{
"name": "rock_diamond",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
@@ -214,6 +214,20 @@
},
{
"name": "rock_andesite_west"
},
{
"name": "gibtonite_active",
"delays": [
[
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "gibtonite_inactive"
}
]
}