diff --git a/Resources/Locale/en-US/_NF/prototypes/catalog/cargo/cargo-materials.ftl b/Resources/Locale/en-US/_NF/prototypes/catalog/cargo/cargo-materials.ftl index 35fc72c5464..1ae00c2cfe2 100644 --- a/Resources/Locale/en-US/_NF/prototypes/catalog/cargo/cargo-materials.ftl +++ b/Resources/Locale/en-US/_NF/prototypes/catalog/cargo/cargo-materials.ftl @@ -1,2 +1,5 @@ ent-Materials = { ent-CrateMaterials } .desc = { ent-CrateMaterials.desc } + +ent-MaterialUranium = { ent-CrateMaterialUranium } + .desc = { ent-CrateMaterialUranium.desc } diff --git a/Resources/Locale/en-US/_NF/prototypes/catalog/fills/crates/materials-crates.ftl b/Resources/Locale/en-US/_NF/prototypes/catalog/fills/crates/materials-crates.ftl index 9983c7ddf9e..d3c8db05697 100644 --- a/Resources/Locale/en-US/_NF/prototypes/catalog/fills/crates/materials-crates.ftl +++ b/Resources/Locale/en-US/_NF/prototypes/catalog/fills/crates/materials-crates.ftl @@ -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. diff --git a/Resources/Prototypes/Catalog/Fills/Crates/materials.yml b/Resources/Prototypes/Catalog/Fills/Crates/materials.yml index fd49ec339c1..735e8c25f7c 100644 --- a/Resources/Prototypes/Catalog/Fills/Crates/materials.yml +++ b/Resources/Prototypes/Catalog/Fills/Crates/materials.yml @@ -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 diff --git a/Resources/Prototypes/_NF/Catalog/Cargo/cargo_materials.yml b/Resources/Prototypes/_NF/Catalog/Cargo/cargo_materials.yml index 414b632fef6..29b09c02d1b 100644 --- a/Resources/Prototypes/_NF/Catalog/Cargo/cargo_materials.yml +++ b/Resources/Prototypes/_NF/Catalog/Cargo/cargo_materials.yml @@ -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 diff --git a/Resources/Prototypes/_NF/Entities/Structures/Storage/Crates/crates.yml b/Resources/Prototypes/_NF/Entities/Structures/Storage/Crates/crates.yml index 54953543169..639607f32fd 100644 --- a/Resources/Prototypes/_NF/Entities/Structures/Storage/Crates/crates.yml +++ b/Resources/Prototypes/_NF/Entities/Structures/Storage/Crates/crates.yml @@ -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 diff --git a/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/base.png b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/base.png new file mode 100644 index 00000000000..625da6399db Binary files /dev/null and b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/base.png differ diff --git a/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/closed.png b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/closed.png new file mode 100644 index 00000000000..6a62b1d6d88 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/closed.png differ diff --git a/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/icon.png b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/icon.png new file mode 100644 index 00000000000..b24a574a7e8 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/icon.png differ diff --git a/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/locked.png b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/locked.png new file mode 100644 index 00000000000..aceacfce597 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/locked.png differ diff --git a/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/meta.json b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/meta.json new file mode 100644 index 00000000000..6a4a45c0121 --- /dev/null +++ b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/meta.json @@ -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" + } + ] +} diff --git a/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/open.png b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/open.png new file mode 100644 index 00000000000..aa01ae2149f Binary files /dev/null and b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/open.png differ diff --git a/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/sparking.png b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/sparking.png new file mode 100644 index 00000000000..87b78b9b465 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/sparking.png differ diff --git a/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/unlocked.png b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/unlocked.png new file mode 100644 index 00000000000..94b89fa655d Binary files /dev/null and b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/unlocked.png differ diff --git a/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/welded.png b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/welded.png new file mode 100644 index 00000000000..311739a2701 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Storage/Crates/radiation_secure.rsi/welded.png differ