Skip to content

Added OnDiagonal Modifier [Modifier 2 of 4] - #2693

Open
Crepestrom wants to merge 58 commits into
PixelGuys:masterfrom
Crepestrom:Modifier-OnDiagonal
Open

Crepestrom wants to merge 58 commits into
PixelGuys:masterfrom
Crepestrom:Modifier-OnDiagonal

Conversation

@Crepestrom

@Crepestrom Crepestrom commented Mar 7, 2026 •

Copy link
Copy Markdown
Contributor

From #2650
-onDiagonal
diagonal-visual

image

Testing Addon
diagonal.zip

@Wunka Wunka moved this to Low Priority in PRs to review Mar 8, 2026
@IntegratedQuantum IntegratedQuantum moved this from Low Priority to In review in PRs to review Mar 14, 2026
Crepestrom and others added 3 commits March 14, 2026 14:30
Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
@IntegratedQuantum

Copy link
Copy Markdown
Member

please fix the formatting

@Crepestrom

Copy link
Copy Markdown
Contributor Author

Requested Changes have been made
and also copied to OnOrthogonal

@H41ogen

H41ogen commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

rip formatting

@Crepestrom

Copy link
Copy Markdown
Contributor Author

yipee it works

Crepestrom and others added 7 commits September 29, 2026 11:09
Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
}

pub fn printTooltip(self: *const OnDiagonal, outString: *main.ListManaged(u8)) void {
outString.print("if there is {} .{s} on diagonal lines", .{self.amount, self.tag.getName()});

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check this in-game and if the wording fits with other restrictions (e.g. and, not).
Also amount will usually be more than 1, so plural makes more sense is → are.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the wording is changed
image
this is what it looks like now

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally the output should be at least somewhat grammatically correct.
I think the wording for encased works well because encased is an adjective, not sure how to apply this here.
If you have trouble with wording, I think this is the one case where using an LLM would be acceptable.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image i have changed it to this

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you post the wrong screenshot? I see no difference to your previous comment.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either that or I went back to a old solution

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion this still feels more like what you see in a programming language and less like a human sentence.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image how about this

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, yeah no, I don't really like this either, it still sounds weird on not.
For this I'd prefer the original if there is 1 .precios on diagonal lines, that at least forms proper sentences.
Sorry for holding this up for so long. I'll make an issue for improving not handling.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

3 participants