Skip to content

Commit

Permalink
Weapon Targeting Console Resprite (ekrixi-14#270)
Browse files Browse the repository at this point in the history
* console

* rsi fix?

* removes graphs

* Build resolve

* rsi resolve
  • Loading branch information
Hyenh authored Apr 12, 2024
1 parent b988f16 commit f6b598d
Show file tree
Hide file tree
Showing 10 changed files with 119 additions and 224 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
- type: entity
parent: BaseElectronics
parent: BaseComputerCircuitboard
id: WeaponPadCircuitboard
name: weapon pad electronics
description: An electronics board used in weapon pads.
name: weapon console computer board
description: An computer board used in weapon consoles.
components:
- type: Sprite
sprite: Objects/Misc/module.rsi
state: airalarm_electronics
state: cpu_security
- type: ComputerBoard
prototype: WeaponTargetingPad
- type: Tag
tags:
- WeaponPadElectronics
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
- type: entity
parent: BaseComputer
id: WeaponTargetingPad
name: weapon targeting console
description: A targeting pad used for targeting and firing.
placement:
mode: SnapgridCenter
components:
- type: Sprite
sprite: _FTL/Structures/Machines/computers.rsi
layers:
- map: ["computerLayerBody"]
state: computer
- map: ["computerLayerKeyboard"]
state: aiming_keyboard
- map: ["computerLayerScreen"]
state: gun_aiming
- map: ["computerLayerKeys"]
state: aiming_key
- type: ApcPowerReceiver
powerLoad: 200
- type: Computer
board: WeaponPadCircuitboard
- type: ActivatableUIRequiresPower
- type: ActivatableUI
key: enum.ShipWeaponTargetingUiKey.Key
- type: UserInterface
interfaces:
- key: enum.ShipWeaponTargetingUiKey.Key
type: GunnerConsoleBoundUserInterface
- type: RadarConsole
- type: GunnerConsole
- type: DeviceNetwork
deviceNetId: Wireless
receiveFrequencyId: BasicDevice
- type: WirelessNetworkConnection
range: 200
- type: DeviceLinkSource
ports:
- WeaponOutputPort
- type: PointLight
radius: 1.5
energy: 1.6
color: "#17e64b"

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions Resources/Prototypes/_FTL/Recipes/Construction/weapon_pad.yml

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "gun_aiming, aiming_key, aiming_keyboard by Hyenh#6078 (313846233099927552)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "computer",
"directions": 4
},
{
"name": "aiming_keyboard",
"directions": 4
},
{
"name": "gun_aiming",
"directions": 4,
"delays": [
[
1,
0.5,
1,
0.5,
1,
0.5,
1,
0.5
],
[
1,
0.5,
1,
0.5,
1,
0.5,
1,
0.5
],
[
1,
0.5,
1,
0.5,
1,
0.5,
1,
0.5
],
[
1,
0.5,
1,
0.5,
1,
0.5,
1,
0.5
]
]
},
{
"name": "aiming_key",
"directions": 4
}
]
}

0 comments on commit f6b598d

Please sign in to comment.