[PORT] Мини-генератор аномалий (#146)

* hotfix-parallax

* mini anomaly generator

* locale

* fix

* NF

* fix NF
This commit is contained in:
mofkkol1
2025-06-06 00:26:30 +05:00
committed by GitHub
parent d8f5bd67cb
commit d071752424
9 changed files with 140 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
ent-MachineMiniAnomalyGenerator = мини-генератор аномалий
.desc = Вершина псевдонаучных технологий.

View File

@@ -0,0 +1,61 @@
- type: entity
id: MachineMiniAnomalyGenerator
parent: MachineAnomalyGenerator
name: mini anomaly generator
description: The peak of pseudoscientific technology.
placement:
mode: AlignTileAny
components:
- type: Sprite
sprite: _NF/Entities/Structures/Machines/Anomaly/mini_anomaly_generator.rsi
offset: 0,0.5
noRot: true
layers:
- state: base
- state: dials-unshaded
map: ["dials"]
visible: false
shader: unshaded
- state: unshaded
shader: unshaded
map: ["enum.PowerDeviceVisualLayers.Powered"]
- state: panel
map: ["enum.WiresVisualLayers.MaintenancePanel"]
visible: false
- state: inserting
visible: false
map: ["enum.MaterialStorageVisualLayers.Inserting"]
- state: generating
visible: false
shader: unshaded
map: ["enum.AnomalyGeneratorVisualLayers.Base"]
- type: ApcPowerReceiver
powerLoad: 500
- type: StaticPrice
price: 5000
- type: Transform
noRot: true
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.4,-0.4,0.4,0.4"
density: 250
mask:
- LargeMobMask
layer:
- WallLayer
- type: GenericVisualizer
visuals:
enum.PowerDeviceVisuals.Powered:
enum.PowerDeviceVisualLayers.Powered:
True: { visible: true }
False: { visible: false }
dials:
True: { visible: true }
False: { visible: false }
enum.AnomalyGeneratorVisuals.Generating:
enum.AnomalyGeneratorVisualLayers.Base:
True: { visible: true }
False: { visible: false }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

View File

@@ -0,0 +1,77 @@
{
"version": 1,
"size": {
"x": 32,
"y": 64
},
"license": "CC0-1.0",
"copyright": "Created by EmoGarbage, edited by dvir001, taken from https://github.com/dvir001/frontier-station-14/tree/5af3a31f2f9ba926ddde3a44fb278b5911a785b6/Resources/Textures/_NF/Structures/Machines/Anomaly/mini_anomaly_generator.rsi",
"states": [
{
"name": "generating",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "base"
},
{
"name": "inserting",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "panel"
},
{
"name": "unshaded",
"delays": [
[
1,
0.25,
0.25,
0.25,
0.25,
0.25,
0.25,
0.5
]
]
},
{
"name": "dials-unshaded",
"delays": [
[
0.15,
0.15,
0.15,
0.15,
0.15,
0.15,
0.15,
0.15
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 688 B