Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uranium Crate #332

Merged
merged 3 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
ent-Materials = { ent-CrateMaterials }
.desc = { ent-CrateMaterials.desc }

ent-MaterialUranium = { ent-CrateMaterialUranium }
.desc = { ent-CrateMaterialUranium.desc }
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
ent-CrateMaterials = Materials crate
.desc = 1 sheet of glass, plastic, steel, plasma and plasteel.

ent-CrateMaterialUranium = Uranium crate
.desc = 90 sheets of uranium.
9 changes: 9 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Crates/materials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@
- id: MaterialCardboard
amount: 2

- type: entity
id: CrateMaterialUranium
parent: CrateUranium
components:
- type: StorageFill
contents:
- id: SheetUranium
amount: 3

#- type: entity
# id: CrateMaterialHFuelTank
# name: fueltank crate
Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/_NF/Catalog/Cargo/cargo_materials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@
cost: 8400 # TODO: Lower the cost back when possible
category: Materials
group: market

- type: cargoProduct
id: MaterialUranium
icon:
sprite: Objects/Materials/Sheets/other.rsi
state: uranium_3
product: CrateMaterialUranium
cost: 7000 # TODO: Lower the cost back when possible
category: Materials
group: market
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,13 @@
- entity_storage
- type: StaticPrice
price: 0

- type: entity
parent: CrateBaseSecure
id: CrateUranium
name: uranium crate
components:
- type: Icon
sprite: _NF/Structures/Storage/Crates/radiation_secure.rsi
- type: Sprite
sprite: _NF/Structures/Storage/Crates/radiation_secure.rsi
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,45 @@
{
"version": 1,
"license": "CC0-1.0",
"copyright": "Created by EmoGarbage404 (github) for Space Station 14.",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "closed"
},
{
"name": "open"
},
{
"name": "welded"
},
{
"name": "sparking",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "locked"
},
{
"name": "unlocked"
}
]
}
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.
Loading