Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-2024-08-06· OpenAIAi2 WildChat-4.8M (AI2)

Проанализируй прототип - type: entity id: UnlitCampfire parent: BaseStructure name:…

  1. User

    Проанализируй прототип

    • type: entity id: UnlitCampfire parent: BaseStructure name: костёр suffix: не зажённый description: Что может быть лучше позднего вечера под открытым небом с гитарой и друзьями. components:

      • type: Sprite noRot: true sprite: Structures/Decoration/bonfire.rsi layers:
        • state: bonfire
      • type: Damageable damageContainer: Inorganic damageModifierSet: Wood
      • type: Destructible thresholds:
        • trigger: !type:DamageTrigger damage: 50 behaviors:
          • !type:DoActsBehavior acts: ["Destruction"]
      • type: Construction graph: CampfireGraph node: unlit
      • type: Physics bodyType: Static
      • type: Fixtures fixtures: fix1: shape: !type:PhysShapeAabb bounds: "-0.45,-0.45,0.45,0.45" density: 55 mask: - Impassable layer: - HighImpassable
    • type: entity id: LitCampfire parent: UnlitCampfire name: костёр suffix: зажённый description: Что может быть лучше позднего вечера под открытым небом с гитарой и друзьями. components:

      • type: Sprite noRot: true sprite: Structures/Decoration/bonfire.rsi layers:
        • state: burning
      • type: PointLight radius: 5 energy: 3 color: "#FFC90C"
      • type: AmbientSound volume: -5 range: 5 sound: path: /Audio/Ambience/Objects/fireplace.ogg
      • type: Construction graph: CampfireGraph node: lit
      • type: Damageable damageContainer: StructuralInorganic damageModifierSet: Wood
      • type: Destructible thresholds:
        • trigger: !type:DamageTrigger damage: 50 behaviors:
          • !type:DoActsBehavior acts: ["Destruction"]
    • type: constructionGraph id: CampfireGraph start: start graph:

      • node: start edges:

        • to: unlit steps:
          • material: WoodPlank amount: 5 doAfter: 3
      • node: unlit entity: UnlitCampfire edges:

        • to: lit steps:
          • tool: Welding doAfter: 1
        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 3
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 3
      • node: lit entity: LitCampfire edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: Coal1 amount: 1
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 1
    • type: construction name: костёр id: UnlitCampfireConstruction graph: CampfireGraph startNode: start targetNode: lit category: construction-category-furniture description: Что может быть лучше позднего вечера под открытым небом с гитарой и друзьями. icon: sprite: Structures/Decoration/bonfire.rsi state: burning objectType: Structure placementMode: SnapgridCenter canBuildInImpassable: false conditions:

      • !type:TileNotBlocked
    • type: entity id: FireplaceUnlit parent: BaseStructure name: камин suffix: не зажённый description: Очаг, в котором горит огонь. Уютно! components:

      • type: Sprite sprite: Structures/Decoration/fireplace.rsi noRot: true layers:
        • state: fireplace
        • state: fireplacefestive map: ["christmas"] visible: false
        • state: fireplace_fire4 shader: unshaded visible: false
        • state: fireplace_glow shader: unshaded visible: false
      • type: Appearance
      • type: HolidayVisuals holidays: festive:
        • FestiveSeason
      • type: GenericVisualizer visuals: enum.HolidayVisuals.Holiday: christmas: festive: { visible: true }
      • type: Construction graph: FireplaceGraph node: unlit
      • type: Damageable damageContainer: Inorganic damageModifierSet: Metallic
      • type: Destructible thresholds:
        • trigger: !type:DamageTrigger damage: 200 behaviors:
          • !type:DoActsBehavior acts: [ "Destruction" ]
      • type: AlwaysHot
    • type: entity id: FireplaceLit parent: BaseStructure name: камин suffix: зажённый description: Очаг, в котором горит огонь. Уютно! components:

      • type: Sprite sprite: Structures/Decoration/fireplace.rsi noRot: true layers:
        • state: fireplace
        • state: fireplacefestive map: ["christmas"] visible: false
        • state: fireplace_fire4 shader: unshaded
        • state: fireplace_glow shader: unshaded
      • type: Appearance
      • type: HolidayVisuals holidays: festive:
        • FestiveSeason
      • type: GenericVisualizer visuals: enum.HolidayVisuals.Holiday: christmas: festive: { visible: true }
      • type: AmbientSound volume: -6 range: 5 sound: path: /Audio/Ambience/Objects/fireplace.ogg
      • type: PointLight radius: 3 energy: 3 color: "#FF6F00"
      • type: Construction graph: FireplaceGraph node: lit
      • type: Damageable damageContainer: Inorganic damageModifierSet: Metallic
      • type: Destructible thresholds:
        • trigger: !type:DamageTrigger damage: 200 behaviors:
          • !type:DoActsBehavior acts: [ "Destruction" ]
      • type: AlwaysHot
    • type: constructionGraph id: FireplaceGraph start: start graph:

      • node: start edges:

        • to: unlit steps:
          • material: Plasteel amount: 10 doAfter: 3
          • material: Steel amount: 5 doAfter: 2
          • material: WoodPlank amount: 3 doAfter: 1
      • node: unlit entity: FireplaceUnlit edges:

        • to: lit steps:
          • tool: Welding doAfter: 1
        • to: start completed:
          • !type:SpawnPrototype prototype: SheetPlasteel1 amount: 10
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 5
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
      • node: lit entity: FireplaceLit edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: SheetPlasteel1 amount: 10
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 5
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: камин id: FireplaceUnlitConstruction graph: FireplaceGraph startNode: start targetNode: lit category: construction-category-furniture description: Очаг, в котором горит огонь. Уютно! icon: sprite: Structures/Decoration/fireplace.rsi state: fireplace objectType: Structure placementMode: SnapgridCenter canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Алтарь Хаоса (Chaos Altar)

    • type: entity id: AltarChaos parent: AltarNanotrasen name: алтарь хаоса description: Алтарь с элементами хаоса и непредсказуемости. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: chaos
      • type: Icon sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: chaos
      • type: Construction graph: ChaosAltarGraph node: chaosAltar
    • type: constructionGraph id: ChaosAltarGraph start: start graph:

      • node: start edges:

        • to: chaosAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: Steel amount: 6 doAfter: 5
      • node: chaosAltar entity: AltarChaos edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: алтарь хаоса id: ChaosAltar graph: ChaosAltarGraph startNode: start targetNode: chaosAltar category: construction-category-structures description: Алтарь с элементами хаоса и непредсказуемости. icon: sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: chaos objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Алтарь Друидов (Druid Altar)

    • type: entity id: AltarDruid parent: AltarNanotrasen name: алтарь друидов description: Алтарь, вдохновленный природой и магией друидов. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: druid
      • type: Icon sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: druid
      • type: Construction graph: DruidAltarGraph node: druidAltar
    • type: constructionGraph id: DruidAltarGraph start: start graph:

      • node: start edges:

        • to: druidAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: WoodPlank amount: 6 doAfter: 5
      • node: druidAltar entity: AltarDruid edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: алтарь друидов id: DruidAltar graph: DruidAltarGraph startNode: start targetNode: druidAltar category: construction-category-structures description: Алтарь, вдохновленный природой и магией друидов. icon: sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: druid objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Алтарь Ящика для Инструментов (Toolbox Altar)

    • type: entity id: AltarToolbox parent: AltarNanotrasen name: алтарь ящика для инструментов description: Алтарь, напоминающий набор инструментов и рабочий стол. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: toolbox
      • type: Icon sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: toolbox
      • type: Construction graph: ToolboxAltarGraph node: toolboxAltar
    • type: constructionGraph id: ToolboxAltarGraph start: start graph:

      • node: start edges:

        • to: toolboxAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: Steel amount: 6 doAfter: 5
      • node: toolboxAltar entity: AltarToolbox edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: алтарь ящика для инструментов id: ToolboxAltar graph: ToolboxAltarGraph startNode: start targetNode: toolboxAltar category: construction-category-structures description: Алтарь, напоминающий набор инструментов и рабочий стол. icon: sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: toolbox objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Космо-Христианский Алтарь (Space Christian Altar)

    • type: entity id: AltarSpaceChristian parent: AltarNanotrasen name: космо-Христианский алтарь description: Алтарь, сверкающий космическим светом веры. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi layers:
        • state: space-christian
        • state: space-christian_lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: space-christian
      • type: PointLight radius: 1.5 energy: 1 color: "#fbceb1"
      • type: Construction graph: SpaceChristianAltarGraph node: spaceChristianAltar
    • type: constructionGraph id: SpaceChristianAltarGraph start: start graph:

      • node: start edges:

        • to: spaceChristianAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: Steel amount: 6 doAfter: 5
      • node: spaceChristianAltar entity: AltarSpaceChristian edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: космо-Христианский алтарь id: SpaceChristianAltar graph: SpaceChristianAltarGraph startNode: start targetNode: spaceChristianAltar category: construction-category-structures description: Алтарь, сверкающий космическим светом веры. icon: sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: space-christian objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Сатанинский Алтарь (Satanic Altar)

    • type: entity id: AltarSatana parent: AltarNanotrasen name: сатанинский алтарь description: Алтарь с тематикой темных сил и мистики. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi layers:
        • state: satana
        • state: satana_lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: satana
      • type: PointLight radius: 1.5 energy: 1 color: "#ff6347"
      • type: Construction graph: SatanicAltarGraph node: satanicAltar
    • type: constructionGraph id: SatanicAltarGraph start: start graph:

      • node: start edges:

        • to: satanicAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: Steel amount: 6 doAfter: 5
      • node: satanicAltar entity: AltarSatana edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: сатанинский алтарь id: SatanicAltar graph: SatanicAltarGraph startNode: start targetNode: satanicAltar category: construction-category-structures description: Алтарь с тематикой темных сил и мистики. icon: sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: satana objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Алтарь Технологий (Technology Altar)

    • type: entity id: AltarTechnology parent: AltarNanotrasen name: алтарь технологий description: Алтарь, посвященный поклонению технологиям и прогрессу. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi layers:
        • state: technology
        • state: technology_lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: technology
      • type: PointLight radius: 1.5 energy: 1 color: "#e0ffff"
      • type: Construction graph: TechnologyAltarGraph node: technologyAltar
    • type: constructionGraph id: TechnologyAltarGraph start: start graph:

      • node: start edges:

        • to: technologyAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: Steel amount: 6 doAfter: 5
      • node: technologyAltar entity: AltarTechnology edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: алтарь технологий id: TechnologyAltar graph: TechnologyAltarGraph startNode: start targetNode: technologyAltar category: construction-category-structures description: Алтарь, посвященный поклонению технологиям и прогрессу. icon: sprite: Structures/Furniture/Altars/Gods/nanotrasen.rsi state: technology objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Праздничный Алтарь (Festival Altar)

    • type: entity id: AltarConvertFestival parent: AltarBase name: праздничный алтарь description: Деревянный алтарь, украшенный для праздников и торжеств. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: festival
      • type: Icon sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: festival
      • type: Damageable damageModifierSet: Wood
      • type: Destructible thresholds:
        • trigger: !type:DamageTrigger damage: 100 behaviors:
          • !type:DoActsBehavior acts: [ "Destruction" ]
        • trigger: !type:DamageTrigger damage: 15 behaviors:
          • !type:PlaySoundBehavior sound: collection: WoodDestroyHeavy
          • !type:SpawnEntitiesBehavior spawn: MaterialWoodPlank: min: 1 max: 5 MaterialCloth1: min: 1 max: 3
          • !type:DoActsBehavior acts: [ "Destruction" ]
      • type: Tag tags:
        • Wooden
      • type: Construction graph: FestivalAltarGraph node: festivalAltar
    • type: constructionGraph id: FestivalAltarGraph start: start graph:

      • node: start edges:

        • to: festivalAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: WoodPlank amount: 6 doAfter: 5
      • node: festivalAltar entity: AltarConvertFestival edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: праздничный алтарь id: FestivalAltar graph: FestivalAltarGraph startNode: start targetNode: festivalAltar category: construction-category-structures description: Деревянный алтарь, украшенный для праздников и торжеств. icon: sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: festival objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Алтарь Техтуннелей (Maint Altar)

    • type: entity id: AltarConvertMaint parent: AltarConvertFestival name: алтарь техтуннелей description: Алтарь, скрытый в тенях технических туннелей. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi layers:
        • state: maint
        • state: lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: maint
      • type: PointLight radius: 1.5 energy: 1 color: "#fbceb1"
      • type: Construction graph: MaintAltarGraph node: maintAltar
    • type: constructionGraph id: MaintAltarGraph start: start graph:

      • node: start edges:

        • to: maintAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: WoodPlank amount: 6 doAfter: 5
      • node: maintAltar entity: AltarConvertMaint edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: алтарь техтуннелей id: MaintAltar graph: MaintAltarGraph startNode: start targetNode: maintAltar category: construction-category-structures description: Алтарь, скрытый в тенях технических туннелей. icon: sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: maint objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Синий Алтарь (Blue Altar)

    • type: entity id: AltarConvertBlue parent: AltarConvertFestival name: синий алтарь description: Алтарь, излучающий спокойствие и мир синих оттенков. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi layers:
        • state: blue
        • state: lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: blue
      • type: PointLight radius: 1.5 energy: 1 color: "#fbceb1"
      • type: Construction graph: BlueAltarGraph node: blueAltar
    • type: constructionGraph id: BlueAltarGraph start: start graph:

      • node: start edges:

        • to: blueAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: WoodPlank amount: 6 doAfter: 5
      • node: blueAltar entity: AltarConvertBlue edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: синий алтарь id: BlueAltar graph: BlueAltarGraph startNode: start targetNode: blueAltar category: construction-category-structures description: Алтарь, излучающий спокойствие и мир синих оттенков. icon: sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: blue objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Алтарь Бремени (Burden Altar)

    • type: entity id: AltarConvertBurden parent: AltarConvertFestival name: алтарь бремени description: Алтарь, несущий на себе тяжесть мировых проблем. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi layers:
        • state: convertaltar
        • state: lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: convertaltar
      • type: PointLight radius: 1.5 energy: 1 color: "#fbceb1"
      • type: Construction graph: BurdenAltarGraph node: burdenAltar
    • type: constructionGraph id: BurdenAltarGraph start: start graph:

      • node: start edges:

        • to: burdenAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: WoodPlank amount: 6 doAfter: 5
      • node: burdenAltar entity: AltarConvertBurden edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: алтарь бремени id: BurdenAltar graph: BurdenAltarGraph startNode: start targetNode: burdenAltar category: construction-category-structures description: Алтарь, несущий на себе тяжесть мировых проблем. icon: sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: convertaltar objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Алтарь Обращения (Convert Altar)

    • type: entity id: AltarConvert parent: AltarConvertFestival name: алтарь обращения description: Алтарь, символизирующий перемены и обращение. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi layers:
        • state: convertaltar
        • state: lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: convertaltar
      • type: PointLight radius: 1.5 energy: 1 color: "#fbceb1"
      • type: Construction graph: ConvertAltarGraph node: convertAltar
    • type: constructionGraph id: ConvertAltarGraph start: start graph:

      • node: start edges:

        • to: convertAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: WoodPlank amount: 6 doAfter: 5
      • node: convertAltar entity: AltarConvert edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: алтарь обращения id: ConvertAltar graph: ConvertAltarGraph startNode: start targetNode: convertAltar category: construction-category-structures description: Алтарь, символизирующий перемены и обращение. icon: sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: convertaltar objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Оранжевый Алтарь (Orange Altar)

    • type: entity id: AltarConvertOrange parent: AltarConvertFestival name: оранжевый алтарь description: Алтарь с яркими и теплые оттенками оранжевого. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi layers:
        • state: orange
        • state: lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: orange
      • type: PointLight radius: 1.5 energy: 1 color: "#fbceb1"
      • type: Construction graph: OrangeAltarGraph node: orangeAltar
    • type: constructionGraph id: OrangeAltarGraph start: start graph:

      • node: start edges:

        • to: orangeAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: WoodPlank amount: 6 doAfter: 5
      • node: orangeAltar entity: AltarConvertOrange edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: оранжевый алтарь id: OrangeAltar graph: OrangeAltarGraph startNode: start targetNode: orangeAltar category: construction-category-structures description: Алтарь с яркими и теплые оттенками оранжевого. icon: sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: orange objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Красный Алтарь (Red Altar)

    • type: entity id: AltarConvertRed parent: AltarConvertFestival name: красный алтарь description: Алтарь, полный страсти и энергии красных оттенков. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi layers:
        • state: red
        • state: lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: red
      • type: PointLight radius: 1.5 energy: 1 color: "#fbceb1"
      • type: Construction graph: RedAltarGraph node: redAltar
    • type: constructionGraph id: RedAltarGraph start: start graph:

      • node: start edges:

        • to: redAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: WoodPlank amount: 6 doAfter: 5
      • node: redAltar entity: AltarConvertRed edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: красный алтарь id: RedAltar graph: RedAltarGraph startNode: start targetNode: redAltar category: construction-category-structures description: Алтарь, полный страсти и энергии красных оттенков. icon: sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: red objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Белый Алтарь (White Altar)

    • type: entity id: AltarConvertWhite parent: AltarConvertFestival name: белый алтарь description: Алтарь, символизирующий чистоту и светлые намерения. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi layers:
        • state: white
        • state: lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: white
      • type: PointLight radius: 1.5 energy: 1 color: "#fbceb1"
      • type: Construction graph: WhiteAltarGraph node: whiteAltar
    • type: constructionGraph id: WhiteAltarGraph start: start graph:

      • node: start edges:

        • to: whiteAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: WoodPlank amount: 6 doAfter: 5
      • node: whiteAltar entity: AltarConvertWhite edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: белый алтарь id: WhiteAltar graph: WhiteAltarGraph startNode: start targetNode: whiteAltar category: construction-category-structures description: Алтарь, символизирующий чистоту и светлые намерения. icon: sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: white objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Желтый Алтарь (Yellow Altar)

    • type: entity id: AltarConvertYellow parent: AltarConvertFestival name: жёлтый алтарь description: Алтарь, излучающий радость и тепло желтых оттенков. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi layers:
        • state: yellow
        • state: lightning shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: yellow
      • type: PointLight radius: 1.5 energy: 1 color: "#fbceb1"
      • type: Construction graph: YellowAltarGraph node: yellowAltar
    • type: constructionGraph id: YellowAltarGraph start: start graph:

      • node: start edges:

        • to: yellowAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: WoodPlank amount: 6 doAfter: 5
      • node: yellowAltar entity: AltarConvertYellow edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: MaterialWoodPlank amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: жёлтый алтарь id: YellowAltar graph: YellowAltarGraph startNode: start targetNode: yellowAltar category: construction-category-structures description: Алтарь, излучающий радость и тепло желтых оттенков. icon: sprite: Structures/Furniture/Altars/Gods/convertaltar.rsi state: yellow objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Небесный Алтарь (Heaven Altar)

    • type: entity id: AltarHeaven parent: AltarBase name: небесный алтарь description: Алтарь, устремленный к свету и высшим силам. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Cults/heaven.rsi layers:
        • state: full
        • state: blood shader: unshaded
      • type: Icon sprite: Structures/Furniture/Altars/Cults/heaven.rsi state: full
      • type: Destructible thresholds:
        • trigger: !type:DamageTrigger damage: 125 behaviors:
          • !type:DoActsBehavior acts: [ "Destruction" ]
        • trigger: !type:DamageTrigger damage: 25 behaviors:
          • !type:PlaySoundBehavior sound: collection: MetalBreak
          • !type:SpawnEntitiesBehavior spawn: SheetSteel1: min: 1 max: 5
          • !type:DoActsBehavior acts: [ "Destruction" ]
      • type: PointLight radius: 1.5 energy: 1 color: "#f08080"
      • type: Construction graph: HeavenAltarGraph node: heavenAltar
    • type: constructionGraph id: HeavenAltarGraph start: start graph:

      • node: start edges:

        • to: heavenAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: Steel amount: 6 doAfter: 5
      • node: heavenAltar entity: AltarHeaven edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: небесный алтарь id: HeavenAltar graph: HeavenAltarGraph startNode: start targetNode: heavenAltar category: construction-category-structures description: Алтарь, устремленный к свету и высшим силам. icon: sprite: Structures/Furniture/Altars/Cults/heaven.rsi state: full objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Клыкастый Алтарь (Fangs Altar)

    • type: entity id: AltarFangs parent: AltarHeaven name: клыкастый алтарь description: Алтарь с угрожающими клыками и мистической аурой. components:

      • type: Sprite sprite: Structures/Furniture/Altars/Cults/fangs.rsi
      • type: Icon sprite: Structures/Furniture/Altars/Cults/fangs.rsi
      • type: Construction graph: FangsAltarGraph node: fangsAltar
    • type: constructionGraph id: FangsAltarGraph start: start graph:

      • node: start edges:

        • to: fangsAltar completed:
          • !type:SnapToGrid southRotation: true steps:
          • material: Steel amount: 6 doAfter: 5
      • node: fangsAltar entity: AltarFangs edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 6
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: клыкастый алтарь id: FangsAltar graph: FangsAltarGraph startNode: start targetNode: fangsAltar category: construction-category-structures description: Алтарь с угрожающими клыками и мистической аурой. icon: sprite: Structures/Furniture/Altars/Cults/fangs.rsi objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Статуя "StatueVenusRed"

    • type: entity id: StatueVenusRed parent: BaseStructure name: статуя непорочной девы suffix: Красная description: Древняя мраморная статуя. Она изображена с косой до пола и с красным ящиком для инструментов. components:

      • type: Sprite noRot: true sprite: Structures/Decoration/statues.rsi state: venus_red drawdepth: Mobs offset: "0.0,0.5"
      • type: Construction graph: VenusRedStatueGraph node: statueRed
    • type: constructionGraph id: VenusRedStatueGraph start: start graph:

      • node: start edges:

        • to: statueRed completed:
          • !type:SnapToGrid southRotation: false steps:
          • material: Plasteel amount: 10 doAfter: 3
          • material: Steel amount: 5 doAfter: 2
          • tag: Toolbox icon: sprite: Objects/Tools/Toolboxes/toolbox_red.rsi state: icon name: аварийный ящик для инструментов doAfter: 2
      • node: statueRed entity: StatueVenusRed edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: SheetPlasteel1 amount: 10
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 5
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: статуя непорочной девы id: VenusRedStatue graph: VenusRedStatueGraph startNode: start targetNode: statueRed category: construction-category-structures description: Древняя мраморная статуя. Она изображена с косой до пола и с красным ящиком для инструментов. icon: sprite: Structures/Decoration/statues.rsi state: venus_red objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked

    Статуя "StatueVenusBlue"

    • type: entity id: StatueVenusBlue parent: BaseStructure name: статуя непорочной девы suffix: Синяя description: Древняя мраморная статуя. Она изображена с косой до пола и с синим ящиком для инструментов. components:

      • type: Sprite noRot: true sprite: Structures/Decoration/statues.rsi state: venus_blue drawdepth: Mobs offset: "0.0,0.5"
      • type: Construction graph: VenusBlueStatueGraph node: statueBlue
    • type: constructionGraph id: VenusBlueStatueGraph start: start graph:

      • node: start edges:

        • to: statueBlue completed:
          • !type:SnapToGrid southRotation: false steps:
          • material: Plasteel amount: 10 doAfter: 3
          • material: Steel amount: 5 doAfter: 2
          • tag: Toolbox icon: sprite: Objects/Tools/Toolboxes/toolbox_blue.rsi state: icon name: технический ящик для инструментов doAfter: 2
      • node: statueBlue entity: StatueVenusBlue edges:

        • to: start completed:
          • !type:SpawnPrototype prototype: SheetPlasteel1 amount: 10
          • !type:SpawnPrototype prototype: SheetSteel1 amount: 5
          • !type:DeleteEntity {} steps:
          • tool: Prying doAfter: 5
    • type: construction name: статуя непорочной девы id: VenusBlueStatue graph: VenusBlueStatueGraph startNode: start targetNode: statueBlue category: construction-category-structures description: Древняя мраморная статуя. Она изображена с косой до пола и с синим ящиком для инструментов. icon: sprite: Structures/Decoration/statues.rsi state: venus_blue objectType: Structure placementMode: SnapgridCenter canRotate: false canBuildInImpassable: false conditions:

      • !type:TileNotBlocked
  2. Assistant

    Этот прототип описывает систему конструкций и их преобразований в игровой среде. Давайте рассмотрим ключевые элементы и структуры этого прототипа:

    1. Классы и наследование:

      • Основные объекты, такие как "UnlitCampfire", "LitCampfire", "FireplaceUnlit", и "FireplaceLit" наследуются от "BaseStructure". Это позволяет повторно использовать общие компоненты и свойства.
    2. Компоненты:

      • Каждый объект имеет ряд компонентов, таких как "Sprite" для графического отображения, "Damageable" и "Destructible" для управления повреждениями, "PointLight" для освещения, и "AmbientSound" для звукового окружения.
    3. Графы конструкций:

      • Для каждого типа конструкции указывается граф переходов, который описывает, из каких материалов и с помощью каких инструментов можно создать объект.
      • Пример: чтобы зажечь "UnlitCampfire", нужно использовать инструмент "Welding".
    4. Преобразования:

      • Графы также описывают, как разрушить объект и извлечь из него материалы, — это происходит с помощью инструмента "Prying".
    5. Разнообразие объектов:

      • Определены различные объекты (алтарь, костёр, статуя), которые имеют уникальные свойства и способы взаимодействия, такие как "Алтарь Хаоса", "Алтарь Друидов", "Космо-Христианский алтарь" и другие.
    6. Удобство и гибкость:

      • Возможность изменения состояния объектов (например, "не зажённый" и "зажённый" костры) и поддержка различных эффектов (освещение, звук).
    7. Описание и визуализация:

      • Каждый объект имеет текстовые описания и графические элементы, чтобы интегрироваться в игровую вселенную и поддерживать атмосферу.
    8. Условия строительства:

      • Установлены условия для строительства объектов, такие как отсутствие блокировки плитки.

    Это детальное описание системы, которая, будучи интегрированной в игру, позволяет создавать и разрушать различные объекты, управлять их состоянием и визуальными эффектами, что способствует более интерактивному и привлекательному игровому процессу.

  3. User

    Сделай аналогичным образом создание этому

    • type: entity name: sink id: Sink parent: SinkEmpty suffix: Water components:

      • type: SolutionContainerManager solutions: drainBuffer: maxVol: 200 tank: reagents: - ReagentId: Water Quantity: 500
    • type: entity name: wide sink id: SinkWide parent: Sink components:

      • type: Sprite sprite: Structures/Furniture/sink.rsi layers:
        • state: sink_wide
        • map: [ "enum.SolutionContainerLayers.Fill" ] state: sink_wide-fill-1 visible: false
      • type: SolutionContainerVisuals maxFillLevels: 1 fillBaseName: sink_wide-fill- solutionName: drainBuffer

    #Stemless Sink

    • type: entity name: sink id: SinkStemless parent: SinkEmpty components:

      • type: Sprite sprite: Structures/Furniture/sink.rsi layers:
        • state: sink
        • map: [ "enum.SolutionContainerLayers.Fill" ] state: sink-fill-1 visible: false
    • type: entity name: sink id: SinkStemlessWater parent: SinkStemless suffix: Water components:

      • type: SolutionContainerManager solutions: drainBuffer: maxVol: 100 tank: reagents: - ReagentId: Water Quantity: 500
  4. Assistant

    Для создания аналогичной системы конструирования раковин, подобной той, что вы описали для алтарей и других объектов, мы можем разработать следующий прототип. Здесь будет описан процесс конструирования различных типов раковин, а также их различных состояний (например, наполненные водой).

    1. Граф конструирования:
    - type: constructionGraph
      id: SinkGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sink
              steps:
                - material: Steel
                  amount: 4
                  doAfter: 2
    
        - node: sink
          entity: SinkEmpty
          edges:
            - to: sinkWater
              steps:
                - material: Water
                  amount: 500
                  doAfter: 1
    
        - node: sinkWater
          entity: Sink
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    1. Элементы конструирования:
    - type: construction
      name: раковина
      id: SinkConstruction
      graph: SinkGraph
      startNode: start
      targetNode: sinkWater
      category: construction-category-furniture
      description: Удобная раковина для ваших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    1. Определение новых сущностей и их компонентов:
    - type: entity
      name: пустая раковина
      id: SinkEmpty
      parent: BaseStructure
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
    
    - type: entity
      name: раковина с водой
      id: SinkWater
      parent: SinkEmpty
      suffix: Water
      components:
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
          tank:
            reagents:
            - ReagentId: Water
              Quantity: 500
    
    1. Конструирование широкой раковины:
    - type: constructionGraph
      id: SinkWideGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkWide
              steps:
                - material: Steel
                  amount: 6
                  doAfter: 3
    
        - node: sinkWide
          entity: SinkWide
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 6
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 5
    
    1. Элементы для широкой раковины:
    - type: construction
      name: широкая раковина
      id: SinkWideConstruction
      graph: SinkWideGraph
      startNode: start
      targetNode: sinkWide
      category: construction-category-furniture
      description: Широкая раковина для больших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink_wide
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    

    Это создание раковин обеспечивает гибкость и расширяемость, аналогично приведённой системе алтарей и других объектов, что позволяет эффективно управлять состояниями и свойствами различных объектов в игре.

  5. User

    Сделай это сразу для всех видов раковин что я скинул, одним длинным текстом

  6. Assistant

    Давайте объединяем данные из вашего примера и создадим систему конструирования для всех типов раковин. Это будет включать конструирование как обычных раковин, так и широких и бесстебельных.

    # Конструирование раковины (Sink)
    
    - type: constructionGraph
      id: SinkGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkEmpty
              steps:
                - material: Steel
                  amount: 4
                  doAfter: 2
    
        - node: sinkEmpty
          entity: SinkEmpty
          edges:
            - to: sinkWater
              steps:
                - material: Water
                  amount: 500
                  doAfter: 1
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
        - node: sinkWater
          entity: Sink
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkConstruction
      graph: SinkGraph
      startNode: start
      targetNode: sinkWater
      category: construction-category-furniture
      description: Удобная раковина для ваших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: пустая раковина
      id: SinkEmpty
      parent: BaseStructure
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
    
    - type: entity
      name: раковина с водой
      id: Sink
      parent: SinkEmpty
      suffix: Water
      components:
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
          tank:
            reagents:
            - ReagentId: Water
              Quantity: 500
    
    # Конструирование широкой раковины (SinkWide)
    
    - type: constructionGraph
      id: SinkWideGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkWide
              steps:
                - material: Steel
                  amount: 6
                  doAfter: 3
    
        - node: sinkWide
          entity: SinkWide
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 6
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 5
    
    - type: construction
      name: широкая раковина
      id: SinkWideConstruction
      graph: SinkWideGraph
      startNode: start
      targetNode: sinkWide
      category: construction-category-furniture
      description: Широкая раковина для больших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink_wide
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: широкая раковина
      id: SinkWide
      parent: Sink
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink_wide
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink_wide-fill-1
            visible: false
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink_wide-fill-
        solutionName: drainBuffer
    
    # Конструирование бесстебельной раковины (SinkStemless)
    
    - type: constructionGraph
      id: SinkStemlessGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkStemlessEmpty
              steps:
                - material: Steel
                  amount: 4
                  doAfter: 2
    
        - node: sinkStemlessEmpty
          entity: SinkStemless
          edges:
            - to: sinkStemlessWater
              steps:
                - material: Water
                  amount: 500
                  doAfter: 1
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
        - node: sinkStemlessWater
          entity: SinkStemlessWater
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: бесстебельная раковина
      id: SinkStemlessConstruction
      graph: SinkStemlessGraph
      startNode: start
      targetNode: sinkStemlessWater
      category: construction-category-furniture
      description: Бесстебельная раковина для экономии места.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: бесстебельная пустая раковина
      id: SinkStemless
      parent: BaseStructure
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink-fill-1
            visible: false
    
    - type: entity
      name: бесстебельная раковина с водой
      id: SinkStemlessWater
      parent: SinkStemless
      suffix: Water
      components:
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 100
          tank:
            reagents:
            - ReagentId: Water
              Quantity: 500
    

    Этот YAML-файл описывает строительство всех трех типов раковин, включая их пустые и заполненные состояния. Файл включает графы конструкций, элементы для каждой раковины и условия, необходимые для их создания в игровом мире.

  7. User

    ent-SinkEmpty = раковина .desc = Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает. .suffix = Пустой ent-Sink = раковина .desc = { ent-SinkEmpty.desc } .suffix = Вода ent-SinkWide = широкая раковина .desc = { ent-Sink.desc } .suffix = Вода ent-SinkStemless = раковина .desc = { ent-SinkEmpty.desc } .suffix = Пустой ent-SinkStemlessWater = раковина .desc = { ent-SinkStemless.desc } .suffix = Вода

    Вот переводы если что правильные

  8. Assistant

    Учитывая предоставленные переводы и уточненные описания, я обновлю части YAML-документа, связанные с описаниями и суффиксами, чтобы они соответствовали вашим требованиям.

    # Конструирование раковины (Sink)
    
    - type: constructionGraph
      id: SinkGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkEmpty
              steps:
                - material: Steel
                  amount: 4
                  doAfter: 2
    
        - node: sinkEmpty
          entity: SinkEmpty
          edges:
            - to: sinkWater
              steps:
                - material: Water
                  amount: 500
                  doAfter: 1
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
        - node: sinkWater
          entity: Sink
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkConstruction
      graph: SinkGraph
      startNode: start
      targetNode: sinkWater
      category: construction-category-furniture
      description: Удобная раковина для ваших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkEmpty
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
    
    - type: entity
      name: раковина
      id: Sink
      parent: SinkEmpty
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Вода
      components:
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
          tank:
            reagents:
            - ReagentId: Water
              Quantity: 500
    
    # Конструирование широкой раковины (SinkWide)
    
    - type: constructionGraph
      id: SinkWideGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkWide
              steps:
                - material: Steel
                  amount: 6
                  doAfter: 3
    
        - node: sinkWide
          entity: SinkWide
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 6
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 5
    
    - type: construction
      name: широкая раковина
      id: SinkWideConstruction
      graph: SinkWideGraph
      startNode: start
      targetNode: sinkWide
      category: construction-category-furniture
      description: Широкая раковина для больших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink_wide
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: широкая раковина
      id: SinkWide
      parent: Sink
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Вода
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink_wide
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink_wide-fill-1
            visible: false
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink_wide-fill-
        solutionName: drainBuffer
    
    # Конструирование бесстебельной раковины (SinkStemless)
    
    - type: constructionGraph
      id: SinkStemlessGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkStemlessEmpty
              steps:
                - material: Steel
                  amount: 4
                  doAfter: 2
    
        - node: sinkStemlessEmpty
          entity: SinkStemless
          edges:
            - to: sinkStemlessWater
              steps:
                - material: Water
                  amount: 500
                  doAfter: 1
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
        - node: sinkStemlessWater
          entity: SinkStemlessWater
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkStemlessConstruction
      graph: SinkStemlessGraph
      startNode: start
      targetNode: sinkStemlessWater
      category: construction-category-furniture
      description: Бесстебельная раковина для экономии места.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkStemless
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink-fill-1
            visible: false
    
    - type: entity
      name: раковина
      id: SinkStemlessWater
      parent: SinkStemless
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Вода
      components:
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 100
          tank:
            reagents:
            - ReagentId: Water
              Quantity: 500
    

    Таким образом, данная конфигурация включает правильные описания и суффиксы для каждой из раковин и учитывает все их аспекты, предоставленные в вашем примере.

  9. User

    Ещё сделаем создание дренажа

    • type: entity id: FloorDrain name: drain description: Drains puddles around it. Useful for dumping mop buckets or keeping certain rooms clean. placement: mode: SnapgridCenter components:
      • type: Sprite drawdepth: FloorObjects sprite: Objects/Specific/Janitorial/drain.rsi layers:
        • state: icon
        • map: [ "enum.SolutionContainerLayers.Fill" ] state: fill-1 visible: false
      • type: InteractionOutline
      • type: Clickable
      • type: Transform anchored: true
      • type: Physics bodyType: Static canCollide: false
      • type: AmbientSound enabled: false volume: -8 range: 8 sound: path: /Audio/Ambience/Objects/drain.ogg
      • type: Drain
      • type: DumpableSolution solution: drainBuffer
      • type: Appearance
      • type: SolutionContainerVisuals maxFillLevels: 1 fillBaseName: fill- solutionName: drainBuffer
      • type: SolutionContainerManager solutions: drainBuffer: maxVol: 1000
      • type: DrainableSolution solution: drainBuffer
      • type: Damageable damageContainer: StructuralInorganic damageModifierSet: StructuralMetallic
      • type: Destructible thresholds:
        • trigger: !type:DamageTrigger damage: 200 behaviors:
          • !type:DoActsBehavior acts: [ "Destruction" ]
        • trigger: !type:DamageTrigger damage: 100 behaviors:
          • !type:DoActsBehavior acts: [ "Destruction" ]
          • !type:PlaySoundBehavior sound: collection: MetalBreak
  10. Assistant

    Чтобы сделать создание для дренажа аналогично другим описанным системам, мы можем создать граф конструирования, связанный с дренажом, и определить его сущности. Вот как это можно сделать:

    1. Граф конструирования для дренажа:
    - type: constructionGraph
      id: DrainGraph
      start: start
      graph:
        - node: start
          edges:
            - to: drain
              steps:
                - material: Steel
                  amount: 3
                  doAfter: 2
    
        - node: drain
          entity: FloorDrain
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 3
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    1. Элементы конструирования для дренажа:
    - type: construction
      name: дренаж
      id: DrainConstruction
      graph: DrainGraph
      startNode: start
      targetNode: drain
      category: construction-category-furniture
      description: Дренаж для отведения луж и поддержания чистоты в определённых комнатах.
      icon:
        sprite: Objects/Specific/Janitorial/drain.rsi
        state: icon
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    1. Сущность для дренажа:
    - type: entity
      id: FloorDrain
      name: дренаж
      description: Отводит лужи вокруг себя. Полезно для опустошения ведер для швабр или поддержания чистоты в определённых комнатах.
      placement:
        mode: SnapgridCenter
      components:
        - type: Sprite
          drawdepth: FloorObjects
          sprite: Objects/Specific/Janitorial/drain.rsi
          layers:
            - state: icon
            - map: [ "enum.SolutionContainerLayers.Fill" ]
              state: fill-1
              visible: false
        - type: InteractionOutline
        - type: Clickable
        - type: Transform
          anchored: true
        - type: Physics
          bodyType: Static
          canCollide: false
        - type: AmbientSound
          enabled: false
          volume: -8
          range: 8
          sound:
            path: /Audio/Ambience/Objects/drain.ogg
        - type: Drain
        - type: DumpableSolution
          solution: drainBuffer
        - type: Appearance
        - type: SolutionContainerVisuals
          maxFillLevels: 1
          fillBaseName: fill-
          solutionName: drainBuffer
        - type: SolutionContainerManager
          solutions:
            drainBuffer:
              maxVol: 1000
        - type: DrainableSolution
          solution: drainBuffer
        - type: Damageable
          damageContainer: StructuralInorganic
          damageModifierSet: StructuralMetallic
        - type: Destructible
          thresholds:
            - trigger:
                !type:DamageTrigger
                damage: 200
              behaviors:
                - !type:DoActsBehavior
                  acts: [ "Destruction" ]
            - trigger:
                !type:DamageTrigger
                damage: 100
              behaviors:
                - !type:DoActsBehavior
                  acts: [ "Destruction" ]
                - !type:PlaySoundBehavior
                  sound:
                    collection: MetalBreak
    

    Таким образом, данная конфигурация описывает процесс конструирования дренажа, включая его создание, разрушение и использование в игровой среде. Эти элементы позволяют игрокам взаимодействовать с дренажем точно так же, как и с другими игровыми объектами.

  11. User

    ent-FloorDrain = дренаж .desc = Сливает лужи вокруг в себя. Пригодится для опорожнения вёдер или поддержания чистоты в определённых помещениях. Правильное описание

  12. Assistant

    Спасибо за уточнение. Давайте обновим описание и название для сущности дренажа в YAML-конфигурации, чтобы они соответствовали правильным переводам:

    - type: entity
      id: FloorDrain
      name: дренаж
      description: Сливает лужи вокруг в себя. Пригодится для опорожнения вёдер или поддержания чистоты в определённых помещениях.
      placement:
        mode: SnapgridCenter
      components:
        - type: Sprite
          drawdepth: FloorObjects
          sprite: Objects/Specific/Janitorial/drain.rsi
          layers:
            - state: icon
            - map: [ "enum.SolutionContainerLayers.Fill" ]
              state: fill-1
              visible: false
        - type: InteractionOutline
        - type: Clickable
        - type: Transform
          anchored: true
        - type: Physics
          bodyType: Static
          canCollide: false
        - type: AmbientSound
          enabled: false
          volume: -8
          range: 8
          sound:
            path: /Audio/Ambience/Objects/drain.ogg
        - type: Drain
        - type: DumpableSolution
          solution: drainBuffer
        - type: Appearance
        - type: SolutionContainerVisuals
          maxFillLevels: 1
          fillBaseName: fill-
          solutionName: drainBuffer
        - type: SolutionContainerManager
          solutions:
            drainBuffer:
              maxVol: 1000
        - type: DrainableSolution
          solution: drainBuffer
        - type: Damageable
          damageContainer: StructuralInorganic
          damageModifierSet: StructuralMetallic
        - type: Destructible
          thresholds:
            - trigger:
                !type:DamageTrigger
                damage: 200
              behaviors:
                - !type:DoActsBehavior
                  acts: [ "Destruction" ]
            - trigger:
                !type:DamageTrigger
                damage: 100
              behaviors:
                - !type:DoActsBehavior
                  acts: [ "Destruction" ]
                - !type:PlaySoundBehavior
                  sound:
                    collection: MetalBreak
    

    Теперь описание и название для дренажа отражают правильный перевод. Это обновление поможет при интеграции элемента в игру с учетом языковой локализации.

  13. User

    [ERRO] proto: Reading Content.Shared.Construction.Prototypes.ConstructionPrototype(FangsAltar) threw the following exception: Robust.Shared.Serialization.InvalidMappingException: Expected state-node as a valuenode at Robust.Shared.Serialization.TypeSerializers.Implementations.SpriteSpecifierSerializer.Robust.Shared.Serialization.TypeSerializers.Interfaces.ITypeReader<Robust.Shared.Utility.SpriteSpecifier.Rsi,Robust.Shared.Serialization.Markdown.Mapping.MappingDataNode>.Read(ISerializationManager serializationManager, MappingDataNode node, IDependencyCollection dependencies, SerializationHookContext hookCtx, ISerializationContext context, InstantiationDelegate1 instanceProvider) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Serialization/TypeSerializers/Implementations/SpriteSpecifierSerializer.cs:line 73 at Robust.Shared.Serialization.TypeSerializers.Implementations.SpriteSpecifierSerializer.Robust.Shared.Serialization.TypeSerializers.Interfaces.ITypeReader<Robust.Shared.Utility.SpriteSpecifier,Robust.Shared.Serialization.Markdown.Mapping.MappingDataNode>.Read(ISerializationManager serializationManager, MappingDataNode node, IDependencyCollection dependencies, SerializationHookContext hookCtx, ISerializationContext context, InstantiationDelegate1 instanceProvider) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Serialization/TypeSerializers/Implementations/SpriteSpecifierSerializer.cs:line 89 at lambda_method16671(Closure, DataNode, SerializationHookContext, ISerializationContext, InstantiationDelegate1) at Robust.Shared.Serialization.Manager.SerializationManager.Read[T](DataNode node, SerializationHookContext hookCtx, ISerializationContext context, InstantiationDelegate1 instanceProvider, Boolean notNullableOverride) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Serialization/Manager/SerializationManager.Reading.cs:line 54 at lambda_method2191(Closure, ConstructionPrototype&, MappingDataNode, SerializationHookContext, ISerializationContext) at lambda_method16747(Closure, DataNode, SerializationHookContext, ISerializationContext, InstantiationDelegate1) at Robust.Shared.Serialization.Manager.SerializationManager.Read[T](DataNode node, SerializationHookContext hookCtx, ISerializationContext context, InstantiationDelegate1 instanceProvider, Boolean notNullableOverride) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Serialization/Manager/SerializationManager.Reading.cs:line 54 at lambda_method16743(Closure, DataNode, SerializationHookContext, ISerializationContext) at Robust.Shared.Serialization.Manager.SerializationManager.Read(Type type, DataNode node, SerializationHookContext hookCtx, ISerializationContext context, Boolean notNullableOverride) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Serialization/Manager/SerializationManager.Reading.cs:line 158 at Robust.Shared.Prototypes.PrototypeManager.TryReadPrototype(Type kind, String id, MappingDataNode mapping, SerializationHookContext hookCtx) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Prototypes/PrototypeManager.cs:line 579

  14. Assistant

    Ошибка, которую вы видите, связана с проблемами при десериализации YAML-файлов, используемых для определения прототипов объектов в игре, таких как "FangsAltar". Это может быть связано с некорректными данными в вашем YAML-документе. Ошибка говорит о проблеме с тем, что ожидается "state-node" как "valuenode", что может означать неправильное определение списка или свойств в дате, возможно, проблемы в разделе, определяющем визуализацию графического элемента.

    Чтобы исправить эту ошибку, давайте проверим и откорректируем определение соответствующей сущности, возможно "FangsAltar", убедившись, что ее секция sprite и связанные компоненты определены корректно.

    Возможное исправление

    - type: entity
      id: AltarFangs
      parent: AltarHeaven
      name: клыкастый алтарь
      description: Алтарь с угрожающими клыками и мистической аурой.
      components:
      - type: Sprite
        sprite: Structures/Furniture/Altars/Cults/fangs.rsi
        state: default # Пример добавления конкретного состояния, возможно, оно отсутствует
      - type: Icon
        sprite: Structures/Furniture/Altars/Cults/fangs.rsi
        state: default
      - type: Construction
        graph: FangsAltarGraph
        node: fangsAltar
    
    - type: constructionGraph
      id: FangsAltarGraph
      start: start
      graph:
        - node: start
          edges:
            - to: fangsAltar
              completed:
                - !type:SnapToGrid
                  southRotation: true
              steps:
                - material: Steel
                  amount: 6
                  doAfter: 5
    
        - node: fangsAltar
          entity: AltarFangs
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 6
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 5
    
    - type: construction
      name: клыкастый алтарь
      id: FangsAltar
      graph: FangsAltarGraph
      startNode: start
      targetNode: fangsAltar
      category: construction-category-structures
      description: Алтарь с угрожающими клыками и мистической аурой.
      icon:
        sprite: Structures/Furniture/Altars/Cults/fangs.rsi
        state: default
      objectType: Structure
      placementMode: SnapgridCenter
      canRotate: false
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    

    Обратите внимание на корректность определения state в секциях sprite и icon. Под "default" я подразумеваю, что это просто пример. Нужно подставить актуальное и корректное состояние для fangs.rsi. Если конкретное состояние определено не так, как ожидается, это может вызвать проблемы с сериализацией, поэтому убедитесь, что используете правильные названия состояний.

    Если потребуется дальнейшая помощь, потребуется просмотреть фактические файлы графики или конфигурации изображений для точного состояния этого элемента.

  15. User

    Когда тыкаю на крафт раковины в игре [ERRO] runtime: Caught exception in "DispatchEntityNetworkMessage(SystemMessage)" Robust.Shared.Prototypes.UnknownPrototypeException: Unknown StackPrototype prototype: Water at Robust.Shared.Prototypes.PrototypeManager.Index[T](String id) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Prototypes/PrototypeManager.cs:line 257 at Content.Shared.Construction.Steps.MaterialConstructionGraphStep.GenerateGuideEntry() in /home/runner/work/space-station-14/space-station-14/Content.Shared/Construction/Steps/MaterialConstructionGraphStep.cs:line 43 at Content.Server.Construction.ConstructionSystem.GetGuide(ConstructionPrototype construction) in /home/runner/work/space-station-14/space-station-14/Content.Server/Construction/ConstructionSystem.Guided.cs:line 247 at Content.Server.Construction.ConstructionSystem.OnGuideRequested(RequestConstructionGuide msg, EntitySessionEventArgs args) in /home/runner/work/space-station-14/space-station-14/Content.Server/Construction/ConstructionSystem.Guided.cs:line 31 at Robust.Shared.GameObjects.EventBusExt.HandlerWrapper1.Invoke(EntitySessionMessage1 msg) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EventBusExt.cs:line 46 at Robust.Shared.GameObjects.EntityEventBus.<>c__DisplayClass4_0`1.b__0(Unit& ev) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Broadcast.cs:line 173 at Robust.Server.GameObjects.ServerEntityManager.b__9_0(Object _, Object systemMsg) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/GameObjects/ServerEntityManager.cs:line 53 at Robust.Server.GameObjects.ServerEntityManager.DispatchEntityNetworkMessage(MsgEntity message) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/GameObjects/ServerEntityManager.cs:line 265

  16. Assistant

    Ошибка, которую вы видите, указывает на проблему с прототипом, который вы пытаетесь использовать для крафта. В данном случае, ошибка связана с использованием прототипа Water.

    Причины проблемы

    1. Отсутствующий прототип: Прототип с идентификатором Water не определен в вашей базе данных прототипов. Это часто случается, если вы пытаетесь использовать материал, который не был предварительно настроен.

    2. Неправильный идентификатор: Убедитесь, что вы используете правильный идентификатор прототипа для воды. В некоторых случаях идентификатор может отличаться от ожидаемого, например water (с маленькой буквы) или что-то более специфичное.

    Исправления

    1. Проверка и добавление прототипа:

      Проверьте, есть ли определение прототипа Water в ваших YAML-файлах прототипов. Если его нет, добавьте его. Вот пример того, как может выглядеть определение прототипа для воды:

      - type: entity
        id: Water
        name: вода
        description: Универсальный растворитель и источник жизни.
        components:
        - type: Serializable
      
    2. Проверка правильности идентификаторов:

      Убедитесь, что граф конструирования вашей раковины использует правильный идентификатор прототипа для воды. Проверьте, чтобы этот идентификатор точно соответствовал определению в YAML-файле.

    3. Корректировка использования в графе конструкций:

      Убедитесь, что в графе конструирования (например, в секции, где используется material: Water) используется правильный и существующий идентификатор. Если он отличается, замените Water на правильный идентификатор, как показано в базе данных прототипов.

    Если проблема все еще не решается, пересмотрите настройки вашей системы прототипов и убедитесь, что все необходимые файлы загружаются и читаются корректно при запуске игры.

  17. User

    Ты не добавил строки крафта раковинам просто

  18. Assistant

    Извините за упущение. Давайте добавим шаги крафта для раковин в их графы конструирования. Это обеспечит правильное представление и использование ресурсов при создании раковин в игре.

    Обновленный YAML-документ с шагами крафта для раковин

    # Конструирование раковины (Sink)
    
    - type: constructionGraph
      id: SinkGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkEmpty
              steps:
                - material: Steel
                  amount: 4
                  stackType: SheetSteel1
                  doAfter: 2
    
        - node: sinkEmpty
          entity: SinkEmpty
          edges:
            - to: sinkWater
              steps:
                - material: Water
                  amount: 500
                  doAfter: 1
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
        - node: sinkWater
          entity: Sink
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkConstruction
      graph: SinkGraph
      startNode: start
      targetNode: sinkWater
      category: construction-category-furniture
      description: Удобная раковина для ваших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkEmpty
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
    
    - type: entity
      name: раковина
      id: Sink
      parent: SinkEmpty
      description: "Крaны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Вода
      components:
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
          tank:
            reagents:
            - ReagentId: Water
              Quantity: 500
    
    # Конструирование широкой раковины (SinkWide)
    
    - type: constructionGraph
      id: SinkWideGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkWide
              steps:
                - material: Steel
                  amount: 6
                  stackType: SheetSteel1
                  doAfter: 3
    
        - node: sinkWide
          entity: SinkWide
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 6
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 5
    
    - type: construction
      name: широкая раковина
      id: SinkWideConstruction
      graph: SinkWideGraph
      startNode: start
      targetNode: sinkWide
      category: construction-category-furniture
      description: Широкая раковина для больших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink_wide
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: широкая раковина
      id: SinkWide
      parent: Sink
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Вода
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink_wide
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink_wide-fill-1
            visible: false
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink_wide-fill-
        solutionName: drainBuffer
    
    # Конструирование бесстебельной раковины (SinkStemless)
    
    - type: constructionGraph
      id: SinkStemlessGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkStemlessEmpty
              steps:
                - material: Steel
                  amount: 4
                  stackType: SheetSteel1
                  doAfter: 2
    
        - node: sinkStemlessEmpty
          entity: SinkStemless
          edges:
            - to: sinkStemlessWater
              steps:
                - material: Water
                  amount: 500
                  doAfter: 1
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
        - node: sinkStemlessWater
          entity: SinkStemlessWater
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkStemlessConstruction
      graph: SinkStemlessGraph
      startNode: start
      targetNode: sinkStemlessWater
      category: construction-category-furniture
      description: Бесстебельная раковина для экономии места.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkStemless
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink-fill-1
            visible: false
    
    - type: entity
      name: раковина
      id: SinkStemlessWater
      parent: SinkStemless
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Вода
      components:
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 100
          tank:
            reagents:
            - ReagentId: Water
              Quantity: 500
    

    Объяснение изменений:

    1. Добавление stackType: Для каждой цепочки крафта включена строка stackType: SheetSteel1, чтобы указать на использование определенного материала.

    2. Порядок конструкций: Каждая конструкция начинается с использования определенных материалов, таких как Steel, и выполняет шаги для достижения конечного состояния. Если у вас есть конкретные идентификаторы для воды (например, Water), убедитесь, что они зарегистрированы как прототипы в игре.

    Если прототип воды (например, Water) все еще вызывает проблемы, убедитесь, что он зарегистрирован в вашей системе, как предполагалось ранее.

  19. User

    Давай уберём из крафта раковину с водой. Только пустую будем создавать

  20. Assistant

    Понятно, давайте изменим графы конструирования раковин, чтобы создавать только пустые версии, без фазы с водой. Ошибки, связанные с отсутствующими или неправильными прототипами для воды, больше не будут возникать:

    Обновленный YAML-документ для создания только пустых раковин

    # Конструирование пустой раковины (Sink)
    
    - type: constructionGraph
      id: SinkGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkEmpty
              steps:
                - material: Steel
                  amount: 4
                  stackType: SheetSteel1
                  doAfter: 2
    
        - node: sinkEmpty
          entity: SinkEmpty
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkConstruction
      graph: SinkGraph
      startNode: start
      targetNode: sinkEmpty
      category: construction-category-furniture
      description: Удобная пустая раковина для ваших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkEmpty
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
    
    # Конструирование пустой широкой раковины (SinkWide)
    
    - type: constructionGraph
      id: SinkWideGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkWide
              steps:
                - material: Steel
                  amount: 6
                  stackType: SheetSteel1
                  doAfter: 3
    
        - node: sinkWide
          entity: SinkWide
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 6
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 5
    
    - type: construction
      name: широкая раковина
      id: SinkWideConstruction
      graph: SinkWideGraph
      startNode: start
      targetNode: sinkWide
      category: construction-category-furniture
      description: Пустая широкая раковина для больших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink_wide
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: широкая раковина
      id: SinkWide
      parent: SinkEmpty
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink_wide
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink_wide-fill-1
            visible: false
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink_wide-fill-
        solutionName: drainBuffer
    
    # Конструирование пустой бесстебельной раковины (SinkStemless)
    
    - type: constructionGraph
      id: SinkStemlessGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkStemlessEmpty
              steps:
                - material: Steel
                  amount: 4
                  stackType: SheetSteel1
                  doAfter: 2
    
        - node: sinkStemlessEmpty
          entity: SinkStemless
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkStemlessConstruction
      graph: SinkStemlessGraph
      startNode: start
      targetNode: sinkStemlessEmpty
      category: construction-category-furniture
      description: Пустая бесстебельная раковина для экономии места.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkStemless
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink-fill-1
            visible: false
    

    Объяснение изменений:

    • Все графы конструирования теперь создают только пустые версии раковин.
    • Удалены шаги, связанные с наполнением воды, чтобы упростить процесс и избежать ошибок, связанных с неверным или отсутствующим прототипом воды.

    Проверьте, чтобы все идентификаторы и материалы были правильно зарегистрированы в системе, чтобы избежать дальнейших ошибок.

  21. User

    Тебе в прототип структуры нужно добавлять по такому примеру

    • type: Construction graph: VenusBlueStatueGraph node: statueBlue
  22. Assistant

    Извините за недочет. Обязательно добавим компонент Construction в раковину, чтобы указать текущий узел графа конструирования. Давайте исправим YAML-документ, добавив необходимые компоненты Construction для пустых раковин.

    Обновленный YAML-документ

    # Конструирование пустой раковины (Sink)
    
    - type: constructionGraph
      id: SinkGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkEmpty
              steps:
                - material: Steel
                  amount: 4
                  stackType: SheetSteel1
                  doAfter: 2
    
        - node: sinkEmpty
          entity: SinkEmpty
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkConstruction
      graph: SinkGraph
      startNode: start
      targetNode: sinkEmpty
      category: construction-category-furniture
      description: Удобная пустая раковина для ваших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkEmpty
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
      - type: Construction
        graph: SinkGraph
        node: sinkEmpty
    
    # Конструирование пустой широкой раковины (SinkWide)
    
    - type: constructionGraph
      id: SinkWideGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkWide
              steps:
                - material: Steel
                  amount: 6
                  stackType: SheetSteel1
                  doAfter: 3
    
        - node: sinkWide
          entity: SinkWide
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 6
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 5
    
    - type: construction
      name: широкая раковина
      id: SinkWideConstruction
      graph: SinkWideGraph
      startNode: start
      targetNode: sinkWide
      category: construction-category-furniture
      description: Пустая широкая раковина для больших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink_wide
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: широкая раковина
      id: SinkWide
      parent: SinkEmpty
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink_wide
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink_wide-fill-1
            visible: false
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink_wide-fill-
        solutionName: drainBuffer
      - type: Construction
        graph: SinkWideGraph
        node: sinkWide
    
    # Конструирование пустой бесстебельной раковины (SinkStemless)
    
    - type: constructionGraph
      id: SinkStemlessGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkStemlessEmpty
              steps:
                - material: Steel
                  amount: 4
                  stackType: SheetSteel1
                  doAfter: 2
    
        - node: sinkStemlessEmpty
          entity: SinkStemless
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkStemlessConstruction
      graph: SinkStemlessGraph
      startNode: start
      targetNode: sinkStemlessEmpty
      category: construction-category-furniture
      description: Пустая бесстебельная раковина для экономии места.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkStemless
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink-fill-1
            visible: false
      - type: Construction
        graph: SinkStemlessGraph
        node: sinkStemlessEmpty
    

    Изменения:

    • Добавлены компоненты Construction для каждой версии раковины. Это позволяет определить, какой граф и узел используются для каждой из них.
    • Удалены упоминания воды в графах конструирования и связанных данных.

    Теперь прототипы раковин должны корректно отображать, что они находятся в пустом состоянии, и не требуются дополнительные материалы, такие как вода, в процессе их создания.

  23. User

    Теперь сделай нормально дренаж

  24. Assistant

    Давайте создадим правильную конфигурацию для дренажа с учетом вашей системы и примера. Мы добавим граф конструирования и необходимые компоненты.

    Конфигурация для дренажа

    # Конструирование дренажа (FloorDrain)
    
    - type: constructionGraph
      id: DrainGraph
      start: start
      graph:
        - node: start
          edges:
            - to: floorDrain
              steps:
                - material: Steel
                  amount: 3
                  stackType: SheetSteel1
                  doAfter: 2
    
        - node: floorDrain
          entity: FloorDrain
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 3
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: дренаж
      id: DrainConstruction
      graph: DrainGraph
      startNode: start
      targetNode: floorDrain
      category: construction-category-furniture
      description: Сливает лужи вокруг в себя. Пригодится для опорожнения вёдер или поддержания чистоты в определённых помещениях.
      icon:
        sprite: Objects/Specific/Janitorial/drain.rsi
        state: icon
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      id: FloorDrain
      name: дренаж
      description: Сливает лужи вокруг в себя. Пригодится для опорожнения вёдер или поддержания чистоты в определённых помещениях.
      placement:
        mode: SnapgridCenter
      components:
        - type: Sprite
          drawdepth: FloorObjects
          sprite: Objects/Specific/Janitorial/drain.rsi
          layers:
            - state: icon
            - map: [ "enum.SolutionContainerLayers.Fill" ]
              state: fill-1
              visible: false
        - type: InteractionOutline
        - type: Clickable
        - type: Transform
          anchored: true
        - type: Physics
          bodyType: Static
          canCollide: false
        - type: AmbientSound
          enabled: false
          volume: -8
          range: 8
          sound:
            path: /Audio/Ambience/Objects/drain.ogg
        - type: Drain
        - type: DumpableSolution
          solution: drainBuffer
        - type: Appearance
        - type: SolutionContainerVisuals
          maxFillLevels: 1
          fillBaseName: fill-
          solutionName: drainBuffer
        - type: SolutionContainerManager
          solutions:
            drainBuffer:
              maxVol: 1000
        - type: DrainableSolution
          solution: drainBuffer
        - type: Damageable
          damageContainer: StructuralInorganic
          damageModifierSet: StructuralMetallic
        - type: Destructible
          thresholds:
            - trigger:
                !type:DamageTrigger
                damage: 200
              behaviors:
                - !type:DoActsBehavior
                  acts: [ "Destruction" ]
            - trigger:
                !type:DamageTrigger
                damage: 100
              behaviors:
                - !type:DoActsBehavior
                  acts: [ "Destruction" ]
                - !type:PlaySoundBehavior
                  sound:
                    collection: MetalBreak
        - type: Construction
          graph: DrainGraph
          node: floorDrain
    

    Пояснения:

    • Граф конструирования (DrainGraph): описывает процесс сборки и разборки дренажа с использованием конкретных материалов и инструментов.
    • Конструкция (DrainConstruction): описывает, как дренаж может быть построен, условия и категории, куда он относится.
    • Сущность FloorDrain: включает все необходимые компоненты для дренажа, такие как Sprite, Drain, и соответствующие параметры для взаимодействия и визуализации.
    • Компонент Construction: добавлен к сущности FloorDrain, чтобы указывать граф и узел, к которым он принадлежит.

    Эта конфигурация должна обеспечить правильно работающий объект дренажа в рамках вашей системы. Убедитесь, что все используемые ссылки на ресурсы, такие как спрайты и звуки, действительно существуют в вашей игре.

  25. User

    Знаешь в чём проблема? Раковины непроходимые и в них вода не появляется

  26. Assistant

    Чтобы решить проблемы с непроходимостью раковин и отсутствием воды, нам нужно внимательнее рассмотреть компоненты, которые управляют этими аспектами. Давайте рассмотрим, что можно изменить и добавить, чтобы исправить эти проблемы.

    Задачи:

    1. Проходимость раковин: Для того чтобы сделать раковины проходимыми, мы должны убедиться, что у них отключено столкновение в компоненте Physics.

    2. Появление воды: Возможно, проблема с визуализацией компонентов воды связана с отсутствующими настройками SolutionContainerVisuals или неправильными уровнями заполнения.

    Обновленный YAML для раковин

    # Конструирование пустой раковины (Sink)
    
    - type: constructionGraph
      id: SinkGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkEmpty
              steps:
                - material: Steel
                  amount: 4
                  stackType: SheetSteel1
                  doAfter: 2
    
        - node: sinkEmpty
          entity: SinkEmpty
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkConstruction
      graph: SinkGraph
      startNode: start
      targetNode: sinkEmpty
      category: construction-category-furniture
      description: Удобная пустая раковина для ваших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkEmpty
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink-fill-1
            visible: true
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink-fill-
        solutionName: drainBuffer
      - type: Physics
        bodyType: Static
        canCollide: false
      - type: Construction
        graph: SinkGraph
        node: sinkEmpty
    
    # Конструирование пустой широкой раковины (SinkWide)
    
    - type: constructionGraph
      id: SinkWideGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkWide
              steps:
                - material: Steel
                  amount: 6
                  stackType: SheetSteel1
                  doAfter: 3
    
        - node: sinkWide
          entity: SinkWide
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 6
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 5
    
    - type: construction
      name: широкая раковина
      id: SinkWideConstruction
      graph: SinkWideGraph
      startNode: start
      targetNode: sinkWide
      category: construction-category-furniture
      description: Пустая широкая раковина для больших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink_wide
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: широкая раковина
      id: SinkWide
      parent: SinkEmpty
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink_wide
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink_wide-fill-1
            visible: true
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink_wide-fill-
        solutionName: drainBuffer
      - type: Physics
        bodyType: Static
        canCollide: false
      - type: Construction
        graph: SinkWideGraph
        node: sinkWide
    
    # Конструирование пустой бесстебельной раковины (SinkStemless)
    
    - type: constructionGraph
      id: SinkStemlessGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkStemlessEmpty
              steps:
                - material: Steel
                  amount: 4
                  stackType: SheetSteel1
                  doAfter: 2
    
        - node: sinkStemlessEmpty
          entity: SinkStemless
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetSteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkStemlessConstruction
      graph: SinkStemlessGraph
      startNode: start
      targetNode: sinkStemlessEmpty
      category: construction-category-furniture
      description: Пустая бесстебельная раковина для экономии места.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkStemless
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
          - map: [ "enum.SolutionContainerLayers.Fill" ]
            state: sink-fill-1
            visible: true
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink-fill-
        solutionName: drainBuffer
      - type: Physics
        bodyType: Static
        canCollide: false
      - type: Construction
        graph: SinkStemlessGraph
        node: sinkStemlessEmpty
    

    Изменения:

    • Проходимость: Убедились, что canCollide: false в компоненте Physics, чтобы сделать раковины проходимыми.
    • Визуализация воды: Убедились, что SolutionContainerVisuals настроены правильно для отображения заполнения. Указаны уровни заполнения, и они видны (visible: true).

    Теперь раковины должны быть проходимыми, и проблема с отображением уровня воды должна быть устранена. Если вода все равно не появляется, убедитесь, что все используемые спрайты и слои присутствуют и правильно связаны с аспектами визуализации в игре.

  27. User

    Их убирать не ломом, а через сварку, ну и в рецепте будут использоваться не сталь, а пласталь, вот она ниже будет. А в дренаже золото, штук 5-6, на твоё усмотрение

    • type: stack id: Plasteel name: plasteel icon: { sprite: /Textures/Objects/Materials/Sheets/metal.rsi, state: plasteel } spawn: SheetPlasteel1 maxCount: 30

    • type: stack id: Gold name: gold icon: { sprite: "/Textures/Objects/Materials/ingots.rsi", state: gold } spawn: IngotGold1 maxCount: 30

  28. Assistant

    Давайте обновим YAML-документ для раковин и дренажа с учетом ваших изменений. Убедимся, что в крафте используются соответствующие материалы (пласталь для раковин и золото для дренажа), а также изменим инструменты для разборки раковин.

    Обновленный YAML-документ

    Стек для материалов

    - type: stack
      id: Plasteel
      name: плaсталь
      icon: { sprite: /Textures/Objects/Materials/Sheets/metal.rsi, state: plasteel }
      spawn: SheetPlasteel1
      maxCount: 30
    
    - type: stack
      id: Gold
      name: золото
      icon: { sprite: "/Textures/Objects/Materials/ingots.rsi", state: gold }
      spawn: IngotGold1
      maxCount: 30
    

    Конструирование и настройки раковин

    # Конструирование пустой раковины (Sink)
    
    - type: constructionGraph
      id: SinkGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkEmpty
              steps:
                - material: Plasteel
                  amount: 4
                  stackType: SheetPlasteel1
                  doAfter: 2
    
        - node: sinkEmpty
          entity: SinkEmpty
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetPlasteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Welding
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkConstruction
      graph: SinkGraph
      startNode: start
      targetNode: sinkEmpty
      category: construction-category-furniture
      description: Удобная пустая раковина для ваших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkEmpty
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink-fill-
        solutionName: drainBuffer
      - type: Physics
        bodyType: Static
        canCollide: false
      - type: Construction
        graph: SinkGraph
        node: sinkEmpty
    
    # Конструирование пустой широкой раковины (SinkWide)
    
    - type: constructionGraph
      id: SinkWideGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkWide
              steps:
                - material: Plasteel
                  amount: 6
                  stackType: SheetPlasteel1
                  doAfter: 3
    
        - node: sinkWide
          entity: SinkWide
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetPlasteel1
                  amount: 6
                - !type:DeleteEntity {}
              steps:
                - tool: Welding
                  doAfter: 5
    
    - type: construction
      name: широкая раковина
      id: SinkWideConstruction
      graph: SinkWideGraph
      startNode: start
      targetNode: sinkWide
      category: construction-category-furniture
      description: Пустая широкая раковина для больших нужд.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink_wide
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: широкая раковина
      id: SinkWide
      parent: SinkEmpty
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink_wide
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink_wide-fill-
        solutionName: drainBuffer
      - type: Physics
        bodyType: Static
        canCollide: false
      - type: Construction
        graph: SinkWideGraph
        node: sinkWide
    
    # Конструирование пустой бесстебельной раковины (SinkStemless)
    
    - type: constructionGraph
      id: SinkStemlessGraph
      start: start
      graph:
        - node: start
          edges:
            - to: sinkStemlessEmpty
              steps:
                - material: Plasteel
                  amount: 4
                  stackType: SheetPlasteel1
                  doAfter: 2
    
        - node: sinkStemlessEmpty
          entity: SinkStemless
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: SheetPlasteel1
                  amount: 4
                - !type:DeleteEntity {}
              steps:
                - tool: Welding
                  doAfter: 3
    
    - type: construction
      name: раковина
      id: SinkStemlessConstruction
      graph: SinkStemlessGraph
      startNode: start
      targetNode: sinkStemlessEmpty
      category: construction-category-furniture
      description: Пустая бесстебельная раковина для экономии места.
      icon:
        sprite: Structures/Furniture/sink.rsi
        state: sink
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      name: раковина
      id: SinkStemless
      parent: BaseStructure
      description: "Краны были затянуты с максимальной силой, но, как видно, с них всё равно капает."
      suffix: Пустой
      components:
      - type: Sprite
        sprite: Structures/Furniture/sink.rsi
        layers:
          - state: sink
      - type: SolutionContainerManager
        solutions:
          drainBuffer:
            maxVol: 200
      - type: SolutionContainerVisuals
        maxFillLevels: 1
        fillBaseName: sink-fill-
        solutionName: drainBuffer
      - type: Physics
        bodyType: Static
        canCollide: false
      - type: Construction
        graph: SinkStemlessGraph
        node: sinkStemlessEmpty
    

    Конструирование дренажа

    # Конструирование дренажа (FloorDrain)
    
    - type: constructionGraph
      id: DrainGraph
      start: start
      graph:
        - node: start
          edges:
            - to: floorDrain
              steps:
                - material: Gold
                  amount: 5
                  stackType: IngotGold1
                  doAfter: 3
    
        - node: floorDrain
          entity: FloorDrain
          edges:
            - to: start
              completed:
                - !type:SpawnPrototype
                  prototype: IngotGold1
                  amount: 5
                - !type:DeleteEntity {}
              steps:
                - tool: Prying
                  doAfter: 3
    
    - type: construction
      name: дренаж
      id: DrainConstruction
      graph: DrainGraph
      startNode: start
      targetNode: floorDrain
      category: construction-category-furniture
      description: Сливает лужи вокруг в себя. Пригодится для опорожнения вёдер или поддержания чистоты в определённых помещениях.
      icon:
        sprite: Objects/Specific/Janitorial/drain.rsi
        state: icon
      objectType: Structure
      placementMode: SnapgridCenter
      canBuildInImpassable: false
      conditions:
        - !type:TileNotBlocked
    
    - type: entity
      id: FloorDrain
      name: дренаж
      description: Сливает лужи вокруг в себя. Пригодится для опорожнения вёдер или поддержания чистоты в определённых помещениях.
      placement:
        mode: SnapgridCenter
      components:
        - type: Sprite
          drawdepth: FloorObjects
          sprite: Objects/Specific/Janitorial/drain.rsi
          layers:
            - state: icon
        - type: InteractionOutline
        - type: Clickable
        - type: Transform
          anchored: true
        - type: Physics
          bodyType: Static
          canCollide: false
        - type: AmbientSound
          enabled: false
          volume: -8
          range: 8
          sound:
            path: /Audio/Ambience/Objects/drain.ogg
        - type: Drain
        - type: DumpableSolution
          solution: drainBuffer
        - type: Appearance
        - type: SolutionContainerVisuals
          maxFillLevels: 1
          fillBaseName: fill-
          solutionName: drainBuffer
        - type: SolutionContainerManager
          solutions:
            drainBuffer:
              maxVol: 1000
        - type: DrainableSolution
          solution: drainBuffer
        - type: Damageable
          damageContainer: StructuralInorganic
          damageModifierSet: StructuralMetallic
        - type: Destructible
          thresholds:
            - trigger:
                !type:DamageTrigger
                damage: 200
              behaviors:
                - !type:DoActsBehavior
                  acts: [ "Destruction" ]
            - trigger:
                !type:DamageTrigger
                damage: 100
              behaviors:
                - !type:DoActsBehavior
                  acts: [ "Destruction" ]
                - !type:PlaySoundBehavior
                  sound:
                    collection: MetalBreak
        - type: Construction
          graph: DrainGraph
          node: floorDrain
    

    Изменения:

    • Материалы: Раковины теперь используют пласталь, а дренаж — золото.
    • Инструмент для разборки: Для раковин теперь используется сварка (Welding), а не лом.
    • Обновлен stackType: Теперь в соответствие с материалами SheetPlasteel1 для пластали и IngotGold1 для золота.

    Теперь это должно соответствовать вашим требованиям с учетом использования правильных материалов и инструментов для крафта и разборки.