Skip to content

Mark tag group messages as the tag groups' - #1678

Merged
grilledham merged 2 commits into
Refactorio:developfrom
lex:tag-group-message-prefix
Nov 4, 2026
Merged

grilledham merged 2 commits into
Refactorio:developfrom
lex:tag-group-message-prefix

Conversation

@lex

@lex lex commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

A tag group's join and leave messages are written by players and were printed as they are, with no name in front, so they read like the server's. A join message such as "The fish have on their way to [gps=-0.7,0.2,nauvis] attack imminent" passed for a real server warning.

Every tag group notice now starts with [Tags], in blue, as other features mark theirs ([Corpse], [Auto stash]): joining, leaving, and a group being created, edited or deleted.

  • The prefix is a new key, tag_group.message_prefix, in every language, using the word each one's Tags tooltip already uses.

Tests

  • Headless tests on the default map: 59 passed, 0 failed.
  • luacheck .: 0 warnings / 0 errors.

Screenshots

Top: develop. Bottom: this PR. Drawn as labels where the chat shows, since game screenshots leave the chat out; in chat the map ping also shows its location.

1_before_after

🤖 Generated with Claude Code

Players write the join and leave messages, so one with a map ping in it passed for a server message. Every tag group notice now starts with [Tags], in the colour of the Tags button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lex
lex marked this pull request as draft November 4, 2026 21:49
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lex
lex marked this pull request as ready for review November 4, 2026 21:53
@grilledham
grilledham merged commit 38adbf4 into Refactorio:develop Nov 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants