]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Localizable craftmenu (#32339)
authorErtanic <36124833+Ertanic@users.noreply.github.com>
Thu, 1 May 2025 14:21:16 +0000 (17:21 +0300)
committerGitHub <noreply@github.com>
Thu, 1 May 2025 14:21:16 +0000 (10:21 -0400)
commit81507b9d52c2619a1d4f32a1bef06a60d7cb7c96
tree1ab17bb675d9d9e9e9c020b5df9b3cceef1a809b
parent8d01f90ad25b21c03cc176fe25789942f8054b54
Localizable craftmenu (#32339)

* Now the name of the target craft items is taken directly from the prototypes

* Deleting unnecessary fields

* Deleting unnecessary fields

* Added suffix field

* Added override via localization keys

* My favorite ItemList and TextureRect have been replaced with ListContainer and EntityPrototypeView

* Fix suffix

* Fix construction ghosts... maybe

* Remove suffix from UI

* Suffixes have been removed from prototypes

* Added a description for the secret door

* Fix search..?

* The Icon field of ConstructionPrototype has been removed

* StackPrototypes used in the construction menu have been localized

* TagConstructionGraphStep used in the construction menu have been localized

* The search bar has been localized

* Fix localization and prototypes

* Recipes are now only loaded when the crafting window is opened.

* Fix crooked merge grid of the crafting menu.

* Localization update

* Fix cyborg graph

* Revert "Recipes are now only loaded when the crafting window is opened."

This reverts commit 97749483542c2d6272bda16edf49612c69a0761a.

* Fix loc

* fix merge

* Fix upstream

* Some of the logic has been moved to Shared

* fix

* Small adjustments

* Very small change

---------

Co-authored-by: EmoGarbage404 <retron404@gmail.com>
125 files changed:
Content.Client/Construction/ConstructionPlacementHijack.cs
Content.Client/Construction/ConstructionSystem.cs
Content.Client/Construction/UI/ConstructionMenu.xaml
Content.Client/Construction/UI/ConstructionMenu.xaml.cs
Content.Client/Construction/UI/ConstructionMenuPresenter.cs
Content.IntegrationTests/Tests/CargoTest.cs
Content.Server/Construction/ConstructionSystem.cs
Content.Shared/Construction/ConstructionGraphNode.cs
Content.Shared/Construction/NodeEntities/BoardNodeEntity.cs [moved from Content.Server/Construction/NodeEntities/BoardNodeEntity.cs with 80% similarity]
Content.Shared/Construction/Prototypes/ConstructionPrototype.cs
Content.Shared/Construction/Steps/ArbitraryInsertConstructionGraphStep.cs
Content.Shared/Construction/Steps/ComponentConstructionGraphStep.cs
Content.Shared/Construction/Steps/MaterialConstructionGraphStep.cs
Content.Shared/Examine/ExamineSystemShared.cs
Content.Shared/Stacks/StackPrototype.cs
Resources/Locale/en-US/construction/ui/construction-menu.ftl
Resources/Locale/en-US/recipes/components.ftl [new file with mode: 0644]
Resources/Locale/en-US/recipes/recipes.ftl [new file with mode: 0644]
Resources/Locale/en-US/recipes/tags.ftl [new file with mode: 0644]
Resources/Locale/en-US/stack/stacks.ftl [new file with mode: 0644]
Resources/Prototypes/Entities/Objects/Misc/space_cash.yml
Resources/Prototypes/Entities/Objects/Tools/fulton.yml
Resources/Prototypes/Recipes/Construction/Graphs/clothing/clown_banana.yml
Resources/Prototypes/Recipes/Construction/Graphs/clothing/clown_hardsuit.yml
Resources/Prototypes/Recipes/Construction/Graphs/clothing/ducky_slippers.yml
Resources/Prototypes/Recipes/Construction/Graphs/clothing/glasses_sechud.yml
Resources/Prototypes/Recipes/Construction/Graphs/clothing/helmet_justice.yml
Resources/Prototypes/Recipes/Construction/Graphs/clothing/lizard_slippers.yml
Resources/Prototypes/Recipes/Construction/Graphs/clothing/medsec_hud.yml
Resources/Prototypes/Recipes/Construction/Graphs/clothing/mime_hardsuit.yml
Resources/Prototypes/Recipes/Construction/Graphs/fun/bananium_horn.yml
Resources/Prototypes/Recipes/Construction/Graphs/fun/jack_o_lantern.yml
Resources/Prototypes/Recipes/Construction/Graphs/furniture/ritualseat.yml
Resources/Prototypes/Recipes/Construction/Graphs/machines/computer.yml
Resources/Prototypes/Recipes/Construction/Graphs/machines/cyborg.yml
Resources/Prototypes/Recipes/Construction/Graphs/mechs/hamtr_construction.yml
Resources/Prototypes/Recipes/Construction/Graphs/mechs/honker_construction.yml
Resources/Prototypes/Recipes/Construction/Graphs/mechs/ripley_construction.yml
Resources/Prototypes/Recipes/Construction/Graphs/mechs/vim_construction.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/airlock.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/airlock_clockwork.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/blast_door.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/conveyor.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/firelock.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/glassbox.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/secretdoor.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/shutter.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/shuttle.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/windoor.yml
Resources/Prototypes/Recipes/Construction/Graphs/tools/logic_gate.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/APC.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/air_alarms.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/disposal_machines.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/intercom.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/lighting.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/solarpanel.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/station_maps.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/timer.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/wallmount_generator.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/wallmount_substation.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/wallmount_telemonitors.yml
Resources/Prototypes/Recipes/Construction/Graphs/weapons/bladed_hats.yml
Resources/Prototypes/Recipes/Construction/Graphs/weapons/bola.yml
Resources/Prototypes/Recipes/Construction/Graphs/weapons/improvised_arrow.yml
Resources/Prototypes/Recipes/Construction/Graphs/weapons/modular_grenade.yml
Resources/Prototypes/Recipes/Construction/Graphs/weapons/modular_mine.yml
Resources/Prototypes/Recipes/Construction/Graphs/weapons/shiv.yml
Resources/Prototypes/Recipes/Construction/Graphs/weapons/spear.yml
Resources/Prototypes/Recipes/Construction/Graphs/weapons/upgraded_chimp.yml
Resources/Prototypes/Recipes/Construction/clothing.yml
Resources/Prototypes/Recipes/Construction/fun.yml
Resources/Prototypes/Recipes/Construction/furniture.yml
Resources/Prototypes/Recipes/Construction/lighting.yml
Resources/Prototypes/Recipes/Construction/machines.yml
Resources/Prototypes/Recipes/Construction/materials.yml
Resources/Prototypes/Recipes/Construction/modular.yml
Resources/Prototypes/Recipes/Construction/storage.yml
Resources/Prototypes/Recipes/Construction/structures.yml
Resources/Prototypes/Recipes/Construction/tools.yml
Resources/Prototypes/Recipes/Construction/utilities.yml
Resources/Prototypes/Recipes/Construction/weapons.yml
Resources/Prototypes/Recipes/Construction/web.yml
Resources/Prototypes/Recipes/Crafting/Graphs/bots/cleanbot.yml
Resources/Prototypes/Recipes/Crafting/Graphs/bots/firebot.yml
Resources/Prototypes/Recipes/Crafting/Graphs/bots/honkbot.yml
Resources/Prototypes/Recipes/Crafting/Graphs/bots/medibot.yml
Resources/Prototypes/Recipes/Crafting/Graphs/bots/mimebot.yml
Resources/Prototypes/Recipes/Crafting/Graphs/bots/supplybot.yml
Resources/Prototypes/Recipes/Crafting/Graphs/goliath_hardsuit.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/firebomb.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/flowerwreath.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/improvised_shotgun.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/improvised_shotgun_shell.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/makeshiftstunprod.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/pipebomb.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/pneumatic_cannon.yml
Resources/Prototypes/Recipes/Crafting/Graphs/improvised/potato.yml
Resources/Prototypes/Recipes/Crafting/Graphs/storage/cratefreezer.yml
Resources/Prototypes/Recipes/Crafting/Graphs/storage/tallbox.yml
Resources/Prototypes/Recipes/Crafting/Graphs/strawhat.yml
Resources/Prototypes/Recipes/Crafting/Graphs/toys.yml
Resources/Prototypes/Recipes/Crafting/artifact.yml
Resources/Prototypes/Recipes/Crafting/bots.yml
Resources/Prototypes/Recipes/Crafting/crates.yml
Resources/Prototypes/Recipes/Crafting/improvised.yml
Resources/Prototypes/Recipes/Crafting/potato.yml
Resources/Prototypes/Recipes/Crafting/smokeables.yml
Resources/Prototypes/Recipes/Crafting/tallbox.yml
Resources/Prototypes/Recipes/Crafting/tiles.yml
Resources/Prototypes/Recipes/Crafting/toys.yml
Resources/Prototypes/Recipes/Crafting/web.yml
Resources/Prototypes/Stacks/Materials/Sheets/glass.yml
Resources/Prototypes/Stacks/Materials/Sheets/metal.yml
Resources/Prototypes/Stacks/Materials/Sheets/other.yml
Resources/Prototypes/Stacks/Materials/crystals.yml
Resources/Prototypes/Stacks/Materials/ingots.yml
Resources/Prototypes/Stacks/Materials/materials.yml
Resources/Prototypes/Stacks/Materials/ore.yml
Resources/Prototypes/Stacks/Materials/parts.yml
Resources/Prototypes/Stacks/consumable_stacks.yml
Resources/Prototypes/Stacks/engineering_stacks.yml
Resources/Prototypes/Stacks/floor_tile_stacks.yml
Resources/Prototypes/Stacks/medical_stacks.yml
Resources/Prototypes/Stacks/power_stacks.yml
Resources/Prototypes/Stacks/science_stacks.yml