Skip to content

Commit

Permalink
Added wallmount versions for ATM and withdraw-only ATM
Browse files Browse the repository at this point in the history
  • Loading branch information
sTiKyt committed Jul 17, 2023
1 parent d08df02 commit 8e0bd94
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 0 deletions.
59 changes: 59 additions & 0 deletions Resources/Prototypes/_NF/Entities/Structures/atms.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
- type: entity
id: ComputerWallmountBankATM
parent: BaseComputer
name: wallmount bank atm
description: Used to deposit and withdraw funds from a personal bank account, it now comes in a more compact design!
components:
- type: BankATM
bank-ATM-cashSlot:
name: bank-ATM-cashSlot
insertSound: /Audio/Machines/scanning.ogg
ejectSound: /Audio/Machines/tray_eject.ogg
ejectOnBreak: true
swap: false
whitelist:
components:
- Currency
- type: ActivatableUI
key: enum.BankATMMenuUiKey.ATM
- type: UserInterface
interfaces:
- key: enum.BankATMMenuUiKey.ATM
type: BankATMMenuBoundUserInterface
- type: Computer
board: ShipyardComputerCircuitboard
- type: PointLight
radius: 1.5
energy: 1.6
color: "#b89f25"
- type: Transform
anchored: true
- type: InteractionOutline
- type: Sprite
netsync: false
noRot: true
sprite: _NF/Structures/wall_atm.rsi
layers:
- map: ["computerLayerBody"]
state: icon
- map: ["computerLayerScreen"]
state: unshaded
- type: ItemSlots
- type: WallMount
- type: ContainerContainer
containers:
board: !type:Container
bank-ATM-cashSlot: !type:ContainerSlot {}

- type: entity
id: ComputerWallmountWithdrawBankATM
parent: ComputerWallmountBankATM
name: wallmount withdraw-only bank atm
description: Used to withdraw funds from a personal bank account. Unable to deposit. It now comes in a more compact design!
components:
- type: ActivatableUI
key: enum.BankATMMenuUiKey.ATM
- type: UserInterface
interfaces:
- key: enum.BankATMMenuUiKey.ATM
type: WithdrawBankATMMenuBoundUserInterface
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions Resources/Textures/_NF/Structures/wall_atm.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": 1,
"license": "CC0-1.0",
"copyright": "Created by EmoGarbage, reshaded by Checkraze, resized and edited to wall version by sTiKyt",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "printing",
"delays": [[0.25, 0.25, 0.25, 0.25]]
},
{
"name": "unshaded"
}
]
}
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.

0 comments on commit 8e0bd94

Please sign in to comment.