diff --git a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml index 29324a65b1..993a679aab 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml @@ -48,6 +48,20 @@ DefaultPrototype: Beaker ExamineName: Glass Beaker +- type: entity + id: AmmoTechFabCircuitboard + parent: BaseMachineCircuitboard + name: ammo techfab circuit board + description: A machine printed circuit board for an ammo techfab + components: + - type: Sprite + state: security + - type: MachineBoard + prototype: AmmoTechFab + requirements: + MatterBin: 1 + Manipulator: 1 + - type: entity id: MedicalTechFabCircuitboard parent: BaseMachineCircuitboard diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index 7dae0e0d4a..fba103c5cd 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -469,6 +469,47 @@ - RawMaterial - Ingot +- type: entity + id: AmmoTechFab + parent: BaseLathe + name: ammo techfab + description: Prints the bare minimum of bullets that any budget military or armory could need. Nothing fancy. + components: + - type: Sprite + sprite: Structures/Machines/techfab.rsi + layers: + - state: icon + map: ["enum.LatheVisualLayers.IsRunning"] + - state: ammo + - state: unlit + shader: unshaded + map: ["enum.PowerDeviceVisualLayers.Powered"] + - state: inserting + map: ["enum.MaterialStorageVisualLayers.Inserting"] + - state: panel + map: ["enum.WiresVisualLayers.MaintenancePanel"] + - type: Machine + board: AmmoTechFabCircuitboard + - type: Lathe + idleState: icon + runningState: icon + staticRecipes: + - CartridgePistol + - CartridgeMagnum + - ShellShotgun + - ShellShotgunFlare + - ShellTranquilizer + - CartridgeLightRifle + - CartridgeRifle + - MagazineBoxPistol + - MagazineBoxMagnum + - MagazineBoxRifle + - MagazineBoxLightRifle + - type: MaterialStorage + whitelist: + tags: + - Sheet + - type: entity id: MedicalTechFab parent: BaseLathe diff --git a/Resources/Prototypes/Procedural/salvage_rewards.yml b/Resources/Prototypes/Procedural/salvage_rewards.yml index 9060cbe178..92a393a6a7 100644 --- a/Resources/Prototypes/Procedural/salvage_rewards.yml +++ b/Resources/Prototypes/Procedural/salvage_rewards.yml @@ -56,6 +56,7 @@ id: SalvageRewardEpic weights: # rare machinery + AmmoTechFabCircuitboard: 1.0 ResearchAndDevelopmentServerMachineCircuitboard: 1.0 CratePartsT4: 1.0 PowerCellAntiqueProto: 0.25 diff --git a/Resources/Textures/Structures/Machines/techfab.rsi/ammo.png b/Resources/Textures/Structures/Machines/techfab.rsi/ammo.png new file mode 100644 index 0000000000..38f7a4dd2c Binary files /dev/null and b/Resources/Textures/Structures/Machines/techfab.rsi/ammo.png differ diff --git a/Resources/Textures/Structures/Machines/techfab.rsi/meta.json b/Resources/Textures/Structures/Machines/techfab.rsi/meta.json index b3f100e1db..11a48c4a0d 100644 --- a/Resources/Textures/Structures/Machines/techfab.rsi/meta.json +++ b/Resources/Textures/Structures/Machines/techfab.rsi/meta.json @@ -1,7 +1,7 @@ { "version": 1, "license": "CC-BY-SA-3.0", - "copyright": "made by EmoGarbage", + "copyright": "made by EmoGarbage, ammo state made by AjexRose and modified by Emo garbage", "size": { "x": 32, "y": 32 @@ -13,6 +13,9 @@ { "name": "med" }, + { + "name": "ammo" + }, { "name": "panel" },