From 76afac43f991000f642f88adfe89d0617f956e63 Mon Sep 17 00:00:00 2001 From: Ed <96445749+TheShuEd@users.noreply.github.com> Date: Sun, 14 Apr 2024 22:02:04 +0300 Subject: [PATCH] minutiae grinding (#96) * add floor crafting, add crafting lcoalization * add chest construction * add chest localization * Update chests.yml --- .../_CP14/_PROTO/entities/structures.ftl | 2 ++ .../construction-component-verbs.ftl | 3 ++ .../components/construction-component.ftl | 2 ++ .../construction/components/flatpack.ftl | 11 +++++++ .../components/machine-board-component.ftl | 2 ++ .../components/machine-frame-component.ftl | 2 ++ .../conditions/airlock-bolted.ftl | 5 +++ .../conditions/any-conditions.ftl | 3 ++ .../construction/conditions/door-welded.ftl | 5 +++ .../empty-or-window-valid-in-tile.ftl | 1 + .../conditions/entity-anchored.ftl | 4 +++ .../ru-RU/construction/conditions/locked.ftl | 4 +++ .../conditions/machine-frame-complete.ftl | 7 +++++ .../construction/conditions/min-solution.ftl | 2 ++ .../conditions/no-unstackable-in-tile.ftl | 1 + .../conditions/no-windows-in-tile.ftl | 1 + .../conditions/solution-empty.ftl | 3 ++ .../conditions/tile-not-blocked.ftl | 1 + .../conditions/toilet-lid-closed.ftl | 3 ++ .../construction/conditions/wallmount.ftl | 1 + .../construction/conditions/wire-panel.ftl | 4 +++ .../construction/construction-categories.ftl | 2 ++ .../construction-ghost-component.ftl | 1 + .../construction/construction-system.ftl | 7 +++++ ...bitrary-insert-construction-graph-step.ftl | 2 ++ .../component-construction-graph-step.ftl | 4 +++ .../material-construction-graph-step.ftl | 1 + .../prototype-construction-graph-step.ftl | 4 +++ .../temperature-construction-graph-step.ftl | 1 + .../steps/tool-construction-graph-step.ftl | 1 + .../ui/construction-menu-presenter.ftl | 7 +++++ .../construction/ui/construction-menu.ftl | 8 +++++ .../Entities/Structures/Floors/floors.yml | 8 ++++- .../Structures/Storage/Crates/chests.yml | 7 ++++- .../Construction/Graphs/Furniture/chests.yml | 16 ++++++++++ .../Recipes/Construction/Graphs/floors.yml | 24 ++++++++++++++ .../_CP14/Recipes/Construction/floor.yml | 31 +++++++++++++++++++ .../_CP14/Recipes/Construction/furniture.yml | 30 ++++++++++++++---- 38 files changed, 213 insertions(+), 8 deletions(-) create mode 100644 Resources/Locale/ru-RU/construction/components/construction-component-verbs.ftl create mode 100644 Resources/Locale/ru-RU/construction/components/construction-component.ftl create mode 100644 Resources/Locale/ru-RU/construction/components/flatpack.ftl create mode 100644 Resources/Locale/ru-RU/construction/components/machine-board-component.ftl create mode 100644 Resources/Locale/ru-RU/construction/components/machine-frame-component.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/airlock-bolted.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/any-conditions.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/door-welded.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/empty-or-window-valid-in-tile.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/entity-anchored.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/locked.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/machine-frame-complete.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/min-solution.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/no-unstackable-in-tile.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/no-windows-in-tile.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/solution-empty.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/tile-not-blocked.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/toilet-lid-closed.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/wallmount.ftl create mode 100644 Resources/Locale/ru-RU/construction/conditions/wire-panel.ftl create mode 100644 Resources/Locale/ru-RU/construction/construction-categories.ftl create mode 100644 Resources/Locale/ru-RU/construction/construction-ghost-component.ftl create mode 100644 Resources/Locale/ru-RU/construction/construction-system.ftl create mode 100644 Resources/Locale/ru-RU/construction/steps/arbitrary-insert-construction-graph-step.ftl create mode 100644 Resources/Locale/ru-RU/construction/steps/component-construction-graph-step.ftl create mode 100644 Resources/Locale/ru-RU/construction/steps/material-construction-graph-step.ftl create mode 100644 Resources/Locale/ru-RU/construction/steps/prototype-construction-graph-step.ftl create mode 100644 Resources/Locale/ru-RU/construction/steps/temperature-construction-graph-step.ftl create mode 100644 Resources/Locale/ru-RU/construction/steps/tool-construction-graph-step.ftl create mode 100644 Resources/Locale/ru-RU/construction/ui/construction-menu-presenter.ftl create mode 100644 Resources/Locale/ru-RU/construction/ui/construction-menu.ftl create mode 100644 Resources/Prototypes/_CP14/Recipes/Construction/Graphs/Furniture/chests.yml create mode 100644 Resources/Prototypes/_CP14/Recipes/Construction/Graphs/floors.yml create mode 100644 Resources/Prototypes/_CP14/Recipes/Construction/floor.yml diff --git a/Resources/Locale/ru-RU/_CP14/_PROTO/entities/structures.ftl b/Resources/Locale/ru-RU/_CP14/_PROTO/entities/structures.ftl index ccb86871ea..9fd41b8800 100644 --- a/Resources/Locale/ru-RU/_CP14/_PROTO/entities/structures.ftl +++ b/Resources/Locale/ru-RU/_CP14/_PROTO/entities/structures.ftl @@ -16,6 +16,8 @@ ent-CPChairWooden = деревянный стул .desc = Сколочен из самых обычных досок. Просто и эффективно! ent-CPTableWooden = деревянный стол .desc = Простой стол, сколоченный из досок. +ent-CPWoodenChest = деревянный сундук + .desc = Простой деревянный сундук для хранения всякого хлама. # Walls ent-CPStoneRuinWall = каменная стена руин diff --git a/Resources/Locale/ru-RU/construction/components/construction-component-verbs.ftl b/Resources/Locale/ru-RU/construction/components/construction-component-verbs.ftl new file mode 100644 index 0000000000..e118a3ae41 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/components/construction-component-verbs.ftl @@ -0,0 +1,3 @@ +deconstructible-verb-begin-deconstruct = Начать разборку +deconstructible-verb-activate-no-target-text = Это нельзя разобрать. +deconstructible-verb-activate-text = Осмотрите чтобы увидеть инструкцию. diff --git a/Resources/Locale/ru-RU/construction/components/construction-component.ftl b/Resources/Locale/ru-RU/construction/components/construction-component.ftl new file mode 100644 index 0000000000..32818837c8 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/components/construction-component.ftl @@ -0,0 +1,2 @@ +construction-component-to-create-header = Чтобы создать { $targetName }... +deconstruction-header-text = Чтобы разобрать... diff --git a/Resources/Locale/ru-RU/construction/components/flatpack.ftl b/Resources/Locale/ru-RU/construction/components/flatpack.ftl new file mode 100644 index 0000000000..8520833ea8 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/components/flatpack.ftl @@ -0,0 +1,11 @@ +flatpack-unpack-no-room = Недостаточно места чтобы распаковать! +flatpack-examine = Используйте [color=yellow]мультитул[/color] чтобы распаковать это. +flatpack-entity-name = упакованный { $name } +flatpack-entity-description = Упаковка, при помощи которой можно создать { $name }. +flatpacker-item-slot-name = Слот машинной платы +flatpacker-ui-title = Упаковщик 1001 +flatpacker-ui-materials-label = Материалы +flatpacker-ui-cost-label = Стоимость запаковки +flatpacker-ui-no-board-label = Отсутствует машинная плата! +flatpacker-ui-insert-board = Для начала вставьте машинную плату. +flatpacker-ui-pack-button = Упаковать diff --git a/Resources/Locale/ru-RU/construction/components/machine-board-component.ftl b/Resources/Locale/ru-RU/construction/components/machine-board-component.ftl new file mode 100644 index 0000000000..e2291d0001 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/components/machine-board-component.ftl @@ -0,0 +1,2 @@ +machine-board-component-on-examine-label = Требования: +machine-board-component-required-element-entry-text = [color=yellow]{ $amount }ед[/color] [color=green]{ $requiredElement }[/color] diff --git a/Resources/Locale/ru-RU/construction/components/machine-frame-component.ftl b/Resources/Locale/ru-RU/construction/components/machine-frame-component.ftl new file mode 100644 index 0000000000..5b0ae5f8ce --- /dev/null +++ b/Resources/Locale/ru-RU/construction/components/machine-frame-component.ftl @@ -0,0 +1,2 @@ +machine-frame-component-on-examine-label = [color=white]Установленная печатная плата:[/color] [color=cyan]{ $board }[/color] +machine-frame-component-on-complete = Строительство завершено diff --git a/Resources/Locale/ru-RU/construction/conditions/airlock-bolted.ftl b/Resources/Locale/ru-RU/construction/conditions/airlock-bolted.ftl new file mode 100644 index 0000000000..6f03204ab0 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/airlock-bolted.ftl @@ -0,0 +1,5 @@ +# AirlockBolted +construction-examine-condition-airlock-bolt = Сперва заболтируйте { $entityName }. +construction-examine-condition-airlock-unbolt = Сперва разболтируйте { $entityName }. +construction-step-condition-airlock-bolt = Это должно быть заболтировано. +construction-step-condition-airlock-unbolt = Это должно быть разболтировано. diff --git a/Resources/Locale/ru-RU/construction/conditions/any-conditions.ftl b/Resources/Locale/ru-RU/construction/conditions/any-conditions.ftl new file mode 100644 index 0000000000..d0117c00eb --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/any-conditions.ftl @@ -0,0 +1,3 @@ +construction-examine-condition-any-conditions = Любое из этих условий должно быть истинным:: +construction-guide-condition-any-conditions = Любое из этих условий должно быть истинным: +construction-guide-condition-part-assembly = Все необходимые детали должны быть установлены. diff --git a/Resources/Locale/ru-RU/construction/conditions/door-welded.ftl b/Resources/Locale/ru-RU/construction/conditions/door-welded.ftl new file mode 100644 index 0000000000..0c610df98f --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/door-welded.ftl @@ -0,0 +1,5 @@ +# DoorWelded +construction-examine-condition-door-weld = Сперва заварите { $entityName }. +construction-examine-condition-door-unweld = Сперва разварите { $entityName }. +construction-guide-condition-door-weld = Убедитесь, что оно заварено. +construction-guide-condition-door-unweld = Убедитесь, что оно не заварено. diff --git a/Resources/Locale/ru-RU/construction/conditions/empty-or-window-valid-in-tile.ftl b/Resources/Locale/ru-RU/construction/conditions/empty-or-window-valid-in-tile.ftl new file mode 100644 index 0000000000..567b9235cc --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/empty-or-window-valid-in-tile.ftl @@ -0,0 +1 @@ +construction-guide-condition-empty-or-window-valid-in-tile = Вы должны разместить это на подходящей клетке. diff --git a/Resources/Locale/ru-RU/construction/conditions/entity-anchored.ftl b/Resources/Locale/ru-RU/construction/conditions/entity-anchored.ftl new file mode 100644 index 0000000000..4aa172a21e --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/entity-anchored.ftl @@ -0,0 +1,4 @@ +construction-examine-condition-entity-anchored = Сперва закрепите это. +construction-examine-condition-entity-unanchored = Сперва открепите это. +construction-step-condition-entity-anchored = Это должно быть закреплено. +construction-step-condition-entity-unanchored = Это должно быть откреплено. diff --git a/Resources/Locale/ru-RU/construction/conditions/locked.ftl b/Resources/Locale/ru-RU/construction/conditions/locked.ftl new file mode 100644 index 0000000000..0b6bc63ce5 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/locked.ftl @@ -0,0 +1,4 @@ +construction-examine-condition-unlock = Сначала [color=limegreen]откройте[/color] это. +construction-examine-condition-lock = Сначала [color=red]заприте[/color] это. +construction-step-condition-unlock = Это должно быть открыто. +construction-step-condition-lock = Это должно быть заперто. diff --git a/Resources/Locale/ru-RU/construction/conditions/machine-frame-complete.ftl b/Resources/Locale/ru-RU/construction/conditions/machine-frame-complete.ftl new file mode 100644 index 0000000000..590d46d6a8 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/machine-frame-complete.ftl @@ -0,0 +1,7 @@ +construction-condition-machine-container-empty = Извлеките компоненты из каркаса, используя [color=cyan]Лом[/color]. +# MachineFrameComplete +construction-condition-machine-frame-requirement-label = Требования: +construction-condition-machine-frame-insert-circuit-board-message = Вставьте [color=cyan]любую плату для машины[/color]. +construction-condition-machine-frame-required-element-entry = [color=yellow]{ $amount }ед[/color] [color=green]{ $elementName }[/color] +construction-step-condition-machine-frame-board = Вам необходимо вставить плату для машины. +construction-step-condition-machine-frame-parts = После этого вставьте все необходимые компоненты. diff --git a/Resources/Locale/ru-RU/construction/conditions/min-solution.ftl b/Resources/Locale/ru-RU/construction/conditions/min-solution.ftl new file mode 100644 index 0000000000..1b7191982c --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/min-solution.ftl @@ -0,0 +1,2 @@ +construction-examine-condition-min-solution = Сперва добавьте { $quantity } ед. { $reagent }. +construction-guide-condition-min-solution = Добавьте { $quantity } ед. { $reagent } diff --git a/Resources/Locale/ru-RU/construction/conditions/no-unstackable-in-tile.ftl b/Resources/Locale/ru-RU/construction/conditions/no-unstackable-in-tile.ftl new file mode 100644 index 0000000000..6124508a47 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/no-unstackable-in-tile.ftl @@ -0,0 +1 @@ +construction-step-condition-no-unstackable-in-tile = Вы не можете расположить несколько устройств стопкой. diff --git a/Resources/Locale/ru-RU/construction/conditions/no-windows-in-tile.ftl b/Resources/Locale/ru-RU/construction/conditions/no-windows-in-tile.ftl new file mode 100644 index 0000000000..191f45eaa4 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/no-windows-in-tile.ftl @@ -0,0 +1 @@ +construction-step-condition-no-windows-in-tile = В этой клетке не может быть окон. diff --git a/Resources/Locale/ru-RU/construction/conditions/solution-empty.ftl b/Resources/Locale/ru-RU/construction/conditions/solution-empty.ftl new file mode 100644 index 0000000000..53409e4f65 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/solution-empty.ftl @@ -0,0 +1,3 @@ +# SolutionEmpty +construction-examine-condition-solution-empty = Сперва опустошите содержимое. +construction-guide-condition-solution-empty = Опустошите содержимое. diff --git a/Resources/Locale/ru-RU/construction/conditions/tile-not-blocked.ftl b/Resources/Locale/ru-RU/construction/conditions/tile-not-blocked.ftl new file mode 100644 index 0000000000..d2f2c18c6c --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/tile-not-blocked.ftl @@ -0,0 +1 @@ +construction-step-condition-tile-not-blocked = Клетка не должна быть перекрыта. diff --git a/Resources/Locale/ru-RU/construction/conditions/toilet-lid-closed.ftl b/Resources/Locale/ru-RU/construction/conditions/toilet-lid-closed.ftl new file mode 100644 index 0000000000..7975bd43b5 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/toilet-lid-closed.ftl @@ -0,0 +1,3 @@ +# ToiletLidClosed +construction-examine-condition-toilet-lid-closed = Используйте [color=yellow]лом[/color] чтобы закрыть крышку. +construction-step-condition-toilet-lid-closed = Убедитесь, что крышка унитаза закрыта. diff --git a/Resources/Locale/ru-RU/construction/conditions/wallmount.ftl b/Resources/Locale/ru-RU/construction/conditions/wallmount.ftl new file mode 100644 index 0000000000..f98855413e --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/wallmount.ftl @@ -0,0 +1 @@ +construction-step-condition-wallmount = Вы должны строить это на стене. diff --git a/Resources/Locale/ru-RU/construction/conditions/wire-panel.ftl b/Resources/Locale/ru-RU/construction/conditions/wire-panel.ftl new file mode 100644 index 0000000000..0302024fda --- /dev/null +++ b/Resources/Locale/ru-RU/construction/conditions/wire-panel.ftl @@ -0,0 +1,4 @@ +construction-examine-condition-wire-panel-open = Сначала откройте техническую панель. +construction-examine-condition-wire-panel-close = Сначала закройте техническую панель. +construction-step-condition-wire-panel-open = Техническая панель должна быть открыта. +construction-step-condition-wire-panel-close = Техническая панель должна быть закрыта. diff --git a/Resources/Locale/ru-RU/construction/construction-categories.ftl b/Resources/Locale/ru-RU/construction/construction-categories.ftl new file mode 100644 index 0000000000..69ee568cdf --- /dev/null +++ b/Resources/Locale/ru-RU/construction/construction-categories.ftl @@ -0,0 +1,2 @@ +construction-category-furniture = Мебель +construction-category-floor = Полы \ No newline at end of file diff --git a/Resources/Locale/ru-RU/construction/construction-ghost-component.ftl b/Resources/Locale/ru-RU/construction/construction-ghost-component.ftl new file mode 100644 index 0000000000..5f5fb7648e --- /dev/null +++ b/Resources/Locale/ru-RU/construction/construction-ghost-component.ftl @@ -0,0 +1 @@ +construction-ghost-examine-message = Строится: [color=cyan]{ $name }[/color] diff --git a/Resources/Locale/ru-RU/construction/construction-system.ftl b/Resources/Locale/ru-RU/construction/construction-system.ftl new file mode 100644 index 0000000000..aaa90dd385 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/construction-system.ftl @@ -0,0 +1,7 @@ +## ConstructionSystem + +construction-system-construct-cannot-start-another-construction = Сейчас вы не можете начать новое строительство! +construction-system-construct-no-materials = У вас недостаточно материалов для постройки этого! +construction-system-already-building = Вы уже строите это! +construction-system-inside-container = Вы не можете строить, пока находитесь там! +construction-system-cannot-start = Вы не можете создать это! diff --git a/Resources/Locale/ru-RU/construction/steps/arbitrary-insert-construction-graph-step.ftl b/Resources/Locale/ru-RU/construction/steps/arbitrary-insert-construction-graph-step.ftl new file mode 100644 index 0000000000..d874e55dcd --- /dev/null +++ b/Resources/Locale/ru-RU/construction/steps/arbitrary-insert-construction-graph-step.ftl @@ -0,0 +1,2 @@ +# Shown when examining an in-construction object +construction-insert-arbitrary-entity = Далее, вставьте { $stepName }. diff --git a/Resources/Locale/ru-RU/construction/steps/component-construction-graph-step.ftl b/Resources/Locale/ru-RU/construction/steps/component-construction-graph-step.ftl new file mode 100644 index 0000000000..80ca1c3be6 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/steps/component-construction-graph-step.ftl @@ -0,0 +1,4 @@ +# Shown when examining an in-construction object +construction-insert-entity-with-component = Далее, вставьте объект, содержащий компонент: { $componentName }. +# Shown when examining an in-construction object +construction-insert-exact-entity = Далее, вставьте { $entityName }. diff --git a/Resources/Locale/ru-RU/construction/steps/material-construction-graph-step.ftl b/Resources/Locale/ru-RU/construction/steps/material-construction-graph-step.ftl new file mode 100644 index 0000000000..0371425a1e --- /dev/null +++ b/Resources/Locale/ru-RU/construction/steps/material-construction-graph-step.ftl @@ -0,0 +1 @@ +construction-insert-material-entity = Далее, добавьте [color=yellow]{ $amount }ед[/color] [color=cyan]{ $materialName }[/color]. diff --git a/Resources/Locale/ru-RU/construction/steps/prototype-construction-graph-step.ftl b/Resources/Locale/ru-RU/construction/steps/prototype-construction-graph-step.ftl new file mode 100644 index 0000000000..a40d18440f --- /dev/null +++ b/Resources/Locale/ru-RU/construction/steps/prototype-construction-graph-step.ftl @@ -0,0 +1,4 @@ +# Shown when examining an in-construction object +construction-insert-prototype-no-name = Далее, вставьте { $prototypeName }. +# Shown when examining an in-construction object +construction-insert-prototype = Далее, вставьте { $entityName }. diff --git a/Resources/Locale/ru-RU/construction/steps/temperature-construction-graph-step.ftl b/Resources/Locale/ru-RU/construction/steps/temperature-construction-graph-step.ftl new file mode 100644 index 0000000000..60085a8cee --- /dev/null +++ b/Resources/Locale/ru-RU/construction/steps/temperature-construction-graph-step.ftl @@ -0,0 +1 @@ +construction-temperature-default = Далее, нагрейте до [color=red]{ $temperature }[/color]. diff --git a/Resources/Locale/ru-RU/construction/steps/tool-construction-graph-step.ftl b/Resources/Locale/ru-RU/construction/steps/tool-construction-graph-step.ftl new file mode 100644 index 0000000000..e3a16a42c5 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/steps/tool-construction-graph-step.ftl @@ -0,0 +1 @@ +construction-use-tool-entity = Далее, используйте [color=cyan]{ $toolName }[/color]. diff --git a/Resources/Locale/ru-RU/construction/ui/construction-menu-presenter.ftl b/Resources/Locale/ru-RU/construction/ui/construction-menu-presenter.ftl new file mode 100644 index 0000000000..063272462c --- /dev/null +++ b/Resources/Locale/ru-RU/construction/ui/construction-menu-presenter.ftl @@ -0,0 +1,7 @@ +construction-presenter-to-craft = Чтобы создать этот предмет, вам необходимо: +construction-presenter-to-build = Чтобы построить это, сначала вам необходимо: +construction-presenter-step-wrapper = { $step-number }. { $text } +construction-presenter-tool-step = Используйте { LOC($tool) }. +construction-presenter-material-step = Добавьте { $amount }ед { LOC($material) }. +construction-presenter-arbitrary-step = Добавьте { LOC($name) }. +construction-presenter-temperature-step = Нагрейте до { $temperature }. diff --git a/Resources/Locale/ru-RU/construction/ui/construction-menu.ftl b/Resources/Locale/ru-RU/construction/ui/construction-menu.ftl new file mode 100644 index 0000000000..ca5fce2286 --- /dev/null +++ b/Resources/Locale/ru-RU/construction/ui/construction-menu.ftl @@ -0,0 +1,8 @@ +## ConstructionMenu.xaml.cs + +construction-menu-title = Строительство +construction-menu-place-ghost = Разместить призрак конструкции +construction-menu-clear-all = Очистить все +construction-menu-eraser-mode = Режим ластика +construction-menu-title = Строительство +construction-menu-craft = Создание diff --git a/Resources/Prototypes/_CP14/Entities/Structures/Floors/floors.yml b/Resources/Prototypes/_CP14/Entities/Structures/Floors/floors.yml index 91f3264354..1ba12b8f3b 100644 --- a/Resources/Prototypes/_CP14/Entities/Structures/Floors/floors.yml +++ b/Resources/Prototypes/_CP14/Entities/Structures/Floors/floors.yml @@ -96,6 +96,9 @@ - type: FireVisuals sprite: _CP14/Effects/fire.rsi normalState: full + - type: Construction + graph: CPFloor + node: CPFloorWood - type: entity parent: CPFloorWood @@ -112,4 +115,7 @@ wood_big_1: "" wood_big_2: "" wood_big_3: "" - wood_big_4: "" \ No newline at end of file + wood_big_4: "" + - type: Construction + graph: CPFloor + node: CPFloorWoodBig \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Entities/Structures/Storage/Crates/chests.yml b/Resources/Prototypes/_CP14/Entities/Structures/Storage/Crates/chests.yml index f26c6995c9..5bc880d27b 100644 --- a/Resources/Prototypes/_CP14/Entities/Structures/Storage/Crates/chests.yml +++ b/Resources/Prototypes/_CP14/Entities/Structures/Storage/Crates/chests.yml @@ -4,7 +4,7 @@ - CPBaseWooden id: CPWoodenChest name: wooden chest - description: Good wooden chest. + description: A simple wooden chest for easy storage of junk. components: - type: Icon sprite: _CP14/Structures/Storage/Crates/woodenchest.rsi @@ -50,3 +50,8 @@ path: /Audio/Effects/woodenclosetclose.ogg openSound: path: /Audio/Effects/woodenclosetopen.ogg + - type: Construction + graph: CPWoodenChest + node: CPWoodenChest + containers: + - entity_storage diff --git a/Resources/Prototypes/_CP14/Recipes/Construction/Graphs/Furniture/chests.yml b/Resources/Prototypes/_CP14/Recipes/Construction/Graphs/Furniture/chests.yml new file mode 100644 index 0000000000..3e8110e710 --- /dev/null +++ b/Resources/Prototypes/_CP14/Recipes/Construction/Graphs/Furniture/chests.yml @@ -0,0 +1,16 @@ +- type: constructionGraph + id: CPWoodenChest + start: start + graph: + - node: start + actions: + - !type:DestroyEntity {} + edges: + - to: CPWoodenChest + steps: + - material: WoodPlank + amount: 5 + doAfter: 2 + + - node: CPWoodenChest + entity: CPWoodenChest \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Recipes/Construction/Graphs/floors.yml b/Resources/Prototypes/_CP14/Recipes/Construction/Graphs/floors.yml new file mode 100644 index 0000000000..9d057f2310 --- /dev/null +++ b/Resources/Prototypes/_CP14/Recipes/Construction/Graphs/floors.yml @@ -0,0 +1,24 @@ +- type: constructionGraph + id: CPFloor + start: start + graph: + - node: start + actions: + - !type:DestroyEntity {} + edges: + - to: CPFloorWood + steps: + - material: WoodPlank + amount: 2 + doAfter: 1 + - to: CPFloorWoodBig + steps: + - material: WoodPlank + amount: 2 + doAfter: 1 + + - node: CPFloorWood + entity: CPFloorWood + + - node: CPFloorWoodBig + entity: CPFloorWoodBig \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Recipes/Construction/floor.yml b/Resources/Prototypes/_CP14/Recipes/Construction/floor.yml new file mode 100644 index 0000000000..817170b2d4 --- /dev/null +++ b/Resources/Prototypes/_CP14/Recipes/Construction/floor.yml @@ -0,0 +1,31 @@ +- type: construction + crystallPunkAllowed: true + name: Wooden floor + description: Made of the most common planks. Simple and effective! + id: CPFloorWood + graph: CPFloor + startNode: start + targetNode: CPFloorWood + category: construction-category-floor + icon: + sprite: _CP14/Structures/Floors/wood.rsi + state: wood_1 + objectType: Structure + placementMode: SnapgridCenter + canBuildInImpassable: true + +- type: construction + crystallPunkAllowed: true + name: Wooden big floor + description: Made of the most common planks. Simple and effective! + id: CPFloorWoodBig + graph: CPFloor + startNode: start + targetNode: CPFloorWoodBig + category: construction-category-floor + icon: + sprite: _CP14/Structures/Floors/wood_big.rsi + state: wood_big_1 + objectType: Structure + placementMode: SnapgridCenter + canBuildInImpassable: true \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Recipes/Construction/furniture.yml b/Resources/Prototypes/_CP14/Recipes/Construction/furniture.yml index 4938eb3d77..a3655ecb91 100644 --- a/Resources/Prototypes/_CP14/Recipes/Construction/furniture.yml +++ b/Resources/Prototypes/_CP14/Recipes/Construction/furniture.yml @@ -1,7 +1,7 @@ - type: construction crystallPunkAllowed: true - name: Деревянный стул - description: Сколочен из самых обычных досок. Просто и эффективно! + name: Wooden chair + description: Made of the most common planks. Simple and effective! id: CPChairWooden graph: CPSeat startNode: start @@ -18,8 +18,8 @@ - type: construction crystallPunkAllowed: true - name: Деревянный стол - description: Простой стол, сколоченный из досок. + name: Wooden table + description: A simple table made of boards. id: CPTableWooden graph: CPTable startNode: start @@ -36,8 +36,8 @@ - type: construction crystallPunkAllowed: true - name: Костёр - description: Груда бревен, сложенных вместе, и готовых вспыхнуть от малейшей искры. + name: Bonfire + description: A pile of logs stacked together, ready to burst into flames at the slightest spark. id: CPBonfire graph: CPBonfire startNode: start @@ -49,5 +49,23 @@ objectType: Structure placementMode: SnapgridCenter canBuildInImpassable: false + conditions: + - !type:TileNotBlocked + +- type: construction + crystallPunkAllowed: true + name: Wooden chest + description: a simple wooden chest for easy storage of junk. + id: CPWoodenChest + graph: CPWoodenChest + startNode: start + targetNode: CPWoodenChest + category: construction-category-furniture + icon: + sprite: _CP14/Structures/Storage/Crates/woodenchest.rsi + state: icon + objectType: Structure + placementMode: SnapgridCenter + canBuildInImpassable: false conditions: - !type:TileNotBlocked \ No newline at end of file