From 77100a3951d4604eb282556e259fadc5fc47532f Mon Sep 17 00:00:00 2001 From: Tornado Tech <54727692+Tornado-Technology@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:36:18 +1000 Subject: [PATCH 01/10] Added artificial bluespace crystals --- .../en-US/_corvaxnext/bluespace_harvester.ftl | 1 + .../ru-RU/_corvaxnext/bluespace_harvester.ftl | 1 + .../Entities/Structures/Machines/lathe.yml | 7 ++++++- .../Devices/Circuitboards/Machine/production.yml | 2 +- .../_CorvaxNext/Entities/Objects/Misc/parts.yml | 13 +++++++++++++ .../_CorvaxNext/Recipes/Lathes/parts.yml | 7 +++++++ .../_CorvaxNext/Research/experimental.yml | 16 +++++++++++++++- .../_CorvaxNext/Stacks/science_stacks.yml | 5 +++++ Resources/Prototypes/_CorvaxNext/tags.yml | 3 +++ 9 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 Resources/Prototypes/_CorvaxNext/Entities/Objects/Misc/parts.yml create mode 100644 Resources/Prototypes/_CorvaxNext/Recipes/Lathes/parts.yml create mode 100644 Resources/Prototypes/_CorvaxNext/Stacks/science_stacks.yml diff --git a/Resources/Locale/en-US/_corvaxnext/bluespace_harvester.ftl b/Resources/Locale/en-US/_corvaxnext/bluespace_harvester.ftl index 23f8f5549e1..c2b9faa6fdd 100644 --- a/Resources/Locale/en-US/_corvaxnext/bluespace_harvester.ftl +++ b/Resources/Locale/en-US/_corvaxnext/bluespace_harvester.ftl @@ -15,4 +15,5 @@ bluespace-harvester-category-Industrial = Industrial bluespace-harvester-category-Technological = Technological bluespace-harvester-category-Biological = Biological bluespace-harvester-category-Destruction = Destruction +research-technology-bluespace = Bluespace research-technology-bluespace-mining = Bluespace Mining diff --git a/Resources/Locale/ru-RU/_corvaxnext/bluespace_harvester.ftl b/Resources/Locale/ru-RU/_corvaxnext/bluespace_harvester.ftl index e55e123d69a..f1627325a23 100644 --- a/Resources/Locale/ru-RU/_corvaxnext/bluespace_harvester.ftl +++ b/Resources/Locale/ru-RU/_corvaxnext/bluespace_harvester.ftl @@ -15,4 +15,5 @@ bluespace-harvester-category-Industrial = Промышленная bluespace-harvester-category-Technological = Технологическая bluespace-harvester-category-Biological = Биологическая bluespace-harvester-category-Destruction = Разрушительная +research-technology-bluespace = Блюспейс research-technology-bluespace-mining = Блюспейс Добыча diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index 97e8618ba2a..63e60cea642 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -359,6 +359,9 @@ - EnergyCautery - AdvancedRetractor # Corvax-Next End + # Corvax-Next-BluespaceHarvester-Start + - ArtificialBluespaceCrystal + # Corvax-Next-BluespaceHarvester-End - type: EmagLatheRecipes emagDynamicRecipes: - BoxBeanbag @@ -530,7 +533,9 @@ - ReagentGrinderIndustrialMachineCircuitboard - JukeboxCircuitBoard - SalvageExpeditionsComputerCircuitboard # Corvax-Cringe - - MachineBluespaceHarvesterCircuitboard # Corvax-Next-BluespaceHarvester + # Corvax-Next-BluespaceHarvester-Start + - MachineBluespaceHarvesterCircuitboard + # Corvax-Next-BluespaceHarvester-End # Corvax-Next-MutableLaws-Start - AsimovCircuitBoard - CorporateCircuitBoard diff --git a/Resources/Prototypes/_CorvaxNext/Entities/Objects/Devices/Circuitboards/Machine/production.yml b/Resources/Prototypes/_CorvaxNext/Entities/Objects/Devices/Circuitboards/Machine/production.yml index 22d303872f2..f430844f83a 100644 --- a/Resources/Prototypes/_CorvaxNext/Entities/Objects/Devices/Circuitboards/Machine/production.yml +++ b/Resources/Prototypes/_CorvaxNext/Entities/Objects/Devices/Circuitboards/Machine/production.yml @@ -13,7 +13,7 @@ Glass: 15 Steel: 15 CableHV: 5 - Manipulator: 5 + ArtificialBluespaceCrystal: 5 Capacitor: 5 MatterBin: 15 tagRequirements: diff --git a/Resources/Prototypes/_CorvaxNext/Entities/Objects/Misc/parts.yml b/Resources/Prototypes/_CorvaxNext/Entities/Objects/Misc/parts.yml new file mode 100644 index 00000000000..99d386bf142 --- /dev/null +++ b/Resources/Prototypes/_CorvaxNext/Entities/Objects/Misc/parts.yml @@ -0,0 +1,13 @@ +- type: entity + parent: BaseStockPart + id: ArtificialBluespaceCrystal + name: artificial bluespace crystal + description: A small blue crystal with mystical properties. + components: + - type: Sprite + state: ansible_crystal + - type: Tag + tags: + - ArtificialBluespaceCrystal + - type: Stack + stackType: ArtificialBluespaceCrystal diff --git a/Resources/Prototypes/_CorvaxNext/Recipes/Lathes/parts.yml b/Resources/Prototypes/_CorvaxNext/Recipes/Lathes/parts.yml new file mode 100644 index 00000000000..cde3feadec6 --- /dev/null +++ b/Resources/Prototypes/_CorvaxNext/Recipes/Lathes/parts.yml @@ -0,0 +1,7 @@ +- type: latheRecipe + id: ArtificialBluespaceCrystal + result: ArtificialBluespaceCrystal + completetime: 1 + materials: + Diamond: 600 + Plasma: 600 diff --git a/Resources/Prototypes/_CorvaxNext/Research/experimental.yml b/Resources/Prototypes/_CorvaxNext/Research/experimental.yml index e949c566f56..c7e8966287f 100644 --- a/Resources/Prototypes/_CorvaxNext/Research/experimental.yml +++ b/Resources/Prototypes/_CorvaxNext/Research/experimental.yml @@ -1,5 +1,17 @@ -# Tier 2 +# Tier 1 +- type: technology + id: Bluespace + name: research-technology-bluespace + icon: + sprite: Objects/Misc/stock_parts.rsi + state: ansible_crystal + discipline: Experimental + tier: 1 + cost: 5000 + recipeUnlocks: + - ArtificialBluespaceCrystal +# Tier 2 - type: technology id: BluespaceMining name: research-technology-bluespace-mining @@ -11,3 +23,5 @@ cost: 10000 recipeUnlocks: - MachineBluespaceHarvesterCircuitboard + technologyPrerequisites: + - Bluespace diff --git a/Resources/Prototypes/_CorvaxNext/Stacks/science_stacks.yml b/Resources/Prototypes/_CorvaxNext/Stacks/science_stacks.yml new file mode 100644 index 00000000000..8392894cb6f --- /dev/null +++ b/Resources/Prototypes/_CorvaxNext/Stacks/science_stacks.yml @@ -0,0 +1,5 @@ +- type: stack + id: ArtificialBluespaceCrystal + name: artificial bluespace crystal + spawn: ArtificialBluespaceCrystal + maxCount: 10 diff --git a/Resources/Prototypes/_CorvaxNext/tags.yml b/Resources/Prototypes/_CorvaxNext/tags.yml index 59cdfd38c52..6f9058b1840 100644 --- a/Resources/Prototypes/_CorvaxNext/tags.yml +++ b/Resources/Prototypes/_CorvaxNext/tags.yml @@ -9,3 +9,6 @@ - type: Tag id: Eyes + +- type: Tag + id: ArtificialBluespaceCrystal From c008a9872cca15b4787236fc20070552cca77550 Mon Sep 17 00:00:00 2001 From: Tornado Tech <54727692+Tornado-Technology@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:44:48 +1000 Subject: [PATCH 02/10] Added transitor --- .../BluespaceHarvesterMenu.xaml | 2 - .../BluespaceHarvesterMenu.xaml.cs | 3 +- .../BluespaceHarvesterComponent.cs | 23 ++-- .../BluespaceHarvesterSystem.cs | 105 ++++++------------ .../BluespaceHarvesterUi.cs | 4 +- .../Entities/Structures/Machines/lathe.yml | 1 + .../Circuitboards/Machine/production.yml | 25 ++++- .../Structures/Machines/bluespace.yml | 43 +++++++ .../Machines/bluespace_harvester.yml | 32 ++++-- .../Recipes/Lathes/electronics.yml | 11 +- .../_CorvaxNext/Research/experimental.yml | 13 ++- .../Prototypes/_CorvaxNext/Wires/layouts.yml | 7 ++ .../Prototypes/_CorvaxNext/explosion.yml | 16 +++ .../Power/bluespace_transitor.rsi/beam.png | Bin 0 -> 1582 bytes .../Power/bluespace_transitor.rsi/display.png | Bin 0 -> 849 bytes .../Power/bluespace_transitor.rsi/idle.png | Bin 0 -> 1063 bytes .../Power/bluespace_transitor.rsi/meta.json | 40 +++++++ .../Power/bluespace_transitor.rsi/offline.png | Bin 0 -> 580 bytes 18 files changed, 217 insertions(+), 108 deletions(-) create mode 100644 Resources/Prototypes/_CorvaxNext/Entities/Structures/Machines/bluespace.yml create mode 100644 Resources/Prototypes/_CorvaxNext/Wires/layouts.yml create mode 100644 Resources/Prototypes/_CorvaxNext/explosion.yml create mode 100644 Resources/Textures/_CorvaxNext/Objects/Structures/Power/bluespace_transitor.rsi/beam.png create mode 100644 Resources/Textures/_CorvaxNext/Objects/Structures/Power/bluespace_transitor.rsi/display.png create mode 100644 Resources/Textures/_CorvaxNext/Objects/Structures/Power/bluespace_transitor.rsi/idle.png create mode 100644 Resources/Textures/_CorvaxNext/Objects/Structures/Power/bluespace_transitor.rsi/meta.json create mode 100644 Resources/Textures/_CorvaxNext/Objects/Structures/Power/bluespace_transitor.rsi/offline.png diff --git a/Content.Client/_CorvaxNext/BluespaceHarvester/BluespaceHarvesterMenu.xaml b/Content.Client/_CorvaxNext/BluespaceHarvester/BluespaceHarvesterMenu.xaml index 8c1e8842d7e..3e814ced8f8 100644 --- a/Content.Client/_CorvaxNext/BluespaceHarvester/BluespaceHarvesterMenu.xaml +++ b/Content.Client/_CorvaxNext/BluespaceHarvester/BluespaceHarvesterMenu.xaml @@ -22,8 +22,6 @@