Faxes are colored (again) (#38387)

* Faxes are colored (again)

* copyright
This commit is contained in:
AsnDen 2026-07-14 08:03:34 +03:00 • committed by GitHub
parent 423b38287b
commit 5bef97b9ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 36 additions and 16 deletions

View file

@ -42,8 +42,7 @@ public sealed partial class FaxVisualsSystem : EntitySystem
LayerKey = FaxMachineVisuals.VisualState,
KeyFrames =
{
new AnimationTrackSpriteFlick.KeyFrame(component.InsertingState, 0f),
new AnimationTrackSpriteFlick.KeyFrame("icon", 2.4f),
new AnimationTrackSpriteFlick.KeyFrame(component.InsertingState, 0f)
},
},
},

View file

@ -9,6 +9,12 @@
drawdepth: SmallObjects
layers:
- state: icon
- state: idle
map: [ "faxEyes" ]
- state: printing
map: [ "printing" ]
visible: false
- state:
map: [ "enum.FaxMachineVisuals.VisualState" ]
- type: Icon
sprite: Structures/Machines/fax_machine.rsi
@ -54,13 +60,16 @@
- type: GenericVisualizer
visuals:
enum.PowerDeviceVisuals.Powered:
enum.FaxMachineVisuals.VisualState:
True: { state: idle }
False: { state: icon }
faxEyes:
True: { visible: true }
False: { visible: false }
enum.FaxMachineVisuals.VisualState:
printing:
Printing: { visible: true }
Normal: { visible: false }
enum.FaxMachineVisuals.VisualState:
Printing: { state: printing }
Normal: {state: idle}
Inserting: { visible: true }
Normal: { visible: false }
- type: ItemSlots
- type: ContainerContainer
containers:
@ -80,10 +89,16 @@
suffix: CentCom
components:
- type: Sprite
layers:
- state: icon
map: [ "base" ]
color: "#bfe3ff"
layers:
- state: icon
color: "#bfe3ff"
- state: idle
map: [ "faxEyes" ]
- state: printing
map: [ "printing" ]
visible: false
- state:
map: [ "enum.FaxMachineVisuals.VisualState" ]
- type: FaxMachine
name: "Central Command"
notifyAdmins: true
@ -95,10 +110,16 @@
suffix: Syndicate
components:
- type: Sprite
layers:
- state: icon
map: [ "base" ]
color: "#a3a3a3"
layers:
- state: icon
color: "#a3a3a3"
- state: idle
map: [ "faxEyes" ]
- state: printing
map: [ "printing" ]
visible: false
- state:
map: [ "enum.FaxMachineVisuals.VisualState" ]
- type: FaxMachine
name: "ERR*?*%!"
responsePings: false

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 468 B

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 842 B

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from TauCetiClassic at commit https://github.com/TauCetiStation/TauCetiClassic/tree/23b5c47245804dd24507b75f250de5e87d34e294",
"copyright": "Taken from TauCetiClassic at commit https://github.com/TauCetiStation/TauCetiClassic/tree/23b5c47245804dd24507b75f250de5e87d34e294 and modified by AsnDen (github)",
"size": {
"x": 32,
"y": 32

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 482 B