Skip to content

Commit 42e2907

Browse files
bynddark8Rinary1
andauthored
starlight comment blocks correction
Co-authored-by: Rinary <rinary.super@gmail.com>
1 parent 1f951a4 commit 42e2907

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

Content.Client/Guidebook/Controls/GuideMicrowaveEmbed.xaml.cs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ public GuideMicrowaveEmbed(FoodRecipePrototype recipe) : this()
5050
GenerateControl(recipe);
5151
}
5252

53-
// starlight start
54-
public GuideMicrowaveEmbed(ReactionPrototype reaction) : this()
55-
{
56-
GenerateControl(reaction);
57-
}
58-
// starlight end
5953
public bool CheckMatchesSearch(string query)
6054
{
6155
return this.ChildrenContainText(query);
@@ -206,7 +200,12 @@ private void GenerateControl(FoodRecipePrototype recipe)
206200
GenerateDeviceType(recipe);
207201
}
208202

209-
// starlight start
203+
#region Starlight
204+
205+
public GuideMicrowaveEmbed(ReactionPrototype reaction) : this()
206+
{
207+
GenerateControl(reaction);
208+
}
210209

211210
private void GenerateHeader(ReactionPrototype reaction)
212211
{
@@ -305,7 +304,7 @@ private void GenerateControl(ReactionPrototype reaction)
305304
GenerateReactionCookTime();
306305
GenerateReactionDeviceType();
307306
}
308-
// starlight end
307+
#endregion
309308
}
310309

311310

Content.Client/Guidebook/Controls/GuideMicrowaveGroupEmbed.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ private void CreateEntries(string group)
7070
{
7171
AddChild(new GuideMicrowaveEmbed(reaction));
7272
}
73-
}
7473
// starlight end
7574
}
75+
}

Content.Shared/_Starlight/Chemistry/Reaction/ReactionPrototype.Starlight.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Robust.Shared.Serialization;
22

3-
// ReSharper disable once CheckNamespace
4-
namespace Content.Shared.Chemistry.Reaction;
3+
namespace Content.Shared._Starlight.Chemistry.Reaction;
54

65
public sealed partial class ReactionPrototype
76
{

Resources/Prototypes/_Starlight/Recipes/reactions.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
- type: reaction
22
id: CreateMothBatter
3-
guidebookGroups: # Starlight-edit
3+
# Starlight-start
4+
guidebookGroups:
45
- Dough
56
- Moth
67
- Cake
8+
# Starlight-end
79
impact: Low
810
quantized: true
911
conserveEnergy: false

Resources/ServerInfo/Guidebook/Service/FoodRecipes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This is the latest published version of NanoTrasen Central Command Kitchen de Cu
4141
<GuideMicrowaveGroupEmbed Group="Salad"/>
4242

4343
<!-- Starlight start -->
44-
## Dough <!-- Starlight-edit -->
44+
## Dough
4545
<GuideMicrowaveGroupEmbed Group="Dough"/>
4646

4747
## Deep Fried

0 commit comments

Comments
 (0)