diff --git a/GDWeave/Loader/PackFileLoader.cs b/GDWeave/Loader/PackFileLoader.cs index 7a55d24..6f3f863 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("gdweave_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);