Salvage (#5686)
Co-authored-by: 20kdc <asdd2808@gmail.com> Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
This commit is contained in:
82
Resources/Prototypes/Catalog/Fills/Crates/salvage.yml
Normal file
82
Resources/Prototypes/Catalog/Fills/Crates/salvage.yml
Normal file
@@ -0,0 +1,82 @@
|
||||
- type: entity
|
||||
id: CrateSalvageEquipment
|
||||
name: "salvage equipment crate"
|
||||
description: For the daring.
|
||||
suffix: Filled
|
||||
parent: CrateGenericSteel
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: ClothingHeadHelmetHardsuitSalvage
|
||||
- id: ClothingOuterHardsuitSalvage
|
||||
- id: ClothingMaskBreath
|
||||
- id: OxygenTankFilled
|
||||
- id: FireExtinguisher
|
||||
- id: ClothingShoesBootsMag
|
||||
- id: Pickaxe
|
||||
# bare-minimum for cutting apart walls
|
||||
# not giving them wirecutters/etc. for balance reasons
|
||||
- id: Welder
|
||||
- id: Wrench
|
||||
- id: Screwdriver
|
||||
- id: Crowbar
|
||||
|
||||
- type: entity
|
||||
id: CrateSalvageAssortedGoodies
|
||||
suffix: Filled, Salvage Random
|
||||
abstract: true # You should use SalvageMaterialCrateSpawner instead
|
||||
parent: CrateGenericSteel
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
# Normal (10%)
|
||||
- id: ToolboxEmergencyFilled
|
||||
prob: 0.1
|
||||
- id: ClothingMaskBreath
|
||||
prob: 0.1
|
||||
- id: OxygenTankFilled
|
||||
prob: 0.1
|
||||
- id: SheetPlasma
|
||||
prob: 0.1
|
||||
# - Service
|
||||
- id: CrayonBox
|
||||
prob: 0.1
|
||||
# - Medical
|
||||
- id: MedkitFilled
|
||||
prob: 0.1
|
||||
- id: BoxSyringe
|
||||
prob: 0.1
|
||||
- id: BoxBeaker
|
||||
prob: 0.1
|
||||
# - Scaf
|
||||
- id: ClothingHeadHelmetScaf
|
||||
prob: 0.1
|
||||
- id: ClothingOuterArmorScaf
|
||||
prob: 0.1
|
||||
# - Heh
|
||||
- id: SalvageHumanCorpse
|
||||
prob: 0.1
|
||||
# Interesting (1%)
|
||||
# - Ammo
|
||||
- id: BoxMagnum
|
||||
prob: 0.01
|
||||
# - #shinies
|
||||
- id: PowerCellLargeHyper
|
||||
prob: 0.01
|
||||
# Just no (0.1%)
|
||||
# - Working guns
|
||||
- id: RevolverDeckard
|
||||
prob: 0.001
|
||||
- id: RevolverInspector
|
||||
prob: 0.001
|
||||
# - Skub
|
||||
- id: Skub
|
||||
prob: 0.001
|
||||
# TRAITOR EQUIPMENT (0.01%)
|
||||
- id: Telecrystal10
|
||||
prob: 0.0001
|
||||
- id: RevolverPredator
|
||||
prob: 0.0001
|
||||
- id: RevolverMateba
|
||||
prob: 0.0001
|
||||
|
||||
101
Resources/Prototypes/Catalog/Fills/Paper/salvage_lore.yml
Normal file
101
Resources/Prototypes/Catalog/Fills/Paper/salvage_lore.yml
Normal file
@@ -0,0 +1,101 @@
|
||||
# ---- SPECIFICS ----
|
||||
|
||||
- type: entity
|
||||
id: PaperWrittenSalvageLoreMedium1PlasmaTrap
|
||||
abstract: true # keep this from spamming spawn sheet
|
||||
suffix: "Salvage: Lore: Medium 1: Plasma Trap"
|
||||
parent: PaperWritten
|
||||
components:
|
||||
- type: Paper
|
||||
content: |
|
||||
Heheheheh, no way in hell they're going to get at our stash NOW, is there?
|
||||
I rigged the area where our stuff's at to be a toasty thousand K.
|
||||
You know how to drain it when we need it out.
|
||||
- J.
|
||||
|
||||
# ---- GAMING ----
|
||||
|
||||
- type: entity
|
||||
name: Salvage Lore Paper Gaming Spawner
|
||||
id: SalvageLorePaperGamingSpawner
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: red
|
||||
- texture: Objects/Misc/bureaucracy.rsi/paper_words.png
|
||||
- type: RandomSpawner
|
||||
prototypes:
|
||||
- PaperWrittenSalvageLoreGaming1
|
||||
- PaperWrittenSalvageLoreGaming2
|
||||
- PaperWrittenSalvageLoreGaming3
|
||||
- PaperWrittenSalvageLoreGaming4
|
||||
offset: 0.1
|
||||
|
||||
- type: entity
|
||||
id: PaperWrittenSalvageLoreGaming1
|
||||
abstract: true # keep this from spamming spawn sheet
|
||||
suffix: "Salvage: Lore: Gaming 1"
|
||||
parent: PaperWritten
|
||||
components:
|
||||
- type: Paper
|
||||
content: |
|
||||
Can't stay for the game.
|
||||
Engineering want me to keep a close eye on the singularity SMESes.
|
||||
Leaving this so you know what's up.
|
||||
Sorry.
|
||||
- Alexander
|
||||
|
||||
- type: entity
|
||||
id: PaperWrittenSalvageLoreGaming2
|
||||
abstract: true # keep this from spamming spawn sheet
|
||||
suffix: "Salvage: Lore: Gaming 2"
|
||||
parent: PaperWritten
|
||||
components:
|
||||
- type: Paper
|
||||
content: |
|
||||
Johny Clowe
|
||||
Class: Druid
|
||||
Alignment: Neutral Good
|
||||
Str: 1,294,139
|
||||
Dex: 4,102,103
|
||||
Con: 9,522,913
|
||||
Int: 528,491
|
||||
Wis: 1
|
||||
Cha: 1
|
||||
|
||||
Where's the age?
|
||||
Why are those ability scores so ridiculous?
|
||||
What even are you trying to do here, Leah? - Your Friendly DM
|
||||
|
||||
- type: entity
|
||||
id: PaperWrittenSalvageLoreGaming3
|
||||
abstract: true # keep this from spamming spawn sheet
|
||||
suffix: "Salvage: Lore: Gaming 3"
|
||||
parent: PaperWritten
|
||||
components:
|
||||
- type: Paper
|
||||
content: |
|
||||
THE GIANT SPACE FLY FROM SPACE
|
||||
Session 1: They should have just learned what's going on with the world and the Giant Space Fly.
|
||||
Session 2: They should know to ask the Wizard's Court about seismic distortions.
|
||||
Session 3: On their way to underground lair.
|
||||
Session 4: Just ran into the Architect Of Flies.
|
||||
Oh dear goodness they just started randomly killing everybody
|
||||
|
||||
- type: entity
|
||||
id: PaperWrittenSalvageLoreGaming4
|
||||
abstract: true # keep this from spamming spawn sheet
|
||||
suffix: "Salvage: Lore: Gaming 4"
|
||||
parent: PaperWritten
|
||||
components:
|
||||
- type: Paper
|
||||
content: |
|
||||
Won't be able to come to the meet, chemist blew up the hospital again.
|
||||
Fifth time this shift.
|
||||
It's amazing.
|
||||
But not in a good way.
|
||||
Cheers, - Arielle
|
||||
|
||||
# ----
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
- type: entity
|
||||
name: Salvage Material Crate Spawner
|
||||
id: SalvageMaterialCrateSpawner
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: red
|
||||
- texture: Structures/Storage/Crates/generic.rsi/crate_icon.png
|
||||
- type: RandomSpawner
|
||||
rarePrototypes:
|
||||
- SalvageHumanCorpse
|
||||
- CrateMaterialPlasteel
|
||||
- CrateMaterialWood
|
||||
- CrateMaterialPlastic
|
||||
- CrateSalvageEquipment
|
||||
- CrateMaterialSteel
|
||||
- CrateMaterialGlass
|
||||
rareChance: 0.4
|
||||
prototypes:
|
||||
- CrateSalvageAssortedGoodies
|
||||
chance: 0.9
|
||||
offset: 0.0
|
||||
|
||||
- type: entity
|
||||
name: Salvage Canister Spawner
|
||||
id: SalvageCanisterSpawner
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: red
|
||||
- texture: Structures/Storage/canister.rsi/blue.png
|
||||
- type: RandomSpawner
|
||||
rarePrototypes:
|
||||
- PlasmaCanister
|
||||
rareChance: 0.03
|
||||
prototypes:
|
||||
- AirCanister
|
||||
- NitrogenCanister
|
||||
- OxygenCanister
|
||||
- CarbonDioxideCanister
|
||||
- WaterVaporCanister
|
||||
chance: 0.9
|
||||
offset: 0.0
|
||||
|
||||
- type: entity
|
||||
name: Salvage Mob Spawner
|
||||
id: SalvageMobSpawner
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: red
|
||||
- texture: Mobs/Aliens/Carps/space.rsi/icon.png
|
||||
- type: RandomSpawner
|
||||
prototypes:
|
||||
- MobCarp
|
||||
- MobCarp
|
||||
- MobCarp
|
||||
- MobCarp
|
||||
- MobCarp
|
||||
- PlushieCarp
|
||||
- DehydratedSpaceCarp
|
||||
chance: 0.25
|
||||
offset: 0.2
|
||||
|
||||
@@ -66,3 +66,20 @@
|
||||
- type: AtmosFixMarker
|
||||
mode: 4
|
||||
|
||||
- type: entity
|
||||
name: Atmos Fix Instant Plasmafire Marker
|
||||
id: AtmosFixInstantPlasmaFireMarker
|
||||
description: "INSTANT PLASMAFIRE"
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- sprite: Markers/atmos.rsi # {
|
||||
state: base-hot
|
||||
shader: unshaded
|
||||
- sprite: Markers/atmos.rsi
|
||||
shader: unshaded # }
|
||||
state: fire
|
||||
- type: AtmosFixMarker
|
||||
mode: 5
|
||||
|
||||
|
||||
@@ -28,3 +28,16 @@
|
||||
- Thirst
|
||||
- Idle
|
||||
- Spirate
|
||||
|
||||
- type: entity
|
||||
parent: MobHumanBase
|
||||
suffix: Dead
|
||||
id: SalvageHumanCorpse
|
||||
name: unidentified human
|
||||
description: We barely knew ye.
|
||||
components:
|
||||
- type: Damageable
|
||||
damage:
|
||||
types:
|
||||
Blunt: 200
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
- type: entity
|
||||
id: SalvageMagnet
|
||||
parent: BaseMachine
|
||||
name: salvage magnet
|
||||
description: "Pulls in salvage."
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- sprite: Structures/Machines/salvage.rsi
|
||||
state: salvage-magnet
|
||||
# Ideally, there'd be lights indicating power usage and a big red lamp indicating loss
|
||||
- type: Rotatable
|
||||
- type: SalvageMagnet
|
||||
offset: 0, -32
|
||||
|
||||
# For Knightship
|
||||
- type: entity
|
||||
id: SalvageLocator
|
||||
parent: SalvageMagnet
|
||||
name: salvage locator
|
||||
description: "Locates salvage."
|
||||
components:
|
||||
- type: SalvageMagnet
|
||||
offset: 0, -12
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
- type: Occluder
|
||||
sizeX: 32
|
||||
sizeY: 32
|
||||
- type: Airtight
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: AsteroidRockVisualizer
|
||||
|
||||
33
Resources/Prototypes/Maps/salvage.yml
Normal file
33
Resources/Prototypes/Maps/salvage.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
# ALL SALVAGE MAPS SHOULD BE SETUP SUCH THAT TILE REF -1,-1 IS THEIR OFFICIAL CENTRE,
|
||||
# AND FOR EASE OF UNDERSTANDING, USE - pos: 0.5, 0.5 FOR SAVED POSITION.
|
||||
|
||||
# "Small"-class maps - Max size square: 7x7, indicated size: 3.5
|
||||
|
||||
- type: salvageMap
|
||||
id: small1
|
||||
name: "Small / Engineering Storage 1"
|
||||
mapPath: Maps/Salvage/small-1.yml
|
||||
size: 3.5
|
||||
|
||||
- type: salvageMap
|
||||
id: small2
|
||||
name: "Small / Gaming Nook 1"
|
||||
mapPath: Maps/Salvage/small-2.yml
|
||||
size: 3.5
|
||||
|
||||
# Small - Asteroids
|
||||
|
||||
- type: salvageMap
|
||||
id: smallA1
|
||||
name: "Small / Asteroid 1 Plasmafire"
|
||||
mapPath: Maps/Salvage/small-a-1.yml
|
||||
size: 3.5
|
||||
|
||||
# "Medium"-class maps - Max size square: 15x15, indicated size: 7.5
|
||||
|
||||
- type: salvageMap
|
||||
id: medium1
|
||||
name: "Medium / Plasma-Trapped Cache 1"
|
||||
mapPath: Maps/Salvage/medium-1.yml
|
||||
size: 7.5
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
access:
|
||||
- Cargo
|
||||
- Maintenance
|
||||
- External
|
||||
|
||||
- type: startingGear
|
||||
id: CargoTechGear
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
- Cargo
|
||||
# - Quartermaster
|
||||
- Maintenance
|
||||
- External
|
||||
|
||||
- type: startingGear
|
||||
id: QuartermasterGear
|
||||
|
||||
Reference in New Issue
Block a user