Skip to content

Commit

Permalink
Merge branch 'main' of github.com:NotNite/GDWeave
Browse files Browse the repository at this point in the history
  • Loading branch information
NotNite committed Oct 25, 2024
2 parents a5474df + 159a4af commit 934eb48
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions GDWeave/Loader/PackFileLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ public IEnumerable<Token> Modify(string path, IEnumerable<Token> 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);
Expand Down

0 comments on commit 934eb48

Please sign in to comment.