From 73fc639aea059c87cc07ea8e06417b1570272ec0 Mon Sep 17 00:00:00 2001 From: MisleadingName <49401941+misleadingname@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:30:49 +0200 Subject: [PATCH 1/2] the most complex git commit you've ever seen in your entire lifetime --- GDWeave/Loader/PackFileLoader.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/GDWeave/Loader/PackFileLoader.cs b/GDWeave/Loader/PackFileLoader.cs index 7a55d24..c7b03a8 100644 --- a/GDWeave/Loader/PackFileLoader.cs +++ b/GDWeave/Loader/PackFileLoader.cs @@ -49,6 +49,15 @@ public IEnumerable Modify(string path, IEnumerable tokens) { yield return new Token(TokenType.ParenthesisClose); yield return token; + // mod.Manifest.Id.add_to_group("weave_mod") + yield return new IdentifierToken($"{mod.Manifest.Id}"); + yield return new Token(TokenType.Period); + yield return new IdentifierToken("add_to_group"); + yield return new Token(TokenType.ParenthesisOpen); + yield return new ConstantToken(new StringVariant("weave_mod")); + yield return new Token(TokenType.ParenthesisClose); + yield return token; + // mod.Manifest.Id.set_name("mod.Manifest.Id") yield return new IdentifierToken($"{mod.Manifest.Id}"); yield return new Token(TokenType.Period); From 3d2795cf97129e55f0f227c84510206a38e831bd Mon Sep 17 00:00:00 2001 From: MisleadingName <49401941+misleadingname@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:39:04 +0200 Subject: [PATCH 2/2] bruh --- GDWeave/Loader/PackFileLoader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GDWeave/Loader/PackFileLoader.cs b/GDWeave/Loader/PackFileLoader.cs index c7b03a8..6f3f863 100644 --- a/GDWeave/Loader/PackFileLoader.cs +++ b/GDWeave/Loader/PackFileLoader.cs @@ -54,7 +54,7 @@ public IEnumerable Modify(string path, IEnumerable tokens) { yield return new Token(TokenType.Period); yield return new IdentifierToken("add_to_group"); yield return new Token(TokenType.ParenthesisOpen); - yield return new ConstantToken(new StringVariant("weave_mod")); + yield return new ConstantToken(new StringVariant("gdweave_mod")); yield return new Token(TokenType.ParenthesisClose); yield return token;