Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

машины для ивента #516

Merged
merged 4 commits into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@


- type: entity
parent: OreProcessor
id: ADTFurnance
name: Furnance
description: Furnance
components:
- type: Sprite
sprite: ADT/Structures/Machines/furnance.rsi
layers:
- state: icon
map: ["enum.LatheVisualLayers.IsRunning"]
- state: icon
shader: unshaded
map: ["enum.PowerDeviceVisualLayers.Powered"]
- state: icon
map: ["enum.MaterialStorageVisualLayers.Inserting"]
- state: icon
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: Machine
board: OreProcessorIndustrialMachineCircuitboard
- type: Lathe
idleState: icon
runningState: icon
materialUseMultiplier: 0.75
timeMultiplier: 0.5
staticRecipes:
- SheetSteel30
- SheetGlass30
- SheetRGlass30
- SheetPlasma30
- SheetPGlass30
- SheetRPGlass30
- SheetPlasteel30
- SheetUranium30
- SheetUGlass30
- SheetRUGlass30
- IngotGold30
- IngotSilver30
- MaterialBananium10
- type: ApcPowerReceiver
needsPower: false
powerLoad: 0

- type: entity
name: water well
id: ADTWaterWell
parent: SinkEmpty
suffix: Water
components:
- type: SolutionContainerManager
solutions:
drainBuffer:
maxVol: 200
tank:
reagents:
- ReagentId: Water
Quantity: 2000
- type: SolutionRegeneration
solution: tank
generated:
reagents:
- ReagentId: Water
Quantity: 10
- type: Sprite
sprite: ADT/Structures/Machines/water_well.rsi
layers:
- state: icon
- map: [ "enum.SolutionContainerLayers.Fill" ]
state: icon
visible: false

- type: entity
id: ADTFoodFurnance
parent: [ BaseMachinePowered, ConstructibleMachine ]
name: Food Furnance
description: It's magic.
components:
- type: Microwave
capacity: 10
- type: Appearance
- type: GenericVisualizer
visuals:
enum.MicrowaveVisualState.Bloody:
bloody:
True: { visible: true }
False: { visible: false }
bloodyunshaded:
True: { visible: true }
False: { visible: false }
enum.PowerDeviceVisuals.VisualState:
enum.MicrowaveVisualizerLayers.Base:
Idle: { state: "icon" }
Broken: { state: "icon" }
Cooking: { state: "icon" }
enum.MicrowaveVisualizerLayers.BaseUnlit:
Idle: { state: "icon" }
Broken: { state: "icon" }
Cooking: { state: "icon" }
bloodyunshaded:
Idle: { visible: false }
Broken: { visible: false }
enum.PowerDeviceVisuals.Powered:
enum.MicrowaveVisualizerLayers.BaseUnlit:
True: { visible: true }
False: { visible: false }
- type: ActivatableUI
key: enum.MicrowaveUiKey.Key
- type: DeviceLinkSink
ports:
- On
- type: DeviceNetwork
deviceNetId: Wireless
receiveFrequencyId: BasicDevice
- type: WirelessNetworkConnection
range: 200
- type: UserInterface
interfaces:
- key: enum.MicrowaveUiKey.Key
type: MicrowaveBoundUserInterface
- type: Physics
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.3,-0.16,0.3,0.16"
density: 190
mask:
- MachineMask
layer:
- MachineLayer
- type: Sprite
sprite: ADT/Structures/Machines/food_furnance.rsi
drawdepth: SmallObjects
snapCardinals: true
layers:
- state: icon
map: ["enum.MicrowaveVisualizerLayers.Base"]
- state: icon
shader: unshaded
map: ["enum.MicrowaveVisualizerLayers.BaseUnlit"]
- state: icon
map: ["bloody"]
visible: false
- state: icon
shader: unshaded
map: ["bloodyunshaded"]
visible: false
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: ["Breakage"]
- type: Explosive
explosionType: Default
maxIntensity: 10
totalIntensity: 5
intensitySlope: 5
canCreateVacuum: false
deleteAfterExplosion: false
- type: ApcPowerReceiver
needsPower: false
powerLoad: 0
- type: Machine
board: MicrowaveMachineCircuitboard
- type: ContainerContainer
containers:
microwave_entity_container: !type:Container
machine_board: !type:Container
machine_parts: !type:Container
- type: EmptyOnMachineDeconstruct
containers:
- microwave_entity_container
- type: GuideHelp
guides:
- Chef
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
- Prying
- type: ToolTileCompatible
- type: Prying
# - type: TilePrying
# advanced: true
- type: UseDelay
delay: 1
- type: StealTarget
Expand Down
4 changes: 3 additions & 1 deletion Resources/Prototypes/NES/Ivents/frostpunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@
- type: entity
id: NesIisysWallRock
parent: BaseStructure
name: камень Иссус (бессмертный)
name: Бедрок
description: Коренная горная порода. Слишком крепкая, чтобы её можно было разрушить ручными инструментами.
suffix: Неразрушимый
components:
- type: PlacementReplacement
key: walls
Expand Down
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,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by not_so_big_chungus for Время Приключений MRP",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions Resources/Textures/ADT/Structures/Machines/furnance.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by Factorio",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
}
]
}
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,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by not_so_big_chungus for Время Приключений MRP",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
}
]
}
Loading