Adding Ammofab (#17538)

This commit is contained in:
AjexRose
2023-07-26 19:41:51 -05:00
committed by GitHub
parent 2802910e44
commit f579818f24
5 changed files with 60 additions and 1 deletions

View File

@@ -48,6 +48,20 @@
DefaultPrototype: Beaker DefaultPrototype: Beaker
ExamineName: Glass 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 - type: entity
id: MedicalTechFabCircuitboard id: MedicalTechFabCircuitboard
parent: BaseMachineCircuitboard parent: BaseMachineCircuitboard

View File

@@ -469,6 +469,47 @@
- RawMaterial - RawMaterial
- Ingot - 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 - type: entity
id: MedicalTechFab id: MedicalTechFab
parent: BaseLathe parent: BaseLathe

View File

@@ -56,6 +56,7 @@
id: SalvageRewardEpic id: SalvageRewardEpic
weights: weights:
# rare machinery # rare machinery
AmmoTechFabCircuitboard: 1.0
ResearchAndDevelopmentServerMachineCircuitboard: 1.0 ResearchAndDevelopmentServerMachineCircuitboard: 1.0
CratePartsT4: 1.0 CratePartsT4: 1.0
PowerCellAntiqueProto: 0.25 PowerCellAntiqueProto: 0.25

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 B

View File

@@ -1,7 +1,7 @@
{ {
"version": 1, "version": 1,
"license": "CC-BY-SA-3.0", "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": { "size": {
"x": 32, "x": 32,
"y": 32 "y": 32
@@ -13,6 +13,9 @@
{ {
"name": "med" "name": "med"
}, },
{
"name": "ammo"
},
{ {
"name": "panel" "name": "panel"
}, },