Mining things (#21909)
* mining-doors * mining-tiles * mining-window * Change copyright in meta.json * Change license in attributions.yml
@@ -44,6 +44,9 @@ tiles-elevator-shaft = elevator shaft
|
||||
tiles-diamond-plate-floor = diamond plate floor
|
||||
tiles-rock-floor = rock floor
|
||||
tiles-blue-tile = blue tile
|
||||
tiles-mining-tile = mining tile
|
||||
tiles-mining-dark-tile = dark mining tile
|
||||
tiles-mining-light-tile = light mining tile
|
||||
tiles-freezer = freezer
|
||||
tiles-showroom-floor = showroom floor
|
||||
tiles-hydro-floor = hydro floor
|
||||
|
||||
@@ -290,6 +290,54 @@
|
||||
- type: Stack
|
||||
stackType: FloorTileBlue
|
||||
|
||||
- type: entity
|
||||
name: mining tile
|
||||
parent: FloorTileItemBase
|
||||
id: FloorTileItemMining
|
||||
components:
|
||||
- type: Sprite
|
||||
state: mining
|
||||
- type: Item
|
||||
heldPrefix: mining
|
||||
- type: FloorTile
|
||||
outputs:
|
||||
- Plating
|
||||
- FloorMining
|
||||
- type: Stack
|
||||
stackType: FloorTileMining
|
||||
|
||||
- type: entity
|
||||
name: dark mining tile
|
||||
parent: FloorTileItemBase
|
||||
id: FloorTileItemMiningDark
|
||||
components:
|
||||
- type: Sprite
|
||||
state: miningdark
|
||||
- type: Item
|
||||
heldPrefix: miningdark
|
||||
- type: FloorTile
|
||||
outputs:
|
||||
- Plating
|
||||
- FloorMiningDark
|
||||
- type: Stack
|
||||
stackType: FloorTileMiningDark
|
||||
|
||||
- type: entity
|
||||
name: light mining tile
|
||||
parent: FloorTileItemBase
|
||||
id: FloorTileItemMiningLight
|
||||
components:
|
||||
- type: Sprite
|
||||
state: mininglight
|
||||
- type: Item
|
||||
heldPrefix: mininglight
|
||||
- type: FloorTile
|
||||
outputs:
|
||||
- Plating
|
||||
- FloorMiningLight
|
||||
- type: Stack
|
||||
stackType: FloorTileMiningLight
|
||||
|
||||
# Departamental
|
||||
- type: entity
|
||||
name: freezer tile
|
||||
|
||||
@@ -251,3 +251,11 @@
|
||||
sprite: Structures/Doors/Airlocks/Glass/syndicate.rsi
|
||||
- type: PaintableAirlock
|
||||
group: Glass
|
||||
|
||||
- type: entity
|
||||
parent: AirlockGlass
|
||||
id: AirlockMiningGlass
|
||||
suffix: Mining
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Doors/Airlocks/Glass/mining.rsi
|
||||
|
||||
52
Resources/Prototypes/Entities/Structures/Windows/mining.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
- type: entity
|
||||
id: MiningWindow
|
||||
name: mining window
|
||||
parent: Window
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: WallTops
|
||||
sprite: Structures/Windows/mining.rsi
|
||||
- type: Icon
|
||||
sprite: Structures/Windows/mining.rsi
|
||||
- type: Repairable
|
||||
fuelCost: 15
|
||||
doAfterDelay: 3
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: RGlass
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 1000
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 500
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: GlassBreak
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
ShardGlassReinforced:
|
||||
min: 1
|
||||
max: 2
|
||||
PartRodMetal:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: IconSmooth
|
||||
base: mwindow
|
||||
- type: Appearance
|
||||
- type: DamageVisuals
|
||||
thresholds: [4, 8, 12]
|
||||
damageDivisor: 36
|
||||
trackAllDamage: true
|
||||
damageOverlay:
|
||||
sprite: Structures/Windows/cracks.rsi
|
||||
- type: StaticPrice
|
||||
price: 100
|
||||
@@ -271,6 +271,27 @@
|
||||
maxCount: 30
|
||||
itemSize: 5
|
||||
|
||||
- type: stack
|
||||
id: FloorTileMining
|
||||
name: mining floor tile
|
||||
spawn: FloorTileItemMining
|
||||
maxCount: 30
|
||||
itemSize: 5
|
||||
|
||||
- type: stack
|
||||
id: FloorTileMiningDark
|
||||
name: dark mining floor tile
|
||||
spawn: FloorTileItemMiningDark
|
||||
maxCount: 30
|
||||
itemSize: 5
|
||||
|
||||
- type: stack
|
||||
id: FloorTileMiningLight
|
||||
name: light mining floor tile
|
||||
spawn: FloorTileItemMiningLight
|
||||
maxCount: 30
|
||||
itemSize: 5
|
||||
|
||||
- type: stack
|
||||
id: FloorTileBar
|
||||
name: item bar floor tile
|
||||
|
||||
@@ -684,6 +684,42 @@
|
||||
itemDrop: FloorTileItemBlue
|
||||
heatCapacity: 10000
|
||||
|
||||
- type: tile
|
||||
id: FloorMining
|
||||
name: tiles-mining-tile
|
||||
sprite: /Textures/Tiles/mining_floor.png
|
||||
baseTurf: Plating
|
||||
isSubfloor: false
|
||||
canCrowbar: true
|
||||
footstepSounds:
|
||||
collection: FootstepTile
|
||||
itemDrop: FloorTileItemMining
|
||||
heatCapacity: 10000
|
||||
|
||||
- type: tile
|
||||
id: FloorMiningDark
|
||||
name: tiles-mining-dark-tile
|
||||
sprite: /Textures/Tiles/mining_floor_dark.png
|
||||
baseTurf: Plating
|
||||
isSubfloor: false
|
||||
canCrowbar: true
|
||||
footstepSounds:
|
||||
collection: FootstepTile
|
||||
itemDrop: FloorTileItemMiningDark
|
||||
heatCapacity: 10000
|
||||
|
||||
- type: tile
|
||||
id: FloorMiningLight
|
||||
name: tiles-mining-light-tile
|
||||
sprite: /Textures/Tiles/mining_floor_light.png
|
||||
baseTurf: Plating
|
||||
isSubfloor: false
|
||||
canCrowbar: true
|
||||
footstepSounds:
|
||||
collection: FootstepTile
|
||||
itemDrop: FloorTileItemMiningLight
|
||||
heatCapacity: 10000
|
||||
|
||||
# Departamental
|
||||
- type: tile
|
||||
id: FloorFreezer
|
||||
|
||||
@@ -37,6 +37,39 @@
|
||||
{
|
||||
"name": "blue"
|
||||
},
|
||||
{
|
||||
"name": "mining"
|
||||
},
|
||||
{
|
||||
"name": "mining-inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mining-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "miningdark"
|
||||
},
|
||||
{
|
||||
"name": "miningdark-inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "miningdark-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mininglight"
|
||||
},
|
||||
{
|
||||
"name": "mininglight-inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mininglight-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "clown"
|
||||
},
|
||||
|
||||
BIN
Resources/Textures/Objects/Tiles/tile.rsi/mining-inhand-left.png
Normal file
|
After Width: | Height: | Size: 402 B |
|
After Width: | Height: | Size: 404 B |
BIN
Resources/Textures/Objects/Tiles/tile.rsi/mining.png
Normal file
|
After Width: | Height: | Size: 177 B |
|
After Width: | Height: | Size: 402 B |
|
After Width: | Height: | Size: 404 B |
BIN
Resources/Textures/Objects/Tiles/tile.rsi/miningdark.png
Normal file
|
After Width: | Height: | Size: 177 B |
|
After Width: | Height: | Size: 402 B |
|
After Width: | Height: | Size: 404 B |
BIN
Resources/Textures/Objects/Tiles/tile.rsi/mininglight.png
Normal file
|
After Width: | Height: | Size: 177 B |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken at https://github.com/ParadiseSS13/Paradise/commit/9312f1fb7dcdf1c195e255a528f31092613fb60d",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "assembly"
|
||||
},
|
||||
{
|
||||
"name": "bolted_unlit"
|
||||
},
|
||||
{
|
||||
"name": "closed"
|
||||
},
|
||||
{
|
||||
"name": "closed_unlit"
|
||||
},
|
||||
{
|
||||
"name": "closing",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.05,
|
||||
0.05,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "closing_unlit",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.05,
|
||||
0.05,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "deny_unlit",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "open",
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "opening",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.05,
|
||||
0.05,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "opening_unlit",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.05,
|
||||
0.05,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "panel_closing",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.05,
|
||||
0.05,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "panel_open",
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "panel_opening",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.05,
|
||||
0.05,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "sparks",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "sparks_broken",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "sparks_damaged",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
1.7
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "sparks_open",
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "welded"
|
||||
},
|
||||
{
|
||||
"name": "emergency_unlit",
|
||||
"delays": [
|
||||
[
|
||||
0.4,
|
||||
0.4
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 183 B |
|
After Width: | Height: | Size: 184 B |
|
After Width: | Height: | Size: 175 B |
|
After Width: | Height: | Size: 3.2 KiB |
BIN
Resources/Textures/Structures/Windows/mining.rsi/full.png
Normal file
|
After Width: | Height: | Size: 837 B |
46
Resources/Textures/Structures/Windows/mining.rsi/meta.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from Paradise station https://github.com/ParadiseSS13/Paradise/blob/master/icons/obj/smooth_structures/windows/pod_window.dmi and modified by NULL882",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "mwindow0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mwindow1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mwindow2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mwindow3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mwindow4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mwindow5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mwindow6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mwindow7",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Structures/Windows/mining.rsi/mwindow0.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Resources/Textures/Structures/Windows/mining.rsi/mwindow1.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
Resources/Textures/Structures/Windows/mining.rsi/mwindow2.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Resources/Textures/Structures/Windows/mining.rsi/mwindow3.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
Resources/Textures/Structures/Windows/mining.rsi/mwindow4.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
Resources/Textures/Structures/Windows/mining.rsi/mwindow5.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
Resources/Textures/Structures/Windows/mining.rsi/mwindow6.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
Resources/Textures/Structures/Windows/mining.rsi/mwindow7.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
@@ -109,4 +109,9 @@
|
||||
- files: ["chromite.png"]
|
||||
license: "CC-BY-NC-SA-3.0"
|
||||
copyright: "taken at commit 0587dd16e28108bdf0b0a28e2caae4319845e861, and recolored by TheShuEd"
|
||||
source: "https://github.com/Mojave-Sun/mojave-sun-13"
|
||||
source: "https://github.com/Mojave-Sun/mojave-sun-13"
|
||||
|
||||
- files: ["mining_floor.png", "mining_floor_dark.png", "mining_floor_light.png"]
|
||||
license: "CC-BY-SA-3.0"
|
||||
copyright: "taken at https://github.com/ParadiseSS13/Paradise/commit/43889a89d5a9378fd120d627f74613edb1841a66"
|
||||
source: "https://github.com/ParadiseSS13/Paradise"
|
||||
|
||||
BIN
Resources/Textures/Tiles/mining_floor.png
Normal file
|
After Width: | Height: | Size: 171 B |
BIN
Resources/Textures/Tiles/mining_floor_dark.png
Normal file
|
After Width: | Height: | Size: 171 B |
BIN
Resources/Textures/Tiles/mining_floor_light.png
Normal file
|
After Width: | Height: | Size: 171 B |