Skip to content

Commit

Permalink
5 minute coding adventure
Browse files Browse the repository at this point in the history
  • Loading branch information
MilonPL committed Nov 11, 2024
1 parent b826e71 commit 1853432
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
- type: entity
name: bluespace fire extinguisher
parent: FireExtinguisher
id: FireExtinguisherBluespace
description: An experimental fire extinguisher that uses bluespace technology to gradually refill itself. The faint blue glow is only slightly disconcerting.
components:
- type: Sprite
sprite: DeltaV/Objects/Misc/fire_extinguisher_bluespace.rsi
layers:
- state: fire_extinguisher_closed
map: [ "enum.ToggleVisuals.Layer" ]
- type: Item
sprite: DeltaV/Objects/Misc/fire_extinguisher_bluespace.rsi
size: Normal
- type: SolutionContainerManager
solutions:
spray:
maxVol: 200
reagents:
- ReagentId: Water
Quantity: 200
- type: PhysicalComposition
materialComposition:
Steel: 80
Bluespace: 20
- type: SolutionRegeneration
solution: spray
generated:
reagents:
- ReagentId: Water
Quantity: 10
duration: 10
10 changes: 10 additions & 0 deletions Resources/Prototypes/DeltaV/Recipes/Lathes/tools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- type: latheRecipe
parent: BaseToolRecipe
id: FireExtinguisherBluespace
result: FireExtinguisherBluespace
completetime: 6
materials:
Steel: 1000
Silver: 250
Plasma: 500
Bluespace: 200
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@
- Fulton
- FultonBeacon
- PowerCellHyper
- FireExtinguisherBluespace
# End DeltaV additions
- type: EmagLatheRecipes
emagDynamicRecipes:
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Research/industrial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
- HellfireFreezerMachineCircuitBoard
- PortableScrubberMachineCircuitBoard
- HolofanProjector
- FireExtinguisherBluespace # DeltaV
technologyPrerequisites:
- AtmosphericTech

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Made by .catshark (Discord) based on the fire extinguisher sprite",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "fire_extinguisher_open",
"delays": [
[
0.1,
0.1
]
]
},
{
"name": "fire_extinguisher_closed",
"delays": [
[
0.1,
0.1
]
]
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
}
]
}

0 comments on commit 1853432

Please sign in to comment.