-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Laying groundwork for machine linking of space artillery
- Loading branch information
Qulibly
committed
Jul 31, 2023
1 parent
91daa5e
commit 35728bb
Showing
7 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
Resources/Prototypes/Entities/Structures/space_artillery.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
- type: entity | ||
id: Space_Artillery | ||
name: space artillery | ||
parent: ConstructibleMachine | ||
description: It's like from 20th century second planet wars! Old and reliable. | ||
placement: | ||
mode: SnapgridCenter | ||
components: | ||
- type: Clickable | ||
- type: InteractionOutline | ||
- type: Physics | ||
bodyType: Static | ||
- type: Fixtures | ||
fixtures: | ||
fix1: | ||
shape: | ||
!type:PhysShapeAabb | ||
bounds: "-0.25,-0.25,0.25,0.25" | ||
density: 600 | ||
mask: | ||
- MachineMask | ||
layer: | ||
- MachineLayer | ||
- type: Transform | ||
anchored: true | ||
- type: Sprite | ||
sprite: Structures/space_artillery.rsi | ||
layers: | ||
- state: space_artillery | ||
- type: Anchorable | ||
- type: Pullable | ||
- type: Rotatable | ||
rotateWhilePulling: false | ||
- type: Appearance | ||
- type: Storage | ||
capacity: 120 | ||
- type: UserInterface | ||
interfaces: | ||
- key: enum.StorageUiKey.Key | ||
type: StorageBoundUserInterface | ||
- type: ContainerContainer | ||
containers: | ||
storagebase: !type:Container | ||
ents: [] | ||
- type: ContainerAmmoProvider | ||
container: storagebase | ||
- type: PneumaticCannon | ||
gasUsage: 0 | ||
baseProjectileSpeed: 25 | ||
toolModifyPower: Screwing | ||
throwItems: false | ||
- type: DeviceNetwork | ||
deviceNetId: Wireless | ||
receiveFrequencyId: BasicDevice | ||
- type: WirelessNetworkConnection | ||
range: 200 | ||
- type: DeviceLinkSink | ||
ports: | ||
- SpaceArtilleryFire | ||
- type: DeviceLinkSource | ||
ports: | ||
- SpaceArtilleryFire | ||
- type: Gun | ||
fireRate: 10 | ||
selectedMode: FullAuto | ||
availableModes: | ||
- SemiAuto | ||
- FullAuto | ||
soundGunshot: | ||
path: /Audio/Effects/thunk.ogg | ||
soundEmpty: | ||
path: /Audio/Items/hiss.ogg |
15 changes: 15 additions & 0 deletions
15
Resources/Textures/Structures/space_artillery.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/da354ba4e28fcaf73002d25cab0da4815808be60", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "space_artillery", | ||
"directions": 4 | ||
} | ||
] | ||
} |
Binary file added
BIN
+2.97 KB
Resources/Textures/Structures/space_artillery.rsi/space_artillery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.