diff --git a/Resources/Prototypes/_NF/Entities/Objects/Devices/production.yml b/Resources/Prototypes/_NF/Entities/Objects/Devices/production.yml new file mode 100644 index 00000000000..7dd6c00ae6d --- /dev/null +++ b/Resources/Prototypes/_NF/Entities/Objects/Devices/production.yml @@ -0,0 +1,16 @@ +- type: entity + id: ShredderMachineCircuitboard + parent: BaseMachineCircuitboard + name: shredder machine board + description: A machine printed circuit board for a shredder. + components: + - type: Sprite + state: engineering + - type: MachineBoard + prototype: Shredder + requirements: + MatterBin: 1 + materialRequirements: + Glass: 1 + - type: StaticPrice + price: 100 diff --git a/Resources/Prototypes/_NF/Entities/Structures/Machines/shredder.yml b/Resources/Prototypes/_NF/Entities/Structures/Machines/shredder.yml new file mode 100644 index 00000000000..49566aca0d4 --- /dev/null +++ b/Resources/Prototypes/_NF/Entities/Structures/Machines/shredder.yml @@ -0,0 +1,33 @@ +- type: entity + id: Shredder + parent: BaseLathe + name: shredder + description: It shreds things. What more is there to say? + components: + - type: Sprite + sprite: _NF/Structures/Machines/shredder.rsi + snapCardinals: true + layers: + - state: icon + map: ["enum.LatheVisualLayers.IsRunning"] + - state: normal + shader: unshaded + map: ["enum.PowerDeviceVisualLayers.Powered"] + - state: shredding-empty + map: ["enum.MaterialStorageVisualLayers.Inserting"] + - type: Machine + board: ShredderMachineCircuitboard + - type: Damageable + damageContainer: Inorganic + damageModifierSet: Metallic + - type: MaterialStorage + dropOnDeconstruct: false + whitelist: + components: + - Currency + - type: Lathe + idleState: icon + runningState: shredding-money + canEjectStoredMaterials: false + staticRecipes: + - ShreddedMoney diff --git a/Resources/Prototypes/_NF/Recipes/Lathes/electronics.yml b/Resources/Prototypes/_NF/Recipes/Lathes/electronics.yml new file mode 100644 index 00000000000..43bdfb14daf --- /dev/null +++ b/Resources/Prototypes/_NF/Recipes/Lathes/electronics.yml @@ -0,0 +1,7 @@ +- type: latheRecipe + id: ShreddedMoney + icon: { sprite: Objects/Misc/module.rsi, state: id_mod } + result: ShredderMachineCircuitboard + completetime: 3 + materials: + Credit: 1 diff --git a/Resources/Textures/_NF/Structures/Machines/shredder.rsi/icon.png b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/icon.png new file mode 100644 index 00000000000..946265b5a66 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/icon.png differ diff --git a/Resources/Textures/_NF/Structures/Machines/shredder.rsi/meta.json b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/meta.json new file mode 100644 index 00000000000..d068a6d627f --- /dev/null +++ b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/meta.json @@ -0,0 +1,55 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-NC-SA-3.0", + "copyright": "Created by [Data-Redacted] https://github.com/IData-RedactedI/frontier-station-14 ", + "states": [ + { + "name": "icon" + }, + { + "name": "normal" + }, + { + "name": "shredding-empty", + "delays": [ + [ + 0.1, + 0.1, + 0.1 + ] + ] + + }, + { + "name": "shredding-money", + "delays": [ + [ + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1 + ] + ] + }, + { + "name": "shredding-paper", + "delays": [ + [ + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1 + ] + ] + } + ] +} + diff --git a/Resources/Textures/_NF/Structures/Machines/shredder.rsi/normal.png b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/normal.png new file mode 100644 index 00000000000..b44d86203c0 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/normal.png differ diff --git a/Resources/Textures/_NF/Structures/Machines/shredder.rsi/shredding-empty.png b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/shredding-empty.png new file mode 100644 index 00000000000..974d0d76f86 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/shredding-empty.png differ diff --git a/Resources/Textures/_NF/Structures/Machines/shredder.rsi/shredding-money.png b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/shredding-money.png new file mode 100644 index 00000000000..22bde9d925e Binary files /dev/null and b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/shredding-money.png differ diff --git a/Resources/Textures/_NF/Structures/Machines/shredder.rsi/shredding-paper.png b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/shredding-paper.png new file mode 100644 index 00000000000..273594637cc Binary files /dev/null and b/Resources/Textures/_NF/Structures/Machines/shredder.rsi/shredding-paper.png differ diff --git a/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/meta.json b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/meta.json new file mode 100644 index 00000000000..055c7f5258a --- /dev/null +++ b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/meta.json @@ -0,0 +1,55 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-NC-SA-3.0", + "copyright": "Created by [Data-Redacted] https://github.com/IData-RedactedI/frontier-station-14 ", + "states": [ + { + "name": "off" + }, + { + "name": "normal" + }, + { + "name": "shredding-empty", + "delays": [ + [ + 0.1, + 0.1, + 0.1 + ] + ] + + }, + { + "name": "shredding-money", + "delays": [ + [ + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1 + ] + ] + }, + { + "name": "shredding-paper", + "delays": [ + [ + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1 + ] + ] + } + ] +} + diff --git a/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/normal.png b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/normal.png new file mode 100644 index 00000000000..35075ef7253 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/normal.png differ diff --git a/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/off.png b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/off.png new file mode 100644 index 00000000000..b3a66093dc4 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/off.png differ diff --git a/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/shredding-empty.png b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/shredding-empty.png new file mode 100644 index 00000000000..974d0d76f86 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/shredding-empty.png differ diff --git a/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/shredding-money.png b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/shredding-money.png new file mode 100644 index 00000000000..22bde9d925e Binary files /dev/null and b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/shredding-money.png differ diff --git a/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/shredding-paper.png b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/shredding-paper.png new file mode 100644 index 00000000000..273594637cc Binary files /dev/null and b/Resources/Textures/_NF/Structures/Machines/syndicate_shredder.rsi/shredding-paper.png differ